Closed kwis2 closed 1 day ago
Update
Coleages have tested on another raspberry with libacmera-still and it looks it is problem of libcamera not picamera2.
command
libcamera-still -o "test.jpg" --width 9152 --height 6944 --shutter 100000 --contrast 2.0 --gain 1.8 --metadata "test.json" --immediate --autofocus-mode manual --awbgains 1,1 --flush
results:
Shutter [s] -> Exposure Time [s]
1 -> 1
2 -> 2
3 -> 3
3.5 -> 1.75
4 -> 2
5 -> 2.5
6 -> 3
7 -> 1.75
8 -> 2
Are you able to test, maybe there is any configuration of system / picamera2 / libcamera version which work.
Please speak to Arducam about this - they implemented the kernel driver and libcamera code to drive this sensor. The Arducam Hawkeye device support has never been upstreamed into our libcamera tree.
Hi I need long ExposureTime for about 10 seconds. With libcamera-still there is no problem. I have written code in Python and I am not able to set longer time than about 3.2s. when I test libcamera it work OK.
my code is:
I debug picam2.camera_config and metadata and when I set ExposureTime below 3200000, ExposureTime in metadata is ok, but for higher values there are problems. for instance set 'ExposureTime': 3200000, got 'ExposureTime': 3199951 set 'ExposureTime': 5000000, got 'ExposureTime': 2499908, set 'ExposureTime': 8000000, got 'ExposureTime': 1999989, set 'ExposureTime': 10000000, got 'ExposureTime': 2499908,
in my oppinion it looks like a bug which right shift ExposureTime to be lower than about 3200000. Maybe there is another explanation and I am doing something wrong?
picamera version 0.3.21, Raspberry pi 4, Bookworm Lite 64,
How could I get longer times?. Best regards kwis2
log 3.2s
log 5s
log 8s
log 10s