mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(passport-photo): support both old and new mediapipe APIs for face landmarks
- Old API (mp.solutions.face_mesh) for Docker with mediapipe < 0.10.30 - New API (mp.tasks.vision.FaceLandmarker) for newer mediapipe >= 0.10.30 - Auto-downloads face_landmarker.task model on first use with new API - Extracted shared landmark index constants and key point extraction
This commit is contained in:
@@ -43,3 +43,4 @@ layout-*.png
|
||||
audit_report.md
|
||||
.worktrees/
|
||||
.release-version
|
||||
.models
|
||||
|
||||
Reference in New Issue
Block a user