Skip to content

Commit 44e15b7

Browse files
authored
Merge pull request #70 from aahill/ir-sdk
fixing tags
2 parents 3f668ad + 51105cd commit 44e15b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

samples/vision/inkrecognizer_sample.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# </imports>
1818

1919
# You can also use an Azure credential instance
20-
# <InkRecognizerClientConfig>
20+
# <inkRecognizerClientConfig>
2121
INK_RECOGNIZER_URL = "https://api.cognitive.microsoft.com/inkrecognizer"
2222
KEY = os.environ['INK_RECOGNITION_SUBSCRIPTION_KEY'].strip()
2323

@@ -28,10 +28,10 @@
2828
# For example, ApplicationKind.WRITING or ApplicationKind.DRAWING
2929

3030
APPLICATION_KIND = ApplicationKind.MIXED
31-
# </InkRecognizerClientConfig>
31+
# </inkRecognizerClientConfig>
3232

3333
# Shows simple implementation of InkPoint and InkStroke
34-
# <StrokeImplementations>
34+
# <strokeImplementations>
3535
InkPoint = namedtuple("InkPoint", "x y")
3636

3737
class InkStroke():
@@ -44,7 +44,7 @@ def __init__(self,
4444
self.points = ink_points
4545
self.kind = stroke_kind
4646
self.language = stroke_language
47-
# </StrokeImplementations>
47+
# </strokeImplementations>
4848

4949
# Wrapper for InkRecognizerClient that shows how to
5050
# (1) Convert stroke unit from pixel to mm
@@ -126,7 +126,7 @@ def search(self, word):
126126
# </recognitionManager>
127127

128128

129-
# <SampleUI>
129+
# <sampleUI>
130130
CANVAS_WIDTH = 800
131131
CANVAS_HEIGHT = 500
132132
STROKE_COLOR = "#476042" # python green
@@ -198,7 +198,7 @@ def _search(self):
198198

199199
def run(self):
200200
mainloop()
201-
# </SampleUI>
201+
# </sampleUI>
202202

203203
# <entrypoint>
204204
if __name__ == "__main__":

0 commit comments

Comments
 (0)