I tried to install openalpr in raspberry pi for identify plates. I already install leptonica-1.70 and tesseract-ocr. These directories are in /home/pi. This is I tried tutorial video. When I try to run openalpr by using alpr -c us filename.jpg for identify plate, then i get this error massage.
Warning: You are running an unsupported version of Tesseract.
Expecting at least 3.03, your version is: 3.02.02
Error opening data file /usr/local/share/tessdata/lus.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Failed loading language 'lus' Tesseract couldn't load any languages! Segmentation fault
I edited CMakeLists.txt file as shown below. This CMakeLists.txt is in /home/pi/openalpr/src derectory.
How to solve this problem? When /usr/local/shere derectory there is no tessdata folder but tessdata folder have in /home/pi/tesseract-ocr folder but there is no lus.traineddata file.