ageitgey / ageitgey/face_recognition
face encoding takes too much time in EC2
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.2
- Operating System: Amazon Linux AMI 2018.03
Description
Hi,
I am trying to get face encoding in ec2 machine. But it is talking around ~7 sec.
Image has only one person.
What I Did
Spin up ec2 instance c5.2xlarge. run face_encodings = face_recognition.face_encodings(image, {face_locations}, 100) in python console.
Please help me to understand why it is too slow in ec2.
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 face_recognition.face_encodings(image, {face_locations}, 100) call with face_recognition 1.2.3 and Python 3.7.2 on the stated EC2 c5.2xlarge environment. The issue names no repository file or test, and completion would require identifying and explaining the source of the roughly seven-second runtime.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud, machine-learning, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100