OcrPage class
Represents OCR result of a scanned Page document image.
- Annotations
-
- @JsonSerializable(createFactory: true, includeIfNull: false, explicitToJson: true)
Constructors
-
OcrPage.new(String? text, List<
OcrResultBlock> words, List<OcrResultBlock> lines, List<OcrResultBlock> paragraphs) -
OcrPage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lines
↔ List<
OcrResultBlock> -
Recognized lines as a list of blocks.
getter/setter pair
-
paragraphs
↔ List<
OcrResultBlock> -
Recognized paragraphs as a list of blocks.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text ↔ String?
-
Recognized plain text of this OCR page.
getter/setter pair
-
words
↔ List<
OcrResultBlock> -
Recognized words as a list of blocks.
getter/setter pair
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited