Extract and return facial landmarks alongside bounding box

Open Beginner friendly
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python

Research direction

Start with the YuNet inference in erml/detector.py around lines 140–150 and the output schemas in erml/schemas.py. Check how _detect_faces() receives the five landmarks and how FacePrediction represents its fields. Update the schema and detection output to expose those landmarks; done when predictions include all five alongside the bounding box.

Written by the indexing model from the issue text.

Description

enhancement help wanted

The YuNet face detector we use actually returns 5 facial landmarks (eyes, nose, mouth corners) along with the bounding box, but we currently discard them in _detect_faces().

We should expose these in the FacePrediction pydantic model to give developers more spatial context about the face.

Where to look:

  • erml/detector.py (Lines 140-150 where YuNet inference happens)
  • erml/schemas.py (Update the output schemas to include landmarks)
Dominant language
Python
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from sid-lakhani/erml

All issues in sid-lakhani/erml

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.