Skip to content

IShamss/Arabic-ALPD

Repository files navigation

Arabic License Plate Detector

view

📝 Table of Contents

📙 Description

This projects simulates a smart city's gate to facilitate residents and visitors access using license plate detection. This process is done in three phases. First is localisation, where we get a cropped image of the plate only. Next is segmentation, Where each character is split apart from the other to aperient the character recognition phase. Finally, Character recognition, This phase results in the license plate's characters in the form of string in which you are granted access or not based upon.

Localisation

Segmentation

Recognition

A KNN model is trained on recognizing Arabic Chracters and numbers using segmented characters images. The trained model takes segmented characters as input then outputs the plate's string.



📷Applications Demo

  • Front App

The front app is used to simulate the smart city's gate, You must have a folder containing cars images with Egyptian license plates. Put the folder's path in Images Folder and the result will look like this.



  • Labeling Tool

This tool is used to increase accuracy and help with character labeling, Where you can click on "Incorrect Answer" if the result is incorrect and you'll get the accuracy percentage at the end. You can either choose save or skip, if you click save, an image of each character will be saved in a folder with a number according to its position in arabic alphabet. If a character is wrong you can modify it using the drop down menu, and save it for further improvements.



  • Streaming App

The streaming app allows you to stream a live feed from your mobile phone remotely using IP broadcast. Once you capture an image it goes through the pipeline.

🏁 Getting Started

Prerequisite

  1. Install Python
  2. Install packages in requirements.txt using pip
  3. Any Python IDE

Installation

  1. Clone the repository
$ git clone https://github.com/IShamss/Arabic-ALPD.git
  1. Right click on the folder and open it with the IDE

Running Applications

Install Packages

pip install requirments.txt

Front App

python FrontApp.py

Labeling Tool

python LabelingApp.py

Streaming App

python Streaming.py

Contributors

Omar Reyad
Omar Riad
Yehia Ragab
Yehia Ragab
Muhammed Shams
Muhammed Shams
Ziad Sherif
Ziad Sherif
Ahmed Ashraf
Ahmed Ashraf

Ziad Khaled

License

This software is licensed under MIT License, See License for more information @OmarRiad.

About

Arabic Automatic Licence Plate Detector

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published