[tesseract-ocr] Re: Getting error while creating .lstm files

2018-06-22 Thread Harathi Surya
Ok Shree, I think the only font that is in common with my system and tesseract default fonts is 'DejaVu Sans'. That is the reason why i gave only one font. I will try installing new fonts to my system and will try. Thanks for your help, Harathi On Thursday, June 21, 2018 at 8:50:14 PM UTC-7, H

Re: [tesseract-ocr] Re: Getting error while creating .lstm files

2018-06-22 Thread Shree Devi Kumar
The tutorial has been written by Ray Smith. I haven't tested the plus-minus as given. Check whether the fonts you are using have the plus-minus sign. Using one font is for the IMPACT tutorial with 400 iterations. For plus-minus you need to use the larger list of fonts. On Sat, Jun 23, 2018 at 1

[tesseract-ocr] Re: Getting error while creating .lstm files

2018-06-22 Thread Harathi Surya
Sorry by mistake uploaded the wrong file. Please find the attached file for the output i got. Thanks, Harathi On Friday, June 22, 2018 at 12:41:25 PM UTC-7, Harathi Surya wrote: > > Thanks Shree, > > I followed the instructions and ran the following command: > > src/training/lstmtraining --stop_

[tesseract-ocr] Re: Getting error while creating .lstm files

2018-06-22 Thread Harathi Surya
Thanks Shree, I followed the instructions and ran the following command: src/training/lstmtraining --stop_training --continue_from ~/tesstutorial/trainplusminus/plusminus_checkpoint --traineddata ~/tesstutorial/trainplusminus/eng/eng.traineddata --model_output ~/tesstutorial/trainplusmin

Re: [tesseract-ocr] Re: Getting error while creating .lstm files

2018-06-22 Thread Shree Devi Kumar
https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#combining-the-output-files On Sat, Jun 23, 2018 at 12:55 AM Harathi Surya wrote: > Hi Shree, > > Thanks for your reply. > I replaced fontlist argument 'Impact Condensed' with 'DejaVu Sans' to > create evalplusminus folder. >

[tesseract-ocr] Re: Getting error while creating .lstm files

2018-06-22 Thread Harathi Surya
Hi Shree, Thanks for your reply. I replaced fontlist argument 'Impact Condensed' with 'DejaVu Sans' to create evalplusminus folder. Then i ran the lstmeval command and i got this as output At iteration 0, stage 0, Eval Char error rate=0.024610566, Word error rate=0.086171938 Do i need to creat

[tesseract-ocr] Re: Getting error while creating .lstm files

2018-06-22 Thread Harathi Surya
Hi Shree, Thanks for your help. I resolved the error by changing fontlist argument as 'DejaVu Sans'. Now the model is training with new character. Thanks, Harathi On Thursday, June 21, 2018 at 8:50:14 PM UTC-7, Harathi Surya wrote: > > Hi, > > I am trying to create .lstm files to finetune tesse

[tesseract-ocr] Re: Getting error while creating .lstm files

2018-06-22 Thread Harathi Surya
Hi Shree, Thank you for the suggestion. I have checked for the fonts available in my system. 'dejavu' is available. So, i thought of first checking for this font. So i ran the following command: src/training/tesstrain.sh --fonts_dir /usr/share/fonts --lang eng --linedata_only --noextract_fon