Ideally without compromising frame rate (too much), change the exposure time based upon the sky background based on the mode of a central region of the image.
Parameterise as a max/min fraction sky_background_min_fractionsky_background_max_fraction of the full well depth.
This will need a bit of experimenting with the driver - test whether it is possible to change exposure time without stopping video capture. Not sure with that.
Ideally without compromising frame rate (too much), change the exposure time based upon the sky background based on the mode of a central region of the image.
Parameterise as a max/min fraction
sky_background_min_fraction
sky_background_max_fraction
of the full well depth.Example code here: https://chatgpt.com/share/67241dac-19ac-800b-aac1-769bc9c66f1e