Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extrinsic parameter retrieval using Optitrack #28

Closed
claraaudap opened this issue Jul 25, 2023 · 2 comments
Closed

Extrinsic parameter retrieval using Optitrack #28

claraaudap opened this issue Jul 25, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@claraaudap
Copy link

Hello,

In this post, I will tell you how to retrieve extrinsic parameters using Optitrack's Motive softwar.

First, you need to calibrate your cameras using Optitrack's Motive software to obtain the .cal calibration file generated by the software. Next, create a project in Visual Studio using C++ and write the following code to read the calibration file and retrieve the position and orientation matrix of your cameras.

extrinsics.txt

Then, you must transform the 3x3 orientation matrix into an orientation vector. For this purpose, I have created the following code as I was unable to convert it using the void cv::Rodrigues function.

transformée.txt

I hope that's clear enough

Clara

@davidpagnon davidpagnon added the documentation Improvements or additions to documentation label Jul 25, 2023
@davidpagnon
Copy link
Collaborator

Thanks Clara! I'll add it to the doc and tag you as soon as I upgrade Pose2Sim :)

@davidpagnon
Copy link
Collaborator

Hi Clara,

Just in case you need to move away from the Optitrack calibration, I finally released a tool for a robust and simple calibration. If you ever end up using it, please tell me if anything goes wrong!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants