Generating traindata

49 views
Skip to first unread message

Purushotham Rao Eravalli

unread,
Jul 2, 2019, 10:44:09 AM7/2/19
to tesseract-ocr
I am getting the below error while trying to run the command
tesstrain.sh --fonts_dir ../../fonts --fontlist 'ABCDEFGHIJKLM' --lang eng --linedata_only --langdata_dir ../../langdata_lstm --tessdta_dir ../../tessdata --save_box_tiff --maxpages 10 --output_dir train


/usr/local/bin/tesstrain_utils.sh: line 80: syntax error near unexpected token `&'

Can some help me with the solution

Zdenko Podobny

unread,
Jul 2, 2019, 10:46:44 AM7/2/19
to tesser...@googlegroups.com
Do you use the latest code? Or which version you used?

Zdenko


ut 2. 7. 2019 o 16:44 Purushotham Rao Eravalli <purus...@sukshi.com> napísal(a):
--
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 tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
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/c7afa44a-9bb2-446e-b720-af6c27e681e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Abstract

unread,
Jul 2, 2019, 10:58:14 AM7/2/19
to tesseract-ocr
I recommend take scripts by Shreeshrii, they are searchable, and what is great - they are really working (as most articles in the internet are for older Tesseract version and are absolutely useless).

But what I found, after training quite often some random repeating characters appear in the recognized output, nobody can tell me what happened.

вторник, 2 июля 2019 г., 17:44:09 UTC+3 пользователь Purushotham Rao Eravalli написал:

Purushotham Rao Eravalli

unread,
Jul 2, 2019, 11:30:19 AM7/2/19
to tesseract-ocr
3.03 - 3.05


On Tuesday, July 2, 2019 at 8:16:44 PM UTC+5:30, zdenop wrote:
Do you use the latest code? Or which version you used?

Zdenko


ut 2. 7. 2019 o 16:44 Purushotham Rao Eravalli <purus...@sukshi.com> napísal(a):
I am getting the below error while trying to run the command
tesstrain.sh --fonts_dir ../../fonts --fontlist 'ABCDEFGHIJKLM' --lang eng --linedata_only --langdata_dir ../../langdata_lstm --tessdta_dir ../../tessdata --save_box_tiff --maxpages 10 --output_dir train


/usr/local/bin/tesstrain_utils.sh: line 80: syntax error near unexpected token `&'

Can some help me with the solution

--
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 tesser...@googlegroups.com.

Purushotham Rao Eravalli

unread,
Jul 2, 2019, 11:33:43 AM7/2/19
to tesseract-ocr
Looking into it, i am little bit new. Can you provide any detailed link which might help me. I will be very thankful to you.
Reply all
Reply to author
Forward
0 new messages