Git Product home page Git Product logo

automatic-number-plate-recognition's Introduction

Automatic Number Plate Recognition (ANPR) System

The Automatic Number Plate Recognition (ANPR) system is a Python-based application that employs OpenCV for locating and recognizing license plates in images.

Note:

This repository is currently in an incomplete state.While it provides a basic implementation of the ANPR system, there are several planned enhancements and features that are yet to be implemented. I'll be adding further files soon.

Overview

The ANPR system is divided into two main components:

  • Plate Localization:

    • This component identifies potential license plates within an input image using image preprocessing techniques and contour analysis.
  • Character Segmentation and Recognition:

    • This component extracts individual characters from the identified license plates and utilizes OCR (Optical Character Recognition) to recognize the characters.

Getting Started

Prerequisites

  • Python 3.x
  • OpenCV library
  • Tesseract OCR engine
  • pytesseract library

Installation

  1. Install Python dependencies:

    pip install opencv-python-headless pytesseract pillow
    
  2. Install Tesseract OCR:

Usage

  1. Place the input images in the input_images directory.

  2. Run the ANPR system:

    python anpr_system.py
    
    • The system will process each image in the input_images directory.
    • Detected plates and recognized characters will be displayed.

Customization

  • To adjust preprocessing techniques or algorithms, modify the following functions in anpr_system.py:

    • localize_plate: Customize the plate localization algorithm.
    • segment_characters: Adjust character segmentation techniques.
  • For training a custom OCR model, refer to the Tesseract documentation.

License

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

Acknowledgments

  • This project is based on the OpenCV and Tesseract OCR libraries, which are open-source and widely used in the computer vision community.

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.