How To Install openalpr-utils on Debian 10

Learn how to install openalpr-utils on Debian 10 with this tutorial. openalpr-utils is Utilities for the OpenALPR library

Introduction

In this tutorial we learn how to install openalpr-utils on Debian 10.

What is openalpr-utils

openalpr-utils is:

OpenALPR is an open source Automatic License Plate Recognition library written in C++. The library analyzes images and identifies license plates. The output is the text representation of any license plate characters found in the image.

The OpenALPR utils package contains a collection of binaries that help with training new data. The following binaries are included:

openalpr-utils-calibrate - Calibrates the software for cameras capturing plate images at an angle

openalpr-utils-benchmark - Benchmarks accuracy/speed against a testing dataset

openalpr-utils-tagplates - Utility to tag the location and plate number for testing and training

openalpr-utils-classifychars - Extracts character images from cropped plate images for OCR training

openalpr-utils-prepcharsfortraining - Reformates character images into a format that Tesseract can use for OCR training

There are three methods to install openalpr-utils on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install openalpr-utils Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install openalpr-utils using apt-get by running the following command:

sudo apt-get -y install openalpr-utils

Install openalpr-utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openalpr-utils using apt by running the following command:

sudo apt -y install openalpr-utils

Install openalpr-utils Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install openalpr-utils using aptitude by running the following command:

sudo aptitude -y install openalpr-utils

How To Uninstall openalpr-utils on Debian 10

To uninstall only the openalpr-utils package we can use the following command:

sudo apt-get remove openalpr-utils

Uninstall openalpr-utils And Its Dependencies

To uninstall openalpr-utils and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove openalpr-utils

Remove openalpr-utils Configurations and Data

To remove openalpr-utils configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge openalpr-utils

Remove openalpr-utils configuration, data, and all of its dependencies

We can use the following command to remove openalpr-utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge openalpr-utils

Dependencies

openalpr-utils have the following dependencies:

References

Summary

In this tutorial we learn how to install openalpr-utils package on Debian 10 using different package management tools: apt, apt-get and aptitude.