1

According to the release docs for OpenCV 3.0.0, it includes an implementation of the Tracking-Detection-Learning algorithm. There's even some very basic docs for the C++ code.

I downloaded and compiled the 3.0.0-beta, including the Python wrapper, and it seems to have succeeded, and although I can run the Python samples, I can't find any way to access and TLD functionality through the Python wrapper. I can't even find references to it in the code.

Is it actually included in the 3.0.0 release, and if so, how do I access it?

2 Answers 2

3

From what I find so far there is no instruction, explicitly telling the user how to use TLD. But, you can access TLD tracking modules just by changing the parameter For instance: cv2.Tracker_create("TLD")

For a demo, you can try https://github.com/Itseez/opencv_contrib/blob/master/modules/tracking/samples/tracker.py and change the like cv2.Tracker_create("MIL") to cv2.Tracker_create("TLD")

Note: you must install opencv along with opencv_contrib to make this demo work.

Good Luck

Sign up to request clarification or add additional context in comments.

Comments

2

the tld c++ code for opencv3.0 is in the opencv_contrib repo,

unfortunately, atm python or java wrapping is not ready yet.

1 Comment

well, it has python wrappers now, see answer below.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.