Ask Your Question

Revision history [back]

Where are missing routines from multitracker tracker?

I am trying to figure out how to use the multi-tracker new 3.1 features by Tyan. I went to the tutorial page at the following link: http://docs.opencv.org/master/d5/d07/tutorial_multitracker.html

On the sample code the following lines give me compile problems:

11 #include <opencv2 tracking.hpp="">

I believe it should be

include <opencv2 video="" tracking.hpp="">

40 // create the tracker
42 MultiTracker trackers(trackingAlg);

The class MultiTracker is not defined. Where can I find this?

56 // get bounding box 57 cap >> frame; 59 selectROI("tracker",frame,objects);

seleectROI is not defined anywhere I can find. Where can I get this routine?

Is there a better source available that would allow me to demo the multi-object tracking by Tyan?

Thanks, Gene

click to hide/show revision 2
No.2 Revision

updated 2016-02-19 00:32:27 -0600

berak gravatar image

Where are missing routines from multitracker tracker?

I am trying to figure out how to use the multi-tracker new 3.1 features by Tyan. I went to the tutorial page at the following link: http://docs.opencv.org/master/d5/d07/tutorial_multitracker.html

On the sample code the following lines give me compile problems:

11

 #include <opencv2 tracking.hpp="">

<opencv2/tracking.hpp>

I believe it should be

include <opencv2 video="" tracking.hpp="">

 #include <opencv2/video/tracking.hpp>
  

40 // create the tracker
42 MultiTracker trackers(trackingAlg);

trackers(trackingAlg);

The class MultiTracker is not defined. Where can I find this?

 56   // get bounding box
   57   cap >> frame;
   59   selectROI("tracker",frame,objects);

selectROI("tracker",frame,objects);

seleectROI is not defined anywhere I can find. Where can I get this routine?

Is there a better source available that would allow me to demo the multi-object tracking by Tyan?

Thanks, Gene