ObjectDetector class

An object detector and tracker that detects objects in an InputImage and supports tracking them.

Constructors

ObjectDetector({required ObjectDetectorOptions options})
Constructor to create an instance of ObjectDetector.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Instance id.
final
options ObjectDetectorOptions
The options for the detector.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the detector and releases its resources.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processImage(InputImage inputImage) Future<List<DetectedObject>>
Processes the given image for object detection and tracking.
toString() String
A string representation of this object.
inherited

Operators

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