Replace OpenCV TLD with TLD C++ [closed]

asked Oct 7 '17

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.

Preview: (hide)

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 (Oct 8 '17)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 (Oct 8 '17)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 (Oct 9 '17)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 (Oct 9 '17)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 (Oct 9 '17)edit