opencv-face-recognition-python icon indicating copy to clipboard operation
opencv-face-recognition-python copied to clipboard

How to recognize unknown people?Let me ask the question in this way, if I send the picture of any unknown people it again recognize as ramiz raja ,but I am expecting it to be unknown.

Open SaiSandeepKantareddy opened this issue 7 years ago • 4 comments

SaiSandeepKantareddy avatar Feb 05 '18 06:02 SaiSandeepKantareddy

I am also having this problem. Why is this so? I want it to be UNKNOWN. Please help. Thanks :)

orbanejar avatar Feb 15 '18 01:02 orbanejar

a new IF condition after predict function will solve the problem. If the confidence level is below certain level then print "unknown".

SusmithKrishnan avatar Mar 05 '18 06:03 SusmithKrishnan

The script hasn't been curated properly. I have spent a lot of time testing it.

Anjalizi avatar Mar 16 '18 19:03 Anjalizi

machine learning is based on minimizing the error so even in eigenfaces difference between the test and database image is used so you can set it as if the difference exceeds a certain level print unknown in text box

AyushTejwani avatar Jul 20 '18 21:07 AyushTejwani