Class legacy_Tracker
java.lang.Object
org.opencv.core.Algorithm
org.opencv.tracking.legacy_Tracker
- Direct Known Subclasses:
legacy_TrackerBoosting, legacy_TrackerCSRT, legacy_TrackerKCF, legacy_TrackerMedianFlow, legacy_TrackerMIL, legacy_TrackerMOSSE, legacy_TrackerTLD
Base abstract class for the long-term tracker:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic legacy_Tracker__fromPtr__(long addr) protected voidfinalize()booleanInitialize the tracker with a known bounding box that surrounded the targetbooleanUpdate the tracker, find the new most likely bounding box for the targetMethods inherited from class Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
Constructor Details
-
legacy_Tracker
protected legacy_Tracker(long addr)
-
-
Method Details
-
__fromPtr__
-
init
-
update
Update the tracker, find the new most likely bounding box for the target- Parameters:
image- The current frameboundingBox- The bounding box that represent the new target location, if true was returned, not modified otherwise- Returns:
- True means that target was located and false means that tracker cannot locate target in current frame. Note, that latter *does not* imply that tracker has failed, maybe target is indeed missing from the frame (say, out of sight)
-
finalize
-