MarilynKeller / OSSO

From a body shape, infer the anatomic skeleton.
Other
210 stars 33 forks source link

How to transform my mesh data into the network topology structure required by OSSO, where Vertices=6890? #13

Closed YH188 closed 7 months ago

YH188 commented 11 months ago

Dear Marilyn Keller,

I would like to obtain the internal skeletal structure of my surface data. My mesh data has Vertices=10127706, which does not meet the required vertex count for STAR. How can I modify it? Could you please guide me?

Kind regards, Huan Yin

MarilynKeller commented 10 months ago

Dear Huan, thanks for using Osso. Fist you need to align the SMPL model to your mesh. We do not release this code but you can look over there:https://github.com/bharat-b7/RVH_Mesh_RegistrationOr use meshcapade service but it's not free:https://me.meshcapade.com/from-scansThat will give you a SMPL mesh that has the same shape and pose as your mesh but has the topology requested to run the OSSO inference and get the skeleton.I hope this helps.Best, Marilyn

MarilynKeller commented 7 months ago

To add more details for anyone stuck by this. To align SMPL to a scan, you can use the smplx package and pytorch. Use pytorch to optimize SMPL's shape (beta) and pose (theta) to minimize the distance between the SMPL mesh and your scan's mesh.

MarilynKeller commented 3 days ago

You can also try this service: https://me.meshcapade.com/from-scans