Add verbosity option, fix regression with separation of lines/paragraphs in terminal text output with coordinate-enabled engines

This commit is contained in:
AuroraWright
2025-09-20 11:52:26 +02:00
parent bf9debd479
commit de760458a9
4 changed files with 23 additions and 13 deletions

View File

@@ -14,6 +14,8 @@
;notifications = False
;ignore_flag = False
;delete_images = False
;note: terminal window verbosity. Can be -2 (all recognized text is showed whole), -1 (only timestamps are shown), 0 (nothing is shown but errors), or larger than 0 to cut displayed text to that amount of characters.
;verbosity = -2
;note: this specifies a combo to wait on for pausing the program. As an example: <ctrl>+<shift>+p. The list of keys can be found here: https://pynput.readthedocs.io/en/latest/keyboard.html#pynput.keyboard.Key
;combo_pause = <ctrl>+<shift>+p
;note: this specifies a combo to wait on for switching the OCR engine. As an example: <ctrl>+<shift>+a. To be used with combo_pause. The list of keys can be found here: https://pynput.readthedocs.io/en/latest/keyboard.html#pynput.keyboard.Key
@@ -29,10 +31,11 @@
;note: this specifies a combo to wait on for taking a screenshot instead of using the delay. As an example: <ctrl>+<shift>+s. The list of keys can be found here: https://pynput.readthedocs.io/en/latest/keyboard.html#pynput.keyboard.Key
;screen_capture_combo = <ctrl>+<shift>+s
;screen_capture_old_macos_api = False
;language = ja
;language = zh
;note: This specifies the language to use for text filtering while using "screencapture". Valid values: ja: (Japanese) zh: (Chinese) ko: (Korean) ar: (Arabic) ru: (Russian) el: (Greek) he: (Hebrew) th: (Thai)
;note: this specifies the language to use for text filtering while using "screencapture". Valid values: ja: (Japanese) zh: (Chinese) ko: (Korean) ar: (Arabic) ru: (Russian) el: (Greek) he: (Hebrew) th: (Thai)
;Any other value will use Latin Extended (for most European languages and English).
;language = ja
;note: can be "text" (default) or "json" (to include coordinates).
;output_format = text
;[winrtocr]
;url = http://aaa.xxx.yyy.zzz:8000
;[oneocr]