- Table of Contents
- About The Project
- Built With
- Getting Started
- Usage
- Product Screenshot
- Roadmap
- Contributing
- License
- Contact
ALPR for India detects license plates from images of vehicles and converts license plate numbers to strings. This can be used by law enforcement vehicles to scan, in real time, vehicle insurance expiry, pollution check certificate validation, and possible blacklisted vehicles on road
The model was trained using YoloV4 on 2000 car images from Google Open Image Dataset
I used the OIDv4 Tool Kit to fetch the images along with thier labels.
This application is targetted for windows and will work on other operating systems with some slight modifications. You will need:
- Python (>=3.6)
- OpenCV(>=4.0)
- pyTesseract (installed in "C:\Program Files\Tesseract-OCR\tesseract.exe")
To get a local copy up and running follow these simple example steps.
- Make sure you have python3 setup on your system
- Clone the repo
git clone https://github.com/radioactive11/ALPR-India
- Install requirements
pip install -r requirements.txt
-
Save test images to
data/plates/
-
Open terminal and enter
python3 plates.py
- Cropped images will be saved in
cropped/
- Open terminal and enter
python3 ocr.py
- Press any key to move on to the next image
This application can be used to
-
search for stolen cars
-
check if vehicle on road has insuarance
-
check if vehicle has active & valid pollution certificate
-
check if vehicle is blacklisted
-
retrieve owner name & contact information in case of accident
All these features are possible if we search the License Plate Number in the database on vahaan.nic.in
Part 1: Cropping license plates from the entire image
Part 2: Using OCR to read the cropped license plates
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Arijit Roy - @this_is_radioactive11
Project Link: https://github.com/radioactive11/ALPR-India
Made with 💙 for India