ageitgey / ageitgey/face_recognition
Accuracy problem on large dataset
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 56.8k
- Forks
- 13.7k
- PR merge metrics
- No merged PRs in 30d
Description
- face_recognition version:1.2.3
- Python version:3.6.7
- Operating System: ubuntu 18.04
Hi,
I tried to test by adding face encoding of one person to last of known_face_encoding list.
And, the matching result of compare_face method was bad.
When I test with face encodings of 100 people from dataset, I get the right results.
However, when I test with face encodings of 1000 people from dataset, I get the wrong results. The found face on test image was labelled with the name of other person. I tested it with number_of_times_to_upsample=2 due to images with low resolution.
Actually, when I add face encoding of test to known face encoding list as first element, the result of comparison of faces is the right and labeled with right name.
What is the difference between the process of comparing face at first element or last element at known encoding list?
Why does the compare_face method not match correctly with large dataset?
After the face detection on image, is it necessary to scale with same size of found all face to get right matching? Is the pixel difference a problem?
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 reproducing the reported difference between 100 and 1,000 entries in the known_face_encoding list, including placing the test encoding first and last. Inspect the compare_face entry point and compare its results across dataset sizes. Done should identify whether ordering or dataset size causes the mismatch and provide a verified fix or a documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100