| topic | sample | ||
|---|---|---|---|
| languages |
|
||
| products |
|
Ink Recognizer Cognitive Service provides recognition of digital ink. It takes the digital ink stroke data as input and provides a document tree with individual recognition units as output. This project has sample code to demonstrate a few ways developers can take advantage of the service.
This project provides the following features:
- Capturing very basic inking input.
- Creating the JSON payload using the Ink Recognizer Service JSON schema.
- Asynchronously calling the Ink Recognizer REST APIs with the JSON payload
- Parsing the JSON response from the service to build the document tree.
| File/folder | Description |
|---|---|
Recognizer |
Sample source code. |
README.md |
This README file. |
LICENSE |
The license for the sample. |
Android Studio 3.2 on Windows 10/macOS El-capitan
(Add steps to get up and running quickly)
- git clone https://github.com/Azure-Samples/cognitive-services-java-android-ink-recognition
- cd [respository name]
- Launch Android Studio and select "Open an existing Android Studio project" option.
- Navigate to the project directory and select the project file.
- Replace <SUBSCRIPTION_KEY> in NoteTaker.java with your valid subscription key.
- Connect to a virtual device in Android studio
- Build and run the project
- Write something on the screen of the virtual device once it is loaded.
- After 2 seconds of inactivity, the ink will be recognized and the result will be visible in a toast control.
Additional resources related the project are located below