text2image fonts problem

52 views
Skip to first unread message

jianiula ai

unread,
Sep 29, 2017, 6:07:05 AM9/29/17
to tesseract-ocr

Why the fonts name list in 'eng.fontlist.txt' can not find in /Library/Fonts when I run the command below..


text2image --find_fonts --fonts_dir /Library/Fonts --text eng_train.txt --min_coverage .95  --outputbase eng



The biggest confusion for me is that the fonts name in eng.fontlist.txt can not correspond to the names in /Library/Fonts. please help me!

ShreeDevi Kumar

unread,
Sep 29, 2017, 9:07:07 AM9/29/17
to tesser...@googlegroups.com
The font file name and font name are usually different.


/usr/share/fonts/type1/gsfonts/n022024l.pfb: Nimbus Mono L:style=Bold Oblique
/usr/share/fonts/type1/gsfonts/c059036l.pfb: Century Schoolbook L:style=Bold Italic
/usr/share/fonts/type1/gsfonts/p052024l.pfb: URW Palladio L:style=Bold Italic
/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf: DejaVu Serif:style=Book
/usr/share/fonts/type1/gsfonts/n019003l.pfb: Nimbus Sans L:style=Regular


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-ocr+unsubscribe@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/83651192-272b-43fc-84f8-7e90a257db4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages