DetectedObject class

An object detected in an InputImage by ObjectDetector.

Constructors

DetectedObject({required Rect boundingBox, required List<Label> labels, required int? trackingId})
Constructor to create an instance of DetectedObject.
DetectedObject.fromJson(Map json)
Returns an instance of DetectedObject from a given json.
factory

Properties

boundingBox Rect
Rect that contains the detected object.
final
hashCode int
The hash code for this object.
no setterinherited
labels List<Label>
List of Label, identified for the object.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trackingId int?
Tracking ID of object. If tracking is disabled it is null.
final

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