see https://github.com/tesseract-ocr/tesseract/issues/806#issuecomment-292774103
it has a command which will build a list of fonts in the format that you can copy as part of command line. Please modify appropriately for your case. ShreeDevi ____________________________________________________________ भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Sat, Sep 9, 2017 at 10:20 PM, ShreeDevi Kumar <[email protected]> wrote: > Your command needs to be on the following lines: > > training/tesstrain.sh \ > --fonts_dir /home/shree/.fonts \ > --tessdata_dir ./tessdata \ > --training_text ../langdata/ben/ben.training_text \ > --langdata_dir ../langdata \ > --lang ben \ > --linedata_only \ > --noextract_font_properties \ > --exposures "0" \ > --fontlist "e-Grantamil" \ > "e-Grantha OT" \ > --output_dir ~/tesstutorial/ben > > See the fontlist argument, it is quoted names of the fonts. You can put > one on each line with \ > > > > ShreeDevi > ____________________________________________________________ > भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com > > On Sat, Sep 9, 2017 at 10:12 PM, Dan9er <[email protected]> wrote: > >> Nope. 😢 >> https://pastebin.com/BskUsSm7 >> >> On Saturday, September 9, 2017 at 11:57:18 AM UTC-4, Dan9er wrote: >>> >>> I think I now know how to do it. >>> >>> I have to run training/text2image --find_fonts and then set the >>> tesstrain --fontlist flag to the file that is generated. >>> >>> On Thursday, September 7, 2017, at 2:19:09 PM UTC-4, Dan9er wrote: >>>> >>>> I'm trying to train tesseract using tesstrain and I'm getting this >>>> error: https://pastebin.com/xJj3w9jZ >>>> >>> -- >> 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/ms >> gid/tesseract-ocr/ee1d68eb-a92c-4a30-905f-ac52128bccb6%40googlegroups.com >> <https://groups.google.com/d/msgid/tesseract-ocr/ee1d68eb-a92c-4a30-905f-ac52128bccb6%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/CAG2NduWgzTLwXojoDq0i5KVZeuK%3D4feiVvOnrDbAwUq9h%3Dsspw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

