OcrResult class

Result of running OCR over a document image.

Annotations

Constructors

OcrResult({required String text, required List<String> blocks})
const

Properties

blocks → List<String>
Text broken into the underlying engine's own logical blocks (e.g. one per line or paragraph — the exact grouping depends on which engine produced this result).
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
The full recognized text, in reading order.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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