From 3ab43edeb962e95402ab0e18c553665ffd6117f0 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Tue, 18 Jan 2022 09:25:17 +0300 Subject: pikvm/kvmd#66: OCR API --- kvmd/apps/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kvmd/apps/__init__.py') 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), -- cgit v1.2.3