First let me give some information on what I'm trying to do.
I am working on the problem of face verification using the faces of the profile, and my first step is to detect faces. I am using an OpenCV face detector with "haarcascade_profileface.xml". The problem is that the detector cannot find the face in series. I do not agree, he finds a face in a certain region, but sometimes he finds a face larger, sometimes smaller, and sometimes both. I want him to always find the same area as his face.
I am adding a few images to better talk about my problem. You can find them here .
What should I do to overcome this detection of several faces in one area (overlapping face recognition)?
The first thing that came to my mind was to increase the minNeighbors parameter, but this leads to a decrease in the detection speed, so I do not want to do this. Then I think about using some image stabilization algorithm on facial images, but I think it will be too expensive. If anyone can give me advice on how to overcome this problem, I will be glad.
I must mention that I am using OpenCV 2.4.5 and I set the minNeighbor parameter to 4, scaleFactor was 1.75 and did not set a size limit.
Thanks in advance,
Hi,
Guney
source share