I am using Open CV2 face detection in Python. It works very well, but often finds faces that, although they really are faces, are so blurry as to be useless. It succeeds in finding faces that can't be recognized as male or female, adult or child, but still clearly human faces.
Detecting a face that can't be recognized is not a useful result, but I don't know how to programmatically block these results, or determine that they should be ignored.
The only approach I currently have is to ignore any face smaller than a certain threshold, but I still get some large blurry faces.
Any suggestions? I am using the haarcascade_frontalface_alt_tree.xml for detection.
deep learning based facial detectors such as ssd or mtcnn return confidence score as well.
deepface wraps these state-of-the-art face detectors.
Herein, ssd expexts 90% confidence score. That would solve your problem.