Skip to content

Commit cefd22d

Browse files
committed
unify names as inkrecognizer
1 parent 426698d commit cefd22d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +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.
109+
4. Set up the environment variable `INK_RECOGNIZER_SUBSCRIPTION_KEY` with your key if you want to execute ink recognition tests.
110110
111111
## Demo
112112

samples/vision/inkrecognition_tkinter_sample.py renamed to samples/vision/inkrecognizer_tkinter_sample.py

Lines changed: 2 additions & 2 deletions
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_RECOGNITION_SUBSCRIPTION_KEY'].strip()
16+
CREDENTIAL = os.environ['INK_RECOGNIZER_SUBSCRIPTION_KEY'].strip()
1717
# You can also use Azure credential instance
1818

1919

@@ -80,7 +80,7 @@ def reset_ink(self):
8080
def add_point(self, x, y):
8181
# Convert from pixel to mm before sending to InkPoint.
8282
# You can also specify keyword argument "unit_multiple" in
83-
# InkRecognizerClient constructor or in recognizer_ink() request.
83+
# InkRecognizerClient constructor or in recognize_ink() request.
8484
self._curr_stroke_points.append(
8585
InkPoint(self._pixel_to_mm(x), self._pixel_to_mm(y)))
8686

samples/vision/inkrecognition_wxpython_sample.py renamed to samples/vision/inkrecognizer_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_RECOGNITION_SUBSCRIPTION_KEY'].strip()
10+
CREDENTIAL = os.environ['INK_RECOGNIZER_SUBSCRIPTION_KEY'].strip()
1111
# You can also use Azure credential instance
1212

1313

0 commit comments

Comments
 (0)