OpenCV 3 tldDetector implementation problem?

asked 2015-10-30 18:38:35 -0500

Niv gravatar image

Hi,

I am trying to implement a tldTracking by taking a video steram and trying to track an object "live". After downloading and including the tracking module of "opencv contrib" from github, I still experience compilation issues. The issue is coming not from my own code, but from the opencv contrib code. Specifically, in the tldDetector.cpp file there there is a use in ocl, and the compiler (vs2015) cannot seem to recognize this class.

For the follwing line in tldDetector.cpp (line 125):

cv::ocl::ProgramSource src = cv::ocl::tracking::tldDetector_oclsrc;

I get the follwing error message:

Error C2039 'tldDetector_oclsrc': is not a member of 'cv::ocl'

And indeed, in the ocl.hpp header file there is no mentioning of tracking inside the ocl namespace. I was thinking this might originate from the changes made in openCV 3.0, but I cannot seem to find the source for this problem. What am I missing? How can I get this to compile?

edit retag flag offensive close merge delete