perfanalytics / pose2sim

Markerless kinematics with any cameras — From 2D Pose estimation to 3D OpenSim motion
https://perfanalytics.github.io/pose2sim/
BSD 3-Clause "New" or "Revised" License
271 stars 50 forks source link

Can I use other musculoskeletal model instead of Pose2Sim model? #132

Closed InckieUltra closed 2 months ago

InckieUltra commented 2 months ago

I noticed the provided model have no muscles. I wonder if I can use other models like "LaiUhlrich2022" which was used in OpenCap, so that I can perform muscle analysis?

davidpagnon commented 2 months ago

Hi, considering that most body models are based on the Rajagopal 2015 one, you could just put the muscles back from the Lai-Uhlrich model to the Pose2Sim one. Just make sure there is no significant difference between joint definitions.

I initially removed the muscles because it made OpenSim slow at loading models, but I could probably put them back. What do you think?

InckieUltra commented 2 months ago

Thanks for your kindly reply. I think that helps a lot! 👍

maipatrick commented 2 months ago

Hi,

could you help me introducing valgus varus motion at the knee joint in the current model. My plan it to lock the joint (not allow movement) but still compute joint moments via ID. would be great to get some help.

davidpagnon commented 2 months ago

Hi, this is more of a question you should ask in the OpenSim forum: https://simtk.org/plugins/phpBB/indexPhpbb.php?f=91 There, you'll find people who are way more experts than me :)

In case that can help you phrase the post, the Pose2Sim knee definition is the Rajagopal 2015 one, which is also used in many other opensim models.

davidpagnon commented 2 months ago

I'm closing the issue, feel free to reopen it if you need it!