ageitgey / ageitgey/face_recognition
when model = "cnn" , the execution blocks forever
Open
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.0.0
- Python version: 3.6.1
- Operating System: debian stretch
Description
img = face_recognition.load_image_file(pic("IMG_3230.JPG"))
print("load image ok !!")
face_locations = face_recognition.face_locations(img, model="cnn")
load image ok , and then blocks for face_locations func when model ="cnn",
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
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 example with face_recognition.load_image_file and face_recognition.face_locations(img, model="cnn") on the reported Python 3.6.1 and Debian Stretch setup. Trace the cnn execution path from face_locations and compare it with the default model; done means the call returns instead of blocking indefinitely, with a regression test covering the reported input or behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100