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

Using different set of fonts for Persian #294

Closed
ebraminio opened this issue Mar 29, 2016 · 1 comment
Closed

Using different set of fonts for Persian #294

ebraminio opened this issue Mar 29, 2016 · 1 comment

Comments

@ebraminio
Copy link

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. I think also @roozbehp @behdad from Google can help you on this. Thank you.

@amitdo
Copy link
Collaborator

amitdo commented May 27, 2016

I suggest you repost this here:
https://github.com/tesseract-ocr/langdata
and then close this issue.

but don't repeat calling/mentioning those 2 people.

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