I am using module like pytesseract, textract, pyocr, all with Image modul. After opening .jpg file I can display the file but I just can't read the text from the file. I use three kinds of modules nad all th etime I had the same error: The system cannot find the file specified. I use Python 3.5.
The error is in config of this part of code in pytesseract in config=config) # here is a problem.
Do you have any ideas? I' ve search the internet, I've found some examples like lang='eng'and nothing still works.
Code example with pytesseract module is very simple:
im = Image.open("C:/Temp/Example.jpg")
im.show() # it works
text = pytesseract.image_to_string(im)
print(text)
I also used some attributes and nothing works...
Please let me know if sb knows what is going on.