Ask Your Question
0

tracker samples arguments and usage

asked 2016-07-04 10:42:01 -0600

atv gravatar image

updated 2016-07-04 10:42:51 -0600

I don't understand their arguments:

`* example:
 * example_tracking_multitracker Bolt/img/%04d.jpg
 * example_tracking_multitracker faceocc2.webm KCF`

Which is it, just an image or a video and a algorithm. The above seems to specify you can do both. And if just an image, how would that work with tracking? Bit confused.

Also - which one is the best ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-07-04 11:01:02 -0600

berak gravatar image

both variants point to a video sequence.

VideoCapture has a hidden feature, if you give it a string Bolt/img/%04d.jpg, it will try to load an image sequence like

Bolt/img/00001.jpg
Bolt/img/00002.jpg
Bolt/img/00003.jpg
Bolt/img/00004.jpg
edit flag offensive delete link more

Comments

So that is assuming i would have 00001.jpg - 4.jpg in my directory ? And then what would it do with it ? Sorry to be thick - is this if you had frames extracted from a video file ?

atv gravatar imageatv ( 2016-07-04 11:27:35 -0600 )edit
1

yes, think of it as a video seperated into single frames

berak gravatar imageberak ( 2016-07-04 11:55:27 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-07-04 10:42:01 -0600

Seen: 135 times

Last updated: Jul 04 '16