From 74a5381bec12152145c77d48bb2a9ee7eabe7516 Mon Sep 17 00:00:00 2001 From: Yandrik Date: Mon, 5 Feb 2024 18:36:44 +0100 Subject: [PATCH] fix: fixed help msg for --ocr argument --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e844715..d971b33 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ def main(): parser.add_argument('--pages', type=str, required=True, help='Specify pages to parse in format -') parser.add_argument('--output-file', type=str, default='out.md', help='Specify output file') parser.add_argument('--images-path', type=str, default='./.img/', help='Specify output file') - parser.add_argument('--ocr', type=str, default=None, help='If present, send ocr=true to the image_to_anki method, and give the string value to the lang parameter') + parser.add_argument('--ocr', type=str, default=None, help='languages to use for local OCR, e.g. deu+chi_sim for german and simplified chinese (tesseract langpacks needed)') parser.add_argument('--batch-size', type=int, default=3, help='Decide how many pages are processed in parallel') parser.add_argument('pdf_file', type=str, help='Specify PDF file name')