MATLAB Based Vehicle Number Plate
Identification System using OCR
Submitted by
Ghanshyam Dusane (BE-A 46)
Guided by
Prof. Neeta Pingle
Marathwada Institute of Technology, Aurangabad
Department of Electronics and Communication
12/4/2015 7:53:54
PM
1
Contents
 Need
 AIM
 Literature Survey
 OCR
 Block Diagram
 Flow Chart & Work Flow
 Basic Modules And Sensors
 Examples
 Applications
 Conclusion
 References 12/4/2015 7:53:54
PM
2
Need
Smart Parking System Management
Identification of stolen cars or bikes
 Smuggling of Cars or bikes
 Invalid license plates
 Usage of cars in terrorist attacks/illegal activities
12/4/2015 7:53:54
PM
3
AIM
We intended to develop a system in MATLAB
which can perform detection as well as
recognition of Vehicle License Number plate
The objective of this project is to recognize
Vehicle License Number plate using serial
communication.
12/4/2015 7:53:54
PM
4
SYSTEM REQUIREMENTS
Software Requirement Hardware Requirement
System Type: 32-bit operating
system,
x86 based processor
WEB- CAM
OS Installed: Windows XP or
higher
Personal Computer (PC)
MATLB 7.0 or Above installed Microcontroller
Servomotor/DC Motor
12/4/2015 7:53:54
PM
5
Literature Review
 Paper 1
“AUTOMATIC NUMBER PLATE RECOGNITION SYSTEM FOR VEHICLE
IDENTIFICATION USING OPTICAL CHARACTER RECOGNITION”
Proceedings of the World Congress on Engineering and Computer Science 2012 Vol I WCECS
2012, October 24-26, 2012, San Francisco, USA.
Presented By :- MUHAMMAD TAHIR QADRI, MUHAMMAD ASIF
This paper presents a robust method of license plate detection and
recognition based on Hough lines using Hough transformation and template matching
12/4/2015 7:53:54
PM
6
 Paper 2
“Automatic Vehicle Identification by Plate
Recognition”
World Academy of Science, Engineering and Technology International
Journal of Electrical Computer, Energetic, Electronic and Communication
Engineering Vol:1, No:9, 2007.
Presented By :- Serkan Ozbay, and Ergun Ercelebi
In this paper, a smart and simple algorithm is presented for vehicle’s license
plate recognition system. The proposed algorithm consists of three major parts:
Extraction of plate region, segmentation of characters and recognition of plate
characters. For extracting the plate region, edge detection algorithms and smearing
algorithms are used. In segmentation part, smearing algorithms, filtering and some
morphological algorithms are used.
12/4/2015 7:53:54
PM
7
 Paper 3
“Automobile Number Plate Recognition And
Extraction Using Optical Character Recognition”
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH
VOLUME 3, ISSUE 10, OCTOBER 2014
Presented By :- Raja Vikramdeep Singh, Navneet Randhawa
The purpose of this research is to develop an application which recognizes
license plates from vehicles. The system takes images of automobiles as input and
processes them. Once a license plate is detected, its digits are recognized and
displayed on the User Interface. This work focuses on the design of a single algorithm
used for extracting the license plate from a single image, isolating the characters of
the plate and identifying the individual characters
12/4/2015 7:53:54
PM
8
 Paper 4
“A Review Paper on Automatic Number Plate Recognition
(ANPR) System”
International Journal of Innovative Research in Advanced
Engineering (IJIRAE)
Volume 1 Issue 1 (April 2014)
Presented By : - Dhiraj Y. Gaikwad and Pramod B. Borole
In this review paper, the automatic number plate recognition system
using vehicle license plate is presented. The system use image processing techniques
for identifying the vehicle from the database stored in the computer. The system works
satisfactorily for wide variation of conditions and different types of number plates. The
system is implemented and executed in Matlab and performance is tested on genuine
images.
12/4/2015 7:53:54
PM
9
BASIC PROJECT
Input image ( from real
environment)
Algorithm using (MATLAB)
Output -Microcontroller serial
interfacing with hardware.
12/4/2015 7:53:54
PM
10
Block Diagram
Vehicle WEB-CAM
OUTPUT-ASSCII Character
Character Recognition
Image Acquisition
Localization of Number Plate
Plate Segmentation
Door Control Microcontroller
12/4/2015 7:53:54
PM
11
OCR System
OCR
OCR is a technology that enables
you to convert different types of
documents captured by a digital
camera into editable and
searchable data.
12/4/2015 7:53:54
PM
12
Fig. OCR Technology
Flow Chart of extraction in
MATLAB
12/4/2015 7:53:54
PM
13
12/4/2015 7:53:54
PM
14
Start
Input Image
Pre-processing
Localization
Is Number
plate
detected?
OCR
Is vehicle
Number
recognized?
Message
Displayed
NO
NO
Comparing with
Database
Yes
Yes
WORKFLOW
 Image was taken from real environment .
 Process Digital Images of License Plates using existing/modified
algorithms.
 Algorithms will perform alpha numeric conversions on the captured license
plate images into text entries.
 System would check the extracted entries against a database in real time.
 The entire system is implemented in MATLAB is used for detection and
recognition .
12/4/2015 7:53:54
PM
15
12/4/2015 7:53:54
PM
16
Capture
image
Sensor
Digital
camera
Find plate
region
Plate
extraction
Database
segmentationRecognition
Image
processing
Register
Activates the
camera
Compare in order
to recognize
Detect the vehicle
Administrato
r
Use Case Diagram
Basic Modules of the System
 Detection is done by Character Segmentation
Locates the alpha numeric characters on a license
plate.
 Optical Character Recognition (OCR)
Translates the segmented characters into text
entries.
12/4/2015 7:53:54
PM
17
Load The Image From File
 a=imread(‘car 10.JPG’)
12/4/2015 7:53:54
PM
18
Preprocessing
Preprocessing is very important for the good
performance of character segmentation.
Preprocessing consists of :
Resizing image
Rgb to gray
Noise removal 12/4/2015 7:53:54
PM
19
Changing the TYPE
 c=rgb2gray(b);
12/4/2015 7:53:54
PM
20
Extracting Plate Region
It is result of dilation after
noise removal .
12/4/2015 7:53:54
PM
21
Edge enhancement
gdiff=imsubtract(d,e);
where ‘d’ is dilated and ‘e’ is eroded
image
12/4/2015 7:53:54
PM
22
Morphological Operations
Morphological Operations
Thinning ( for character
isolation)
Finding connected
components of area more
than 200 pixels
12/4/2015 7:53:54
PM
23
Characters Segmentation
Horizontal & Vertical Segmentation
Detect the horizontal lines in the image with a pixel value of
zero.
Converting the image into binary.
Use simple “for loops” to detect the portions of the image that
had connected objects with a pixel value of ‘0’ and hence
accordingly, the image was read.
12/4/2015 7:53:54
PM
24
Characters Segmentation
Preprocessing Horizontal And
Vertical Segmentation
12/4/2015 7:53:54
PM
25
Template Matching
Template matching is one of the most
common and easy classification method
for recognizing the characters.
We used code for OCR
Characters Recognition
12/4/2015 7:53:54
PM
26
Applications
Red Light Violation Enforcement
Border And Customs Checkpoints
Smart Parking System Management
Detection Of Invalid License Plates
12/4/2015 7:53:54
PM
27
Conclusion
The automatic number plate recognition system using
vehicle license plate is presented. The system use image
processing techniques for identifying the vehicle from the
database stored in the computer.
12/4/2015 7:53:54
PM
28
References
 Optical Character Recognition
Ravina Mithe, Supriya Indalkar, Nilam Divekar 2013
International Journal Of Recent Technology And Engineering (Ijrte)
 Design Of An Optical Character Recognition System For Camera-Based Handheld Devices
Ayatullah Faruk Mollah, Nabamita Majumder Subhadip Basu, And Mita Nasipuri
2011 International Journal Of Computer Science Issues
 Number Plate Recognition Using an Improved Segmentation
Mr. G. T. Sutar , Prof. Mr. A.V. Shah P.G. Student, Department of Electronics Engineering, D.K.T.
Engineering College, Ichalkaranji, Maharashtra, India Associate Professor,
Department of Electronics Engineering, D.K.T. Engineering College, Ichalkaranji, Maharashtra
 A Review Paper on Automatic Number Plate Recognition (ANPR) System
International Journal of Innovative Research in Advanced Engineering (IJIRAE)
Volume 1 Issue 1 (April 2014)
12/4/2015 7:53:54
PM
29
Any Queries ?
12/4/2015 7:53:54
PM
30
THANK YOU !
12/4/2015 7:53:54
PM
31

MATLAB Based Vehicle Number Plate Identification System using OCR

  • 1.
    MATLAB Based VehicleNumber Plate Identification System using OCR Submitted by Ghanshyam Dusane (BE-A 46) Guided by Prof. Neeta Pingle Marathwada Institute of Technology, Aurangabad Department of Electronics and Communication 12/4/2015 7:53:54 PM 1
  • 2.
    Contents  Need  AIM Literature Survey  OCR  Block Diagram  Flow Chart & Work Flow  Basic Modules And Sensors  Examples  Applications  Conclusion  References 12/4/2015 7:53:54 PM 2
  • 3.
    Need Smart Parking SystemManagement Identification of stolen cars or bikes  Smuggling of Cars or bikes  Invalid license plates  Usage of cars in terrorist attacks/illegal activities 12/4/2015 7:53:54 PM 3
  • 4.
    AIM We intended todevelop a system in MATLAB which can perform detection as well as recognition of Vehicle License Number plate The objective of this project is to recognize Vehicle License Number plate using serial communication. 12/4/2015 7:53:54 PM 4
  • 5.
    SYSTEM REQUIREMENTS Software RequirementHardware Requirement System Type: 32-bit operating system, x86 based processor WEB- CAM OS Installed: Windows XP or higher Personal Computer (PC) MATLB 7.0 or Above installed Microcontroller Servomotor/DC Motor 12/4/2015 7:53:54 PM 5
  • 6.
    Literature Review  Paper1 “AUTOMATIC NUMBER PLATE RECOGNITION SYSTEM FOR VEHICLE IDENTIFICATION USING OPTICAL CHARACTER RECOGNITION” Proceedings of the World Congress on Engineering and Computer Science 2012 Vol I WCECS 2012, October 24-26, 2012, San Francisco, USA. Presented By :- MUHAMMAD TAHIR QADRI, MUHAMMAD ASIF This paper presents a robust method of license plate detection and recognition based on Hough lines using Hough transformation and template matching 12/4/2015 7:53:54 PM 6
  • 7.
     Paper 2 “AutomaticVehicle Identification by Plate Recognition” World Academy of Science, Engineering and Technology International Journal of Electrical Computer, Energetic, Electronic and Communication Engineering Vol:1, No:9, 2007. Presented By :- Serkan Ozbay, and Ergun Ercelebi In this paper, a smart and simple algorithm is presented for vehicle’s license plate recognition system. The proposed algorithm consists of three major parts: Extraction of plate region, segmentation of characters and recognition of plate characters. For extracting the plate region, edge detection algorithms and smearing algorithms are used. In segmentation part, smearing algorithms, filtering and some morphological algorithms are used. 12/4/2015 7:53:54 PM 7
  • 8.
     Paper 3 “AutomobileNumber Plate Recognition And Extraction Using Optical Character Recognition” INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 3, ISSUE 10, OCTOBER 2014 Presented By :- Raja Vikramdeep Singh, Navneet Randhawa The purpose of this research is to develop an application which recognizes license plates from vehicles. The system takes images of automobiles as input and processes them. Once a license plate is detected, its digits are recognized and displayed on the User Interface. This work focuses on the design of a single algorithm used for extracting the license plate from a single image, isolating the characters of the plate and identifying the individual characters 12/4/2015 7:53:54 PM 8
  • 9.
     Paper 4 “AReview Paper on Automatic Number Plate Recognition (ANPR) System” International Journal of Innovative Research in Advanced Engineering (IJIRAE) Volume 1 Issue 1 (April 2014) Presented By : - Dhiraj Y. Gaikwad and Pramod B. Borole In this review paper, the automatic number plate recognition system using vehicle license plate is presented. The system use image processing techniques for identifying the vehicle from the database stored in the computer. The system works satisfactorily for wide variation of conditions and different types of number plates. The system is implemented and executed in Matlab and performance is tested on genuine images. 12/4/2015 7:53:54 PM 9
  • 10.
    BASIC PROJECT Input image( from real environment) Algorithm using (MATLAB) Output -Microcontroller serial interfacing with hardware. 12/4/2015 7:53:54 PM 10
  • 11.
    Block Diagram Vehicle WEB-CAM OUTPUT-ASSCIICharacter Character Recognition Image Acquisition Localization of Number Plate Plate Segmentation Door Control Microcontroller 12/4/2015 7:53:54 PM 11 OCR System
  • 12.
    OCR OCR is atechnology that enables you to convert different types of documents captured by a digital camera into editable and searchable data. 12/4/2015 7:53:54 PM 12 Fig. OCR Technology
  • 13.
    Flow Chart ofextraction in MATLAB 12/4/2015 7:53:54 PM 13
  • 14.
    12/4/2015 7:53:54 PM 14 Start Input Image Pre-processing Localization IsNumber plate detected? OCR Is vehicle Number recognized? Message Displayed NO NO Comparing with Database Yes Yes
  • 15.
    WORKFLOW  Image wastaken from real environment .  Process Digital Images of License Plates using existing/modified algorithms.  Algorithms will perform alpha numeric conversions on the captured license plate images into text entries.  System would check the extracted entries against a database in real time.  The entire system is implemented in MATLAB is used for detection and recognition . 12/4/2015 7:53:54 PM 15
  • 16.
  • 17.
    Basic Modules ofthe System  Detection is done by Character Segmentation Locates the alpha numeric characters on a license plate.  Optical Character Recognition (OCR) Translates the segmented characters into text entries. 12/4/2015 7:53:54 PM 17
  • 18.
    Load The ImageFrom File  a=imread(‘car 10.JPG’) 12/4/2015 7:53:54 PM 18
  • 19.
    Preprocessing Preprocessing is veryimportant for the good performance of character segmentation. Preprocessing consists of : Resizing image Rgb to gray Noise removal 12/4/2015 7:53:54 PM 19
  • 20.
    Changing the TYPE c=rgb2gray(b); 12/4/2015 7:53:54 PM 20
  • 21.
    Extracting Plate Region Itis result of dilation after noise removal . 12/4/2015 7:53:54 PM 21
  • 22.
    Edge enhancement gdiff=imsubtract(d,e); where ‘d’is dilated and ‘e’ is eroded image 12/4/2015 7:53:54 PM 22
  • 23.
    Morphological Operations Morphological Operations Thinning( for character isolation) Finding connected components of area more than 200 pixels 12/4/2015 7:53:54 PM 23
  • 24.
    Characters Segmentation Horizontal &Vertical Segmentation Detect the horizontal lines in the image with a pixel value of zero. Converting the image into binary. Use simple “for loops” to detect the portions of the image that had connected objects with a pixel value of ‘0’ and hence accordingly, the image was read. 12/4/2015 7:53:54 PM 24
  • 25.
    Characters Segmentation Preprocessing HorizontalAnd Vertical Segmentation 12/4/2015 7:53:54 PM 25
  • 26.
    Template Matching Template matchingis one of the most common and easy classification method for recognizing the characters. We used code for OCR Characters Recognition 12/4/2015 7:53:54 PM 26
  • 27.
    Applications Red Light ViolationEnforcement Border And Customs Checkpoints Smart Parking System Management Detection Of Invalid License Plates 12/4/2015 7:53:54 PM 27
  • 28.
    Conclusion The automatic numberplate recognition system using vehicle license plate is presented. The system use image processing techniques for identifying the vehicle from the database stored in the computer. 12/4/2015 7:53:54 PM 28
  • 29.
    References  Optical CharacterRecognition Ravina Mithe, Supriya Indalkar, Nilam Divekar 2013 International Journal Of Recent Technology And Engineering (Ijrte)  Design Of An Optical Character Recognition System For Camera-Based Handheld Devices Ayatullah Faruk Mollah, Nabamita Majumder Subhadip Basu, And Mita Nasipuri 2011 International Journal Of Computer Science Issues  Number Plate Recognition Using an Improved Segmentation Mr. G. T. Sutar , Prof. Mr. A.V. Shah P.G. Student, Department of Electronics Engineering, D.K.T. Engineering College, Ichalkaranji, Maharashtra, India Associate Professor, Department of Electronics Engineering, D.K.T. Engineering College, Ichalkaranji, Maharashtra  A Review Paper on Automatic Number Plate Recognition (ANPR) System International Journal of Innovative Research in Advanced Engineering (IJIRAE) Volume 1 Issue 1 (April 2014) 12/4/2015 7:53:54 PM 29
  • 30.
  • 31.
    THANK YOU ! 12/4/20157:53:54 PM 31