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

I have another question. Can MocapNET convert JSON files generated by OpenPose into BVH files? If so, how can I upload my own OpenPose JSON files to Google Colab and convert them into BVH files? need help。 #124

Open
next1foreal opened this issue Jun 19, 2024 · 2 comments
Assignees
Labels
feature A Requested feature

Comments

@next1foreal
Copy link

I have another question. Can MocapNET convert JSON files generated by OpenPose into BVH files? If so, how can I upload my own OpenPose JSON files to Google Colab and convert them into BVH files? need help。

@Paritosh97
Copy link

In the same boat, the problem is the conversion of json to csvs(which is not that trivial because to run the convertor, you have to compile the whole thing). Hopefully someone comes up with a standalone python script for the convertor so everything can be streamlined in colab...

@AmmarkoV AmmarkoV self-assigned this Nov 8, 2024
@AmmarkoV AmmarkoV added the feature A Requested feature label Nov 8, 2024
@AmmarkoV
Copy link
Collaborator

AmmarkoV commented Nov 8, 2024

Hello, yes the functionality to go from OpenPose JSON to CSV is implemented here :

https://github.com/FORTH-ModelBasedTracker/MocapNET/blob/master/src/MocapNET2/Converters/Openpose/convertOpenPoseJSONToCSV.cpp

You can order the build system to just build the converter by issuing

cd build
make convertOpenPoseJSONToCSV 

however it is true that due to the internal representations relying on the same code as the runtime it will essentially have to build almost everything!

@Paritosh97
It is a good idea towards the simplification of the codebase to add the functionality for OpenPose JSON -> CSV in the python side, and I already have enumerated ( https://github.com/FORTH-ModelBasedTracker/MocapNET/blob/mnet4/src/python/mnet4/holisticPartNames.py#L477 ) the outputs etc.

I will do this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A Requested feature
Projects
None yet
Development

No branches or pull requests

3 participants