LocalizedObjectAnnotation class

Set of detected objects with bounding boxes.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

LocalizedObjectAnnotation({required String mid, required String name, double? score, BoundingPoly? boundingPoly})
Score of the result. Range [0, 1]. Image region to which this object belongs. This must be populated.
LocalizedObjectAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

boundingPoly BoundingPoly?
Image region to which this entity belongs
finalinherited
description String
Entity textual description, expressed in its locale language.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isLocalized bool
If true, indicates that this annotation refers to a localized region (% of width or height) of the image.
finalinherited
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.
no setterinherited
score double?
Score of the result. Range [0, 1].
finalinherited

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.

Operators

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