picamera2
picamera2 copied to clipboard
[BUG] Saturation error
Hi,
I found a strange issue. I'm using an ov9281 sensor and a pi3 board. When I run the app_full.py, I got the error below. However, all other capture and recording .py files worked. Everything worked well previously when I used an earlier version with pi4. Any ideas?
Traceback (most recent call last):
File "/home/dechuan/Downloads/picamera2-main/apps/app_full.py", line 1191, in
Many thanks, Dechuan
Can you just confirm:
- Are you running Raspberry Pi's version of libcamera and Picamera2? (installed via apt, not a third party version)
- Is this a mono sensor?
Thanks!
Yes, I'm running Raspberry Pi's version of libcamera and Picamera2. This is a mono sensor. After I commented the error line, I saw another error saying "Control Saturation is not advertised by libcamera"
The apps that we provide are only examples, and we test them against various official Raspberry Pi cameras, none of which are mono. You're very welcome to edit the application to work with a 3rd party mono sensor. If you can modify the app so that it works with both colour and mono sensors, then we'd be very happy to receive a pull request to our repository!