Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
d5584410bd
Update config
1 year ago
326e35da95
Add files via upload
2 years ago
2 years ago
cee285334b
darknet
2 years ago
d00ac8ea57
Create Truck_0022.jpg
2 years ago
694d18f11b
Add files via upload
2 years ago
6db1b209af
convert_tflite
2 years ago
d810bd24d8
Create extract_frames.py
2 years ago
8da6eeb1f3
Initialized dvc
1 year ago
8da6eeb1f3
Initialized dvc
1 year ago
b8e5b89d79
Update README.md
1 year ago
8da6eeb1f3
Initialized dvc
1 year ago
932e95911b
Update prediction_result.csv
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
Storage Buckets
Data Pipeline
Legend
DVC Managed File
Git Managed File
Metric
Stage File
External File

README.md

You have to be logged in to leave a comment. Sign In

Vehicle and License Plate Recognition with Novel Dataset for Toll Collection

This repository is the implementation of Vehicle and License Plate Recognition with Novel Dataset for Toll Collection (VT-LPR).

Introduction

Tolling efficiency in manual toll collection system is low and time consuming, which results in delayed traffic and long queue of vehicles. This also requires human effort and resources.

Toll collection process is automated in some countries by installing sensors and Radio Frequency Identification (RFID) based system, but this comes with an additional cost of installing such systems. Utilizing the already installed cameras for survillence purposes, we automate the toll collection process by recognizing vehicle type and license plate from the image taken by the cameras. We gather a Novel Vehicle type and License Plate Recognition Dataset called _Diverse Vehicle and License Plates Dataset (DVLPD)_ consisting of 10k images. We present an automated toll collection process which consists of three steps: Vehicle Type Recognition, License Plate Detection and Character Recognition. We train different state-of-the-art object detection models such as YOLO V2, YOLO V3, YOLO V4 and Faster RCNN. For the real-time application, we deploy our models on Raspberry Pi.

Requirements

  • Python>=3.6
  • Streamlit==1.0.0
  • PyQt5==5.15.4
  • PyQt5Designer==5.14.1
  • OpenCV==4.5.1.48
  • pillow
  • matplotlib
  • pandas
  • numpy
  • tensorflow
  • tflite

Note: These packages can be installed through Pip package installer. This code is tested with these versions.

Challenges

Image based vehicle type and license plate recognition include many challenges such as:

  • Intra-class variations
  • Background clutter
  • Non-uniform position
  • Multiple license plates
  • Non-uniform fonts
  • Partial occlusion
  • Damaged license plates
  • Lack of license plates

Methodology

Dataset

We divide the Vehicle type and license plate recognition task into three steps: Vehicle type recognition, License plate localization and License plate character recognition. So we prepared three dataset named: preprocessed dataset for Vehicle type recognition, lp-detect dataset for license plate location and lp-read dataset for license plate character recognition. As we're training separate model for each task, all the vehicle images are annotated accordingly as shown below.

Framework

The proposed framework is aim to automatically collect toll amount by end-to-end image-based vehicle type and license plate recognition. Input to the model is an image and the outputs are recognized vehicle type and license plate character. When an image is fed to the first network called VT-Net, it recognize the vehicle type and crop the detection results. The cropped image is then fed to the secong network called LP-Net, which localize and crop the license plate. Finally, the last model called CR-Net is applied on the cropped license plate image to recognize the characters in the license plate.

Results

Test

  1. Download and extract trained model weights from Google Drive.
https://drive.google.com/file/d/1nGe7kQaKwKzzrvPYSd41ScuSuj2D33-C/view?usp=sharing
  1. Clone this repository
!git clone https://github.com/usama-x930/VT-LPR.git
  1. Put model weights in the downloaded folder.
  2. Run the Streamlit code file using:
streamlit run streamlit_code.py
  1. Run PyQt5 GUI using this command.
python vt_lpr_gui.py

Single Image

Tip!

Press p or to see the previous file or, n or to see the next file

About

Automatic Toll Tax Collection With Vehicle Type And License Plate Recognition Using Deep Learning

Collaborators 1

Comments

Loading...