Also check that your langdata path matches your environment.

On Tue, 25 Sep 2018, 08:11 Shree Devi Kumar, <[email protected]> wrote:

> Are the fonts in  /usr/share/fonts ?
>
> Reduce the
> --min_coverage 1
>
> to .99 and see if some fonts are found.
>
>
>
> On Tue, 25 Sep 2018, 07:50 Zohreh Khosrobeygi, <[email protected]>
> wrote:
>
>> Hi,
>> I use
>>  tesseract 4.0.0-beta.4
>>  leptonica-1.74.4
>>   libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib
>> 1.2.8
>>
>>  Found AVX2
>>  Found AVX
>>  Found SSE
>> But when I run this command:
>>  text2image --find_fonts \
>> --fonts_dir /usr/share/fonts \
>> --text ./langdata/fas/fas.training_text \
>> --min_coverage 1  \
>> --outputbase ./langdata/fas/fas \
>> |& grep raw | sed -e 's/ :.*/" \\/g'  | sed -e 's/^/  "/'
>> >./langdata/fas/fas.fontslist.txt
>> fas.fontslist.txt is empty. I have some fonts on my linux.
>>
>>
>>
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> 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/af4239bf-2cad-405f-ba22-540b65dd7596%40googlegroups.com
>> <https://groups.google.com/d/msgid/tesseract-ocr/af4239bf-2cad-405f-ba22-540b65dd7596%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 [email protected].
To post to this group, send email to [email protected].
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/CAG2NduUyDHzOn%3D40TUHsewH82qNDfXEw4hyK0zAbjguFsy6p2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to