Skip to content

This is a college project for Image Processing Course, its aim is to recognize Egyptian car plate and to decide if the car will pass the gate or not based on plates database.

License

Notifications You must be signed in to change notification settings

hebaashraf21/License-Plate-Recognition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License plate recognition

alt text


Description

Our project is Gate Access Aontroller: A gate is open for specific cars based on their plate number, by capturing photographic images from license plates and transform the optical data into digital information and take a decision.


Diagram


Detailed Flow-Chart

  • Take input (image or video).
  • Applying Edge Detection.
  • Binarization.
  • Filteration and Extraction.
  • Check whether there is any License Plate or not
  • If Yes: do morphological processing, if No: take new input
  • License Plate Recognition and compare with database
  • If License Plate matched open the gate if not do nothing


Image processing Algorithms applied

  • Thresholding
  • Segmentation
  • Smoothing
  • Morphological operations

    • Dilation
    • Erosion
    • Opening
    • Closing
  • Template matching

Build With :


Getting Started

This is an list of needed instructions to set up your project locally, to get a local copy up and running follow these instructuins.

Installation

  1. Clone the repository
    $ git clone git@github.com:MoazHassan2022/License-Plate-Recognition.git
  2. Navigate to repository directory
    $ cd License-Plate-Recognition/
  3. Install dependencies
    $ pip install numpy
    $ pip install PyQt5
    $ pip install opencv-python
    $ python -m pip install -U scikit-image
    $ pip install imutils
    $ python -m pip install -U matplotlib

Running The GUI

  • Open IDE that supports python(recommended: Pycharm)
  • Do not forget to install the required packgaes & libraries
  • Run the application.py

Running From Jupyter

  • Open the terminal and the following code
    $ cd Jupyter && jupyter notebook

Editing Design

  1. Install QT tools
    $pip install pyqt5-tools
  2. Start the designer
    $designer

EXPERIMENT RESULTS AND ANALYSIS

  • Results and analysis regarding the plate detection

    We managed to detect the plate from 62 images out of 66 images
    success rate =94%.
  • Results and analysis regarding characters recognition

    37 error images from 80 images
    The success rate = 53.75%.
  • Overall results

    The success rate = 43.54%.

Screenshots

  1. Program Interface

  2. Select image

  3. After Select

  4. Characters Recognition

  5. Accepted Car

  6. Another Car

  7. Characters Recognition

  8. Rejected Car (Do not have access regarding to the database)

About

This is a college project for Image Processing Course, its aim is to recognize Egyptian car plate and to decide if the car will pass the gate or not based on plates database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.7%
  • Python 0.3%