Giter VIP home page Giter VIP logo

licence-plate-recoginition-system's Introduction

Licence-plate-recoginition-system

This project is a License Plate Recognition system that uses computer vision and machine learning techniques to detect and read license plates from images or video streams.

Project Overview

The project consists of two main components:

  1. License Plate Detection: Uses a pre-trained Haar cascade classifier to detect license plates in an image or video stream.
  2. Optical Character Recognition (OCR): Recognizes text from the detected license plates using OCR techniques.

Files and Directories

  • LicencePlateRecognition.py: A script that uses OpenCV to capture video from the webcam, detect license plates, and save the detected region of interest (ROI) as an image.
  • ocr.ipynb: A Jupyter notebook that contains code for performing OCR on the detected license plates.
  • model/haarcascade_russian_plate_number.xml: A Haar cascade XML file used for detecting license plates.
  • plates/: A directory where images of detected license plates are saved.

Prerequisites

  • Python 3.x
  • OpenCV
  • NumPy
  • Jupyter Notebook
  • pytesseract (for OCR)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/LicensePlateRecognition.git
    cd LicensePlateRecognition
    
    

Usage

License Plate Detection

  1. Ensure the Haar cascade XML file is in the model/ directory.

  2. Run the LicencePlateRecognition.py script to start the webcam and detect license plates:

    python LicencePlateRecognition.py
    
  3. Press 's' to save the detected license plate region as an image in the plates/ directory.

OCR

  1. Open the ocr.ipynb notebook using Jupyter Notebook:

    jupyter notebook ocr.ipynb
    
  2. Run the cells in the notebook to perform OCR on the detected license plate images.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

This complete Markdown file is ready to be used as `README.md` on GitHub. It includes headings, lists, and code blocks, all properly formatted for Markdown. Let me know if you need any further adjustments!

licence-plate-recoginition-system's People

Contributors

avishri99 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.