Skip to content

Commit 46c9fcc

Browse files
committed
update readme
1 parent d8800b4 commit 46c9fcc

File tree

1 file changed

+35
-24
lines changed

1 file changed

+35
-24
lines changed
Lines changed: 35 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,69 @@
11
---
22
topic: sample
33
languages:
4-
- C#
4+
- csharp
55
products:
66
- WPF
77
- azure
8-
- windows
98
---
109

11-
# Ink Intelligence Cognitive Service C# WPF Sample
10+
# Ink Recogizer Cognitive Service C# WPF Sample
1211

1312
![Build passing](https://img.shields.io/badge/build-passing-brightgreen.svg) ![License](https://img.shields.io/badge/license-MIT-green.svg)
1413

1514
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.
1615

1716
## Features
1817

19-
This project framework provides the following features:
18+
This sample provides the following features:
2019

21-
* Capturing very basic inking input.
22-
23-
* Creating the JSON payload using the JSON schema used by Ink Recognizer.
24-
25-
* Calling the Ink Recognizer REST APIs with the JSON payload
26-
27-
* Parsing the JSON response from the service, build the document tree and parse it.
20+
* Collect ink strokes
21+
* Create JSON request following InkRecognizer service's schema.
22+
* Call the InkRecognizer REST API
23+
* Parse the JSON reponse to build the document tree
2824

2925
## Contents
3026

3127
| File/folder | Description |
3228
|-------------|-------------|
3329
| `src` | Sample source code. |
34-
| `.gitignore` | Define what to ignore at commit time. |
35-
| `CHANGELOG.md` | List of changes to the sample. |
36-
| `CONTRIBUTING.md` | Guidelines for contributing to the sample. |
3730
| `README.md` | This README file. |
3831
| `LICENSE` | The license for the sample. |
3932

4033
## Getting Started
4134

4235
### Prerequisites
4336

37+
* Windows Build 1903 or higher
4438
* [Visual Studio](https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio)
45-
* Windows SDK Version >= 10.0.18362. You can install it from Visual Studio Installer under **Indivial components** tab, or download from [Windows Insider Preview SDK](https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewSDK)
46-
* If you install the Windows SDK into a customized path, please edit **src\NoteTaker.csproj** to change the HintPath of **Windows.winmd** to the correct path
47-
* Requires subscription key from [Azure Cognitive Services](https://docs.microsoft.com/en-us/azure/cognitive-services/authentication)
39+
* Windows SDK Version >= 10.0.18362. You can install it from Visual Studio Installer under **Indivial components** tab, or download from [Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk)
40+
* If you install the Windows SDK into a customized path, please edit **src\NoteTaker.csproj** to change the HintPath of **Windows.winmd** to the correct path
41+
* Nuget Packages
42+
* [Newtonsoft.JSON](https://www.newtonsoft.com/json)
43+
* [Microsoft.Net.Http](https://www.nuget.org/packages/Microsoft.Net.Http/)
44+
* [Xaml Island for WPF](https://www.nuget.org/packages/Microsoft.Toolkit.Wpf.UI.Controls)
45+
* Requires subscription key from [Azure Cognitive Services](https://docs.microsoft.com/en-us/azure/cognitive-services/authentication)
46+
47+
### Build the Sample
48+
49+
1. Clone or download this sample repository `git clone https://github.com/Azure-Samples/cognitive-services-csharp-wpf-ink-recognition.git`
50+
2. Start Visual Studio and select **File > Open > Project/Solution** and open **src\NoteTaker.sln**
51+
3. Replace "[YOUR SUBSCRIPTION KEY]" in **src\MainWindows.xaml.cs** with valid subscription key
52+
4. Select **Build > Build Solution**
53+
54+
### Run the sample
4855

49-
## Build the Sample
56+
* To debug the sample and then run it, select **Debug > Start Debugging**. To run the sample without debugging, select **Debug > Start Without Debugging**.
57+
* Write down something one the upper rectangle of the app
58+
* After one second of inactivity, the ink will be recognized and the result will be visible in the lower rectangle of the app
5059

51-
1. Clone or download this sample repository `git clone https://github.com/Azure-Samples/cognitive-services-csharp-wpf-ink-recognition.git`
52-
2. Start Visual Studio and select **File > Open > Project/Solution** and open "NoteTaker.sln"
53-
3. Replace "[YOUR SUBSCRIPTION KEY]" in MainWindows.xaml.cs with valid subscription key
54-
4. Press Ctrl+Shift+B, or select **Build > Build Solution**
60+
## Resources
5561

56-
## Run the sample
62+
Additional resources related the project are located below
5763

58-
To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or select Debug > Start Without Debugging.
64+
* [Learn more about Ink Recognizer](http://go.microsoft.com/fwlink/?LinkID=2084782)
65+
* [Ink Recognizer API Reference](http://go.microsoft.com/fwlink/?LinkID=2085147)
66+
* [Ink Recognizer JavaScript sample](https://github.com/Azure-Samples/cognitive-services-REST-api-samples/tree/master/javascript/InkRecognition/javascript-app)
67+
* [Ink Recognizer UWP sample](https://github.com/Azure-Samples/cognitive-services-REST-api-samples/tree/master/dotnet/InkRecognition/uwp-app)
68+
* [Ink Recognizer Java sample](https://github.com/Azure-Samples/cognitive-services-REST-api-samples/tree/master/java/InkRecognition/android-sample-app)
69+
* [Ink Recognizer Swift sample](https://github.com/Azure-Samples/cognitive-services-REST-api-samples/tree/master/swift/InkRecognition)

0 commit comments

Comments
 (0)