Ask Your Question

tld_tracker in OpenCV 3.

asked 2015-03-17 09:39:47 -0500

chen gravatar image

Dear all,

I want to test tld_tracker. However, in OpenCV3.0, include\opencv2\video, there is only tracking.hpp, tracking_c.h, background_segm.hpp, and video.hpp. tld_tracker is not included.

Has anyone used opencv_3_0's tld_tracker? Could you tell me how to test this method?

Thank you so much!

Best Regards


edit retag flag offensive close merge delete



you will have to add the opencv_contrib repo and rebuild, then there is a sample in the tracking module.

come back, if you run into any problems ;)

berak gravatar imageberak ( 2015-03-17 09:47:11 -0500 )edit

It is too hard for me to rebuild.I decide to use cmake-gui to rebuild.But I can't understand what the mean.And what should I do to run the program after rebuilding?Could you give me some advice?

Sheng Liu gravatar imageSheng Liu ( 2015-03-18 03:43:26 -0500 )edit

I just did it with cmake few days ago. Just select which module you are going to build (switch them to ON) and you have to specify the OPEN_CV_EXTRA_MODULE_PATH= YOUR_PATH/opencv_contrib/modules . I have to run it many times because there seems to be some broken modules (you should turn them to OFF in cmake_gui) then make -j$(nproc) and finally make install to copy header files etc .. I hope this helps you

opencvTn gravatar imageopencvTn ( 2015-04-01 06:28:03 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2015-04-02 21:47:00 -0500

Sheng Liu gravatar image

updated 2015-04-02 21:47:09 -0500

Thanks for your help!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-03-17 09:39:47 -0500

Seen: 266 times

Last updated: Mar 17 '15