Ask Your Question
1

How do you use OpenCV TLD from Python?

asked 2014-12-05 18:04:55 -0600

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?

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2015-08-28 05:44:03 -0600

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

edit flag offensive delete link more

Comments

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

berak gravatar imageberak ( 2015-08-28 05:48:16 -0600 )edit
0

answered 2014-12-07 04:43:36 -0600

Viatorus gravatar image

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

In the final release it should be also included.

edit flag offensive delete link more
0

answered 2016-02-03 22:28:00 -0600

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?

edit flag offensive delete link more

Comments

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

dtbaker gravatar imagedtbaker ( 2016-04-06 21:52:25 -0600 )edit
0

answered 2016-06-27 18:19:35 -0600

74gee gravatar image
edit flag offensive delete link more
0

answered 2014-12-08 23:02:19 -0600

Petty gravatar image

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

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-12-05 18:04:55 -0600

Seen: 2,495 times

Last updated: Aug 28 '15