diff --git a/setup.py b/setup.py index 6f47ba2..28af3e3 100644 --- a/setup.py +++ b/setup.py @@ -345,7 +345,7 @@ def is_scanned_pdf(file_path): return False -def ocr_pdf(file_path, language="tur+eng", dpi=200): +def ocr_pdf(file_path, language="tur+eng+rus+ara", dpi=200): """OCR a scanned PDF in-place. Returns True on success.""" import tempfile tmp_fd, tmp_path = tempfile.mkstemp(suffix=".pdf", dir=file_path.parent)