Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change to FACEMESH_COUNTOURS #1

Open
rcsmit opened this issue Jul 2, 2022 · 2 comments
Open

change to FACEMESH_COUNTOURS #1

rcsmit opened this issue Jul 2, 2022 · 2 comments

Comments

@rcsmit
Copy link

rcsmit commented Jul 2, 2022

line 20 of face_landmark_detection.py has to be

mpDraw.draw_landmarks(img, faceLms,mpFaceMesh.FACEMESH_CONTOURS, drawSpec, drawSpec)

@rcsmit
Copy link
Author

rcsmit commented Jul 2, 2022

idem dito for line 30 of the FLM_module.py

@BakingBrains
Copy link
Owner

@rcsmit For mediapipe==0.8.3 and opencv-contrib-python==4.5.5.62

self.mpDraw.draw_landmarks(img, faceLms, self.mpFaceMesh.FACE_CONNECTIONS, self.drawSpec, self.drawSpec)

This works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants