Re: [tesseract-ocr] Train Tesseract 4.0 on Windows 8

2018-04-20 Thread crytoy
divana@divana-pc MINGW64 ~/Desktop/train bash ./tesstrain.sh --fonts_dir ./fonts --lang eng --linedata_only --training_ text ./txt/english.txt --noextract_font_properties --langdata_dir ./langdata -- tessdata_dir ./tessdata --fontlist "Arial," ./tesstrain_utils.sh: line 106: test: =: unary

Re: [tesseract-ocr] Train Tesseract 4.0 on Windows 8

2018-04-20 Thread crytoy
bash ./tesstrain.sh --fonts_dir ./fonts --lang eng --linedata_only --training_ text ./txt/english.txt --noextract_font_properties --langdata_dir ./langdata -- tessdata_dir ./tessdata --fontlist "Arial," --output_dir ./out ./tesstrain_utils.sh: line 106: test: =: unary operator expected

Re: [tesseract-ocr] Train Tesseract 4.0 on Windows 8

2018-04-19 Thread ShreeDevi Kumar
tesstrain.sh is a bashshell script. You don't need python for it. try the following: (give the correct path) bash ./tesstrain.sh ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Thu, Apr 19, 2018 at 8:01 PM,

[tesseract-ocr] Train Tesseract 4.0 on Windows 8

2018-04-19 Thread crytoy
I have installed the lastest tesseract 4.0 binary from UB Mannheim, along with python, Git & Java on my Windows 8 64bit. I am trying to run the "tesstrain.sh" script, but an erro message appears, any help?