Please use the font name instead of the TTF file name. It may be 'Bradley Hand ITC'
- sent from my phone. excuse the brevity. On 17-Apr-2016 8:38 pm, "John Timuty" <[email protected]> wrote: > Hi there! ^_^ > I didn't know how to compile so I had to download Cygwin because only > there i got a compiled text2image.exe.. > But now i have it and tried to use it. This is what i get when i execute > command. > > John@John-PC /cygdrive/c/cygwin/training > $ *text2image --text=C:\Users\John\Desktop\12345.txt > --outputbase=ENG.BradleyHandITC.exp0 --font='BradleyHandITC' * > *--fonts_dir=C:\Users\John\Desktop\fnt* > > ---------------------------------------------------------------------------------------------------------------- > FcInitiReinitialize failed!! > Could not find font named BradleyHandITC. Pango suggested font > Please correct --font arg.:Error:Assert failed:in file > /cygdrive/e/cyg_pub/devel/tesseract/tesseract-ocr-3.04.01-1.i686/src/tesseract-3.04.01/training/text2image.cpp, > line 437 > Segmentation fault (core dumped) > > ---------------------------------------------------------------------------------------------------------------- > Seriously, what does that mean? > In the font's dir, there is a BradleyHandITC*.TTF* (TRUETYPE) > I don't know what wrong i am doing? Do i need a BradleyHandITC.*OTF* too? > (OPENTYPE) to work properly? > I have successfully trained a font before but i want to add more pages to > increase the accuracy. > Please Help. I am very close to start training tesseract. > > -- > 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/b57563e6-1502-4a29-96a1-612c61814e44%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/b57563e6-1502-4a29-96a1-612c61814e44%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/CAG2NduUhLLO02eXFH2sMkuBCuxgciX6KnS0vjRp4y2CTLhvEHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

