Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

right now, this is a bit difficult.

the Tracker::update() method should return false, if it lost the object, you would call Tracker::init() again with a new box.

unfortunately, the KCF tracker does not return anything meaningful currently, it just gets stuck. you should get this fix once, it's merged.

i don't know, what object you're tracking, but most use a cascade or hogdescriptor for the initial detection, and this would be run again, to re-init the tracker.