Re: [tesseract-ocr] Can't encode transcription error with Sinhala language

2018-01-13 Thread ShreeDevi Kumar
You are using an old version of training command. Please review the wiki page regarding training again. Trainng from scratch command will be similar to the following. training/lstmtraining \ --debug_interval -1 \ --traineddata ~/tesstutorial/engtrain/eng/eng.traineddata \ --net_spec

[tesseract-ocr] Can't encode transcription error with Sinhala language

2018-01-13 Thread Sumedhe Dissanayake
I tried lstmtraining with sinhala language but I always get this error. Command: lstmtraining --traineddata ~/tesstutorial/sintrain/sin/sin.traineddata \ --net_spec '[1,36,0,1 Ct3,3,16 Mp3,3 Lfys48 Lfx96 Lrx96 Lfx256 O1c155]' \ --debug_interval 0 --max_iterations 50 --max_image_MB