Ask Your Question
0

cv::Tracker class not shown

asked 2016-12-09 00:16:05 -0600

Danila24 gravatar image

I'm just download latest OpenCV library (version 3.1). Write all external dependecies in solution properties (C/C++->General, Linker->General and Linker->Input->opencv_world310d.lib). So make includes in project file:

#include <opencv2\core.hpp>
#include <opencv2\highgui.hpp>
#include <opencv2\imgproc.hpp>
#include <opencv2\video.hpp>
#include <opencv2\videoio.hpp>
#include <opencv2\video\tracking.hpp>
#include <opencv2\video\tracking_c.h>

And when i want to use example from opencv gihub, it make red the line cv::Tracker class, cannot find this class. Can anybody help?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-12-09 00:40:12 -0600

berak gravatar image

the tracker classes are not included in your download, you will have to get https://github.com/Itseez/opencv_cont... and rebuild from src (see readme there for build instructions)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-12-09 00:16:05 -0600

Seen: 239 times

Last updated: Dec 09 '16