Ask Your Question

Revision history [back]

Why OpenCV face detection recognition the faces for untrained face?

I trained 472 unique images for a person A for Face Recognition using "haarcascade_frontalface_default.xml". While I am trying to detect face for the same person A for the same images which I have trained getting 20% to 80% confidence, that's fine for me.

But, I am also getting 20% to 80% confidence for person B which I have not included in training the images. Why its happening for person B while I am doing face detection?

I am using python 2.7 and OpenCV 3.2.0-dev version.

Please reply me.