Page 1 of 1

Tracked points without image

Posted: Fri Apr 03, 2009 3:00 am
by Xeno
Hi everyone,
I'm trying to get the tracked points from a camera without transfer the image. It's possible? I searched in the SetOption parameters, but I didn't find enything...
Actually I use this code:

NPCameraFrame frame = currentCamera.GetFrame(0);
if (frame != null)
foreach (NPObject o in frame)


but the frame contains points and image. There's a way to transfer through USB only the points?

Thanks for your attention.

Re: Tracked points without image

Posted: Fri Apr 03, 2009 12:12 pm
by beckdo
If you're looking to reduce the bandwidth utilization and you're using a V100, use video mode '2'. This is Object Mode and will only send objects. Video mode '0' has the next lowest bandwidth utilization. If you're using a non-V100 camera, use video mode '0' (Segment Mode).

[quote=Xeno]
but the frame contains points and image. There's a way to transfer through USB only the points?
[/quote]

When using either of the low-bandwidth processed video modes (0 or 2), an image is not transferred from the camera. Only pre-processed data is sent over USB. When an image is requested for these video modes, the OptiTrack SDK reconstitutes one from the pre-processed video data.