This project is a car license plate recognition system using advanced computer vision and deep learning technologies. The goal of the system is to detect and extract vehicle license plate numbers from images captured by CCTV cameras.
- Django: Web framework for server-side development.
- OpenCV: Image processing library to handle images.
- YOLO (You Only Look Once): Deep learning model for license plate detection.
- Tesseract OCR: Text recognition tool for reading license plate numbers.
- SQLite: Lightweight database to store data.
- HTML/CSS: For creating and styling web pages.
To run this project, follow these steps:
-
Clone the project repository:
git clone https://github.com/saeidsaadatigero/car_plate_recognition.git cd car_plate_recognition
-
Create and activate a Python virtual environment:
python3 -m venv .venv source .venv/bin/activate
-
Install the project dependencies:
pip install -r requirements.txt
-
Run the Django server:
python manage.py runserver
-
Access the web application at:
http://127.0.0.1:8000
- Navigate to the homepage and enter the IP address of the CCTV camera.
- Click the "Start Plate Recognition" button to initiate the plate detection and recognition process.
- The recognized license plate numbers will be displayed, and the plate images will be saved.
-
Download YOLO:
- Visit the official YOLO website.
- Download the
yolov3.weights
andyolov3.cfg
files.
git clone https://github.com/pjreddie/darknet cd darknet make wget https://pjreddie.com/media/files/yolov3.weights