Pytesseract Error – no such file or directory Error during processing

I am computing quite a simple Image to text using Pytesseract in Python. However, I keep having this error

pytesseract.pytesseract.TesseractError: (1, ‘Tesseract Open Source OCR Engine v5.0.0-alpha.20200328 with Leptonica Error, cannot read input file C:\code\img: No such file or directory Error during processing.’)

I try to place both my image and python files in the same folder but the error is still there. Is there a way to fix this?

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.