Skip to content

This project demonstrates the use of computer vision and optical character recognition (OCR) to detect and read vehicle number plates from images. Using **OpenCV** for image processing and **Tesseract OCR** for text recognition, this system can extract vehicle registration numbers from photos of cars.

Notifications You must be signed in to change notification settings

Krishethaa/Vehicle-Number-Plate-Recognition-using-OpenCV-and-OCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš— Vehicle Number Plate Recognition using OpenCV and OCR (Computer Vision)

This project demonstrates an automated system for vehicle number plate recognition using OpenCV for image processing and Tesseract OCR for text extraction. The system detects the number plate from vehicle images, extracts the number, and stores it along with the timestamp into a CSV file.


๐Ÿง  Project Overview

The core functionality of this project is to automatically process an image of a vehicle, detect the number plate, and read the registration number using Optical Character Recognition (OCR). The steps followed by the system are:

  1. Pre-processing: Resize and convert the image to grayscale to enhance processing.
  2. Edge Detection: Use Canny Edge Detection to detect significant edges in the image.
  3. Contour Detection: Find contours in the image, focusing on those that match the shape of a number plate (rectangular).
  4. OCR (Optical Character Recognition): Extract the text from the detected number plate using Tesseract OCR.
  5. Data Saving: Save the recognized number plate along with the timestamp to a CSV file.

๐Ÿš€ How to Use the Project

1. Install Dependencies

Before running the script, ensure you have the necessary Python libraries installed. You can install them via pip:

pip install opencv-python pytesseract imutils pandas

About

This project demonstrates the use of computer vision and optical character recognition (OCR) to detect and read vehicle number plates from images. Using **OpenCV** for image processing and **Tesseract OCR** for text recognition, this system can extract vehicle registration numbers from photos of cars.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages