summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-01-18 09:25:17 +0300
committerMaxim Devaev <[email protected]>2022-01-18 09:25:17 +0300
commit3ab43edeb962e95402ab0e18c553665ffd6117f0 (patch)
treeabd46db985273d9964ed09400dd608a23d2579a4 /kvmd/apps/__init__.py
parent3ee1948f19ca3e1a3d396e29dc902aeec4402479 (diff)
pikvm/kvmd#66: OCR API
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index c41ed9b9..4b7a6588 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -448,6 +448,10 @@ def _get_config_scheme() -> Dict:
"cmd_append": Option([], type=valid_options),
},
+ "ocr": {
+ "langs": Option(["eng"], type=valid_string_list, unpack_as="default_langs"),
+ },
+
"snapshot": {
"idle_interval": Option(0.0, type=valid_float_f0),
"live_interval": Option(0.0, type=valid_float_f0),