Label class

Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.

Constructors

Label({double? confidence, List<Instance>? instances, String? name, List<Parent>? parents})
Label.fromJson(Map<String, dynamic> json)
factory

Properties

confidence double?
Level of confidence.
final
hashCode int
The hash code for this object.
no setterinherited
instances List<Instance>?
If Label represents an object, Instances contains the bounding boxes for each instance of the detected object. Bounding boxes are returned for common object labels such as people, cars, furniture, apparel or pets.
final
name String?
The name (label) of the object or scene.
final
parents List<Parent>?
The parent labels for a label. The response includes all ancestor labels.
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