SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Similaire à 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
 

Similaire à 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
 

Dernier

Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 

Dernier (20)

(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 

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.