ageitgey / ageitgey/face_recognition
Batch Inference of Facial Landmarks
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 and 3.5.2
- Operating System: Ubuntu 16.04
I am trying to use 5 pt shape predictor for batch inference. I have a batch of face crops let says 50, and I want to get their landmarks returned in a single go.
What I Did
I tried passing the dlib.shape_predictor() function the list of images as first argument and list of respective detections as second. But it returned the following error:
TypeError: __call__(): incompatible function arguments. The following argument types are supported:
1. (self: dlib.shape_predictor, image: array, box: dlib.rectangle) -> dlib.full_object_detection
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 locating the existing landmark-detection entry point and reading the dlib.shape_predictor signature shown in the report; no repository file or test is named. Done should mean that a batch of face crops and corresponding detections can produce all landmark results in one operation, with coverage for the reported argument shape.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100