from PIL import Image
from tesseract import image_to_string
print image_to_string(Image.open('C:\Users/Uzel/Desktop/pythonfoto/denklem.png'))
print image_to_string(Image.open('C:\Users/Uzel/Desktop/pythonfoto/denklem.png'), lang='eng')
I use this code after installing tesseract orc.
Traceback (most recent call last): File "C:\Users\Uzel\Documents\Visual Studio 2012\Projects\module3.py", line 28, in from tesseract import image_to_string ImportError: cannot import name image_to_string
I have this error. I tried pytesseract but I can not manage. Can we solve this problem. How? thank you.