if i have one image, which is blurred, which has faces, which have low brightness, so these 3 all done automatic when image is selected. how automatic it detecet that their is face, so extrace face in new image, automatic adjust the brightness in image. if image is blurred then automatic deblurr the image. what will be code for this. please help me to solve out with this problem. how deep learning and machine learning will apply for automatic. and what will be code for deep learning and machine learing
Use fft2() and sum up the energy in high spatial frequencies. Or use stdfilt() and get the mean intensity of the local standard deviation image. If they're low, then there are few details and the image may be blurred.