Open baligabhavatha opened 1 year ago
I am having the same challenge, anyone has worked on it?
Have you processed the image using the PIL library or other similar? It seems like your image has a lot of reflections on the screen, it can give you wrong results.
When given a seven segment number series, return either null/wrong output.
Attached screenshots of input image and o/p returned as well.
Input image:
Here is the code snippet written for the same:
import easyocr reader = easyocr.Reader(['en']) results = reader.readtext('image.jpg',allowlist ='0123456789') word = str(results[0][1]).strip() print("Results: {}".format(results)) print("Value: {}".format(word))
Output: