Closed jamesawyer closed 8 years ago
Hello friends,
I have some trouble about dealing with train.py . I have managed to install tesseract with https://github.com/tesseract-ocr/tesseract/wiki/Compiling But i don't understand one thing. In train.py `TESSERACT_DIR='..../tesseract'
os.environ["TESSDATA_PREFIX"] = TESSERACT_DIR
TESSERACT_BIN=TESSERACT_DIR + '/tesseract' TESSERACT_TRAINDIR= TESSERACT_DIR + '/training' ` In my tesseract folder there exist training but there isnt any teserract.
Thank you
I couldn't manage to train my dataset via train.py but with directly tesseract command i could. http://www.joyofdata.de/blog/a-guide-on-ocr-with-tesseract-3-03/ i used this tutorial if you're interested in.
Hello friends,
I have some trouble about dealing with train.py . I have managed to install tesseract with https://github.com/tesseract-ocr/tesseract/wiki/Compiling But i don't understand one thing. In train.py `TESSERACT_DIR='..../tesseract'
os.environ["TESSDATA_PREFIX"] = TESSERACT_DIR
os.system("export TESSDATA_PREFIX=" + TESSERACT_DIR)
TESSERACT_BIN=TESSERACT_DIR + '/tesseract' TESSERACT_TRAINDIR= TESSERACT_DIR + '/training' ` In my tesseract folder there exist training but there isnt any teserract.
Thank you