Replace OpenCV TLD with TLD C++

asked 2017-10-07 15:49:55 -0500

The inbuilt OpenCV TLD tracker available as a part of the contrib package is very slow, gives me 2 fps and inaccurate. What parameters should I modify to make it fast. The parameters for OpenCV TLD tracker are not accessible as the of the other trackers.

Secondly can I replace the OpenCV TLD tracker with the TLD C++. The C++ that I built in the release mode gives ~20 fps approximately. My attempts to replace the inbuilt OpenCV TLD fails because of conflicts.

Please advise.

edit retag flag offensive close merge delete


an explanation, what "TLD C++" is, would be helpful..

berak gravatar imageberak ( 2017-10-08 01:34:30 -0500 )edit

The C++ version of TLD was released by Georg Nebehay here in 2013.

karan_maverick gravatar imagekaran_maverick ( 2017-10-08 03:24:51 -0500 )edit

Why want to replace the built-in TLD? It is simply possible to use both projects together in the same applications?

StevenPuttemans gravatar imageStevenPuttemans ( 2017-10-09 04:15:11 -0500 )edit

@Steven I tried using the both in the same project. But there seem to be conflict between the built-in TLD and the standalone C++ version of TLD. Hence all of my attempts fail.

Please advise of a way to use both of them together.

karan_maverick gravatar imagekaran_maverick ( 2017-10-09 04:21:53 -0500 )edit

Also if you do not use a generic using namespace cv? Thats probably how the conflicts occur. Using namespaces is never a good idea when mixing libraries.

StevenPuttemans gravatar imageStevenPuttemans ( 2017-10-09 04:34:30 -0500 )edit