Page 1 of 1

Accessing extrinsic and intrinsic camera information

Posted: Sat Oct 26, 2024 8:07 am
by maybites
Hi

Motives cal file is unfortunately in a binary format and doesn't give away the extrinsic and intrinsic camera information easily.

Motive device panel shows the extrinsic camera position and rotation, plus the focal length - but I wonder if there are more information to be gained through the Motive API.

https://docs.optitrack.com/developer-to ... -reference gives a nice overview, and it is possible to load the cal file - but I don't see any functions that would give access to the extrinsic and intrinsic information.

my question: Are there any?

any hints are welcome.

cheers

martin

Re: Accessing extrinsic and intrinsic camera information

Posted: Sun Nov 24, 2024 6:55 pm
by rebasnop76
The extrinsic data (position and orientation) of the cameras is available from Motive, as you pointed out. You can use the API to access the current camera positions and orientations. In particular:

Camera::GetPose() will give you the position and orientation of each camera relative to the global coordinate system.
You can access the data for all the cameras that are part of the system by iterating over the camera list provided by the API.