com.google.mlkit.vision.digitalink
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["The Digital Ink Recognition API enables recognition of handwritten text or drawings."],["You can customize the recognition process with downloadable models and recognizer options."],["The API provides classes to represent ink strokes, writing areas, and recognition results."],["The `DigitalInkRecognizer` is the core component for performing recognition tasks."],["The input for recognition is `Ink`, which consists of a sequence of `Ink.Stroke` objects representing user input."]]],["The core content describes components for digital ink recognition. Key elements include `DigitalInkRecognizer` for processing ink, `DigitalInkRecognition` to obtain the recognizer, and `DigitalInkRecognitionModel` for downloadable models. Input is handled by `Ink`, composed of `Ink.Stroke`s and `Ink.Point`s. `RecognitionContext` provides drawing context, while `RecognitionResult` outputs recognition. `RecognitionCandidate` shows possible results. Options and Models are managed via builders, and `WritingArea` defines the input space.\n"]]