I am using pytesseract to convert images to text. I successfully installed pytesseract with pip command. But when i run the script, it shows me error : No module named Tesseract
.
These are my codes :
from tesseract import image_to_string
image = Image.open('input-NEAREST.tif')
print image_to_string(image)
Error :
Traceback (most recent call last):
File "C:\Users\J's MAgic\Desktop\py\new1.py", line 1, in <module>
from tesseract import image_to_string
ImportError: No module named tesseract