Get font of recognized character with Tesseract-OCR
问题 Is it possible to get the font of the recognized characters with Tesseract-OCR, i.e. are they Arial or Times New Roman, either from the command-line or using the API. I'm scanning documents that might have different parts with different fonts, and it would be useful to have this information. 回答1: Tesseract has an API WordFontAttributes function defined in ResultIterator class that you can use. 回答2: Based on nguyenq's answer i wrote a simple python script that prints the font name for each