Are you using the correct version of tesstrain.sh?

It should be in src/training/tesstrain.sh


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


On Fri, Jun 8, 2018 at 6:49 PM Zohreh Khosrobeygi <beigy.zoh...@gmail.com>
wrote:

> Hi,
> I have been training tesseract but i have this errore"
>
> Unrecognized argument --linedata_only
>
> And it's my version of tesseract"
> tesseract 4.0.0-beta.1
>  leptonica-1.74.4
>   libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib
> 1.2.8
>
>  Found AVX2
>  Found AVX
>  Found SSE
>
> Besides it's my command:
> sudo tesstrain.sh --fonts_dir /usr/share/fonts --lang fas
> --training_text
> /home/kddlab/Desktop/tesseract-master/1MyData/fas/fas.training_text
>  --linedata_only \
>   --noextract_font_properties --langdata_dir
> /home/kddlab/Desktop/tesseract-master/langdata \
>   --tessdata_dir /home/kddlab/Desktop/tesseract-master/tessdata \
>   --fontlist "B Mitra" --output_dir
> /home/kddlab/Desktop/tesseract-master/1MyData/testfas
>
> And i have config file:
> # Use LSTM
> tessedit_ocr_engine_mode 1
> tessedit_pageseg_mode 6
>
> How can i solve this?
>
> --
> 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-ocr+unsubscr...@googlegroups.com.
> To post to this group, send email to tesseract-ocr@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/a692d903-34be-4a51-99c5-11ed34bb6cef%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/a692d903-34be-4a51-99c5-11ed34bb6cef%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@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/CAG2NduUnbCndb0zG2Ma40kkK4vua4-%3Dpa4SBfPbCegXSdf75ig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to