Video feed starts white and it's messing with my background subtraction
Hey there, I've made an motion tracker in C++ and I'm running into issues with the video feed. The video starts off white and then the brightness fades as the camera adjusts to the brightness. I'm using BackgroundSubtractorMOG and it detects this as a constantly changing background. Is there anyway to auto detect the brightness and keep it at a certain level, or even just detect when an image is too bright to detect and only apply the subtractor when it reaches an acceptable level?