diff --git a/gmg.py b/gmg.py index 72d7430..8f32d48 100644 --- a/gmg.py +++ b/gmg.py @@ -176,7 +176,7 @@ from ocr_api.ocr_engine import OcrEngine ocr = OcrEngine() - txt = ocr.run("ocr_api/data/demo/deskew2.jpg") + txt = ocr.run(args.i) se.text2speech(txt) else: print("Error command !")