Skip to content

Conversation

AdaiasMagdiel
Copy link

This PR fixes #23.

  • Issue: Unknown named parameter $nose when using Detector::RETINAFACE
  • Cause: RetinaFace returns landmarks (nose, mouth_left, mouth_right, etc.) not properly mapped.
  • Fix: Normalize landmark keys before constructing the object.

Tested with:

  • Detector::RETINAFACE
  • FaceRecognitionModel::ARCFACE

Result: represent() now returns embeddings successfully without crashing.

…h_right) This PR fixes [Astrotomic#23](Astrotomic#23). - Issue: `Unknown named parameter $nose` when using `Detector::RETINAFACE` - Cause: RetinaFace returns landmarks (`nose`, `mouth_left`, `mouth_right`, etc.) not properly mapped. - Fix: Normalize landmark keys before constructing the object. Tested with: - `Detector::RETINAFACE` - `FaceRecognitionModel::ARCFACE` Result: `represent()` now returns embeddings successfully without crashing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant