Ask Your Question

Way to autoresize/scale trackers?

asked 2017-01-25 06:16:04 -0500

00Zetti gravatar image

updated 2017-01-25 14:55:16 -0500

I wrote an interface for video labeling and now I want to evaluate the openCV tracking algorithms with a ground truth.
I was looking on the specific params from the trackers, but it seems that only TLD(btw implementation does not perform well) and MEDIANFLOW are able to automatically resize/scale the ROI. Is there a way to obtain an auto-resizing ROI on the other tracking algorithms? Or maybe a simple way to create a custom tracker without changing the code in the lib?

edit retag flag offensive close merge delete



Have a look at my answer to a similar question.

Der Luftmensch gravatar imageDer Luftmensch ( 2017-01-25 07:36:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-25 17:49:01 -0500

Tetragramm gravatar image

No, unfortunately. Most of the trackers would require major alterations to adapt to scale changes.

You can however, implement a tracker according to the cv::Tracker interface. I don't think you can add it to the multi-tracker or anything, but it will work anywhere you use the Tracker object.

edit flag offensive delete link more


Okay, I'll make myself familiar with creating a custom tracker and try my best, thanks so far. I've written my own MultiTracker since the default own does not optimize anything and is just simply a kind of a vector, this way I am at least able to use multithreading :D

00Zetti gravatar image00Zetti ( 2017-01-26 00:44:35 -0500 )edit

One more question: do you know if I need to implement it directly into the library files(like suggested in the documentation) or can I create it as a subclass in my own code? Background: it's part of my bachelor's thesis and should be extensible for future students.
Okay and a second question, would it take much effort to create a scalable tracker since the deadline is coming closer and closer :'D

00Zetti gravatar image00Zetti ( 2017-01-26 00:51:57 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-01-25 06:16:04 -0500

Seen: 257 times

Last updated: Jan 25 '17