Automatic Number Plate Recognition (ANPR) is a cutting-edge system employing specialized cameras and optical character recognition (OCR) software to automatically capture, interpret, and record license plate information from vehicles.
This repository contains a simple Automatic Number Plate Recognition (ANPR) pipeline using Python. Follow the steps below to get started:
Install the required dependencies by running the following command:
python3 -m pip install -r requirements.txt
Place your desired input video in the project directory. Ensure it is named "sample.mp4". You can use a video of your choice but remember to rename it as "sample.mp4."
Execute the main ANPR script by running:
python main.py
This script will process the video and extract license plate information.
To add any missing or additional data to the recognized license plates, run the following command:
python add_missing_data.py
To visualize the ANPR results, run the following script:
python visualize.py
This script will display the annotated video with recognized license plates.
The processed video with annotated license plates will be saved as "out.mp4" in the project directory.
Feel free to explore the code and adapt it to your specific needs. Enjoy using this ANPR pipeline!