OCR search: tesseract on captured images, searchable + preview panel, settings (ocr/ocrLang), backfill script; fix tesseract flag

This commit is contained in:
2026-09-05 23:17:50 +01:00
parent 93b4419785
commit 8027fcd936
3 changed files with 92 additions and 6 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ def decode_ocr(path, lang):
return None
try:
r = subprocess.run(
["tesseract", path, "stdout", "-l", lang, "--quiet"],
["tesseract", path, "stdout", "-l", lang],
capture_output=True, timeout=30
)
if r.returncode != 0: