--linedata_only should work. > tesseract 4.0.0-beta.1
Do you know which commit? Please try with latest code. > i am using src/training/tesstrain.sh The command you used was: > sudo tesstrain.sh Why do you need sudo? Please run the script with bash -x src/training/tesstrain.sh etc ... and report with the console log. ShreeDevi ____________________________________________________________ भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Sat, Jun 9, 2018 at 11:57 AM Zohreh Khosrobeygi <[email protected]> wrote: > Yes, i am using src/training/tesstrain.sh > > > On Friday, June 8, 2018 at 6:44:27 PM UTC+4:30, shree wrote: >> >> 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 <[email protected]> >> 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 [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/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 [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/caf0b092-1a2c-4e73-9171-16678495af51%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/caf0b092-1a2c-4e73-9171-16678495af51%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 [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/CAG2NduWUNUQGwuRfmQ5EsdewAcvBjxOEzKcTrBqYmrSynHuoWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

