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.

On 18-Jul-2016 4:45 PM, "koushik v" <vkoushi...@gmail.com> wrote:

yeah i knew this but i thought this was a old one.Anyways thank you


On Monday, 18 July 2016 11:38:13 UTC+1, shree wrote:

> see https://github.com/tesseract-ocr/langdata/blob/master/font_properties
>
> 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
>
> On Mon, Jul 18, 2016 at 3:08 PM, koushik v <vkous...@gmail.com> wrote:
>
>> 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
>>
>> --
>> 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
>> <https://groups.google.com/d/msgid/tesseract-ocr/cc5a28e8-4f91-44eb-8f66-449d1ff151c7%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
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 post to this group, send email to tesseract-ocr@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/d4e56761-60bf-4689-9a71-101346a6c6f5%40googlegroups.com
<https://groups.google.com/d/msgid/tesseract-ocr/d4e56761-60bf-4689-9a71-101346a6c6f5%40googlegroups.com?utm_medium=email&utm_source=footer>
.

For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to tesseract-ocr@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/CAG2NduVkXHjHYZhVa%3D9MyRN8x4BMEvQ7k79uw6dbZ51qhQYV4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to