google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://ai.google.dev/edge/mediapipe
Apache License 2.0
27.46k stars 5.15k forks source link

Hand visibility and presence (python) #1320

Closed guanming001 closed 3 years ago

guanming001 commented 3 years ago

Hi

When I tried to run the python example for mediapipe hands, the output of visibility and presence for the results.multi_hand_landmarks seem to be always zero, is this expected?

And are there any difference between visibility and presence?

Thank you!

jiuqiant commented 3 years ago

Please ignore the visibility and presence fields. What you see are just the default values. For MediaPipe hands, they should be unset in the landmark proto.