OcrPassResult class

Input for a single OCR pass.

Constructors

OcrPassResult({required String text, required double confidence, required String preprocessingName, double weight = 1.0})
const

Properties

confidence double
Confidence score (0.0–1.0).
final
hashCode int
The hash code for this object.
no setterinherited
preprocessingName String
Name of the preprocessing applied before this pass.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Recognized text from this pass.
final
weight double
Weight multiplier for this pass in voting (higher = more trusted).
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