Setting a fixed gain and fixed exposure is not working. With set_auto_exposure and set_auto_gain both False, it appears that some auto gain/exposure is still occurring.
The fixed gain and exposure settings were confirmed using get_gain_db and get_exposure_us.
Sensor actual gain = 3.152235 db
Sensor actual exposure = 19992 us
To demonstrate this I have started the test code below in two scenarios - one with the camera lens cap on (dark) and one with the camera pointing at an LED light (bright). The subsequent images of a PCBA show the difference in exposure and/or gain depending on whether the application starts with the camera in the dark, or bright light.
First Image Dark:
Images after first image Dark:
First Image Bright:
Images after first image Bright:
Here is the Code to recreate issue.
Camera Test V1.py (1.33 KB)
OpenMV H7. Firmware Version 3.6.7