project is based on image processing technology using popular software MATLAB.
The ANPR (Automatic Number Plate Recognition) using ALR (Automatic line
Tracking Robot) is a system designed to help in recognition of number plates of vehicles. This system is designed for the purpose of the security and it is a security system. This system is based on the image processing system. This system helps in the functions like detection of the number plates of the vehicles, processing them and using processed data for further processes like storing, allowing vehicle to pass or to reject vehicle. This system also helps to conduct the graphic images of the vehicles which can be further stored in the database in text format reducing size of data to be stored.
INTRODUCTION
Massive integration of information technologies into all aspects of modern life caused demand for processing vehicles as conceptual resources in information systems. Because a standalone information system without any data has no sense, there was also a need to transform information about vehicles between the reality and information systems. This can be achieved by a human agent, or by special intelligent equipment which is be able to recognize vehicles by their number plates in a real environment and reflect it into conceptual resources. Because of this, various recognition techniques have been developed
and number plate recognition systems are today used in various traffic and security applications, such as parking, access and border control, or tracking of stolen cars.
In entrance gate, number plates are used to identify the vehicles. When a vehicle enters an input gate, number plate is automatically recognized and stored in database and black-listed number is not given permission. When a vehicle later exits the place through the gate, number plate is recognized again and paired with the first-one stored in the database and it is taken a count. Automatic number plate recognition systems can be used in access control.
For example, this technology is used in many companies to grant access only to vehicles of authorized personnel.
In some countries, ANPR systems installed on country borders automatically detect and monitor border crossings. Each vehicle can be registered in a central database and compared to a black list of stolen vehicles. In traffic control, vehicles can be directed to different lanes for a better congestion control in busy urban communications during the rush
hours.
Automatic Line Tracking Robot (ALR) is used in this project as a vehicle which contains circuitry for moving in a guided track. It will have mechanism to detect the opened and closed door. It also will have capacity to park in the given parking area.Some diagrams:->Project Design:
System Block Diagram of the Project
The project was done as final year project at Thapathali Campus, (III/II) with a team effort of 8 members:
- Ashok Basnet (062-DCT-407)
- Bishnu Parajuli (062-DCT-410)
- Ishor Prasad Rijal (062-DCT-416)
- Kabindra Kaji Bajracharya (062-DCT-419)
- Kiran Karki (062-DCT-420)
- Krishna Bahadur Shrestha (062-DCT-421)
- Mohan Pandey (062-DCT-422)
- Ram Hari Regmi (062-DCT-430)
——————————————————————————————————————————-
The project “ANPR based security system using ALR” was developed as III year II part project of Diploma In Computer Engineering, Thapathali Campus. The project was designed keeping in mind the automation of the number plate detection system for security reason that could replace the current system of manual entry. This project was a success in recording the number plate of a vehicle although it has got it’s own limitation of image processing and other hardware requirements. From this project we learn about image processing and OCR(Optical Character Reader),hardware interface and automatic line tracking robot(ALR). The automatic line tracking robot was developed for the
demonstration of actual system and to have the knowledge of robots. The mechanical parts of the vehicle were designed by Robotics and Automation Club, Thapathali Campus. The basic focus of the project was in the image processing using MATLAB. The MATLAB v7.6 was used as programming tool which provides many features related to image processing. The
parallel port interfacing was done to control the door mechanism for giving entry to the vehicle. This project implements above processes to accomplish a task of “ANPR based Security System with ALR”. Practical implementation of the project range from small use such as keeping record of incoming and outgoing vehicles from the parking area to a vast implementation such as security system. The project was completed within 6 months time period.
ALGORITHMS
System Algorithm
- Input image from webcam.
- Convert image into binary.
- Detect number plate area.
- Segmentation.
- Number identification.
- Save to file in given format
Input Image
- Capture image from webcam.
- Store the captured image into a image file for further processing.
Convert Image into Binary
- Identify the intensity of the image.
If image intensity = high
Reduce intensity
Else if intensity = low
Increase intensity
Else
No changeConvert image into grayscale. - Calculate appropriate threshold value for the image.
- Convert the image into binary image using the calculated threshold.
Detecting Number plate area
- Fill small holes including numbers of Number plate so that number plate area will be large to isolate from figure.
- Determine width and height of the image. 3.Scan each pixel of line counting number of white pixels in the following system,
- If number of ‘white’ pixels < x; pixels become ‘black’ Else; no change If number of ‘white’ pixels > y; pixels become ‘black’ Else; no change The value of x and y may be changed according the image intensity and plate area.
- Use the step no. 3 for both horizontal and vertical direction.
- Check number of possible areas.
- Logically AND with binary image obtained at “Convert image into binary algorithm.
- Crop the required area.
Segmentation
- Filter the noise level present in the image. 2.Clip the plate area in such a way that only numbers of plate area extracted. 3.Separate each character from the plate.
Number Identification
- Create the template file from the stored template images. 2.Resize image obtained from segmentation to the size of template. 3.Compare each character with the templates. 4.Store the best matched character.
Save to file in given format
- Open a text file in write mode.
- Store the character obtained from the number identification process to text file in given format.
- Close the file.
Download Report and source codes of the project here:-;
Here are some of the snaps of the project :-
Pic1:- Me and frens working to start the ALR(Automatic Line Tracking Robot).
Pic 2 : ALR(Automatic Line Tracking Robot)
Pic 3 : The Door with webcam that captures the number plate of the ALR ( i.e. Vehicles)
Pic:- Our project team at the Industrial Expo 2009
September 27, 2010 at 5:46 pm
give me full details of ANPR.. using matlab
send me mail at [email protected]
February 21, 2012 at 12:57 pm
I have changed the download location to dropbox.. Now you can easily download the reprots, source codes and presentation file for ANPR(Automatic Number Plate Recognition) Using ALR(Automatic Line Tracking Robot).
If any problem in code… feel free to ask.
February 28, 2012 at 3:40 pm
Hi,
First of all, its an awesome project. The code for image segmentation that you have used it nice. But i have found a better one here :
http://webscripts.softpedia.com/script/Image-Galleries/Image-Tools/Image-Segmentation—Extraction-54590.html
Please tell me how can i replace your code and use this one. Or pls can u just replace the code and giv. Thanks
February 28, 2012 at 4:07 pm
Thanks.
A detailed explanation in Number Plate extraction is posted here. Hope it helps you. Thanks for the link, will look at that if I get some time and respond to you.
http://projectsofashok.blogspot.com/2012/02/number-plate-extraction-using-matlab.html
February 28, 2012 at 4:46 pm
@varun,
You can change the ocr.m file with this one and with little modifications you should be able to get the things done. ocr.m is the main file for extracting the required numbers from the number plate image and the Image Segmentation Extraction should work if kept in ocr.m.
October 6, 2010 at 2:19 am
what type of filter you are used for character segmentation???
mail me details @ [email protected]
October 10, 2010 at 4:05 pm
i want a full program of line following robot using 8051 microcontroller
October 19, 2010 at 1:49 am
Can I have the details for ANPR,I am doing a project on the same topic.Kind reference is appreaciated.Thanks you.Kindly email me at [email protected]
December 12, 2010 at 3:05 pm
Hello!
I have many questions about ANPR using Matlab(simulink)so could you please contact email me at [email protected]
I’m a student just like you so I need help with it…
Please response
December 19, 2010 at 9:46 am
@Ivan Lazić
Thanks for your interest in the MATLAB Project. I’ll try to contact you as soon as possible through mail and give more detail at this blog post.
January 6, 2011 at 2:48 pm
hey bro really loved your project i would like to have some more details on your project.. could you provide me with it please… (Credits will be given to your project) Thanks
[email protected]
January 8, 2011 at 7:21 pm
@Anonymous
Thanks for the showing ur interest in the this project. I have made updatge to the post and added the ALgorithms and links for report,source codes and ppt files.. You can have a look at them and u can contact me if u find any problem….
February 19, 2011 at 6:07 pm
hey buddy.. i am working on same kind of project.. so can u help me with some more detail.. my id is [email protected]
February 22, 2011 at 10:00 pm
i am interested in this project.
can u send me the matlab code of number plate recognition only without the tracking system..
email: [email protected]
February 25, 2011 at 9:40 pm
hey bro its really nice project but can anyone mail me this project by using matlab software asap plsss….
[email protected]
March 12, 2011 at 4:24 am
hi how to run source code of this anpr system.. please give me reply on [email protected]
March 26, 2011 at 11:13 pm
sir ,plece give me full details of Automatic Line Tracking Robot (ALR) using matlab
send me mail at [email protected]
thanks………
March 28, 2011 at 2:29 pm
Hello Dear,
I am looking ANPR for C# application.
If you find any help then please email me
[email protected]
April 22, 2011 at 6:04 am
Hi Ashok,
I am very interested to implement your code. I tried a different type of plate. However the plate region is not extracted and segmented as mentioned in pg 9-10. I get a result with some additional numbers and alphabets.Do you what needs to be changed in the code?
April 22, 2011 at 4:20 pm
Hi Ashok,
i was trying to implement your code. However the hsmearing() and vsmearing() functions are not included. Could you pls post them too??without that the extraction is nt working
.
Thanks alot
May 19, 2011 at 3:38 pm
hi Ashok,
Everything butthe report link is’nt working..
Thank you so much.
May 20, 2011 at 8:44 am
@tinu
Its working here. I have uploaded it to 4shared…. must work….
May 21, 2011 at 11:56 am
Can’t access 4shared but can you atleast send me the presentation, ANPR code, and report @ [email protected] Doing very similar project.
May 21, 2011 at 3:18 pm
Hi Ashok,
Must say, quick response from a blogger!
for the report link, after waiting for 20 secs on 4shared its showing post deleted.
can u plz mail me the report: [email protected]
Thanks for ur patience.
May 23, 2011 at 10:40 am
@tinu and @Tzak, I think its problem in 4shared. Although i have mailed u the source, ppt and report. 🙂
May 23, 2011 at 3:45 pm
Hi Ashok,
“All is well”
Very good report n documentation.
My very best to you.
Thank you.
May 25, 2011 at 9:41 am
@tinu
Thanks for the comments. Will try to be better :).
July 21, 2011 at 11:45 am
hey ashok i am working on the same project,can u pls mail me source,ppt and report to this email id:
[email protected]
August 4, 2011 at 11:37 am
i need to develop this application in android based mobile phone. Can u help me with it.. please time is very critical… thanq
August 16, 2011 at 4:25 am
Very thankful to you……
August 22, 2011 at 9:23 am
can i get some inforamation regarding coding of alpr using matlab my email id is [email protected]
October 18, 2011 at 4:47 am
i realy love your project. but i want to add text recognition with it….. any help
{[email protected]}
November 9, 2011 at 10:49 am
sir ,
pls give the source code of extraction and segmentation
[email protected]
November 13, 2011 at 9:54 am
Hi Ashok Basnet,
i have read ur project description. It’s very interesting. Right now I’m working with the same project but still have problem with extracting the license plate from the image. In the source code that u uploaded doesn’t have the part about extracting plate region, can you please send me via email [email protected].
Thank you very much and have a nice day/
Thomas.
November 19, 2011 at 8:40 am
ashok please tell me if i donot do any hardware work and run your code with cctv . it will show correct result or not
December 4, 2011 at 11:22 am
hii
i have term project about license plate detection
i need your help please
can you send the report with code
[email protected]
best regards
December 5, 2011 at 9:03 pm
Can’t access 4shared pls send me the ANPR code at dhaka_black_buffalo.com Doing very similar project dear. it will be pretty helpful 4 me. thnx dear
December 5, 2011 at 9:05 pm
Can’t access 4shared. plsss send me the ANPR code at [email protected] Doing very similar project. thnx in advance 4 ur help dear
January 4, 2012 at 6:44 am
Hello Ashok,
To implement this project, does one require the image processing toolbox and neural network toolbox with matlab?
January 4, 2012 at 9:36 am
@max
Ya we need Image Processing Toolbox to implement the project.
January 4, 2012 at 12:03 pm
I am currently doing the real time car plate & logo recognition system project.Did u had more info about full source code without separate? coz i see inside got many file code. Plz help me! my email is [email protected]
January 17, 2012 at 9:32 am
i am doing a similar project on the same name plate recognition topic . can someone send me the codes to [email protected]
January 19, 2012 at 1:51 am
I dont access sample code.
Pls sent me thanks.
[email protected]
take care.
January 21, 2012 at 4:43 pm
hey…i am doing this same project but by using C++ language if you could provide some help that would be great mail me on [email protected]
February 7, 2012 at 2:04 pm
Hello Ashok,
I am working on the same project and i downloaded your source code it. After reviewing it i found that it doesn’t have the source code for licence plate extraction. Can u send me the whole source code so that i can get an idea of extraction of licence plate through matlab. please send the code asap to [email protected]. I wud be very grateful to you.
April 25, 2012 at 8:15 pm
Hey can u mail me too the full source code 4 d same.. Thnx in advance.
id: [email protected]
February 21, 2012 at 11:26 am
hello Ashok,
i am currently working on same project. in your code there is problem about licence plate area extraction so, i request to give me a full project code by mail: [email protected]
March 2, 2012 at 4:19 pm
Hello Ashok,
My final year project is to develop this number plate recognition software on matlab. I would b really grateful to u if could fwd the source code,ppt and report file to [email protected].
plss it is really urgent.
March 7, 2012 at 11:14 am
hello ashok
I just want to have a look at the documentation of licence plate recognition can u pls mail it on [email protected]
March 16, 2012 at 2:30 pm
need your help with this project, can u pls email me: [email protected]
thanks
March 18, 2012 at 6:45 pm
hello Ashok
i am doing a project on license plate recognition…can u help me with ocr part coding…[email protected]
March 19, 2012 at 3:15 am
hello sir, i m doing only the simulation level of this project… pls send me the coding for the simulation only with image…. pls send to my mail id…. by bala… [email protected]
thank u….
March 21, 2012 at 7:06 pm
Tank you dude … Its really helpful. I am also doing same project in my B.SC. But my problem is I am doing it for Bangladeshi Vehicle. and number plate Here in two row….Please dude Help me…How can i do that..In bangla..How can i make templates
April 4, 2012 at 4:29 pm
thnx ashok 🙂
May 4, 2012 at 6:31 am
hey…i m working on a project which will distinguish the vehicle type that is 2 wheeler or a 4 wheeler…so can u plz give some idea that will help me to distinguish the type of vehicle
May 4, 2012 at 6:41 am
The vehicle type detection seems interesting . In my opinion, there can be two ways to accomplish the task:-
i) Detection of number plate of the vehicle
Since the number plate system are different for 2 wheelers and 4 wheelers, the detected number plate can be used to check what kind of vehicle is it.
ii) The area of the vehicle captured.
When the image of the vehicle is captured from the fixed location, the algorithm can be applied to detect the area being occupied by the vehicle. Obviously, 4 wheels take larger space within image and 2 wheelers take smaller area.
Will be glad to know if any of these techniques works for you.
May 15, 2012 at 8:26 pm
hey im working on the same project in my semister project kindly send me ur code at [email protected]
June 23, 2012 at 3:38 pm
hi ashok
plz tell me how can create the same project using opencv
also tell me how many classes identify in this project
July 10, 2012 at 6:14 am
sir please give the code for embedded implementation of no plate recognisation project with relative documents from mat file.Also give me the information about how it can be from matlab to a processor .Ie the harware part
[email protected]
August 6, 2012 at 2:04 am
thank u sir.can u please send your code and images of car you have taken for your project to [email protected]
December 27, 2012 at 9:07 am
Ashok Basnet can you plz tell me the link to download this project.I am student of image processing.
December 27, 2012 at 5:44 pm
Here you go…
http://dl.dropbox.com/u/24930699/Projects/My%20Projects/Thapathali%20Campus/ANPR%20Based%20Security%20Sytem%20Using%20ALR/ANPR_Codes.zip
December 27, 2012 at 5:43 pm
This comment has been removed by the author.
January 24, 2013 at 11:43 am
Both works(Project idear and implementation, and posting the source code) is an incredible, waise 1 baath ha Indian IT me bahoooth aggay ja chukay ha, par ham Pakistani b aik dafa lag jathay ha, to chez ko sona bana k rak dethay ha,lolz
any how great job, and hope U ppl vl continue ur struggle,
Forward with luck !
January 31, 2013 at 10:30 am
hi, I am a student working on a similar project. Can you send me you code as well as the algorithms you used? email is [email protected]. Thank you very much
February 6, 2013 at 6:51 am
hey i need number plate recognition system. i.e to locate the number plate of vehicles, recognize the characters seperately, convert in to a text and later it has to be displayed.. thanks in advance….
March 23, 2013 at 9:51 am
iam working on the same project…and i hav completed upto segmentation of the plate.. now i need coding for recognition of characters..can u pls help me work on this project????????? my email id
[email protected]
April 21, 2013 at 6:50 pm
hiii..friends i need a help from u all..i am a final year student,,I just need to recognize a vehicle number plate from an image can any 1 send me a code to my email id [email protected]
May 14, 2013 at 2:59 pm
i’m working on license plate character recognition using neural network based on matlab itself can yo please send me the complete report and ppt… i want it by tomorrow itself please do send to my email id [email protected]
November 6, 2013 at 5:24 pm
hai ashok brother i am doing project like u,,very nice project,,i try to execute ur code but it is not working,, i dont know the reason,,please help me sir,, email:[email protected]
September 17, 2014 at 7:59 pm
give me full details of ANPR.. using matlab
send me mail at [email protected]
September 7, 2015 at 9:36 pm
sir ,
can you plz share me bangla licence plate recognition MATH LAB code simulation
September 7, 2015 at 9:37 pm
sir ,
can you plz share me bangla licence plate recognition MATH LAB code simulation
at [email protected]
May 9, 2017 at 9:20 pm
Dear,
the links are not working at all ?!!!!!
i need these files as soon as possible, as i am a student and my project is simillar to yours
thanx in advanced .. u can send me these files directly on my mail
August 7, 2017 at 10:37 am
I have updated the links. Please try out now.