TrackingTools (one camera) MJPEG and markers

Post Reply
dashesy
Posts: 33
Joined: Fri Mar 27, 2009 8:47 am
Location: Utah

TrackingTools (one camera) MJPEG and markers

Post by dashesy »

Hi,

Is it possible to get frames (in MJPEG mode) and at the same time have marker locations?
I tried switching back and forth between VideoType=6 and VideoType=0 but somehow after I do a VideoType=0, I cannot change to MJPEG mode quickly.

I need to record the video while at the same time track an object.

dashesy
Birch
Posts: 1139
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon

Re: TrackingTools (one camera) MJPEG and markers

Post by Birch »

OptiTrack cameras only operate in one video mode at a time. So if you run the camera in MJPEG mode it will not deliver frames with detected objects.

There are possible two options to work around this. The first is is two use two synchronized cameras, one dedicated to detecting objects and another to capturing MJPEG video. The second is to capture the MJPEG video and implement your own object detection code which scans the MJPEG grayscale image and identifies objects of interest. Performing your own analysis of the image will be less efficient and more CPU intensive.
Post Reply