• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 2 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Automatic number plate recognition using tech: Yolo, OCR, Scene text detection, scene text recognation, flask, torch

Automatic Number Plate Recognition

dataset-cover

Automatic Number Plate Recognition (ANPR) is the process of reading the characters on the plate with various optical character recognition (OCR) methods by separating the plate region on the vehicle image obtained from automatic plate recognition.

Table of Content

What will you learn this project

  • Custom Object Detection
  • Scene Text Detection
  • Scene Text Recognation
  • Optic Character Recognation
  • EasyOCR, PaddleOCR
  • Database,CSV format
  • Applying project in Real Time
  • Flask

Dataset

The dataset I use for license plate detection:

https://www.kaggle.com/datasets/andrewmvd/car-plate-detection

Installation

Clone repo and install requirements.txt in a Python>=3.7.0 environment.

git clone https://github.com/mftnakrsu/Automatic-number-plate-recognition-YOLO-OCR.git  # clone
cd Automatic-number-plate-recognition-YOLO-OCR
pip install -r requirements.txt  # install

Usage

After the req libraries are installed, you can run the project by main.py.

python main.py

Project architecture

The pipeline in the project is as follows:

images

  • Custom object detection with plate extraction using yolov5
  • Apply the extracted plate to EasyOCR and PaddleOCR
  • Get plate text
  • Filter text
  • Write Database and CSV format
  • Upload to Flask

Some Result

  • As you can see, first step is detect the plate with using Yolov5.

images

  • After detect plate, apply the ocr. Paddle ocr Easy ocr for recognizing plate.

images

  • Then write csv or database, when put it all in one.

images

  • The last step is Flask :) Actually, I didn't have time to integrate all the code in Flask. I just uploaded the yolov5 part. If you do, don't forget to pull request :)

images

Similar work

A streamlit based implementation of Automatic Number Plate Recognition for cars and other vehicles using images or live camera feed.

Animation live feed demo

The entire code for the webapp can be found here.

Source

Licence

MIT

To Do

  • use fcaykon pip yolo instead of hardcoded yolo files
  • hugging face

More Repositories

1

Comparison-of-OCR

Comparison-of-OCR (KerasOCR, PyTesseract,EasyOCR)
Python
54
star
2

Tf2-ObjectDetectionAPI

Tensorflow 2 Object Detection API kurulumu, GPU desteği, custom model hazırlama, label map oluşturma
Python
49
star
3

DeepDream

Generative deep learning: DeepDream
Jupyter Notebook
24
star
4

AutonomousRobots-Kalman-Filter

AutonomousRobots Series
Python
23
star
5

ObjectDetection-w-opencv

Object detection and tracking projects
Python
15
star
6

paper_summary_makale_ozetleri

Akademik çalışma için okuduğum makalenin özetleri
15
star
7

Machine-Learning-Algorithm

Regression and classification algorithms
Jupyter Notebook
15
star
8

cats-and-dogs-CNN-v2

Francois Challot cats and dogs project
Jupyter Notebook
11
star
9

ImageProcessing-with-openCV

Image processing with openCV
Python
11
star
10

SQL-Documentation

SQL notes
9
star
11

water-quality-EDA-prediction

Jupyter Notebook
8
star
12

basic-tutorial-on-pytorch

basic tutorial on pytorch
Python
7
star
13

umakit_object

Feature detectors, feature matching , orb, cascade classifier and custom cascade classifier.
Jupyter Notebook
7
star
14

reinforcement-learning

Jupyter Notebook
6
star
15

cats-and-dogs-CNN-v1

cats and dogs CNN v1
Jupyter Notebook
6
star
16

YOLOR_fire_detection

fire detection with yoloR
6
star
17

CIFAR100-CNN-PyTorch

inzva Applied AI Study Group #5 - August 2021 Homework-1
Jupyter Notebook
6
star
18

data_structures_algorithms

Python data_structures_algorithms working codes
Python
6
star
19

vehicle_counter

DOGUKAN GÖNCÜ codes
Python
6
star
20

Fundamentals-of-Deep-Learning

Nvidia "Fundamentals of Deep Learning" Workshop codes
Jupyter Notebook
6
star
21

kanbanCards_textDetection_recognition_ocr

Kanban Cards Text detection and recognation
Python
5
star
22

transferLearning

I classify it as 'bo' or 'not bo' using Transfer Learning.
Jupyter Notebook
5
star
23

basic-GUI-pyqt5

basic gui w/ pyqt5 and designer
Python
5
star
24

mftnakrsu

4
star
25

Multiple-PDF-Chat-Application

Multiple PDF Chat Application
Python
3
star
26

autonomous-movement-using-lidar-data

autonomous movement using lidar data
Python
3
star
27

genAI_application_gradio

Generative AI Applications
Jupyter Notebook
2
star
28

RPA-7-Masterworks-Robots

This GitHub repository offers 7 effective automation solutions, encompassing UIPATH RPA robots
2
star
29

dataops-demo

dataops-demo repo
Jupyter Notebook
1
star
30

autonomous-cars-localization

autonomous cars localization codes
Python
1
star
31

apache_pig_examples

PigLatin
1
star
32

CLTV_customer-lifetime-value-analysis

CLTV_customer-lifetime-value-analysis
Python
1
star
33

CRM-RFM-Analysis

CRM-RFM-Analysis
Python
1
star