I have met following negative experience with H7 model.
My aim is tracking color blobs with repeatable result after cycling power. Following commands are used to activate camera:
sensor.set_auto_whitebal(False,(-6.296998, -3.762909, 2.616725) )
sensor.skip_frames(time = 2000)
Result of tracking depends on camera directed to bright white surface or to dark surface at time of activation. If camera was directed to most bright surface in environment then white balance stays unchanged during session and image is dark at all time. If camera was directed to dark surface at time of activation then image seems brighter at initial period, but then can change to dark image if camera is turned to bright light, at following period image does not return to initial brightness. Together with reduced brightness of image several blobs disappear from detection. During both experiments gain, exposure and rgb_gain were inspected. Result is below.
gain = 5.459351
exposure = 6576
whitebal = (-6.438398, -3.658832, 2.766099)
These three values were same at both experiments and never changed together with image brightness. Gain and rgb_gain had never match the same values in set_auto_gain and set_auto_whitebal . If I change these values in set_auto_gain and set_auto_whitebal then inspected values appear to be different anyway.
Please advise how to stabilize measurements from jumping of white balance in image.