Video support



I’m trying to use alpr using a video, and not sure how to go ahead with it. I have read the documentation which states to run the script ./alpr_video, but I cannot find that script in the git repo or anyhwere else. Is there any set of instructions to follow?

Thank you !


What version of Ubuntu and CPU architecture are you running? I can send you the manual commands to install


I’m running the latest Ubuntu (18.04) and ryzen 1700. Nvidia Gtx 970 if it matters as well.
Thank you


The default installer sets up a link to our repo, installs software, and removes our repo. This is to prevent people from accidentally upgrading our software. However, you can always run the commands manually. Here’s the commands you can use to pull the openalpr-video binary:

curl -L | sudo apt-key add -
echo 'deb bionic main' | sudo tee /etc/apt/sources.list.d/openalpr.list
sudo apt-get update && sudo apt-get install -y openalpr-video
sudo rm /etc/apt/sources.list.d/openalpr.list

After installing, there will be an alprvideocli command and an alprvideogui command. They both accept a video file or a batch of images, process them, and output a CSV file and SQLite file containing all the plates that were found.



Thank you very much for the prompt reply. I’m just a bit confused at the moment, do I need a special licence in order to be able to use the alprvideocli ? As when I’m running the command I’m getting the following error

alprvideocli --output_dir ~/Desktop/videos/ 181003_162140_709.avi 
frame count 6877
Video is 6877 total frames
No licenses found
Error, could not load video file

The video is 3 min and 50s long, 1920x1080, 30 fps and it occupied 435 MB

Is there a step that I am missing ?


You can grab an eval license here:

That key should be applied in /etc/openalpr/license.conf