Font_properties file

115 views
Skip to first unread message

koushik v

unread,
Jul 18, 2016, 5:38:45 AM7/18/16
to tesseract-ocr
Hi,

I am creating the font_properties file for training tesseract OCR and there are 5 values to be identified using italic bold fixed serif fraktur

How do i identify the font with these parameters? 

For example there is a font american typewriter, how do i know about the parameters?

Thank you 

ShreeDevi Kumar

unread,
Jul 18, 2016, 6:38:13 AM7/18/16
to tesser...@googlegroups.com

ITC_American_Typewriter_Std_Bold 0 1 0 1 0
ITC_American_Typewriter_Std_Bold_Condensed 0 1 0 1 0
ITC_American_Typewriter_Std_Bold_Italic 1 1 0 1 0
ITC_American_Typewriter_Std_Condensed 0 0 0 1 0
ITC_American_Typewriter_Std_Light 0 0 0 1 0
ITC_American_Typewriter_Std_Light_Condensed 0 0 0 1 0
ITC_American_Typewriter_Std_Light_Italic 1 0 0 1 0
ITC_American_Typewriter_Std_Medium 0 0 0 1 0
ITC_American_Typewriter_Std_Medium_Italic 1 0 0 1 0

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

--
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 post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/cc5a28e8-4f91-44eb-8f66-449d1ff151c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

koushik v

unread,
Jul 18, 2016, 7:15:26 AM7/18/16
to tesseract-ocr
yeah i knew this but i thought this was a old one.Anyways thank you 

ShreeDevi Kumar

unread,
Jul 18, 2016, 10:02:30 AM7/18/16
to tesser...@googlegroups.com

You need to set the values based on the font eg. If it is a fixed width font, then set that to 1. If it is a serif font then set that to 1, for sans serif, set it to 0. Similarly if your font is bold or italic, set the corresponding values to 1.

So, you need to set values based on the American typewriter font that you are using for training.

- sent from my phone. excuse the brevity.


koushik v

unread,
Jul 18, 2016, 4:33:14 PM7/18/16
to tesseract-ocr
Thank you 
Reply all
Reply to author
Forward
0 new messages