Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6624 Discussions

Weird problem with openCV face detection

opeth
Beginner
125 Views

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
Vladimir_Dudnik
Employee
125 Views
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.
Regards,
Vladimir

Reply