Skip to content

Commit fdb5803

Browse files
committed
change value of some config
1 parent 11c8f76 commit fdb5803

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

samples/vision/inkrecognition_tkinter_sample.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@
2020
# Default value is "en-US".
2121
# If "language" in a stroke is specified, this will be overlaped in that stroke.
2222
LANGUAGE_RECOGNITION_LOCALE = "en-US"
23-
# This tell Ink Recognizer Service that domain of the application is writing,
24-
# i.e. all strokes are writing.
25-
# Default value is ApplicationKind.MIXED, which means let Ink Recognizer
26-
# Service detect kind of strokes.
23+
# This tell Ink Recognizer Service that domain of the application is mixed,
24+
# so Ink Recognizer Service will detect kind of each stroke.
25+
# You can set it into ApplicationKind.WRITING or ApplicationKind.DRAWING to specify
26+
# default kind of strokes and skip stroke kind detection precedure.
27+
# Default value is ApplicationKind.MIXED.
2728
# If "kind" in a stroke is specified, this will be overlaped in that stroke.
28-
APPLICATION_KIND = ApplicationKind.WRITING
29+
APPLICATION_KIND = ApplicationKind.MIXED
2930

3031

3132
# UI Config

samples/vision/inkrecognition_wxpython_sample.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
# Default value is "en-US".
1515
# If "language" in a stroke is specified, this will be overlaped in that stroke.
1616
LANGUAGE_RECOGNITION_LOCALE = "en-US"
17-
# This tell Ink Recognizer Service that domain of the application is writing,
18-
# i.e. all strokes are writing.
19-
# Default value is ApplicationKind.MIXED, which means let Ink Recognizer
20-
# Service detect kind of strokes.
17+
# This tell Ink Recognizer Service that domain of the application is mixed,
18+
# so Ink Recognizer Service will detect kind of each stroke.
19+
# You can set it into ApplicationKind.WRITING or ApplicationKind.DRAWING to specify
20+
# default kind of strokes and skip stroke kind detection precedure.
21+
# Default value is ApplicationKind.MIXED.
2122
# If "kind" in a stroke is specified, this will be overlaped in that stroke.
22-
APPLICATION_KIND = ApplicationKind.WRITING
23+
APPLICATION_KIND = ApplicationKind.MIXED
2324

2425

2526
# This ratio map the number of pixel for x and y axis coordinates on canvas

0 commit comments

Comments
 (0)