ageitgey / ageitgey/face_recognition
face_encodings make the code slow
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.7
- Operating System: win10
cpu is i5-7300HQ
Description
when detection face in the use camera
face_encodings will make the cv2.imshow() show the frame slow.
and how can i make the code quick.
i test to use the model='cnn', it is also slow
i test to cut some line to know what make it slow, and cause by face_encodings
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 camera path described in the issue with Python 3.7 on Windows 10, comparing frame timing with and without face_encodings. Inspect the interaction between face_encodings, the CNN model option, and cv2.imshow(). Done means identifying a practical way to avoid the reported slowdown and documenting the measured result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- opencv, python
- Domain
- computer-vision, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100