ageitgey / ageitgey/face_recognition

when model = "cnn" , the execution blocks forever

Open
#277 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.