davidpagnon / Pose2Sim_Blender

Pose2Sim visualizer tool — Import cameras and OpenSim data in Blender
MIT License
18 stars 0 forks source link

csv file and trc file cannot match #6

Open zhang010930 opened 3 months ago

zhang010930 commented 3 months ago
image

It's weird, I made sure every step was done as shown in the video, but it didn't fit together in the end. By the way, this is running on a Mac

davidpagnon commented 3 months ago

Hi, I recently edited the toolbox for various reasons to rotate the files 90° right. Are you sure you downloaded the last version of it, both the example files and the code?

zhang010930 commented 3 months ago

Thanks for your reply, but my files are all up to date. In addition, I found that the example in the zip and the example in the folder are different. I've tried both of these, but they can't overlap.

davidpagnon commented 3 months ago

This is strange, give me a few hours and I'll have a look

zhang010930 commented 3 months ago

This is strange, give me a few hours and I'll have a look

If my comparison is correct, the camera and markers did rotate 90 degrees to the right, but the motion did not change. I hope this can help you find the problem.

davidpagnon commented 3 months ago

Sorry, I've been trapped by an urgent task but I'll fix it by the end of the week! Note that I believe the issue lies in the example data rather than the algorithm. Can you confirm that you obtain good results on your own data?

davidpagnon commented 3 months ago

Hi @zhang010930, I added a few functionalities to Pose2Sim, rebuilt the package, and then checked the example files. They look good on my end, so either there is still an issue on your end, or I somehow fixed it. Can you reinstall the package (just in Blender, don't reinstall OpenSim not the python libraries) and tell me how it goes?

zhang010930 commented 2 months ago

Thanks, the Moco example in the zip file works fine now, I would really appreciate it if you could take the time to update another example

davidpagnon commented 2 months ago

Why do you need another example, and what kind of example? Does the Pose2Sim example work now?

zhang010930 commented 2 months ago

The pose2sim example still does not work properly. Besides, I need this example mainly because it can match with video and camera

davidpagnon commented 2 months ago

Okay, I think the archive was corrupted, so I rebuilt it and you should now be able to reinstall the plugin. Thank you for letting me know! When you load a marker or motion file, don't forget to set target_framerate to 60 so that it matches the video framerate.