Skip to content
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

csv to bvh problem #110

Open
Jeckinchen opened this issue Oct 7, 2023 · 3 comments
Open

csv to bvh problem #110

Jeckinchen opened this issue Oct 7, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@Jeckinchen
Copy link

Hello, I am currently using the file "src/python/mnet4/csvNET.py". I noticed that in the file con0014/2dJoints_v1.4.csv downloaded from Google Colab, there seem to be 138 2D keypoints. The results from my 2D pose estimator are in the coco-wholebody format with 133 keypoints. How can I use csvNET.py to obtain the corresponding BVH file?

@AmmarkoV AmmarkoV self-assigned this Oct 8, 2023
@AmmarkoV AmmarkoV added the question Further information is requested label Oct 8, 2023
@AmmarkoV
Copy link
Collaborator

AmmarkoV commented Oct 8, 2023

The network assumes input in the BODY25 format :

49032982-d5bfb580-f162-11e8-935d-5139c01eeb57

Because COCO does not have foot fingers, thus making it impossible to track the orientation of the foot!

keypoints_pose_18

You can either generate "foot" points close to the heel and pass them in , or you can pass them as zeros in the hope that the neural network will do fine without them.

The order and naming scheme of joints can be found here :

https://github.com/FORTH-ModelBasedTracker/MocapNET/blob/mnet4/src/python/mnet4/holisticPartNames.py#L311

Ammar

@Jeckinchen
Copy link
Author

Jeckinchen commented Oct 9, 2023

The network assumes input in the BODY25 format :

49032982-d5bfb580-f162-11e8-935d-5139c01eeb57

Because COCO does not have foot fingers, thus making it impossible to track the orientation of the foot!

keypoints_pose_18

You can either generate "foot" points close to the heel and pass them in , or you can pass them as zeros in the hope that the neural network will do fine without them.

The order and naming scheme of joints can be found here :

https://github.com/FORTH-ModelBasedTracker/MocapNET/blob/mnet4/src/python/mnet4/holisticPartNames.py#L311

Ammar

Thanks for your answer.
But I still have some problems. My 2D keypoints estimation results follow the format and order specified at
https://github.com/open-mmlab/mmpose/blob/537bd8e543ab463fb55120d5caaa1ae22d6aaf06/configs/_base_/datasets/coco_wholebody.py#L13C20-L13C20 with 133 keypoints. However, I noticed that csvNET.py uses 138 keypoints. How can I convert these 133 keypoints to the 138 keypoints required by the project? Looking forward to your answer. Thank you!

@johndpope
Copy link

johndpope commented Sep 13, 2024

seems ilke the new sapiens coco-wholebody solves this - adding toes
facebookresearch/sapiens#76

test

what i need is to get this back into BVH format....( all ears if anyone has solution.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants