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
270 stars 50 forks source link

Synchronization for multi-person #135

Closed hunminkim98 closed 1 month ago

hunminkim98 commented 1 month ago

Hello, Dr. David,

I have modified the synchronization.py script to handle multi-person scenarios. I aimed to keep the modifications as clear and simple as possible, hopefully.

I have tested the script with the following cases:

Thank you for taking the time to read this!

https://github.com/user-attachments/assets/9d6e4f6a-3d96-458f-a727-8f8c2b8a008d

https://github.com/user-attachments/assets/f844eb42-c5ea-4a76-9659-eae0db0f57d9

davidpagnon commented 1 month ago

Thank you very much @hunminkim98, this works very well and is quite convenient!

I made a few edits, not many at all this time!

Warning: synchronization is not tested with github actions in multiperson mode (it requires a screen and we don't have any)

hunminkim98 commented 1 month ago

Thank you for taking the time to merge! I’m very happy to continue contributing to Pose2Sim :) And I truly appreciate your constant consideration of my work. Thank you very much once again!