Mjrovai / OpenCV-Face-Recognition

Real-time face recognition project with OpenCV and Python
1.18k stars 1.02k forks source link

Same name (ID) on different faces #35

Open asif48 opened 1 year ago

asif48 commented 1 year ago

Hi...I am having a problem in face recognition.

I used LBPHFaceRecognizer() in training and pre trained HaarCascadeClassifier in face recognition.

I used two samples faces and 30 images of each face. Whenever I tested the model using a new face (that the model has not ben trained for) instead of showing un known it every time shows the name of the first face which I used for the training.

Can you help me in this regard?