OcrLine class

A line of recognised text.

Annotations

Constructors

OcrLine({required String text, required Rect rect, double? confidence})
A text line occupying rect (image pixels from the top-left). confidence is 0 to 1, or null when the recognizer doesn't say.
const

Properties

confidence → double?
How sure the recognizer is, from 0 to 1; null when unknown.
final
hashCode → int
The hash code for this object.
no setterinherited
rect → Rect
Where the line is on the image, in pixels from the top-left.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
What the line says.
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