Create constants for pupil center

This commit is contained in:
Alex Rothberg 2023-03-22 15:35:41 -04:00 committed by GitHub
parent eda8cb6b42
commit 17be416ee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,8 @@ from mediapipe.python.solutions.face_mesh_connections import FACEMESH_TESSELATIO
FACEMESH_NUM_LANDMARKS = 468 FACEMESH_NUM_LANDMARKS = 468
FACEMESH_NUM_LANDMARKS_WITH_IRISES = 478 FACEMESH_NUM_LANDMARKS_WITH_IRISES = 478
FACEMESH_LEFT_PUPIL_CENTER = 473
FACEMESH_RIGHT_PUPIL_CENTER = 468
_BINARYPB_FILE_PATH = 'mediapipe/modules/face_landmark/face_landmark_front_cpu.binarypb' _BINARYPB_FILE_PATH = 'mediapipe/modules/face_landmark/face_landmark_front_cpu.binarypb'