Closed ananitai440 closed 3 weeks ago
ERROR
my code
import pytesseract import os,easyocr from PIL import Image
reader = easyocr.Reader(['en'])
result = reader.readtext('1t2.png')
for (bbox, text, prob) in result: print(f'{text} (Confidence: {prob})')
I solved self
ERROR
my code
import pytesseract import os,easyocr from PIL import Image
Path to your image
Create a reader object
reader = easyocr.Reader(['en'])
Read the image
result = reader.readtext('1t2.png')
Print the text
for (bbox, text, prob) in result: print(f'{text} (Confidence: {prob})')