Ask Your Question
0

Way to autoresize/scale trackers?

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

00Zetti gravatar image

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

Hi,
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

Comments

1

Have a look at my answer to a similar question.

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

1 answer

Sort by ยป oldest newest most voted
0

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

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

Comments

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 -0600 )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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 1,012 times

Last updated: Jan 25 '17