Open ghpass opened 8 years ago
The path in the train.py is modified as follows: TESSERACT_DIR='/usr/local/share/tessdata' TESSERACT_BIN='/usr/local/bin/tesseract' TESSERACT_TRAINDIR='/data/tesseract-3.04.00/training'
hi @ghpass have you got any lock on chinese plate?
Any luck with this? can you help me with his, I installed it in local directory. @ghpass @lichenguang302
I use TTF training on linux server to training chinese plates. The lcn.china.exp0.box and lcn.china.exp0.tif are copied under the directory: train-ocr/cn/input
The I run the train.py (path: train-ocr/). Error happens: Generated training data for 9 words Warning in pixReadMemTiff: tiff page 1 not found sh: /data/tesseract-3.04.00/training/unicharset_extractor: No such file or directory Executing: /data/tesseract-3.04.00/training/mftraining -F ./tmp/font_properties -U unicharset -O ./tmp/lcn.unicharset ./tmp/*.tr sh: /data/tesseract-3.04.00/training/mftraining: No such file or directory rm: cannot remove
./unicharset': No such file or directory mv: cannot stat
./tmp/lcn.unicharset': No such file or directory cp: cannot stat./cn/input/unicharambigs': No such file or directory sh: /data/tesseract-3.04.00/training/cntraining: No such file or directory 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: /data/tesseract-3.04.00/training/combine_tessdata: No such file or directory mv: cannot stat
./lcn.unicharset': No such file or directory mv: cannot stat./lcn.shapetable': No such file or directory mv: cannot stat
./lcn.pffmtable': No such file or directory mv: cannot stat./lcn.inttemp': No such file or directory mv: cannot stat
./lcn.normproto': No such file or directory mv: cannot stat `./lcn.unicharambigs': No such file or directory