From 79c0254be12ac7e55b77d12218f679bd0c8be838 Mon Sep 17 00:00:00 2001 From: Jozef Majzel <43440486+xmajzel@users.noreply.github.com> Date: Sat, 8 Oct 2022 17:10:50 +0200 Subject: [PATCH] fix(headPoseEstimation): Rename attribute name according to changes in mediapipe library. --- headPoseEstimation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headPoseEstimation.py b/headPoseEstimation.py index ba93897..6d226b3 100644 --- a/headPoseEstimation.py +++ b/headPoseEstimation.py @@ -123,7 +123,7 @@ mp_drawing.draw_landmarks( image=image, landmark_list=face_landmarks, - connections=mp_face_mesh.FACE_CONNECTIONS, + connections=mp_face_mesh.FACEMESH_TESSELATION, landmark_drawing_spec=drawing_spec, connection_drawing_spec=drawing_spec) @@ -134,4 +134,4 @@ break -cap.release() \ No newline at end of file +cap.release()