Skip to content

Latest commit

Β 

History

History
82 lines (50 loc) Β· 1.75 KB

File metadata and controls

82 lines (50 loc) Β· 1.75 KB

Number Plate Detection πŸš˜πŸ”

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.

πŸ“Έ Demo

Screenshot 2025-05-21 160620

🧠 Features

  • 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)

πŸ› οΈ Technologies Used

  • Python 3.x
  • OpenCV
  • Haar Cascade Classifier

πŸ“ Project Structure

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

πŸš€ How to Run

1. Clone the Repository

git clone https://github.com/iamdevdhanush/Number-Plate-Detection.git
cd Number-Plate-Detection
  1. Install Requirements
pip install opencv-python
  1. 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

Dhanush

GitHub