SlideShare a Scribd company logo
1 of 24
Number Plate Recognition
• AANUSRI RAMESH
Contents
• Introduction
• WorkFlow
• Code
• Output
• Summary
Introduction
• Automatic Number Plate Recognition (ANPR) is one of the technologies employed in Intelligent
Transportation Systems.
• This system is provided with vehicle images and it would segment the number plate from the
image using image processing techniques.
• Also it recognises the Alphanumeric characters in that particular number plate.
• This type of system is widely used in Traffic control areas, tolling, parking area, Security System
etc.
Why Did we select this Project?
• To Prevent the smuggling of cars.
• For the Identification of stolen cars.
• Usage of cars in illegal Activities.
• Identification of invalid License plates.
Various Names For this Technique:-
Various names of same this technologies are following Down:-
 License plate Recognition(LPR)
 Intelligent Transport System(ITS)
 Car Registration System(CRS)
Flow Daigram
Workflow
• The ANPR process typically involves three stages:
 Plate detection
 Plate segmentation
 Character recognition
• The ability of the algorithm to detect the plate depends on the Plate Detection Stage as a failure at
this stage immediately means complete failure of the algorithm.
• After the Plate is recognized and detected all the alphanumeric characters are to be extracted
from that particular number plate so we segment each character region from our number plate
and pass it to our template in order to match that character.
Workflow
Input Image Extraction of Number
Plate Region
Letters Detection
Code
• Code for our system is divided into three files
 Plate Detection
 Letter Detection
 Template Creation
Plate Detection
• Plate Detection is the main File in which input image is being segmented and plate is detected.
• Some Basic Functions used in Plate Detection code are:
• imread() – This command is used to open the image into the MATLAB from the target folder.
• rgb2gray() –This command is used to convert the RGB image into grayscale format.
• subplot(m,n,p) – Divides the current figure into an m-by-n grid and creates axes in the position
specified by p.
• graythresh() – Computes a global threshold T from grayscale image I.
• im2bw(I,level) – Converts the grayscale image I to binary image BW, by replacing all pixels in
the input image with luminance greater than level with the value 1 (white) and replacing all other
pixels with the value 0 (black).
Plate Detection
• edge() – This command is used to detect the edges in the image, by using various methods like
Roberts, Sobel, Prewitt and many others.
• regionprops() – This command is used to measure properties of image region.
• numel() – This command is used to calculate the number of array elements.
• imcrop() – This command is used to crop the image in the entered size.
• bwareaopen() – This command is used to remove small objects from binary image.
• By using the above commands in the code, we are calling the input image and converting it into
the grayscale. Then the grayscale is converted into the binary image, and the edge of the binary
images is detected by the Prewitt method.
Plate Detection
Plate Detection
Letter Detection
• In letter detection we have created a function named letter which gives us the
alphanumeric output of the input image from class ‘alpha’ by using command
‘readLetter()’.
• Then load the saved templates by using command load ‘NewTemplates’.
• After that, we have resized the input image so it can be compared with the template’s
images by using the command ‘imresize(filename,size)’.
• Then for loop is used to correlates the input image with every image in the template to get the
best match.
Letter Detection
• A matrix ‘rec’ is created to record the value of correlation for each alphanumeric template with
the characters template from the input image, as shown in the below code:
cor=corr2(NewTemplates{1,n},snap);
• Then ‘find()’ command is used to find the index which corresponds to the highest matched
character. Then according to that index, corresponding character is printed using‘if-
else’ statement
Letter Detection
Letter Detection
Letter Detection
Template Creation
• We have stored the binary images of all the alphabets and numbers in the sub-folder named as
‘alpha’.
Template Creation
• In our code we are saving the images into a variable by using command ‘imread()’.
• This function is used to call the images from the folder or from any location of the PC into the
MATLAB.
• A=imread('alpha/A.bmp’); (A is the variable, and in ‘alpha/A.bmp’, ‘alpha’ is the folder name
and ‘A.bmp’ is the file name.)
• After that create a matrix of ‘letter’ and ‘number’ and save it in variable ‘NewTemplates’ by
using command ‘save(filename,variables)’.
Template Creation
Final Output
Conclusion:-
• ANPR is an efficient System with time it will attain more accuracy.
• Basically , we intended to develop a system in MATLAB which can perform detection of Car
number plate as well as recognition of Car number plate.
• It also depends on conditions like lighting, visibility, image skew and camera quality in which the
image was captured, and the nature of image itself.
• This System can be helpful in many ways for example to increased security, check for stolen cars.
• This system is implemented in MATLAB and its performance is tested on Real images.
• It is very economical and eco-friendly system If Government should take interest in developing
this system.
• This change will help in the progress of Country.
THANK YOU

More Related Content

Similar to Presentation.pptx

Automatic License Plate Recognition [ALPR]-A Review Paper
Automatic License Plate Recognition [ALPR]-A Review PaperAutomatic License Plate Recognition [ALPR]-A Review Paper
Automatic License Plate Recognition [ALPR]-A Review PaperIRJET Journal
 
Console I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxConsole I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxPRASENJITMORE2
 
ANPR based Security System Using ALR
ANPR based Security System Using ALRANPR based Security System Using ALR
ANPR based Security System Using ALRAshok Basnet
 
Tracking number plate from vehicle using
Tracking number plate from vehicle usingTracking number plate from vehicle using
Tracking number plate from vehicle usingijfcstjournal
 
Digit recognition using neural network
Digit recognition using neural networkDigit recognition using neural network
Digit recognition using neural networkshachibattar
 
An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...
An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...
An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...IJMTST Journal
 
Coin recognition using matlab
Coin recognition using matlabCoin recognition using matlab
Coin recognition using matlabslmnsvn
 
AN INTEGRATED APPROACH TO CONTENT BASED IMAGE RETRIEVAL by Madhu
AN INTEGRATED APPROACH TO CONTENT BASED IMAGERETRIEVAL by MadhuAN INTEGRATED APPROACH TO CONTENT BASED IMAGERETRIEVAL by Madhu
AN INTEGRATED APPROACH TO CONTENT BASED IMAGE RETRIEVAL by MadhuMadhu Rock
 
Number plate recogition
Number plate recogitionNumber plate recogition
Number plate recogitionhetvi naik
 
Paper id 25201447
Paper id 25201447Paper id 25201447
Paper id 25201447IJRAT
 
CS150 Assignment 7 Cryptography Date assigned Monday.docx
CS150 Assignment 7 Cryptography  Date assigned Monday.docxCS150 Assignment 7 Cryptography  Date assigned Monday.docx
CS150 Assignment 7 Cryptography Date assigned Monday.docxfaithxdunce63732
 
Vehicle license plate recognition
Vehicle license plate recognitionVehicle license plate recognition
Vehicle license plate recognitionEng Ansam Hadi
 
Working with images in matlab graphics
Working with images in matlab graphicsWorking with images in matlab graphics
Working with images in matlab graphicsmustafa_92
 
IRJET - Automatic Licence Plate Detection and Recognition
IRJET -  	  Automatic Licence Plate Detection and RecognitionIRJET -  	  Automatic Licence Plate Detection and Recognition
IRJET - Automatic Licence Plate Detection and RecognitionIRJET Journal
 

Similar to Presentation.pptx (20)

Code Generation
Code GenerationCode Generation
Code Generation
 
Unit 11. Graphics
Unit 11. GraphicsUnit 11. Graphics
Unit 11. Graphics
 
Automatic License Plate Recognition [ALPR]-A Review Paper
Automatic License Plate Recognition [ALPR]-A Review PaperAutomatic License Plate Recognition [ALPR]-A Review Paper
Automatic License Plate Recognition [ALPR]-A Review Paper
 
Console I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxConsole I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptx
 
ANPR based Security System Using ALR
ANPR based Security System Using ALRANPR based Security System Using ALR
ANPR based Security System Using ALR
 
MATLAB & Image Processing
MATLAB & Image ProcessingMATLAB & Image Processing
MATLAB & Image Processing
 
Tracking number plate from vehicle using
Tracking number plate from vehicle usingTracking number plate from vehicle using
Tracking number plate from vehicle using
 
Digit recognition using neural network
Digit recognition using neural networkDigit recognition using neural network
Digit recognition using neural network
 
An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...
An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...
An Efficient Model to Identify A Vehicle by Recognizing the Alphanumeric Char...
 
Coin recognition using matlab
Coin recognition using matlabCoin recognition using matlab
Coin recognition using matlab
 
AN INTEGRATED APPROACH TO CONTENT BASED IMAGE RETRIEVAL by Madhu
AN INTEGRATED APPROACH TO CONTENT BASED IMAGERETRIEVAL by MadhuAN INTEGRATED APPROACH TO CONTENT BASED IMAGERETRIEVAL by Madhu
AN INTEGRATED APPROACH TO CONTENT BASED IMAGE RETRIEVAL by Madhu
 
Assignment-1-NF.docx
Assignment-1-NF.docxAssignment-1-NF.docx
Assignment-1-NF.docx
 
Number plate recogition
Number plate recogitionNumber plate recogition
Number plate recogition
 
Paper id 25201447
Paper id 25201447Paper id 25201447
Paper id 25201447
 
CS150 Assignment 7 Cryptography Date assigned Monday.docx
CS150 Assignment 7 Cryptography  Date assigned Monday.docxCS150 Assignment 7 Cryptography  Date assigned Monday.docx
CS150 Assignment 7 Cryptography Date assigned Monday.docx
 
Vehicle license plate recognition
Vehicle license plate recognitionVehicle license plate recognition
Vehicle license plate recognition
 
Working with images in matlab graphics
Working with images in matlab graphicsWorking with images in matlab graphics
Working with images in matlab graphics
 
iterativealgorithms.ppsx
iterativealgorithms.ppsxiterativealgorithms.ppsx
iterativealgorithms.ppsx
 
Iterative Algorithms.ppsx
Iterative Algorithms.ppsxIterative Algorithms.ppsx
Iterative Algorithms.ppsx
 
IRJET - Automatic Licence Plate Detection and Recognition
IRJET -  	  Automatic Licence Plate Detection and RecognitionIRJET -  	  Automatic Licence Plate Detection and Recognition
IRJET - Automatic Licence Plate Detection and Recognition
 

Recently uploaded

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...Call girls in Ahmedabad High profile
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 

Presentation.pptx

  • 2. Contents • Introduction • WorkFlow • Code • Output • Summary
  • 3. Introduction • Automatic Number Plate Recognition (ANPR) is one of the technologies employed in Intelligent Transportation Systems. • This system is provided with vehicle images and it would segment the number plate from the image using image processing techniques. • Also it recognises the Alphanumeric characters in that particular number plate. • This type of system is widely used in Traffic control areas, tolling, parking area, Security System etc.
  • 4. Why Did we select this Project? • To Prevent the smuggling of cars. • For the Identification of stolen cars. • Usage of cars in illegal Activities. • Identification of invalid License plates.
  • 5. Various Names For this Technique:- Various names of same this technologies are following Down:-  License plate Recognition(LPR)  Intelligent Transport System(ITS)  Car Registration System(CRS)
  • 7. Workflow • The ANPR process typically involves three stages:  Plate detection  Plate segmentation  Character recognition • The ability of the algorithm to detect the plate depends on the Plate Detection Stage as a failure at this stage immediately means complete failure of the algorithm. • After the Plate is recognized and detected all the alphanumeric characters are to be extracted from that particular number plate so we segment each character region from our number plate and pass it to our template in order to match that character.
  • 8. Workflow Input Image Extraction of Number Plate Region Letters Detection
  • 9. Code • Code for our system is divided into three files  Plate Detection  Letter Detection  Template Creation
  • 10. Plate Detection • Plate Detection is the main File in which input image is being segmented and plate is detected. • Some Basic Functions used in Plate Detection code are: • imread() – This command is used to open the image into the MATLAB from the target folder. • rgb2gray() –This command is used to convert the RGB image into grayscale format. • subplot(m,n,p) – Divides the current figure into an m-by-n grid and creates axes in the position specified by p. • graythresh() – Computes a global threshold T from grayscale image I. • im2bw(I,level) – Converts the grayscale image I to binary image BW, by replacing all pixels in the input image with luminance greater than level with the value 1 (white) and replacing all other pixels with the value 0 (black).
  • 11. Plate Detection • edge() – This command is used to detect the edges in the image, by using various methods like Roberts, Sobel, Prewitt and many others. • regionprops() – This command is used to measure properties of image region. • numel() – This command is used to calculate the number of array elements. • imcrop() – This command is used to crop the image in the entered size. • bwareaopen() – This command is used to remove small objects from binary image. • By using the above commands in the code, we are calling the input image and converting it into the grayscale. Then the grayscale is converted into the binary image, and the edge of the binary images is detected by the Prewitt method.
  • 14. Letter Detection • In letter detection we have created a function named letter which gives us the alphanumeric output of the input image from class ‘alpha’ by using command ‘readLetter()’. • Then load the saved templates by using command load ‘NewTemplates’. • After that, we have resized the input image so it can be compared with the template’s images by using the command ‘imresize(filename,size)’. • Then for loop is used to correlates the input image with every image in the template to get the best match.
  • 15. Letter Detection • A matrix ‘rec’ is created to record the value of correlation for each alphanumeric template with the characters template from the input image, as shown in the below code: cor=corr2(NewTemplates{1,n},snap); • Then ‘find()’ command is used to find the index which corresponds to the highest matched character. Then according to that index, corresponding character is printed using‘if- else’ statement
  • 19. Template Creation • We have stored the binary images of all the alphabets and numbers in the sub-folder named as ‘alpha’.
  • 20. Template Creation • In our code we are saving the images into a variable by using command ‘imread()’. • This function is used to call the images from the folder or from any location of the PC into the MATLAB. • A=imread('alpha/A.bmp’); (A is the variable, and in ‘alpha/A.bmp’, ‘alpha’ is the folder name and ‘A.bmp’ is the file name.) • After that create a matrix of ‘letter’ and ‘number’ and save it in variable ‘NewTemplates’ by using command ‘save(filename,variables)’.
  • 23. Conclusion:- • ANPR is an efficient System with time it will attain more accuracy. • Basically , we intended to develop a system in MATLAB which can perform detection of Car number plate as well as recognition of Car number plate. • It also depends on conditions like lighting, visibility, image skew and camera quality in which the image was captured, and the nature of image itself. • This System can be helpful in many ways for example to increased security, check for stolen cars. • This system is implemented in MATLAB and its performance is tested on Real images. • It is very economical and eco-friendly system If Government should take interest in developing this system. • This change will help in the progress of Country.