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.3k stars 5.13k forks source link

Getting the landmark data every frame for the new holistic model (Extracting Landmark Coordinate Data) #1452

Closed pkaske closed 2 years ago

pkaske commented 3 years ago

I figured out a way to get the (x,y,z) data points for each frame from one hand previously. but im not sure how to do that for the new holistic model that they released. I am trying to get the all landmark data points for both hands as well as parts of the chest and face. does anyone know how to extract the holistic landmark data/print it to a text file? or at least give me some directions as to how.

(please note i got this done successfully in python, but now want to do it in c++)

eknight7 commented 3 years ago

Hi - definitely - extracting landmarks should be similar to extracting landmarks as shown in other MediaPipe solutions. Where are you trying to do this exactly?

shadow111 commented 3 years ago

Hi - definitely - extracting landmarks should be similar to extracting landmarks as shown in other MediaPipe solutions. Where are you trying to do this exactly?

can you please put me on the right track i want all the landmarks together but still can't figured it out

pkaske commented 3 years ago

Hi - definitely - extracting landmarks should be similar to extracting landmarks as shown in other MediaPipe solutions. Where are you trying to do this exactly?

well last time i used the landmark_letterbox_removal_calculator.cc file (mediapipe/mediapipe/calculators/util/landmark_letterbox_removal_calculator.cc) and just printed the x,y,z coordinates for the 21 landmarks (one hand) by manually creating a .txt that wrote them every frame. but I'm not sure how to do that for the new holistic (how/where do i do that? what calculators,etc). I need both the hands now (21 points each) plus some of the pose coordinate landmarks as well. so how do i do that all at once @ivan-grishchenko @eknight7

SayedHamdiF commented 3 years ago

@pkaske could you please share with me code i want to save all keypoints in csv files. untill now i ca't , please help

Wansh619 commented 2 years ago

is this issue still open?

yndue736 commented 2 years ago

Yes there are some level discussion still in process you can click on the link Today telenor answer where they have added the same procedure which is useful in this project.

Wansh619 commented 2 years ago

Actually i am a absolute beginner so can you please guide me as i don't know what i should know for solving this issue

sureshdagooglecom commented 2 years ago

Hi @pkaske , Are you still looking for the resolution on this issue.

google-ml-butler[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

google-ml-butler[bot] commented 2 years ago

Closing as stale. Please reopen if you'd like to work on this further.