ObjectTrack class

A simple object tracking result for AI video analysis.

Constructors

ObjectTrack({required List<double> boundingBox, double? confidence, String? label, int frameIndex = 0})
const

Properties

boundingBox → List<double>
[left, top, width, height] in pixels.
final
confidence → double?
Confidence of the top ML Kit label, when available.
final
frameIndex → int
Index of the sampled frame this detection came from.
final
hashCode → int
The hash code for this object.
no setterinherited
label → String?
Top label reported by ML Kit, when available.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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