RecognizedTextLine class

One recognized text line: the characters and where they sit in the page raster's pixel space (top-left origin, y down - the same space the OCR model worked in). OnDeviceOcrEngine maps pixelBounds back to PDF user space.

Constructors

RecognizedTextLine({required String text, required Rect pixelBounds, double confidence = 1.0})
const

Properties

confidence → double
final
hashCode → int
The hash code for this object.
no setterinherited
pixelBounds → Rect
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
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