11
A Fast Algorithm for License
Plate Detection (LPD(
Prof. Mohy E. Abou El-Soud, Dr. Mohamed Abdel-
Azim, and Eng. Amr E. Rashid
Faculty of Engineering- Mansoura University, Mansoura, Egypt
22
Outlines
 IntroductionIntroduction
 Motivations.Motivations.
 Constraints and Data CollectionConstraints and Data Collection
 Problem DefinitionProblem Definition
 Previous WorkPrevious Work
 The Proposed TechniqueThe Proposed Technique
 Results and ConclusionResults and Conclusion
 Future WorkFuture Work
33
Introduction
 Monitoring vehicles for law enforcement and
security purposes is a difficult problem because of
the number of automobiles on the road today.
 An example is this lies in border patrol:
 It is time consuming for an officer to physically check
the license plate of every car.
 Additionally, it is not feasible to employ a number of
police officers to act as full-time license plate inspectors.
 Police patrols cannot just drive in their cars staring
at the plates of other cars.
 There must exist a way for detecting and identifying
license plates without constant human intervention.
 As a solution, we have implemented a system that can
extract the license plate number of a vehicle from
an image given a set of constraints.
44
Introduction (Cont’d(
In any object recognition system, there are
two major problems that need to be solved
Detecting an object in a scene, and
Recognizing that object.
In our system, the quality of the license
plate detector (LPD) is doubly
important since the make and model
recognition (MMR) subsystem uses the
location of the license plate as a reference
point when querying the car database.
55
License Plate Recognition (LPR) may
also be referenced as:
Automatic Vehicle Identification (AVI).
Car Plate Recognition (CPR).
Automatic Number Plate Recognition
(ANPR).
Car Plate Reader (CPR)
Optical Character Recognition (OCR) for
Cars.
Introduction (Cont’d(
66
Motivations
This area is challenging because it requires
an integration of many computer vision
problem solvers, which include:
Object detection (LPD).
Character recognition (OCR).
LPR is very important in:
Private transport applications.
Monitoring vehicles for law enforcement and
security purposes is a difficult problem because
of the number of automobiles on the road today
77
WhatWhat’’s LPRs LPR??
License Plate Recognition:License Plate Recognition:
LPR is an image-processing based-LPR is an image-processing based-
technology used to identify vehiclestechnology used to identify vehicles
by their license plates.by their license plates.
This technology is used in variousThis technology is used in various
security and traffic applications.security and traffic applications.
88
Importance of LPR
99
 LPR is one of the most important types of
intelligent transport system and is of considerable
interest because of its potential applications to
many areas such as:
 highway electronic toll collection,
 traffic monitoring systems and
 ...
 The technology concept assumes that all vehicles
already have the identity displayed (the plate!) so
no additional transmitter or responder is
required to be installed on the car.
Technology HighlightsTechnology Highlights
1010
Problem DefinitionProblem Definition
License plates come in:
Different sizes,
Different Width-Height ratios,
Different color,
The fonts used for digits on license plates are not
the same for all license plates,
These problems, and the changing weather
conditions, are what make the field of LPR a
good candidate for testing Pattern Recognition
techniques.
1111
Constraints…
 Use a digital camera,
 Image of the vehicle taken with variable
angles,
 Image of the vehicle taken from fixed
distance (about 1-2 m),
 Vehicle is stationary when the image
was taken,
 Only Egyptian license plates will be
processed.
1212
Data collectionData collection
 All images of vehicles database were taken with a
benq digital camera, with three different
resolutions: (i) 3 M-Pixels, (ii) 4 M-Pixels, and (iii) 5
M-Pixels.
 On average, the images were taken (1-2m) away
from the vehicle.
 They were stored in color JPEG format on the
camera.
 The colored JPEG images were converted into gray
scale raw format on the PC.
 There 30 images dataset.
1313
Data Collection (ContData Collection (Cont’’dd((
Original Color Image
1414
Data Collection (ContData Collection (Cont’’dd((
Gray Scale Image
1515
Previous WorkPrevious Work
The current LPD techniques can be
classified into four main algorithms:
Corner template matching,
Hough transforms combined with
various histograms based methods,
color based filter, and
Vertical edge detection followed by
size and shape filtering
1616
Algorithm-1: Vertical Edge
Detection
Candidate selection:Candidate selection:
Histogram equalization,Histogram equalization,
Binarization,Binarization,
Sobel edge detection, andSobel edge detection, and
List possible licensesList possible licenses
For each candidate:For each candidate:
Localized histogram,Localized histogram,
Binarization, andBinarization, and
Elimination by 2-D correlationElimination by 2-D correlation
16
1717
Algorithm-2:Algorithm-2: Vertical Edge
Detection
This algorithm used a recognition
algorithm based on width to height ratio:
Vertical edge detection,
Size and shape filtering,
Vertical edge matching, and
Compute the Black to white ratio and then
perform plate extraction.
1818
Drawbacks
There are many problems in these two
algorithms:
Width to height ratio differs from a car to another
depending on the distance between the camera
and the car,
Small vertical edges will difficult the recognition
problem because it change the width between
edges,
When we use different view this will remove
desired vertical edges, and
There are many objects in the image achieves
equal width to height ratio
1919
Drawbacks (Cont’d)
2020
Algorithm-3: AdaBoost AlgorithmAlgorithm-3: AdaBoost Algorithm
 Since license plates contain a form of text, we
decided to face the detection task as a text
extraction problem.
 Window search over the entire frame.
 Use three different sized windows.
 Independent Classifier for Each Size
 Strong Classifier Constructed from Weak
 Classifiers Via AdaBoost algorithm .
 Computationally Simple.
 Draw backs: Regions contain character except
license plate.
2121
Drawbacks of AdaBoost Algorithm
2222
The Proposed Algorithm
 The proposed algorithm was divided into
four main parts:
 Histogram Equalization,
 Removal of Border and Background,
 Image Segmentation, and
 License Plate Detection.
2323
A. Histogram Equalization
Is an image transformation that computes
a histogram of every intensity level in a
given image and stretches it to obtain a
more sparse range of intensities.
This manipulation yields an image with
higher Contrast than the original.
2424
Original image
Remove
this
partition
Remove this
partition
2525
The Output Image of Histogram
Equalization
2626
B. Removal of Border and
Background
Sobel Vertical edges
2727
B. After Removing SmallB. After Removing Small
ElementsElements
2828
Sobel Horizontal Edges
2929
Horizontal Edges After Removing
Small Elements
3030
Car after removing border and
back ground
3131
C. Image Segmentation
Often the license plate will be in the lowerOften the license plate will be in the lower
half of the image so we will remove upperhalf of the image so we will remove upper
half of the image.half of the image.
3232
D. License Plate Detection
Feature extraction.Feature extraction.
Principal component analysis.Principal component analysis.
Artificial neural networks.Artificial neural networks.
3333
D.1 Feature Extraction
Feature extraction is the transformation of
the original data (using all variables) to a
dataset with a reduced number of
variables.
In the problem of feature selection, the aim
is to select those variables that contain the
most discriminatory information.
3434
D.1 Feature Extraction (Cont’d(
There are several reasons for performing
feature extraction:
To reduce the bandwidth of the input data.
To provide a relevant set of features for a
classifier.
To reduce redundancy.
To recover new meaningful underlying
variables or features that the data may easily be
viewed.
3535
D.1 Feature Extraction (Cont’d(
Wavelets have been demonstrated to give
quality representations of images.
This DWT representation can be thought of
as a form of “feature extraction” on the
original image
We will use Haar-like features, where sums
of pixel intensities are computed over
rectangular sub-windows.
3636
D.2 Principal component
analysis (PCA(
In some situations, the dimension of the
input vector is large, but the components of
the vectors are highly correlated
(redundant).
It is useful in this situation to reduce the
dimension of the input vectors.
An effective procedure for performing this
operation is PCA.
3737
D.3 Recognition Stage UsingD.3 Recognition Stage Using
ANNsANNs
3838
D.3 Recognition Stage UsingD.3 Recognition Stage Using
ANNsANNs
 Apply ANN with adaptive sub-window:Apply ANN with adaptive sub-window:
 See final outputSee final output
Second techniqueSecond technique
(A) Image enhancement(A) Image enhancement
(B) Removal of Border and Background(B) Removal of Border and Background
(C) Image Segmentation(C) Image Segmentation
(D) License Plate Detection using 2D(D) License Plate Detection using 2D
correlation.correlation.
3939
Data collectionData collection
4040
Data collectionData collection
4141
Image enhancement(Wiener filter outputImage enhancement(Wiener filter output((
4242
Removal of boarder and backgroundRemoval of boarder and background
4343
Cont’dCont’d
4444
After removing small elementsAfter removing small elements
4545
Horizontal edgesHorizontal edges
4646
Image segmentationImage segmentation
4747
Vertical edge detectionVertical edge detection
It is observed that most of vehicles usuallyIt is observed that most of vehicles usually
have more horizontal lines than verticalhave more horizontal lines than vertical
lines. To reduce the size of the imagelines. To reduce the size of the image
vertical edges are detected.vertical edges are detected.
 this help in extracting the license platethis help in extracting the license plate
exactly from segmented image, even it isexactly from segmented image, even it is
out of shape,out of shape,
4848
Image after applying vertical edge detectionImage after applying vertical edge detection
4949
Cont’dCont’d
5050
Matching by correlationMatching by correlation
 The correlation problem is to find all places in the imageThe correlation problem is to find all places in the image
that match a given sub image (also called a mask orthat match a given sub image (also called a mask or
template)template)
 Typically mask image is much smaller thanTypically mask image is much smaller than
Original imageOriginal image
 One approach for finding matches is to treat mask imageOne approach for finding matches is to treat mask image
as spatial filter and compute the sum of products (or aas spatial filter and compute the sum of products (or a
normalized version of it) for each location of mask imagenormalized version of it) for each location of mask image
in . Then the best match (matches) of subimage inin . Then the best match (matches) of subimage in
original image is (are) the location(s) of the maximumoriginal image is (are) the location(s) of the maximum
value(s) in the resulting correlation image.value(s) in the resulting correlation image.
5151
Cont’dCont’d
For prototyping. An alternative approach isFor prototyping. An alternative approach is
to implement correlation in the frequencyto implement correlation in the frequency
domain.domain.
Making use of the correlation theoremMaking use of the correlation theorem
Which like the convolution theorem.Which like the convolution theorem.
 Relates spatial correlation to the product ofRelates spatial correlation to the product of
the image transforms.the image transforms.
5252
Final outputFinal output
5353
5454
Conclusion & Results
Finally, we have built an LPD system that is:Finally, we have built an LPD system that is:
Real-time,Real-time,
Works well with inexpensive cameras, andWorks well with inexpensive cameras, and
Does not require infrared lighting or sensors asDoes not require infrared lighting or sensors as
are normally used in commercial LPR systems.are normally used in commercial LPR systems.
There no database for Egyptian license plateThere no database for Egyptian license plate
and there is no standard license plate inand there is no standard license plate in
Egypt.Egypt.
We achieved 93.33% detection rate for smallWe achieved 93.33% detection rate for small
dataset; i.e., 28 license plate of 30.dataset; i.e., 28 license plate of 30.
5555
Future work
Modern FPGA platforms provide theModern FPGA platforms provide the
hardware and software infrastructure forhardware and software infrastructure for
building a bus-based system on chipbuilding a bus-based system on chip
(SoC) that meet the applications(SoC) that meet the applications
requirements.requirements.
In order to accelerate the system we canIn order to accelerate the system we can
implement ANN classifier using FPGA withimplement ANN classifier using FPGA with
parallel processing instead of using Matlabparallel processing instead of using Matlab
.we expect that we can achieve an overall.we expect that we can achieve an overall
LPR system speed up.LPR system speed up.
5656
Any Questions?

More Related Content

PPTX
automatic number plate recognition
PPTX
Automatic Number Plate Recognition (ANPR)
PDF
Introduction to object detection
PPTX
AUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDA
PPT
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
PPTX
Vehicle number plate recognition using matlab
PDF
License Plate Recognition Using Python and OpenCV
PPTX
You only look once (YOLO) : unified real time object detection
automatic number plate recognition
Automatic Number Plate Recognition (ANPR)
Introduction to object detection
AUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDA
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
Vehicle number plate recognition using matlab
License Plate Recognition Using Python and OpenCV
You only look once (YOLO) : unified real time object detection

What's hot (20)

PPTX
Automatic number-plate-recognition
PPTX
License Plate Recognition System
PPTX
Vehicle registration plate recognition system
PPTX
Automatic no. plate recognition
PPTX
License Plate recognition
PPTX
Automatic Car Number Plate Detection and Recognition using MATLAB
PPTX
Number plate recogition
PPTX
Number plate recognition system using matlab.
PPTX
Vehicle Number Plate Recognition System
PPTX
Automatic number plate recognition (anpr)
PPTX
Automatic number plate recognition (anpr)
PDF
License Plate Recognition System using Python and OpenCV
PPTX
PPTX
Computer Vision - Real Time Face Recognition using Open CV and Python
PPT
Lpr2003
PPTX
car number plate detection using matlab image & video processing
PPTX
Image recognition
PPTX
Histogram Specification or Matching Problem
PPTX
Seminar on anpr 1
PPTX
Region based segmentation
Automatic number-plate-recognition
License Plate Recognition System
Vehicle registration plate recognition system
Automatic no. plate recognition
License Plate recognition
Automatic Car Number Plate Detection and Recognition using MATLAB
Number plate recogition
Number plate recognition system using matlab.
Vehicle Number Plate Recognition System
Automatic number plate recognition (anpr)
Automatic number plate recognition (anpr)
License Plate Recognition System using Python and OpenCV
Computer Vision - Real Time Face Recognition using Open CV and Python
Lpr2003
car number plate detection using matlab image & video processing
Image recognition
Histogram Specification or Matching Problem
Seminar on anpr 1
Region based segmentation
Ad

Viewers also liked (13)

PPT
License Plate Recognition
PDF
Automatic license plate recognition system for indian vehicle identification ...
DOC
Automatic number plate recognition
PDF
LICENSE NUMBER PLATE RECOGNITION SYSTEM USING ANDROID APP
DOCX
Automatic Number Plate Recognition
PPT
car plate recognition
PPTX
Automatic Number Plate Recognition(ANPR) System Project
PPT
Character recognition from number plate written in assamese language
PPT
Automatic number plate recognition
PPTX
MATLAB Based Vehicle Number Plate Identification System using OCR
PDF
Anpr based licence plate detection report
PPTX
Text Detection and Recognition
PDF
Use of horizontal and vertical edge processing technique to improve number pl...
License Plate Recognition
Automatic license plate recognition system for indian vehicle identification ...
Automatic number plate recognition
LICENSE NUMBER PLATE RECOGNITION SYSTEM USING ANDROID APP
Automatic Number Plate Recognition
car plate recognition
Automatic Number Plate Recognition(ANPR) System Project
Character recognition from number plate written in assamese language
Automatic number plate recognition
MATLAB Based Vehicle Number Plate Identification System using OCR
Anpr based licence plate detection report
Text Detection and Recognition
Use of horizontal and vertical edge processing technique to improve number pl...
Ad

Similar to License Plate Recognition (20)

PDF
Real time-image-processing-applied-to-traffic-queue-detection-algorithm
PDF
Automated License Plate Recognition for Toll Booth Application
PDF
Mobile Based Application to Scan the Number Plate and To Verify the Owner Det...
PDF
COMPARATIVE STUDY ON AUTOMATED NUMBER PLATE EXTRACTION USING OPEN CV AND MATLAB
PDF
Different Methodologies for Indian License Plate Detection
PDF
Automatic Vehicle Detection Using Pixelwise Classification Approach
PDF
Licence Plate Recognition Using Supervised Learning and Deep Learning
PDF
An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...
PDF
Report NIYANTRA
PDF
IRJET- Vehicle Number Plate Recognition System
PDF
Vehicle Number Plate Recognition using MATLAB
PPTX
APPLICATION OF IP TECHNIQUES IN TRAFFIC CONTROL SYSTEM
PDF
License Plate Recognition using Morphological Operation.
PDF
Traffic Light Detection and Recognition for Self Driving Cars using Deep Lear...
PDF
IRJET- Traffic Sign Detection, Recognition and Notification System using ...
PDF
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
PDF
IRJET- Number Plate Extraction from Vehicle Front View Image using Image ...
PDF
IRJET- Automatic Number Plate Recognition System in Real Time
PDF
A design of license plate recognition system using convolutional neural network
PDF
ieee_my_proj
Real time-image-processing-applied-to-traffic-queue-detection-algorithm
Automated License Plate Recognition for Toll Booth Application
Mobile Based Application to Scan the Number Plate and To Verify the Owner Det...
COMPARATIVE STUDY ON AUTOMATED NUMBER PLATE EXTRACTION USING OPEN CV AND MATLAB
Different Methodologies for Indian License Plate Detection
Automatic Vehicle Detection Using Pixelwise Classification Approach
Licence Plate Recognition Using Supervised Learning and Deep Learning
An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...
Report NIYANTRA
IRJET- Vehicle Number Plate Recognition System
Vehicle Number Plate Recognition using MATLAB
APPLICATION OF IP TECHNIQUES IN TRAFFIC CONTROL SYSTEM
License Plate Recognition using Morphological Operation.
Traffic Light Detection and Recognition for Self Driving Cars using Deep Lear...
IRJET- Traffic Sign Detection, Recognition and Notification System using ...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IRJET- Number Plate Extraction from Vehicle Front View Image using Image ...
IRJET- Automatic Number Plate Recognition System in Real Time
A design of license plate recognition system using convolutional neural network
ieee_my_proj

More from Amr Rashed (20)

PDF
Introduction to Deep Learning: Concepts, Architectures, and Applications
PPTX
Introduction to Autoencoders: Types and Applications
PPTX
Introduction to the Fundamentals of Computer Networks
PPTX
Introduction to analog communication system
PPTX
introduction to embedded system presentation
PPT
Discrete Math Ch5 counting + proofs
PPTX
Discrete Math Chapter: 8 Relations
PPTX
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
PPTX
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
PPTX
Introduction to deep learning
PPTX
Discrete Structure Mathematics lecture 1
PPTX
Implementation of DNA sequence alignment algorithms using Fpga ,ML,and CNN
PPTX
امن نظم المعلومات وامن الشبكات
PPTX
Machine learning workshop using Orange datamining framework
PPTX
مقدمة عن الفيجوال بيسك 9-2019
PPTX
Deep learning tutorial 9/2019
PPTX
Deep Learning Tutorial
PDF
Matlab plotting
PDF
Introduction to FPGA, VHDL
PDF
Introduction to Matlab
Introduction to Deep Learning: Concepts, Architectures, and Applications
Introduction to Autoencoders: Types and Applications
Introduction to the Fundamentals of Computer Networks
Introduction to analog communication system
introduction to embedded system presentation
Discrete Math Ch5 counting + proofs
Discrete Math Chapter: 8 Relations
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Introduction to deep learning
Discrete Structure Mathematics lecture 1
Implementation of DNA sequence alignment algorithms using Fpga ,ML,and CNN
امن نظم المعلومات وامن الشبكات
Machine learning workshop using Orange datamining framework
مقدمة عن الفيجوال بيسك 9-2019
Deep learning tutorial 9/2019
Deep Learning Tutorial
Matlab plotting
Introduction to FPGA, VHDL
Introduction to Matlab

Recently uploaded (20)

PDF
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
PDF
Principles of operation, construction, theory, advantages and disadvantages, ...
PDF
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
PPTX
CS6006 - CLOUD COMPUTING - Module - 1.pptx
PPTX
Design ,Art Across Digital Realities and eXtended Reality
PDF
SEH5E Unveiled: Enhancements and Key Takeaways for Certification Success
PDF
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
PDF
Project_Mgmt_Institute_-Marc Marc Marc .pdf
PDF
Computer System Architecture 3rd Edition-M Morris Mano.pdf
PDF
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
DOCX
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
PPTX
WN UNIT-II CH4_MKaruna_BapatlaEngineeringCollege.pptx
PDF
VTU IOT LAB MANUAL (BCS701) Computer science and Engineering
PPTX
CNS - Unit 1 (Introduction To Computer Networks) - PPT (2).pptx
PPTX
chapter 1.pptx dotnet technology introduction
PDF
Cryptography and Network Security-Module-I.pdf
PPT
Programmable Logic Controller PLC and Industrial Automation
PPTX
Agentic Artificial Intelligence (Agentic AI).pptx
PDF
Beginners-Guide-to-Artificial-Intelligence.pdf
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
20250617 - IR - Global Guide for HR - 51 pages.pdf
Principles of operation, construction, theory, advantages and disadvantages, ...
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
CS6006 - CLOUD COMPUTING - Module - 1.pptx
Design ,Art Across Digital Realities and eXtended Reality
SEH5E Unveiled: Enhancements and Key Takeaways for Certification Success
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
Project_Mgmt_Institute_-Marc Marc Marc .pdf
Computer System Architecture 3rd Edition-M Morris Mano.pdf
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
WN UNIT-II CH4_MKaruna_BapatlaEngineeringCollege.pptx
VTU IOT LAB MANUAL (BCS701) Computer science and Engineering
CNS - Unit 1 (Introduction To Computer Networks) - PPT (2).pptx
chapter 1.pptx dotnet technology introduction
Cryptography and Network Security-Module-I.pdf
Programmable Logic Controller PLC and Industrial Automation
Agentic Artificial Intelligence (Agentic AI).pptx
Beginners-Guide-to-Artificial-Intelligence.pdf

License Plate Recognition

  • 1. 11 A Fast Algorithm for License Plate Detection (LPD( Prof. Mohy E. Abou El-Soud, Dr. Mohamed Abdel- Azim, and Eng. Amr E. Rashid Faculty of Engineering- Mansoura University, Mansoura, Egypt
  • 2. 22 Outlines  IntroductionIntroduction  Motivations.Motivations.  Constraints and Data CollectionConstraints and Data Collection  Problem DefinitionProblem Definition  Previous WorkPrevious Work  The Proposed TechniqueThe Proposed Technique  Results and ConclusionResults and Conclusion  Future WorkFuture Work
  • 3. 33 Introduction  Monitoring vehicles for law enforcement and security purposes is a difficult problem because of the number of automobiles on the road today.  An example is this lies in border patrol:  It is time consuming for an officer to physically check the license plate of every car.  Additionally, it is not feasible to employ a number of police officers to act as full-time license plate inspectors.  Police patrols cannot just drive in their cars staring at the plates of other cars.  There must exist a way for detecting and identifying license plates without constant human intervention.  As a solution, we have implemented a system that can extract the license plate number of a vehicle from an image given a set of constraints.
  • 4. 44 Introduction (Cont’d( In any object recognition system, there are two major problems that need to be solved Detecting an object in a scene, and Recognizing that object. In our system, the quality of the license plate detector (LPD) is doubly important since the make and model recognition (MMR) subsystem uses the location of the license plate as a reference point when querying the car database.
  • 5. 55 License Plate Recognition (LPR) may also be referenced as: Automatic Vehicle Identification (AVI). Car Plate Recognition (CPR). Automatic Number Plate Recognition (ANPR). Car Plate Reader (CPR) Optical Character Recognition (OCR) for Cars. Introduction (Cont’d(
  • 6. 66 Motivations This area is challenging because it requires an integration of many computer vision problem solvers, which include: Object detection (LPD). Character recognition (OCR). LPR is very important in: Private transport applications. Monitoring vehicles for law enforcement and security purposes is a difficult problem because of the number of automobiles on the road today
  • 7. 77 WhatWhat’’s LPRs LPR?? License Plate Recognition:License Plate Recognition: LPR is an image-processing based-LPR is an image-processing based- technology used to identify vehiclestechnology used to identify vehicles by their license plates.by their license plates. This technology is used in variousThis technology is used in various security and traffic applications.security and traffic applications.
  • 9. 99  LPR is one of the most important types of intelligent transport system and is of considerable interest because of its potential applications to many areas such as:  highway electronic toll collection,  traffic monitoring systems and  ...  The technology concept assumes that all vehicles already have the identity displayed (the plate!) so no additional transmitter or responder is required to be installed on the car. Technology HighlightsTechnology Highlights
  • 10. 1010 Problem DefinitionProblem Definition License plates come in: Different sizes, Different Width-Height ratios, Different color, The fonts used for digits on license plates are not the same for all license plates, These problems, and the changing weather conditions, are what make the field of LPR a good candidate for testing Pattern Recognition techniques.
  • 11. 1111 Constraints…  Use a digital camera,  Image of the vehicle taken with variable angles,  Image of the vehicle taken from fixed distance (about 1-2 m),  Vehicle is stationary when the image was taken,  Only Egyptian license plates will be processed.
  • 12. 1212 Data collectionData collection  All images of vehicles database were taken with a benq digital camera, with three different resolutions: (i) 3 M-Pixels, (ii) 4 M-Pixels, and (iii) 5 M-Pixels.  On average, the images were taken (1-2m) away from the vehicle.  They were stored in color JPEG format on the camera.  The colored JPEG images were converted into gray scale raw format on the PC.  There 30 images dataset.
  • 13. 1313 Data Collection (ContData Collection (Cont’’dd(( Original Color Image
  • 14. 1414 Data Collection (ContData Collection (Cont’’dd(( Gray Scale Image
  • 15. 1515 Previous WorkPrevious Work The current LPD techniques can be classified into four main algorithms: Corner template matching, Hough transforms combined with various histograms based methods, color based filter, and Vertical edge detection followed by size and shape filtering
  • 16. 1616 Algorithm-1: Vertical Edge Detection Candidate selection:Candidate selection: Histogram equalization,Histogram equalization, Binarization,Binarization, Sobel edge detection, andSobel edge detection, and List possible licensesList possible licenses For each candidate:For each candidate: Localized histogram,Localized histogram, Binarization, andBinarization, and Elimination by 2-D correlationElimination by 2-D correlation 16
  • 17. 1717 Algorithm-2:Algorithm-2: Vertical Edge Detection This algorithm used a recognition algorithm based on width to height ratio: Vertical edge detection, Size and shape filtering, Vertical edge matching, and Compute the Black to white ratio and then perform plate extraction.
  • 18. 1818 Drawbacks There are many problems in these two algorithms: Width to height ratio differs from a car to another depending on the distance between the camera and the car, Small vertical edges will difficult the recognition problem because it change the width between edges, When we use different view this will remove desired vertical edges, and There are many objects in the image achieves equal width to height ratio
  • 20. 2020 Algorithm-3: AdaBoost AlgorithmAlgorithm-3: AdaBoost Algorithm  Since license plates contain a form of text, we decided to face the detection task as a text extraction problem.  Window search over the entire frame.  Use three different sized windows.  Independent Classifier for Each Size  Strong Classifier Constructed from Weak  Classifiers Via AdaBoost algorithm .  Computationally Simple.  Draw backs: Regions contain character except license plate.
  • 22. 2222 The Proposed Algorithm  The proposed algorithm was divided into four main parts:  Histogram Equalization,  Removal of Border and Background,  Image Segmentation, and  License Plate Detection.
  • 23. 2323 A. Histogram Equalization Is an image transformation that computes a histogram of every intensity level in a given image and stretches it to obtain a more sparse range of intensities. This manipulation yields an image with higher Contrast than the original.
  • 25. 2525 The Output Image of Histogram Equalization
  • 26. 2626 B. Removal of Border and Background Sobel Vertical edges
  • 27. 2727 B. After Removing SmallB. After Removing Small ElementsElements
  • 29. 2929 Horizontal Edges After Removing Small Elements
  • 30. 3030 Car after removing border and back ground
  • 31. 3131 C. Image Segmentation Often the license plate will be in the lowerOften the license plate will be in the lower half of the image so we will remove upperhalf of the image so we will remove upper half of the image.half of the image.
  • 32. 3232 D. License Plate Detection Feature extraction.Feature extraction. Principal component analysis.Principal component analysis. Artificial neural networks.Artificial neural networks.
  • 33. 3333 D.1 Feature Extraction Feature extraction is the transformation of the original data (using all variables) to a dataset with a reduced number of variables. In the problem of feature selection, the aim is to select those variables that contain the most discriminatory information.
  • 34. 3434 D.1 Feature Extraction (Cont’d( There are several reasons for performing feature extraction: To reduce the bandwidth of the input data. To provide a relevant set of features for a classifier. To reduce redundancy. To recover new meaningful underlying variables or features that the data may easily be viewed.
  • 35. 3535 D.1 Feature Extraction (Cont’d( Wavelets have been demonstrated to give quality representations of images. This DWT representation can be thought of as a form of “feature extraction” on the original image We will use Haar-like features, where sums of pixel intensities are computed over rectangular sub-windows.
  • 36. 3636 D.2 Principal component analysis (PCA( In some situations, the dimension of the input vector is large, but the components of the vectors are highly correlated (redundant). It is useful in this situation to reduce the dimension of the input vectors. An effective procedure for performing this operation is PCA.
  • 37. 3737 D.3 Recognition Stage UsingD.3 Recognition Stage Using ANNsANNs
  • 38. 3838 D.3 Recognition Stage UsingD.3 Recognition Stage Using ANNsANNs  Apply ANN with adaptive sub-window:Apply ANN with adaptive sub-window:  See final outputSee final output
  • 39. Second techniqueSecond technique (A) Image enhancement(A) Image enhancement (B) Removal of Border and Background(B) Removal of Border and Background (C) Image Segmentation(C) Image Segmentation (D) License Plate Detection using 2D(D) License Plate Detection using 2D correlation.correlation. 3939
  • 42. Image enhancement(Wiener filter outputImage enhancement(Wiener filter output(( 4242
  • 43. Removal of boarder and backgroundRemoval of boarder and background 4343
  • 45. After removing small elementsAfter removing small elements 4545
  • 48. Vertical edge detectionVertical edge detection It is observed that most of vehicles usuallyIt is observed that most of vehicles usually have more horizontal lines than verticalhave more horizontal lines than vertical lines. To reduce the size of the imagelines. To reduce the size of the image vertical edges are detected.vertical edges are detected.  this help in extracting the license platethis help in extracting the license plate exactly from segmented image, even it isexactly from segmented image, even it is out of shape,out of shape, 4848
  • 49. Image after applying vertical edge detectionImage after applying vertical edge detection 4949
  • 51. Matching by correlationMatching by correlation  The correlation problem is to find all places in the imageThe correlation problem is to find all places in the image that match a given sub image (also called a mask orthat match a given sub image (also called a mask or template)template)  Typically mask image is much smaller thanTypically mask image is much smaller than Original imageOriginal image  One approach for finding matches is to treat mask imageOne approach for finding matches is to treat mask image as spatial filter and compute the sum of products (or aas spatial filter and compute the sum of products (or a normalized version of it) for each location of mask imagenormalized version of it) for each location of mask image in . Then the best match (matches) of subimage inin . Then the best match (matches) of subimage in original image is (are) the location(s) of the maximumoriginal image is (are) the location(s) of the maximum value(s) in the resulting correlation image.value(s) in the resulting correlation image. 5151
  • 52. Cont’dCont’d For prototyping. An alternative approach isFor prototyping. An alternative approach is to implement correlation in the frequencyto implement correlation in the frequency domain.domain. Making use of the correlation theoremMaking use of the correlation theorem Which like the convolution theorem.Which like the convolution theorem.  Relates spatial correlation to the product ofRelates spatial correlation to the product of the image transforms.the image transforms. 5252
  • 54. 5454 Conclusion & Results Finally, we have built an LPD system that is:Finally, we have built an LPD system that is: Real-time,Real-time, Works well with inexpensive cameras, andWorks well with inexpensive cameras, and Does not require infrared lighting or sensors asDoes not require infrared lighting or sensors as are normally used in commercial LPR systems.are normally used in commercial LPR systems. There no database for Egyptian license plateThere no database for Egyptian license plate and there is no standard license plate inand there is no standard license plate in Egypt.Egypt. We achieved 93.33% detection rate for smallWe achieved 93.33% detection rate for small dataset; i.e., 28 license plate of 30.dataset; i.e., 28 license plate of 30.
  • 55. 5555 Future work Modern FPGA platforms provide theModern FPGA platforms provide the hardware and software infrastructure forhardware and software infrastructure for building a bus-based system on chipbuilding a bus-based system on chip (SoC) that meet the applications(SoC) that meet the applications requirements.requirements. In order to accelerate the system we canIn order to accelerate the system we can implement ANN classifier using FPGA withimplement ANN classifier using FPGA with parallel processing instead of using Matlabparallel processing instead of using Matlab .we expect that we can achieve an overall.we expect that we can achieve an overall LPR system speed up.LPR system speed up.

Editor's Notes

  • #15: IOBs = Input/Output Blocks