Package: openalpr Version: 2.3.0-1.1 Forwarded: https://github.com/openalpr/openalpr/issues/641
Hi. I was just testing alpr on a Raspberry Pi 2, and got this error: % alpr -c eu webcam Error opening data file /usr/share/openalpr/runtime_data/ocr/leu.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language 'leu' Tesseract couldn't load any languages! ^C % ls /usr/share/openalpr/runtime_data/ocr/ tessdata % ls /usr/share/openalpr/runtime_data/ocr/tessdata/ lau.traineddata lgb.traineddata lkr2.traineddata lus.traineddata leu.traineddata lkr.traineddata lsg.traineddata % Is the hardcoded path to leu.traineddata wrong in the binary? The problem seem to be similar to the one reported in <URL: https://github.com/openalpr/openalpr/issues/641 >. I was able to work around it by adding symlinks: root@rpi2-buster:/usr/share/openalpr/runtime_data/ocr# ls tessdata root@rpi2-buster:/usr/share/openalpr/runtime_data/ocr# ln -s tessdata/* . root@rpi2-buster:/usr/share/openalpr/runtime_data/ocr# -- Happy hacking Petter Reinholdtsen

