Designed auto exposure algorithm to get a proper camera param,dose it make sense
问题 I want to get pictures from: fnumber=6.3; iso_list=[100,200,300,400,500,600,700,800]; shutterspeed_list=[1,1/2,1/3,1/4,1/5,1/6]; Choose the best pair iso and shutterspeed to get picture with appropriate brightness (the brightness=150.0) based on the exposure value. I think i can solve like this: Set the desired_brightness=150.0 ,get the current_brightness based on the picture Get the current iso and shutterspeed ,calculate the current_ev brightness_ratio=log2(desired_brightness)/log2(current