The recognizers aim at performing real-time incremental recognition on transient ink.

Setup

In order to use the recognizers, you need to:

Configuration

Text Recognizer

Gesture Recognizer

Supported gestures are defined thanks to recognizer.gesture. prefixed keys.

Shape Recognizer

Math Recognizer

Currently, the Math Recognizer may not be available on your platform. Check if it is available for your platform.

Raw Content Recognizer

To use the Raw Content Recognizer, you must:

In addition to the myscript-iink-recognition-raw-content2.zip package, the following table lists resources that you must deploy in your project according to the recognition types that you use:

Recognition content type Required configuration bundles Resource and configuration package names
text ${recognizer.lang} Language package defined by your recognizer.lang configuration. See principles of language resources
math math2 myscript-iink-recognition-math2.zip
shape shape myscript-iink-recognition-shape.zip
Currently, the Raw Content Recognizer may not be available on your platform. Check if it is available for your platform.

➤ For more details, refer to the configuration and jiix pages.

Common parameters

➤ Refer to the configuration page, to get the full list of recognizer configuration.

Example

The write to type example gives you a hint how to implement scribble like feature relying on the Recognizer API of iink SDK. It is available on the MyScript Git repository containing the additional examples for the Android platform. This sample comes with a description that helps you understand its principle.

It is based on a contextless gesture recognition combined with a text recognition. To run both recognitions simultaneously, two instances of Recognizer are created - one for Gesture recognition and the other one for Text recognition.

➤ Should you need more details, refer to the API documentation documentation and/or ask question on our developer forum.