Sorry, this content is no longer available

Ask Your Question
1

How do you use OpenCV TLD from Python?

asked Dec 6 '14

Cerin gravatar image

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 most of the Python samples (some appear to be broken and/or not updated for 3.0.0), 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?

Preview: (hide)

5 answers

Sort by » oldest newest most voted
0

answered Aug 28 '15

tonicze gravatar image

There is no wrapper available (yet?) for TLD. What you could do is to wrap the C++ library with some Python code. For example: Cython or Python C API

Preview: (hide)

Comments

cython won't work with opencv (heavily c++ based)

berak gravatar imageberak (Aug 28 '15)edit
0

answered Dec 7 '14

Viatorus gravatar image

Have a look here: https://github.com/Itseez/opencv_contrib

In the final release it should be also included.

Preview: (hide)
0

answered Feb 4 '16

ILA gravatar image

Hi,

I've built and installed the contrib version of the 3.1.0. Are there still no wrappers for Python for TLD or has anything changed?

Preview: (hide)

Comments

Hey @ILA did you manage to find any Python wrappers?

dtbaker gravatar imagedtbaker (Apr 7 '16)edit
0

answered Jun 28 '16

74gee gravatar image
Preview: (hide)
0

answered Dec 9 '14

Petty gravatar image

Grab the "contrib" repository and follow the instructions on how to add it to your build.

Preview: (hide)

Question Tools

Stats

Asked: Dec 6 '14

Seen: 2,518 times

Last updated: Aug 28 '15