C
C
czacpzay2018-08-08 23:06:30
linux
czacpzay, 2018-08-08 23:06:30

How to install OpenALPR on Ubuntu 18.04?

I'm trying to install OpenALPR number recognition on a Laravel Homestead virtual machine (Ubuntu 18.04). Tried The Easiest Way first . Everything is installed, I'm trying to recognize:


Error opening data file /usr/share/openalpr/runtime_data/ocr/lus.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
Failed loading language 'lus'
Tesseract couldn't load any languages!
Segmentation fault (core dumped)

After going to the /usr/share/openalpr/runtime_data/ocr/ directory, I did not find the lus.traneddata file. But there was an ocr folder and the desired file was already there. I copied it from there to the directory up, tried to recognize it again, but this time:

--(!) Runtime directory '/usr/share/openalpr/runtime_data' is invalid. Missing OCR data for the country: 'us'!
Error loading OpenALPR
.
Then I tried The Easy Way . Everything compiled fine. But:
Segmentation fault (core dumped)

Please help

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question