You are mixing many different approaches for training.

If you have box/tiff pairs, use makefile from tesseract-ocr/tesstrain

If you want to train from text and fonts, use
tesseract-ocr/tesseract/src/tesstrain.sh



On Fri, Oct 25, 2019 at 2:57 PM 'ZenMaster181' via tesseract-ocr <
[email protected]> wrote:

> I got that, However, When I tried to create the traineddata file from the
> code:
>
> 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/engtrain
>
> ERROR: Could not find training text file 
> tesstutorial/langdata/eng/eng/eng.training_text
>
> I have checked that the file exists in langdata directory
> But I have a doubt, How do the trained data file will work on my .tif file If 
> I am not giving any information to the above code?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/a8264f54-a7c5-4d2c-bfce-1c8b7e236a6e%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/a8264f54-a7c5-4d2c-bfce-1c8b7e236a6e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

____________________________________________________________
भजन - कीर्तन - आरती @ 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduUU3z05Jzs54mu7HHidRwy309yNSvqWWBwgcoUx1kOVoQ%40mail.gmail.com.

Reply via email to