Where are missing routines from multitracker tracker?

asked 2016-02-18 15:07:19 -0600

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

berak gravatar image

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/...

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

 #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

edit retag flag offensive close merge delete

Comments

" the multi-object tracking by Tyan" -- just saying, most of the tracker code was written by kurnianggoro (better get your credits right..)

berak gravatar imageberak ( 2016-02-19 00:36:00 -0600 )edit

Same problem here bro.....the error lists are 1. MultiTracker was not defined in this scope. 2. selectROI is not defined at all. Stuck at this point for a week.

ManuVISION gravatar imageManuVISION ( 2016-11-10 01:15:19 -0600 )edit

if u found the solution plz help me too

ManuVISION gravatar imageManuVISION ( 2016-11-10 01:20:03 -0600 )edit

@ManuVISION: you need to rebuild with https://github.com/Itseez/opencv_contrib , those classes are not in the main opencv repo.

berak gravatar imageberak ( 2016-11-10 01:28:45 -0600 )edit

Thanks Berak. Do you have any code for Multi Tracking using Kalman Filter in C++. I desperately need one. i can do a single track but not multi using Kalman.

ManuVISION gravatar imageManuVISION ( 2016-11-10 01:48:39 -0600 )edit