CustomLabel class
A custom label detected in an image by a call to DetectCustomLabels.
Constructors
- CustomLabel.new({double? confidence, Geometry? geometry, String? name})
-
CustomLabel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- confidence → double?
-
The confidence that the model has in the detection of the custom label. The
range is 0-100. A higher value indicates a higher confidence.
final
- geometry → Geometry?
-
The location of the detected object on the image that corresponds to the
custom label. Includes an axis aligned coarse bounding box surrounding the
object and a finer grain polygon for more accurate spatial information.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
The name of the custom label.
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