Open bryanbocao opened 3 hours ago
I am trying to inspect the 24 joints manually by visualization: https://gist.github.com/mkocabas/238faa8a24c44d60fb30ffce367f9ec7 https://github.com/bryanbocao/IMUPoser/blob/0191dccc6ad5e30f7fbf181e0514e47fb631ccd6/scripts/1_preprocessing/visualize_body_part_segmentation_sel_joint.py#L89
Thanks for sharing this awesome wiki!
I was trying to get the indices of specific vertex indices for the 24 points: SMPL and STAR skeletons https://meshcapade.wiki/SMPL
However, each joint corresponds to a list of vertexes in https://meshcapade.wiki/assets/SMPL_body_segmentation/smpl/smpl_vert_segmentation.json. For instance,
rightForeArm
has many vertexes but I just want to find the most representive one:Take another example below, if we want to mask a list of IMUs, we can find them
ji_mask = torch.tensor([18, 19, 1, 2, 15, 0])
from the SMPL and STAR skeletons list above. However, their corresponding vertexesvi_mask = torch.tensor([1961, 5424, 876, 4362, 411, 3021])
are not obvious. https://github.com/FIGLAB/IMUPoser/blob/ca94eac4be156b5f16e6ed0d0953d0bac6084c1a/scripts/1.%20Preprocessing/1.%20preprocess_all.py#L32-L34It would be great if you can provide some better ways for that goal.
I have researched the following material but did not find the answer yet. Apologies if I missed them:
Thanks!