LocalizedObjectAnnotation class
Set of detected objects with bounding boxes.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- LocalizedObjectAnnotation({required String mid, required String name, required double score, required BoundingPoly boundingPoly})
-
LocalizedObjectAnnotation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- boundingPoly → BoundingPoly
-
Image region to which this object belongs. This must be populated.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- mid → String
-
Object ID that should align with EntityAnnotation mid.
final
- name → String
-
Object name, expressed in its languageCode language.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- score → double
-
Score of the result. Range [0, 1].
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited