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
tfjs-models/face-landmarks-detection
: keypoint
291
missing in MEDIAPIPE_FACE_MESH_KEYPOINTS_BY_CONTOUR.lips
#8221
Comments
There are two other keypoints which will be missing for the same reason.
It seems like the expectation is that the end of one pair will be the start of the next pair, so I ran a quick code to find instances where this is not the case. Not all of these "jumps" lead to missing indices. For the left/right eye the index which would potentially be left off (
Code I used for both checks:
|
Hi, @jackbdu, @lindapaiste We sincerely apologize for the delay in our response and thank you for bringing this issue to our attention, I tried face-landmarks-detection MediaPipe demo and it seems like there are total 03 missing keypoints so our relavant team will look into this issue and I believe they'll fix this issue soon In the meantime, we welcome contributions from the community. If you have a solution to address these missing keypoints, please feel free to submit a pull request (PR). Our team will thoroughly review your PR and take appropriate action, including merging it if it meets our guidelines. Thank you for your cooperation and patience. |
System information
Describe the current behavior
keypoint
291
(a corner of the lips, see mesh_map) is not present inMEDIAPIPE_FACE_MESH_KEYPOINTS_BY_CONTOUR.lips
Describe the expected behavior
keypoint
291
should be included inMEDIAPIPE_FACE_MESH_KEYPOINTS_BY_CONTOUR.lips
Standalone code to reproduce the issue
Lips corner not rendered correctly in face-landmarks-detection MediaPipe demo
Other info / logs
I suspect the issue comes from constants.ts. See snippets below:
In particular,
connections.map(connection => connection[0]);
eliminateskeypoint
291
from the indices.This happens because
291
appears as the second element in both[375, 291]
and[409, 291]
whereas61
(the other corner of the lips) appears as the first element in both[61, 146]
and[61, 185]
.Hope this helps!
The text was updated successfully, but these errors were encountered: