I want to calculate the shutter speed and ISO of Picamera using the brightness information of the previous image I captured.
I have already calculated the brightness of the previous image but I am stuck at how to use this info to calculate the ISO and shutter speed so that I get all my images (day+night) of the same brightness. For instance, I want the optimum image brightness to be 130 in all cases. I used the following formula to calculate the brightness;
I want a formula to calculate the ISO and SS based on brightness information.