Coder Social home page Coder Social logo

license-plate-recognition's Introduction

License plate recognition

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Python: This project requires Python to be installed. If you don't have Python installed, download and install it from python.org.

  • OpenCV (cv2): OpenCV is used for image processing. After installing Python, you can install OpenCV by running pip install opencv-python in your terminal.

  • NumPy: NumPy is a library for numerical computations. Install it using pip install numpy.

  • Tesseract OCR: Tesseract is an optical character recognition engine. Install it by following the instructions on the Tesseract GitHub page.

Installation

To set up the project, follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory in your terminal.

Preparing Images

Before running the main script, ensure you do the following:

  1. Place your car images in the original-images folder.
  2. Run following command to apply salt and pepper noise to images and save noisy images in noisy-images folder.
python generate_noisy_images.py

Usage

To run the main script, use the following command in your terminal:

python main.py --char-transformation "erode"

Options for --char-transformation:

  • dilate: Apply dilation morphological operation to segmented characters.
  • erode: Apply erosion morphological operation.
  • none: No character transformation will be applied.

Adjust the --char-transformation argument based on your requirement.

license-plate-recognition's People

Contributors

queeenaya avatar

Watchers

Nurtau Toganbay avatar

Forkers

queeenaya

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.