The font_properties file looks correct. Apparently, shapeclustering has produced an exception. The image shows a bad file name "deu.benlie.expo.box.tr"; it should be "deu.benlie.expo.tr". So please delete the bad file and correct the file name of your input image and try again.
On Friday, December 4, 2015 at 10:24:30 AM UTC-6, BenLie wrote: > > Hello, > > I'm new to tesseract. > I use Tesseract 3.03 on Windows 8. > > I have a custom font named BenLie. I created a tif and box file with > jTessBoxEditor. > > When I run the training i get an error, see fonterror.PNG. > > Then I tried to run the training with the console an get this: > > D:\Downloads\jTessBoxEditor-1.4\jTessBoxEditor\samples\BenLie>shapeclustering.exe > > -F deu.font_properties -U unicharset deu.benlie.exp0.tr > Reading deu.benlie.exp0.tr ... > Font id = -1/0, class id = 1/77 on sample 0 > font_id >= 0 && font_id < font_id_map_.SparseSize():Error:Assert failed:in > file > ..\..\classify\trainingsampleset.cpp, line 622 > > > My deu.font_properties contains > > benlie 0 0 0 0 0 > benlieb 0 1 0 0 0 > benliebi 1 1 0 0 0 > benliei 1 0 0 0 > > > What am I doing wrong? > Is this the right content for the font property file? > > Best regards > Benjamin > -- 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/0997899b-6abe-4afa-ad3b-d33d1fdb5584%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

