OCR search: tesseract on captured images, searchable + preview panel, settings (ocr/ocrLang), backfill script; fix tesseract flag
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user