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.48k stars 5.15k forks source link

Extract z value from MediaPipe Hand JavaScript API #1417

Closed vcha0018 closed 3 years ago

vcha0018 commented 3 years ago

Could anyone tell me how to extract z values from MideaPipe Hand JavaScript API?

I can get all 3D landmarks in Python API, but in JavaScript, it gives only x, y and visibility(always undefined) fields.

Thanks for JS support!

I found comment regarding the same question in this post: 1163. But there is no solution.

yuccai commented 3 years ago

Also related to this issue : #1392

vcha0018 commented 3 years ago

@mgyong and @mhays-google,

Just want to make sure, Are you going to solve this issue in the near future and release the solution soon? Because I am developing a project that must require 3D coordinate and so I have to choose this API. Thanks for your support!

vcha0018 commented 3 years ago

Hello everyone,

Any updates -- insight -- anything on this?

sgowroji commented 3 years ago

We have updated the documentation regarding the Z value in hands https://google.github.io/mediapipe/solutions/hands.html#multi_hand_landmarks and you can also refer this https://github.com/google/mediapipe/issues/742#issuecomment-637162399