Skip to content

Commit 426698d

Browse files
committed
edit readme and requirements
1 parent 62de77f commit 426698d

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This project framework provides examples for the following services:
4444
* Using the **Computer Vision SDK** [azure-cognitiveservices-vision-computervision](http://pypi.python.org/pypi/azure-cognitiveservices-vision-computervision) for the [Computer Vision API](https://azure.microsoft.com/services/cognitive-services/computer-vision/)
4545
* Using the **Content Moderator SDK** [azure-cognitiveservices-vision-contentmoderator](http://pypi.python.org/pypi/azure-cognitiveservices-vision-contentmoderator) for the [Content Moderator API](https://azure.microsoft.com/services/cognitive-services/content-moderator/)
4646
* Using the **Custom Vision SDK** [azure-cognitiveservices-vision-customvision](http://pypi.python.org/pypi/azure-cognitiveservices-vision-customvision) for the [Custom Vision API](https://azure.microsoft.com/services/cognitive-services/custom-vision-service/)
47-
* Using the **Ink Recognizer SDK** [azure-ai-inkrecognizer](http://) for the [Ink Recognizer API](https://azure.microsoft.com/services/cognitive-services/ink-recognizer/)
47+
* Using the **Ink Recognizer SDK** [azure-cognitiveservices-inkrecognizer](http://) for the [Ink Recognizer API](https://azure.microsoft.com/services/cognitive-services/ink-recognizer/)
4848

4949
We provide several meta-packages to help you install several packages at a time. Please note that meta-packages are only recommended for development purpose. It's recommended in production to always pin specific version of individual packages.
5050

@@ -106,6 +106,7 @@ We provide several meta-packages to help you install several packages at a time.
106106
4. Set up the environment variable `CONTENTMODERATOR_SUBSCRIPTION_KEY` with your key if you want to execute Content Moderator tests. You might override too `CONTENTMODERATOR_LOCATION` (westcentralus by default).
107107
4. Set up the environment variable `CUSTOMVISION_TRAINING_KEY` with your key if you want to execute CustomVision Training tests.
108108
4. Set up the environment variable `CUSTOMVISION_PREDICTION_KEY` with your key if you want to execute CustomVision Prediction tests.
109+
4. Set up the environment variable `INK_RECOGNITION_SUBSCRIPTION_KEY` with your key if you want to execute ink recognition tests.
109110
110111
## Demo
111112
@@ -115,9 +116,10 @@ To run the complete demo, execute `python example.py`
115116
116117
To run each individual demo, point directly to the file. For example (i.e. not complete list):
117118
118-
2. `python samples/language/spellcheck_samples.py`
119-
1. `python samples/search/entity_search_samples.py`
120-
2. `python samples/search/video_search_samples.py`
119+
1. `python samples/language/spellcheck_samples.py`
120+
2. `python samples/search/entity_search_samples.py`
121+
3. `python samples/search/video_search_samples.py`
122+
4. `python samples/vision/inkrecognizer_tkinter_sample.py`
121123
122124
To see the code of each example, simply look at the examples in the Samples folder. They are written to be isolated in scope so that you can see only what you're interested in.
123125

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ azure-cognitiveservices-vision-customvision>=0.4.0 # sample won't work with pre
1717
azure-cognitiveservices-vision-face
1818
azure-cognitiveservices-anomalydetector>=0.2.0 # sample won't work with previous versions
1919
azure-cognitiveservices-inkrecognizer>=1.0.0
20+
six>=1.6
21+
wxpython>=4.0.6
2022
pandas

samples/vision/inkrecognition_tkinter_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Ink Recognizer Client Config
1515
URL = "https://api.cognitive.microsoft.com/inkrecognizer"
16-
CREDENTIAL = os.environ['INK_RECOGNIZER_SUBSCRIPTION_KEY'].strip()
16+
CREDENTIAL = os.environ['INK_RECOGNITION_SUBSCRIPTION_KEY'].strip()
1717
# You can also use Azure credential instance
1818

1919

samples/vision/inkrecognition_wxpython_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Ink Recognizer Client Config
99
URL = "https://api.cognitive.microsoft.com/inkrecognizer"
10-
CREDENTIAL = os.environ['INK_RECOGNIZER_SUBSCRIPTION_KEY'].strip()
10+
CREDENTIAL = os.environ['INK_RECOGNITION_SUBSCRIPTION_KEY'].strip()
1111
# You can also use Azure credential instance
1212

1313

0 commit comments

Comments
 (0)