Hi
I'm working on Persian OCR on alpr,
I made fas.conf and put that in this directory:
/usr/local/share/openalpr/runtime_data/config/
then add TESSDATA_PREFIX to enviroment path:
export TESSDATA_PREFIX=/home/pi/openalpr/libraries/tesseract-master/tessdata-master
and when I typed the following command:
openalpr-utils-classifychars fas ./irplate/ ./output-image/
I got this error:
--(!) Runtime directory '/usr/local/share/openalpr/runtime_data' is invalid. Missing OCR data for the country: 'fas'!
Error opening data file /usr/local/share/openalpr/runtime_data/ocr/tessdata/fas.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Failed loading language 'fas'
Tesseract couldn't load any languages!
I got both tif file and box file, but now where should I put them?
How about XMLs?
guess I've kind of lost,I'd appreciate some help
I've read this document:
https://github.com/openalpr/train-ocrbut it did not help
Thanks