cvzone icon indicating copy to clipboard operation
cvzone copied to clipboard

AttributeError: module 'mediapipe.python.solutions.face_mesh' has no attribute 'FACEMESH_CONTOURS'

Open ghost opened this issue 3 years ago • 3 comments

in findFaceMesh: self.mpDraw.draw_landmarks(img, faceLms, self.mpFaceMesh.FACEMESH_CONTOURS, AttributeError: module 'mediapipe.python.solutions.face_mesh' has no attribute 'FACEMESH_CONTOURS'

Can't understand, what's wrong, because this attribute exists in mediapipe.python.solutions.face_mesh.

ghost avatar Jan 10 '22 14:01 ghost

I replaced 'FACEMESH_CONTOURS' with 'FACE_CONNECTIONS'

MickeyLLG avatar Jan 21 '22 03:01 MickeyLLG

For godsakes, FACE_CONNECTIONS and FACEMESH_CONTOURS both are not working

alchemician avatar Jul 12 '23 21:07 alchemician