Detect blur, sharpness of the single image
I am trying to create validation of the image into my mobile application for different platforms(iOS, Android, etc.) Googled a lot I found some solutions and snippets but unfortunately they are not opaque for me. The idea is take a picture and validate it. For example attached image is not valid.
Is it possible to make this kind of validation using OpenCV? I want to have functions like isBlurry(image), isSharped(image)
maybe you will support the idea of adding calcBlurriness function to imgproc
With one image I don't know if an image is blur or not. With two images you can compare values of bluriness but you need to define a region of interest. It's like when you take a picture do you want to see a blur backgound or a blur foreground?