Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong text recognition #1354

Open
mila6452 opened this issue Dec 24, 2024 · 1 comment
Open

wrong text recognition #1354

mila6452 opened this issue Dec 24, 2024 · 1 comment

Comments

@mila6452
Copy link

If I run the following code in python 3.12:

import easyocr

print(f"EasyOCR verion: {easyocr.__version__}")

reader = easyocr.Reader(['en'],gpu=False,verbose=False)
texts = reader.readtext('_screenshot_image.png')

print(texts)

The output is:
EasyOCR verion: 1.7.2
[([[np.int32(17), np.int32(3)], [np.int32(95), np.int32(3)], [np.int32(95), np.int32(23)], [np.int32(17), np.int32(23)]], '900/9 900', np.float64(0.9994190484841114))]

As you can see the first '9' character is missing.
_screenshot_image

What did I wrong? Or how can I change the code that the picture will be correctly recognised?
Thx

@mila6452
Copy link
Author

I have tried your web demo (with 'en' only) and it gave the correct result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant