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

Portuguese trained data fails to recognize @ #51

Open
jgsmarques opened this issue Apr 19, 2020 · 3 comments
Open

Portuguese trained data fails to recognize @ #51

jgsmarques opened this issue Apr 19, 2020 · 3 comments
Labels

Comments

@jgsmarques
Copy link

Hi,

I'm using tesseract to perform OCR in a document that contains an email address. Using the eng trained data, it recognizes the email address correctly (but naturally fails in all accented characters). When I switched to the por trained data, it picks up all portuguese characters correctly, but fails to recognize the @ in email addresses.
Is there any additional configuration needed for this special characters?

Thank you!

@LilianeAquino
Copy link

I present the same problem. I try to use multiple languages, but it doesn't work.

@tfmorris
Copy link

#54 describes a similar problem for Turkish. It's likely that the training data for the two languages didn't include any examples of email addresses.

@stweil
Copy link
Contributor

stweil commented Oct 16, 2023

That's correct. See por.unicharset and tur.unicharset which do not contain the @ character. So that character was not part of the training data and will therefore never be recognized by those models.

I suggest to use -l Latin in similar cases.

@stweil stweil added the bug label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants