Hi all, I'm trying to create some training data for the ocr-b font with text2image. Unfortunately when running
training/text2image --text=training_text.txt --outputbase=eng.ocr-b.exp0 --font='ocrb10' --fonts_dir=/path/to/my/fonts I always get 'Could not find font ocrb10' error. This is the exact output: ... Could not find font named ocrb10 FLAGS_find_fonts || FontUtils::IsAvailableFont(FLAGS_font.c_str()):Error:Assert failed:in file text2image.cpp, line 417 Segmentation fault (core dumped) Although when running 'training/text2image --list_available_fonts --fonts_dir=/usr/...' it lists ocrb10: Initializing fontconfig 0: OCRB Extra-Expanded 1: ocrb10 I have no idea where to go from here since text2image seems to recognize the font but still doesn't. Any help would be highly appreciated! Mirko -- 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 http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/e019162d-c670-4f68-af03-a43c6d90f4b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

