Python Script, tesseract. No error but no output

Viewed 276

I am trying to use tesseract to read text from an image, i have installed tesseract using home brew but i get no output. Here is my code;

import pytesseract
from PIL import Image    
    
value = Image.open('/Users/director/Desktop/databoy/easytt.jpeg')
text = pytesseract.image_to_string(value, lang="eng")
print(text)

I don't get any errors, and it does not print out anything, i just get: Process finished with exit code 0

This is the image i was working with

0 Answers
Related