-
Notifications
You must be signed in to change notification settings - Fork 888
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
Comments
@ebraminio Please test with the latest BEST 4.0alpha traineddata and provide feedback at tesseract-ocr/tessdata#70 |
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! |
Yes. You can close this, since the issue is being tracked at tesseract-ocr/tessdata#70.
I don't know about that since the training was done by Ray at Google. |
Thanks! |
(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.
The text was updated successfully, but these errors were encountered: