This project is a simple Number Plate Detection system built using OpenCV and Python. It uses image processing techniques and a pre-trained Haar Cascade classifier to detect number plates in real-time from video streams or static images.
- Real-time number plate detection using webcam
- Uses OpenCV's Haar Cascade Classifier
- Highlights detected number plates with rectangles
- Can be extended for OCR (Optical Character Recognition)
- Python 3.x
- OpenCV
- Haar Cascade Classifier
Number-Plate-Detection/
β
βββ Numberplatedetection.py # Main script for plate detection
βββ haarcascade_russian_plate_number.xml # Haar Cascade model for number plates
βββ README.md # Project documentation
git clone https://github.com/iamdevdhanush/Number-Plate-Detection.git
cd Number-Plate-Detection- Install Requirements
pip install opencv-python- Run the Script
python Numberplatedetection.pyπ¦ Dependencies
opencv-python
You can install them using pip:
pip install -r requirements.txt
π Notes
Make sure you have the correct Haar Cascade XML file (haarcascade_russian_plate_number.xml).
This project is a basic implementation and doesn't perform OCR. You can extend it using pytesseract for extracting plate text.
π€ Future Improvements
Add OCR to extract text from number plates
Improve accuracy with deep learning-based detection (YOLO, SSD)
Support detection in images and video files
π License
This project is licensed under the MIT License.
πββοΈ Author
Dhanush
GitHub
