Replace OpenCV TLD with TLD C++ [closed]

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

karan_maverick gravatar image

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 reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-23 10:51:40.849648

Comments

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

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

The C++ version of TLD was released by Georg Nebehay here https://github.com/gnebehay/OpenTLD in 2013.

karan_maverick gravatar imagekaran_maverick ( 2017-10-08 03:24:51 -0600 )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 -0600 )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 -0600 )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 -0600 )edit