Python Car Plate identification with OpenALPR
Car Plate identification with Python
OpenALPR is the open source vehicle plate recognition library. Opencv was developed with C++ using the image processing Library and the Tesseract OCR Library. It can give you information such as vehicle plate, color and brand-model. It’s a very successful library on American and European plates. It can be used via Web services via cloud and it can work offline because the source code is open. With the online service offered through the cloud, you can send your image via the Web service and get the car license plate and vehicle Information that has been OCR in JSON format. Platform independent library running on Windows, Linux, Mac and mobile platforms. What we are going to do is to download the source code and compile it if necessary to make it usable in our projects.
Web site: http://www.openalpr.com/
Document (Register): http://doc.openalpr.com/
Github (Source): https://github.com/openalpr/openalpr
Online Demo: http://www.openalpr.com/demo-image.html
OpenALPR Car Plate idenfitication
If you are developing a project on the Windows operating system and you are going to use it, you do not need to recompile the source code, if you want to interfere with the source code and make some changes. http://doc.openalpr.com/compiling.html#compiling-openalpr-via-build-script you can check his address.
Compiled primarily for Windows https://github.com/openalpr/openalpr/releases we’re downloading it from your address. When you download the current version, the required system libraries are located in the application’s working directory, and you go directly to the OpenALPR folder by opening the command line without doing anything, and alpr-c us samples/US-1.if you run the JPG command in the samples folder, the US-1 image of the plate will OCR according to us format, and you will be able to present your estimates as a percentage from the smallest to the smallest. If you are going to use it in your Java or Python projects, these folders are located in the same directory as the source code. For C#, if you download the source code for solution (.you will see the SLN file, you can compile it by opening it with Visual Studio.
Java source code to compile java_test.you can run the bat script so that you can compile with javac or create a new project and copy the classes in the Java folder to your project. You need to put the config and DLL files in the directory you have downloaded in order to need the system libraries at run time.
You can install Ubuntu or crack distributions as follows, or you can download the source code and compile it in accordance with the instructions in the documentation link above.
wget -O - http://deb.openalpr.com/openalpr.gpg.key | sudo apt-key add -
echo "deb openalpr main" | sudo tee /etc/apt/sources.list.d/openalpr.list
sudo apt-get update
sudo apt-get install openalpr openalpr-daemon openalpr-utils libopenalpr-dev