Are you adjusting the exposure to get better brightness or contrast? Have you tried adjusting your images with ImageAdjust? Can you give a simple example of the problem you are seeing?
I am controlling the camera exposure value dynamically for face recognition.
I got the proper exposure values for face recognition according to the light condition.
So, it’s left to analysis the light condition from image.
Thanks for your caring.