Skip to content

Add otoplasty (ear pinning) procedure preset #412

@dreamlessx

Description

@dreamlessx

What

Add an otoplasty (ear pinning) procedure preset to landmarkdiff/manipulation.py.

Why

Otoplasty is one of the most common facial cosmetic procedures, especially in pediatric patients. It targets the ear landmarks in the MediaPipe face mesh to simulate ear repositioning closer to the head.

How

Follow the Adding a New Procedure Preset guide in CONTRIBUTING.md. The key steps:

  1. Identify ear-related landmarks in MediaPipe's 478-point mesh (indices around 234, 93, 132, 361, 323, 454)
  2. Add entries to PROCEDURE_LANDMARKS, PROCEDURE_RADIUS, and _get_procedure_handles()
  3. Register in CLI choices
  4. Add tests at intensity levels 0, 50, 100
  5. Update README "Supported Procedures" section

References

  • See PRs #35 (brow lift) and #36 (mentoplasty) as examples of successful procedure contributions
  • Typical ear setback: 15-25mm medial displacement

Difficulty: 🟢 Beginner — great first contribution!

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributingGood for community contributorsgood first issueGood for newcomersnew-procedureNew surgical procedure preset proposal

    Projects

    Status

    Todo

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions