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

Use a different set of fonts for Persian #26

Closed
ebraminio opened this issue May 27, 2016 · 5 comments
Closed

Use a different set of fonts for Persian #26

ebraminio opened this issue May 27, 2016 · 5 comments

Comments

@ebraminio
Copy link

(moved from tesseract-ocr/tesseract#294)

First of all, thanks for adding support to tesseract finally. From quickly inspecting Persian related codes on tesseract I reached to https://github.com/tesseract-ocr/tesseract/blob/master/training/language-specific.sh#L520 which I can say speculatively is not a good set of fonts for training Persian printed text and can result in poor performance of OCR quality as most Persian fonts don't have the style these fonts have. On "Font recognition using Variogram fractal dimension", a good set of Persian fonts is introduced (second page, at the bottom) which as you can see there also, it is different from favorites Arabic language fonts (even the fact both are using Arabic script). So for training Persian OCR for tesseract I suggest adding or replacing current fonts with these free fonts, Nazli (i.e. Nazanin as indicated on that article) and Titr from Debian fonts-farsiweb package and also XB Zar and XB Yaghut from OFL licensed xfonts. Thank you.

@Shreeshrii
Copy link
Contributor

@ebraminio Please test with the latest BEST 4.0alpha traineddata and provide feedback at tesseract-ocr/tessdata#70

@ebraminio
Copy link
Author

Great! Thanks for the work, I hadn't chance to test its quality but since you know about the fonts now I assume this is already done so do you like to close this as fixed? Thank you!

@Shreeshrii
Copy link
Contributor

Yes. You can close this, since the issue is being tracked at tesseract-ocr/tessdata#70.

I assume this is already done

I don't know about that since the training was done by Ray at Google.

@ebraminio
Copy link
Author

Thanks!

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

2 participants