How to obtain the 2D data(coordinates) in Motive?

Post Reply
cxcx04
Posts: 2
Joined: Wed May 01, 2019 4:25 pm

How to obtain the 2D data(coordinates) in Motive?

Post by cxcx04 »

Hi,

I'm working on the project which needs to obtain the 2d coordinates of the markers for each frame. In Motive, I can even Preview the 2d position after record the motion, but the export of 2d data is not allowed. Does this mean I have to use Motive API or Camera SDK to access of 2d coordinates? And do you have any example or solution could help to figure out this issue?
Thanks.

Best,
Charlie.W
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 737
Joined: Mon Jan 19, 2015 11:52 am

Re: How to obtain the 2D data(coordinates) in Motive?

Post by steven.andrews »

Hi Charlie.W,

Thank you for sharing your question here. You are correct that you will need to use the Motive API or the Camera SDK if you require the 2D information. If you are trying to utilize the 3D tracking in conjunction with the 2D marker position, this is best done through the API.

If you search the NPTrackingTools.h that is a part of the API, you will find the TT_CameraMarker operation. With this, you can pass a camera and marker index to receive the 2D position on that camera. Unfortunately, there are no examples prepared that demonstrate this part of the API.

Best,
Steven
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer
help.naturalpoint.com
support@optitrack.com
cxcx04
Posts: 2
Joined: Wed May 01, 2019 4:25 pm

Re: How to obtain the 2D data(coordinates) in Motive?

Post by cxcx04 »

Thanks a lot, Steven!
Post Reply