ageitgey / ageitgey/face_recognition
To make importing images in 'facerec_from_webcam_faster.py' easier by only providing the known_pictures folder path
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:2.7
- Operating System:Fedora 27
Description
In Examples of face_recognition the code 'facerec_from_webcam_faster.py' works fine, but I wanted to make import the images easier, Now in the above code instead of manually writing the name and path of each image, I intend to create a function that would only take the folder path of the known images with image name as their original name, the function should be able to generate the face encoding of each image and would be able to create two lists with face encodings and face names respectively.
Any help would be appreciated.
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 with examples/facerec_from_webcam_faster.py and inspect how known images are currently named, loaded, and encoded. The change is complete when the example accepts a known_pictures folder path and produces face-encoding and face-name lists from the images it contains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100