Skip to content

libcamera dead if Lens of OV9281 camera is covered #4810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
waveshare opened this issue Jan 6, 2022 · 1 comment
Closed

libcamera dead if Lens of OV9281 camera is covered #4810

waveshare opened this issue Jan 6, 2022 · 1 comment

Comments

@waveshare
Copy link

Describe the bug

Stand the camera on the desktop and block the lens with hand, the application is always dead when most of the view is covered. Once the application stop working and the preview steaming is stuck, the preview windows cannot be closed by Alt-F4 or clicking the exit icon, I need to use Ctrl-C to stop the application and restart the command. After testing multiple times, I found that the exp value is about 33000+ when the application is dead, in this case, I just think that the bug is caused by the limitation of the exposure compensation.

Steps to reproduce the behaviour

  1. Connect OV9281 camera and modify config.txt file:
    camera_auto_detect=0
    dtoverlay=ov9281
  2. reboot
  3. Preview the camera with the command: libcamera-vid -t 0
  4. Close object or hand to the lens and try to cover the lens

Device (s)

Raspberry Pi Zero 2 W, Raspberry Pi 3 Mod. B, Raspberry Pi 3 Mod. B+, Raspberry Pi 4 Mod. B

System

OS and version:
Raspberry Pi reference 2021-10-30
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 288b21fc27e128ea6b330777aca68e0061ebf4fe, stage4

firmware version:
Oct 29 2021 10:47:33
Copyright (c) 2012 Broadcom
version b8a114e5a9877e91ca8f26d1a5ce904b2ad3cf13 (clean) (release) (start)

kernel version:
Linux raspberrypi 5.10.63-v7l+ #1459 SMP Wed Oct 6 16:41:57 BST 2021 armv7l GNU/Linux

Logs

No response

Additional context

No response

@6by9
Copy link
Contributor

6by9 commented Jan 6, 2022

Already resolved via #4807.

@6by9 6by9 closed this as completed Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants