topic | languages | products | |||
---|---|---|---|---|---|
sample |
|
|
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 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. |
XCode 10 on macOS Mojave
(Add steps to get up and running quickly)
- git clone https://github.com/Azure-Samples/cognitive-services-REST-api-samples
- cd [respository name]
- Navigate to the project directory (
swift/InkRecognition
) and select the xcode project file. - Replace
<SUBSCRIPTION_KEY_HERE>
in InkRendererView.swift with your valid subscription key
- Select a virtual device in Xcode
- 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 the text control at the bottom of the screen.
Additional resources related the project are located below