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

Yes, FACE_CONNECTIONS is renamed to FACE_CONTOURS. Please see the new drawing example code at https://github.com/google/mediapipe/blob/master/docs/solutions/face_mesh.md#python-solution-api.

Update:


 

 

FACEMESH_CONTOURS


 

is the correct new name.

 

If you have problems with FACE_CONTOURS also try FACEMESH_CONTOURS

posted @ 2022-03-28 09:14  星涅爱别离  阅读(2109)  评论(0编辑  收藏  举报