Thanx a lot.. Zdenko Got it working successfully.. As you mentioned the problem was with fontname in font_properties file
Thanx again Sumit On Thursday, 7 March 2013 15:24:21 UTC+5:30, zdenop wrote: > > As always: you are not following wiki: > > 1. your font_properties use windows end of line[1] > 2. content(font name) of font_properties is not according wiki[2] > > Follow wiki and it will work. > > [1] > https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3#Requirements_for_text_input_files > [2] > https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3#font_properties_(new_in_3.01) > > Zdenko > > > On Thu, Mar 7, 2013 at 8:14 AM, Sumit Kumar <[email protected]<javascript:> > > wrote: > >> Using Tesseract 3.02.02 on Windows7 (32 bit) >> >> >> On Thursday, 7 March 2013 12:04:29 UTC+5:30, Sumit Kumar wrote: >>> >>> Hi >>> >>> >>> I am trying to train tesseract for a new font in English. >>> I have successfully completed upto generating Unicharset.. getting error >>> in shapeclustering step. >>> >>> Read Issues 625,626 & 847 on tesseract Wiki, but unable to solve the >>> problem. >>> >>> Here is the error that i am getting: >>> >>> >>> C:\Users\Sumit_Kumar8\Desktop\**tesseract>shapeclustering -F >>> font_properties -U un >>> icharset eng.vga.exp0.tr >>> Reading eng.vga.exp0.tr ... >>> Font id = -1/0, class id = 1/87 on sample 0 >>> font_id >= 0 && font_id < font_id_map_.SparseSize():**Error:Assert >>> failed:in file >>> ..\..\classify\**trainingsampleset.cpp, line 622 >>> >>> >>> I am attaching all the related files.. >>> >>> >>> Any help appreciated. >>> >>> >>> Thanks >>> Sumit >>> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "tesseract-ocr" group. >> To post to this group, send email to [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/tesseract-ocr?hl=en >> >> --- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en --- 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]. For more options, visit https://groups.google.com/groups/opt_out.

