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

Question about marker layout file #20

Open
aric0103 opened this issue Dec 1, 2022 · 3 comments
Open

Question about marker layout file #20

aric0103 opened this issue Dec 1, 2022 · 3 comments

Comments

@aric0103
Copy link

aric0103 commented Dec 1, 2022

Hi,

Thank you for your excellent work! I would like to convert our labeled mocap data to SMPL format using SOMA. When I run Solving Bodies with MoSh++ part in Run SOMA On MoCap Point Cloud Data. The layout file "SOMA_unlabeled_mpc_smplx.json" is created. Both subject 1 and 2 got the same JSON file, and I also found a fine-tuned layout file at support_files/marker_layouts/SOMA/soma_subject1/clap_001_smplx_finetuned.json, which has different vertices numbers(vids). I have some questions about the layout JSON files:

  1. Are all the subjects using the same layout files?
  2. How did you get the fine-tuned layout or how to update the vertices id of every key point label in the JSON file? Is there any rules to find more accurate vids of the different joint labels?

Thank you!

@GaigeY
Copy link

GaigeY commented Dec 7, 2023

I guess the target of SOMA is to give the correct labels of the point markers, so the initially created .json files are not important. The SOMA scripts would label the markers automatically (into xxx_finetuned.json), following the vid configure of MoSh++.

@aric0103
Copy link
Author

aric0103 commented Dec 8, 2023

I found some labels were not correct using SOMA, so I decided to manually label the marker names and run just Mosh++. I am using the Optitrack system and the label names are not compatible with the name in vid configure of Mosh++, do you know how to convert the label names?

@GaigeY
Copy link

GaigeY commented Dec 9, 2023

I found some labels were not correct using SOMA, so I decided to manually label the marker names and run just Mosh++. I am using the Optitrack system and the label names are not compatible with the name in vid configure of Mosh++, do you know how to convert the label names?

Of course. I debuged the MoSh++ line by line, and found that the MoSh++ support 199 marker locations for SMPL. You can find the configure file at moshpp.marker_layout.marker_vids.py, which offered the label names and the corresponding vids.

You can check if marker_vids module support your marker configuration. If it doesn't support, maybe you can set a marker vid manually? I'm also curious how it works. If you could archieve any progress, I would be glad to hear from you.

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

No branches or pull requests

2 participants