TrackerMIL class

Tracker is the base interface for object tracking.

see: https://docs.opencv.org/master/d0/d0a/classcv_1_1Tracker.html

Inheritance
Available extensions

Constructors

TrackerMIL(TrackerMILPtr ptr, [bool attach = true])
TrackerMIL.create()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDisposed → bool
Whether this object has been disposed.
no setterinherited
props → List<Object?>
no setterinherited
ptr ↔ Pointer<TrackerMIL>
getter/setter pairinherited
ref → TrackerMIL
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases the underlying native resources. Idempotent: calling it more than once is safe, but the object must not be used after dispose.
inherited
freeNative() → void
Frees the native resources owned by this object. Subclasses implement the concrete free logic here; callers must use dispose instead.
override
init(InputArray image, Rect boundingBox) → void
initAsync(InputArray image, Rect boundingBox) → Future<void>

Available on TrackerMIL, provided by the TrackerMILAsync extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update(Mat img) → (bool, Rect)
Update the tracker, find the new most likely bounding box for the target. https://docs.opencv.org/4.x/d0/d0a/classcv_1_1Tracker.html#a92d2012f576e6c06eb2e257d110a6529
updateAsync(Mat img) → Future<(bool, Rect)>

Available on TrackerMIL, provided by the TrackerMILAsync extension

Update the tracker, find the new most likely bounding box for the target. https://docs.opencv.org/4.x/d0/d0a/classcv_1_1Tracker.html#a92d2012f576e6c06eb2e257d110a6529

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

finalizer → NativeFinalizer
final