Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Weird problem with openCV face detection


I've been trying to use OpenCV for face detection (using haar classifiers cascades). I've found out that for some pictures a face is not recognized, but if you put the same image into another one the face will be detected. Moreover, If you resize the Image (I do it one pixel after another of the image's width) openCV sometimes find the image.

I have tried to find out if there is anything common to all of these images (I have hundreds of jpeg images that has this problem) but could not find a clue. My guess is that it has something to do with the way OpenCV "walks over" the image but I don't really have any way to prove it.

I am attaching two images for you to try one will be detected and the other will not

0 Kudos
1 Reply
I do not see attached images, were you able to provide test images?
I would also recommend you to try IPP JPEG samples, for example picnic application where we integrated IPP Face Detector into GUI image viewer to see if IPP have the same issue with your images.

0 Kudos