-
Notifications
You must be signed in to change notification settings - Fork 107
Description
I have properly installed my tesseract-ocr and directed it where it installed using absolute path. When I run the train.py it returns this error.
Two-Letter Country Code to Train: gb
Processing: ./gb/input/luk.uk.exp0.box
Executing: /home/nigel/tesseract-ocr/tesseract -l eng ./gb/input/luk.uk.exp0.tif luk.uk.exp0 nobatch box.train.stderr
sh: 1: /home/nigel/tesseract-ocr/tesseract: not found
mv: cannot stat './luk.uk.exp0.tr': No such file or directory
mv: cannot stat './luk.uk.exp0.txt': No such file or directory
sh: 1: /home/nigel/tesseract-ocr/training/unicharset_extractor: not found
Executing: /home/nigel/tesseract-ocr/training/mftraining -F ./tmp/font_properties -U unicharset -O ./tmp/lgb.unicharset ./tmp/*.tr
sh: 1: /home/nigel/tesseract-ocr/training/mftraining: not found
rm: cannot remove './unicharset': No such file or directory
mv: cannot stat './tmp/lgb.unicharset': No such file or directory
cp: cannot stat './gb/input/unicharambigs': No such file or directory
sh: 1: /home/nigel/tesseract-ocr/training/cntraining: not found
mv: cannot stat './shapetable': No such file or directory
mv: cannot stat './pffmtable': No such file or directory
mv: cannot stat './inttemp': No such file or directory
mv: cannot stat './normproto': No such file or directory
sh: 1: /home/nigel/tesseract-ocr/training/combine_tessdata: not found
mv: cannot stat './lgb.unicharset': No such file or directory
mv: cannot stat './lgb.shapetable': No such file or directory
mv: cannot stat './lgb.pffmtable': No such file or directory
mv: cannot stat './lgb.inttemp': No such file or directory
mv: cannot stat './lgb.normproto': No such file or directory
mv: cannot stat './lgb.unicharambigs': No such file or directory
This is my current directory. /home/nigel/train/train-ocr
My tesseract-ocr installed on /home/nigel/tesseract-ocr
this is my code in train.py TESSERACT_DIR='/home/nigel/tesseract-ocr/src'
Please help me with this.