opencv-face-recognition-python
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.
I am also having this problem. Why is this so? I want it to be UNKNOWN. Please help. Thanks :)
a new IF condition after predict function will solve the problem. If the confidence level is below certain level then print "unknown".
The script hasn't been curated properly. I have spent a lot of time testing it.
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