Did you run the eval as given in

https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#fine-tuning-for--a-few-characters

Did you stop training and create a new traineddata file?

Are you using the new traineddata file for testing?

On Sat, Jun 23, 2018 at 12:36 AM Harathi Surya <[email protected]>
wrote:

> Hi,
>
> I am facing one more problem here.
> I have trained the tesseract for new character successfully.
>
> But when i tried to test it by giving the following command:
>
> 'tesseract test.png out -l eng'
>
> The output is not satisfactory. I trained tesseract for '±' character. But
> there is no change in output before and after finetuning. I have trained
> the model for 3600 iterations. The final loss is 0.0013.
>
> Please find the attached files for the input image and the output text i
> am getting.
> Can anyone please help me with this...
>
> 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 tesseract4.0.0 for new
>> characters. I want to fine tune tesseract to recognize new characters like
>> ±.
>> What i tried:
>> I added text that consists of the plus or minus symbol to the
>> eng.training_text in langdata.
>> Then I tried to run the following command
>>
>> src/training/tesstrain.sh --fonts_dir /usr/share/fonts --lang eng
>> --linedata_only --noextract_font_properties --langdata_dir ../langdata
>>  --tessdata_dir ./tessdata --output_dir ~/tesstutorial/trainplusminus
>>
>> I am getting the following error:
>> ERROR: /tmp/tmp.3qWucNlYrH/eng/eng.Arial.exp0.box does not exist or is
>> not readable
>>
>> The error repeated for all the font types.
>>
>> Can you please give some suggestions why this error occurs and how to
>> solve this?
>>
>> Thanks in advance
>> Harathi
>>
> --
> 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/bab88269-2791-49bf-9d6d-b426bee0eaec%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/bab88269-2791-49bf-9d6d-b426bee0eaec%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

-- 
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/CAG2NduWZCPC__VDRdkdBw_9G2mbQ6u%3DAxqZ7fXK41YKjj%2Bg7Tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to