JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
https://www.jaided.ai
Apache License 2.0
23.62k stars 3.1k forks source link

Unable to detect seven segment number #1040

Open baligabhavatha opened 1 year ago

baligabhavatha commented 1 year ago

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: 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: image

intelliqa-piyush commented 4 months ago

I am having the same challenge, anyone has worked on it?

matheustecchio commented 4 months ago

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.