Might I suggest looking into this GitHub Thread.
https://github.com/sirfz/tesserocr/issues/292

On Friday, December 10, 2021 at 11:41:14 AM UTC+5 ankit...@kelltontech.com 
wrote:

> Hi,
>
> How can I use tesseract into my python code directly to get the font name.
> I am able to get the same using below command -
>
> tesseract "timesromanitalic.png" sampleoutput --oem 0 -c 
> tessedit_debug_fonts=1 --tessdata-dir  \tessdata
>
>
>
>
> <https://www.kelltontech.com/>
>
> *CMMi Level 5 | ISO 9001:2015 | BSE: KELLTONTECH*
>
> CONFIDENTIALITY INFORMATION AND DISCLAIMER
>
> This e-mail message and/or attachments being sent from Kellton Tech is 
> privileged, confidential, and directed to and for the use of the addressee 
> only. If you are not the intended recipient of this message, or if this 
> message has been addressed to you in error, please alert the sender 
> immediately by reply e-mail and then delete this message, including any 
> attachments. We also request you not to use, reproduce, review, copy, 
> disseminate or distribute it. Distribution or use of the contents of this 
> message by anyone other than the intended recipient is strictly prohibited. 
>
> *Please don't print this Email unless you really need to. This will 
> preserve trees on planet Earth.*
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/9e5ded46-0ae1-499e-a4a6-9727a48d8545n%40googlegroups.com.

Reply via email to