Page 1 of 1

Extract camera parameters from recording

Posted: Fri Oct 18, 2013 11:06 am
by JeDi
Hi,

we are doing research on calibration and triangulation algorithms, and I would like to extract at least the camera parameters from a recording I did in Motive:Tracker.

I am able to extract the information when the actual cameras are connected, but I am away from the labo for a week, and I don't seem to be able to play the recored take using the TT_* API. Is there a way to extract at least the extrinsic and intrinsic camera parameters from the recorded data, so without the actual cameras attached?

Although less urgent, I am also looking to extract the 2D (for each camera) and 3D information of the wanding timeline data used for calibration, so anyone with pointers: thanks a lot!

Greetings,
JeDi

Re: Extract camera parameters from recording

Posted: Mon Oct 21, 2013 10:19 am
by NaturalPoint-Dustin
Hi Jedi,

Thank you for posting. I will have someone reply to you shortly.

Best Regards,

Re: Extract camera parameters from recording

Posted: Wed Oct 23, 2013 9:45 am
by beckdo
Unfortunately the TT/Motive API is real-time only so you're not going to be able to load recorded timelines and play them back via the API. You can however load a calibration and fetch the camera positions and orientations via the TT_Camera...() methods.

Re: Extract camera parameters from recording

Posted: Wed Oct 23, 2013 11:41 am
by JeDi
That is exactly what I tried, and

Code: Select all

TT_CameraCount()
returns 0. Loading of the calibration file succeeded though.

Re: Extract camera parameters from recording

Posted: Wed Oct 23, 2013 12:54 pm
by beckdo
Unfortunately you need to have the camera's physically attached in order to perform this operation. Since TT/Motive API is real-time only, all of it's methods have the expectation that the cameras are connected.

Re: Extract camera parameters from recording

Posted: Wed Oct 23, 2013 12:59 pm
by JeDi
I understand. I sucessfully used the code today in the lab with the cameras attached and it works. Good to know I can just open the .cal file without having to open a project file first.

Thanks!