Skip to content

iamdevdhanush/Number-Plate-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages