TextAnnotation class

Set of detected texts with bounding boxes.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

TextAnnotation({required String? locale, String? description, BoundingPoly? boundingPoly})
TextAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

boundingPoly BoundingPoly?
Image region to which this text belongs. This must be populated.
final
description String?
Entity textual description, expressed in its locale language.
final
hashCode int
The hash code for this object.
no setterinherited
locale String?
The language code for the locale in which the entity textual description is expressed.
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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