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

cvzone facedetector error: AttributeError: module 'mediapipe.python.solutions.face_mesh' has no attribute 'FACE_CONNECTIONS' #11

Closed
zealotCE opened this issue Sep 8, 2021 · 2 comments

Comments

@zealotCE
Copy link

zealotCE commented Sep 8, 2021

mediapipe renamed FACE_CONNECTIONS to FACEMESH_TESSELATION .
please fixed it

links:
google/mediapipe#2448
https://github.com/google/mediapipe/blob/master/docs/solutions/face_mesh.md#python-solution-api

@zealotCE zealotCE changed the title cvzone facedetector error: cvzone facedetector error: AttributeError: module 'mediapipe.python.solutions.face_mesh' has no attribute 'FACE_CONNECTIONS' Sep 8, 2021
@erickthered
Copy link
Contributor

I've created a pull request that addresses this issue. Unfortunately the maintainer hasn't approved it yet. You only need to change the name of a constant inside the face mesh detector: #15

@ilbertt
Copy link

ilbertt commented Oct 27, 2021

Now that the @erickthered's PR is merged, I solved the problem by installing cvzone from this repo:

pip install git+https://github.com/cvzone/cvzone.git

@zealotCE zealotCE closed this as completed Nov 4, 2021
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

3 participants