Explicitly set the font to be used for recognition

2020-03-01 08:16发布

I have documents which use only one font throughout the document. Different documents might have different fonts, but I know which document uses which font.

Is there an option to explicitly tell Tesseract-OCR which font to use during recognition for a given image?

1条回答
干净又极端
2楼-- · 2020-03-01 08:19

No, I don't think Tesseract supports such an option. What you can do is to train for one specific font and then specify that traineddata during recognition of your documents.

查看更多
登录 后发表回答