Thanks alot. you're right . the path shoulde be compelet i used /home/zohreh/Desktop/tesseract-master/z/engtrian/eng/eng.traineddata insted of z/engtrain/eng/eng.traineddata. it just can write the path from root
On Wednesday, August 16, 2017 at 5:50:18 AM UTC+4:30, [email protected] wrote: > > Hi, I don't encounter this error. > > But you may check your traineddata whether in the correct directory, as > well as some other paths. > > 在 2017年8月15日星期二 UTC+8下午5:45:17,Ava Nimaee写道: >> >> Hi thanks for your help >> i used your link. but i got this error: >> mgr_.Init(traineddata_path.c_str()):Error:Assert failed:in file >> ../lstm/lstmtrainer.h, line 110 >> Segmentation fault (core dumped) >> I wanna start train persian language.so im trying english first. i creat >> boxfile and unicharset .then eng.charset_size=110.txt >> ,eng.Times_New_Roman.exp0.lstmf , eng.traineddata , eng.training_files.txt >> , eng.unicharset >> that all of those have created with this syntax: >> training/tesstrain.sh --fonts_dir /usr/share/fonts --lang eng >> --training_text training/langdata/eng/eng.training_text >> --linedata_only \ >> --noextract_font_properties --langdata_dir training/langdata \ >> --tessdata_dir ./tessdata \ >> --fontlist "Times New Roman," --output_dir ~/tesstutorial/engtrian >> and now i have error that i told you >> >> On Monday, August 14, 2017 at 1:00:02 PM UTC+4:30, [email protected] >> wrote: >>> >>> What problems do you encounter? Please give more information about the >>> problems. >>> >>> I later used the new tutorial ( >>> https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#fine-tuning-for-impact) >>> >>> to train data, and I didn't have any problems. Hope to help you. >>> >> -- 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/28e0ed79-a5d2-44a2-824f-a6c408145e84%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

