DigitalInkRecognizer class

A class to perform handwriting recognition on digital ink.

Digital ink is the vector representation of what a user has written. It is composed of a sequence of strokes, each being a sequence of touch points (coordinates and timestamp).

Constructors

DigitalInkRecognizer({required String languageCode})
Constructor to create an instance of DigitalInkRecognizer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Instance id.
final
languageCode → String
Refers to language that is being processed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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
recognize(Ink ink, {DigitalInkRecognitionContext? context}) → Future<List<RecognitionCandidate>>
Performs a recognition of the text written on screen. It takes an instance of Ink which refers to the user input as a list of Stroke.
toString() → String
A string representation of this object.
inherited

Operators

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