I am working on one OpenCV project where I am processing realtime camera images and comparing with the previous frame. One thing noticed that the camera brightness keeps changing with time. Example: if some dark object comes it automatically increases the brightness of the background. and decrease for bright objects. Because of it, I am unable to process the background accurately
Is there any way to fix the camera properties?