README.md

Automatic License Plate Recognition API

Accurate, fast and easy to use API for license plate recognition. Trained on data from over 100 countries and regions around the world. The core of our license plate detection system is based on state of the art deep neural networks architectures.

Integrate with our ALPR API in a few lines of code. Get an easy to use JSON response with the number plate value of vehicles and the bounding boxes.

Getting started

Get your API key from Plate recognizer. Replace MY_API_KEY with your API key and run the following command:

Batch mode

You can also run the license plate reader on many files at once. To run the script on all the images of a directory, use:

python plate_recognition.py --api MY_API_KEY "/path/to/car-*.jpg"

Number plate recognition on a video

To do ANPR on videos, you will also need to install OpenCV. Here are the installation instructions. Those 2 python packages are also needed:

pip install requests
pip install pillow

The script alpr_video.py lets you perform license plate recognition on a video file. It looks at each frame of the video and reads license plates. If you are only interested in one part of the video, you may use the --start and --end arguments. Additionally, you can use the --skip argument to read 1 in every N frames. It will speed up the analysis of large videos. Here's an example: