TextRecognizer class
A text recognizer that recognizes text from a given InputImage.
Constructors
- TextRecognizer({TextRecognitionScript script = TextRecognitionScript.latin})
- Constructor to create an instance of TextRecognizer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Instance id.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- script → TextRecognitionScript
-
Configurations for the language to be detected.
final
Methods
-
close(
) → Future< void> - Closes the recognizer and releases its resources.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processImage(
InputImage inputImage) → Future< RecognizedText> -
Processes the given InputImage for text recognition and returns a
RecognizedText
object. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited