Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sadly, you just can't delete or reassign any objects from the multitracker, also the KCF tracker currently never returns false , if it missed the object .

all you can do is, release() the MultiTracker instance, and start building it from scratch

sadly, you just can't delete or reassign any objects from the multitracker, also the KCF tracker currently never returns false , if it missed the object .

all you can do is, release() the MultiTracker instance, and start building it from scratchscratch.

idk, but maybe having a vector<Ptr<Tracker>> instead of the MultiTracker instance would at least allow you to check single trackers for miss (return false on update()) or re-initialize them with a Rect of your choice (init())