ageitgey / ageitgey/face_recognition
Wrong Face Recognized in knn classifier
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 56.8k
- Forks
- 13.7k
- PR merge metrics
- No merged PRs in 30d
Description
- Python version:2.7
- Operating System:16.04
Description
I was trying to recognize faces using knn classifier with
person1: 50 images(3 different sets of same face)
person2: 50 images(3 different sets of same face)
In the test folder, we had given person3 to test if unknown is recognized but instead person1 is recognized.
What I Did

Can you please help me in solving this issue?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue's KNN classifier setup and the distinction between the person1, person2, and person3 image sets, then reproduce the recognition result described in the test folder. Compare the classifier's output with the expected unknown result and document a minimal reproducible case; the issue is resolved when an unknown person is not incorrectly identified as person1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100