I read in a GitHub issue thread that Tesseract 5.0 can get those font attributes. You might wanna check this thread out where there is a snippet attached at the end for C code. https://github.com/sirfz/tesserocr/issues/292
On Thursday, January 13, 2022 at 11:39:40 PM UTC+5 zdenop wrote: > I am not sure what did you install, because there is (and was not) > tesseract version 3.0.5 > > See https://github.com/tesseract-ocr/tesseract/releases?page=2 or try to > run 'git tag' > > Zdenko > > > ut 11. 1. 2022 o 12:23 Kehinde Adeoya <kehind...@gmail.com> napĂsal(a): > >> I'm so grateful I finally got Tesseract working a few days ago. I have >> received great support, and I immensely appreciated it. I newly want to >> test a new font (Ubuntu, Inter) not yet recognized by Tesseract 3.0.5. I >> have seen many tutorials online but only addresses training using the LSTM >> engine, could you help me with a tutorial for training using version 3.0.5? >> The reason why I'm using 3.0.5 is that the main purpose of using Tesseract >> is to get font properties that are only available in 3.0.5. >> >> -- >> 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-oc...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/c37940f2-4511-4e07-9b96-983e75a8c4f9n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tesseract-ocr/c37940f2-4511-4e07-9b96-983e75a8c4f9n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/bbca9a07-9350-42c1-a480-b5518ff7c266n%40googlegroups.com.