FullTextAnnotation class

TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component,

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

FullTextAnnotation({required List<Page> pages, required String text})
FullTextAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pages List<Page>
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
text String
Entity textual description, expressed in its locale language.
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