matching small faces on passport pictures
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- computer-vision
Research direction
Start by reproducing the report with Python 2.7, face_recognition 1.2.2, Windows, and the passport images; inspect the calls to face_encodings, load_image_file, compare_faces, and face_distance. Done requires a reproducible example, a clear explanation of why small faces compare as true, and a verified correction or documented limitation.
Written by the indexing model from the issue text.
Description
- face_recognition version:1.2.2
- Python version:2.7
- Operating System:windows
Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
IMPORTANT: If your issue is related to a specific picture, include it so others can reproduce the issue.
i have tried to match faces in full picture though it was really slow, but I did get results now i m trying to match faces on passport photographs of small sizes and its all returning true for all faces
What I Did
Paste the command(s) you ran and the output.
@staticmethod
def face_encodings(filetopath):
return face_recognition.face_encodings(face_recognition.load_image_file(filetopath))[0]
def check_recorg_val(self, picked_ytbecoded_file, next_ytbencoded_tocheck_file):
if ((
face_recognition.compare_faces([picked_ytbecoded_file], next_ytbencoded_tocheck_file))):
picked_ytbecoded_file,next_ytbencoded_tocheck_file,face_recognition.face_distance([picked_ytbecoded_file], next_ytbencoded_tocheck_file))
return True
else:
return False
def check_label_prob(self,increment_val_):
dummy_inc_val = increment_val_
self.ckecklistner = 0
while True:
print self.ckecklistner
self.bool_val = self.check_recorg_val(self.face_encodings(self.loaded_img_weights.values()[dummy_inc_val]),
self.face_encodings(self.loaded_img_weights.values()[increment_val_-1]))
If there was a crash, please include the traceback here.
- Dominant language
- Python
- Stars
- 56.8k
- Forks
- 13.7k
- PR merge metrics
- No merged PRs in 30d
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.
More from ageitgey/face_recognition
-
CLI image-folder regex missing end-anchor picks up non-image files (foo.jpg.bak, notes.jpegdoc) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ageitgey/face_recognition#1678 ·
-
Honest-Feedback Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
ageitgey/face_recognition#1669 · 3 comments ·
-
AiSoul Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
ageitgey/face_recognition#1668 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
ageitgey/face_recognition#1666 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
ageitgey/face_recognition#1665 · 2 comments ·
All issues in ageitgey/face_recognition
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100