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

Is it possible to use only the designated model? #5

Open
nkbk1431 opened this issue Jan 26, 2024 · 3 comments
Open

Is it possible to use only the designated model? #5

nkbk1431 opened this issue Jan 26, 2024 · 3 comments

Comments

@nkbk1431
Copy link

std::string record = This part is not available even if you include language models from other countries.
And do not use the English model (.pth) provided by easyocr.

@ksasso1028
Copy link
Owner

Hello !
The language dictionary is actually hidden within the CRNN class. I will work on abstracting this from the class to allow other languages. For now you can set the char vector here https://github.com/ksasso1028/EasyOCR-cpp/blob/main/include/CRNN.h

@0lekW
Copy link

0lekW commented Apr 9, 2024

I noticed that the char vector has a commented out special character, is this going to make the greedy decode shift the characters index by 1 ?
And also, what kind of accuracy were you able to get for the recognition part?

@ksasso1028
Copy link
Owner

Hello @0lekW I fixed this in the latest update, I seem to have uploaded an older implementation for CRNN initially
28da1ff

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

3 participants