Detect License Plate Python
This product uses the ALPR open source package to detect the license plate and track the plate number. The moving vehicle is tracked & segmented from the background to narrow down the search region of ALPR. The code is written in python and easy to use in windows & Linux but tested with windows only. This repository contains: python code; input video. To detect an object in an image we first study its general characteristics and how it is different from other objects within the image, general characteristics of a plate number include and not.
OpenALPR is an open source Automatic License Plate Recognition library written in C++ with bindings in C#, Java, Node.js, Go, and Python. The library analyzes images and video streams to identify license plates. The output is the text representation of any license plate characters.
Check out a live online demo here: http://www.openalpr.com/demo-image.html
Jun 29, 2018 License Plate detection can be challenging because of various fonts and combination of number and alphabets used in it. To solve this we used OCR (Optical Ch. Skip navigation.
User Guide
OpenALPR includes a command line utility. Simply typing 'alpr [image file path]' is enough to get started recognizing license plate images.
For example, the following output is created by analyzing this image:
Detailed command line usage:
Binaries
Pre-compiled Windows binaries can be downloaded on the releases page
Install OpenALPR on Ubuntu 16.04 with the following commands:
Documentation
Detailed documentation is available at doc.openalpr.com
Integrating the Library
OpenALPR is written in C++ and has bindings in C#, Python, Node.js, Go, and Java. Please see this guide for examples showing how to run OpenALPR in your application: http://doc.openalpr.com/bindings.html
Compiling
OpenALPR compiles and runs on Linux, Mac OSX and Windows.
Detect License Plate Python File
OpenALPR requires the following additional libraries:
After cloning this GitHub repository, you should download and extract Tesseract and OpenCV source code into their own directories. Compile both libraries.
Please follow these detailed compilation guides for your respective operating system:
Python License Cost
If all went well, there should be an executable named alpr along with libopenalpr-static.a and libopenalpr.so that can be linked into your project.
Docker
Questions
Please post questions or comments to the Google group list: https://groups.google.com/forum/#!forum/openalpr
Contributions
Improvements to the OpenALPR library are always welcome. Please review the OpenALPR design description and get started.
Code contributions are not the only way to help out. Do you have a large library of license plate images? If so, please upload your data to the anonymous FTP located at upload.openalpr.com. Call of pripyat strider. Do you have time to 'tag' plate images in an input image or help in other ways? Please let everyone know by posting a note in the forum.
License
Affero GPLv3http://www.gnu.org/licenses/agpl-3.0.html
Commercial-friendly licensing available. Contact: info@openalpr.com