SlideShare a Scribd company logo
EXTRACTION OF LICENSE-PLATE NUMBER OF OVER
SPEEDING VEHICLES
Under the guidance of Dr. U.B. Mahadevaswamy
Associate Professor, SJCE, Mysore
Naveen Lamba
Dept. of ECE, SJCE, Mysore
Naveenlmb3@gmail.com
Abstract—Traffic management plays a crucial role in cities
especially in metropolitan. Lots of road mishape occurs due to
over speeding of vehicles. Usually RADAR or LIDAR techniques
are opted for monitoring traffic speed, which deploy active devices
for its operation. Hence lots of extra power is getting wasted. In
this paper, we propose an algorithm to detect the vehicle's speed
using image processing techniques. If the speed exceeds the
prescribed limit, the license plate of the over speeding vehicle is
recognized and forwarded to the concerned authorities.
Key words— Image enhancement, object detection, foreground,
blob analysis, speed, contour, image segmentation and license
plate recognition.
INTRODUCTION
Vehicle speed monitoring is important for enforcing
speed limit laws. It also broadcasts the traffic conditions of
the monitored section of the road of interest. Vehicle
detection and tracking in real time is a challenging task in
traffic surveillance systems. It often acts as an initial step
for further processing such as speed of the detected object
and their license plate recognition[1].
Vehicle detection from a video stream relies heavily on
image processing techniques such as motion detection,
foreground modeling, image enhancement, blob analysis,
centroid calculation and speed calculation. A typical
moving object detection algorithm has the following
feature: (a) Estimation of the foreground (motion
detection[2]) (b) Bounding the detected objects (c)
tracking[3,4] (d) Estimation of velocity.
METHODOLOGY
The approach to create a system to detect the over
speeding vehicles from a video sequence has been put forth
in this section. The block diagram of the proposed system is
shown in Figure 1.
Video input
In the first stage of the project, the videos are captured
using a fixed camera. Video cameras are standard
equipment for modern transportation and management. The
camera is positioned in such a way that vehicles are coming
towards the camera in order to avoid the side views of
movement of vehicles and overlapping of vehicles.
Converting video to image frames
A video sequence is a series of still images with a small
interval between two images. The video sequence is
converted to frames. MATLAB image processing library
convert the video which is in AVI format into frames. It
captures the video stream and stores the frames in the
buffer. This will prepare the image frames for further
processing.
Foreground modeling
The moving objects in the video are to be detected for
further processing. To perform this, foreground modeling is
done to detect the difference between the background and
foreground contents in an image frame. Gaussian Mixture
model[6] is used for foreground detection in the project.
By using the GMM technique, the values of each
particular pixel in the image is modeled as a mixture of
Gaussians. Based on the repetitiveness and variance of each
of the Gaussians of the mixture, Gaussians that correspond
to the background can be determined.
Noise Removal
The recorded video may have some noise due to bad
weather (light, wind, etc.). A morphological operation
called opening is performed to improve the image quality
and to detect moving object.
Foreground
detection
Video input
Speed limit
comparison
Speed
calculation
Image
enhancement
Contour
tracking
License plate
recognition
Fig. 1. System overview
The opening is a composite operator, constructed from the
two basic operators erosion and dilation. Opening of set A
by set B, the structuring element is achieved by first the
eroding set A by B, then dilating the resulting set by B.
Visual explanation of the opening process is in Figure 2.
Fig 2. Opening operation.
Contour tracking
Contour tracking tracks the moving vehicles. Moving
vehicles are tracked by bounding contour and updating them
continuously. In the project we use a tool called “Blob
analysis” from MATLAB for contour tracking. A blob is
defined as a region of connected pixels. Blob analysis is the
identification and study of these regions in an image. The
blob features usually calculated are area, perimeter, blob
shape and centroid. Blobs are defined based on the
minimum area. When a moving object with the area greater
than the specified minimum area is detected in the image
frame, it is bounded by a rectangle.
The blobs are given the required shape and color. The
counts of blob present in each of the frames give the vehicle
count in a frame. The same procedure is repeated for the
entire video. To go to the next frame, step command is used
and the predefined function blob is executed for each of the
frames.
Speed Calculation
From the positions of previous processes, which have
already provided us the position of each single vehicle in the
image frame, the centroid coordinates are calculated in each
frame. The speed detection of the vehicle in each image will
be calculated using the position of the vehicle together with
the frame rate of the video.
The algorithm to detect the speed is as follows:
1. Two frames are considered from the video
sequence. They are continuously monitored to
detect the moving vehicles.
2. Once the vehicle is detected at frame 1, it is bound
with the blob and the centroid of the corresponding
vehicle is determined.
3. The centroid of the same blob in the frame 2 is
determined.
4. The Euclidean distance i.e. the pixel length
between the centroid coordinates is calculated and
the time taken to cover the distance is obtained
from the video.
5. The speed is then calculated using the formula:
Speed = K (Distance/ Time) ; K is calibration factor.
License Plate Recognition
The License Plate of the vehicle is recognized if the
speed exceeds the limit. The steps for implementing License
Plate Recognition algorithm in MATLAB are described
below:
1. Conversion of a colored image into gray image.
2. Image is enhanced to improvise the given image by
filling holes, sharpening the edges of objects and
join the broken lines and increases the brightness
of an image.
3. Horizontal and Vertical Edge Processing of the
image. In License Plate Recognition algorithm, the
horizontal and vertical histogram represents the
column-wise and row-wise histogram respectively.
4. The obtained histograms are passed through a low
pass filter to remove the noise present in the image.
5. Segmentation of the image to find all the regions in
an image that has high probability of containing a
license plate.
6. The segmented regions are processed to obtain the
region having highest probability of containing a
license plate.
SIMULATION AND RESULTS
For the implementation of our algorithm we took a video
with a frame rate of 30. Using MATLAB the video was
successfully read and the frames were chosen for the
operations to be performed. Foreground of the frame was
obtained and it was filtered to get clear description of the
boundary of the vehicle. The outcome is as in Figure 3.
Fig 3. A video frame, its foreground and filtered foreground
Using blob analysis, the boundary was provided to the
vehicles and the number of vehicles present in current frame
was displayed on the left top corner. The result is displayed
in Figure 4.
Fig 4. Blob analysis and Detection of number of
vehicles on screen.
The speed was calculated as proposed in the algorithm and
successful results were obtained as in Figure 5. When the
speed exceeded the prescribed limit, license plate of the over
speeding vehicle was recognized. The outputs in the
intermediate stages are in Figure 6 and 7. The recognized
license plate can be sent to the concerned authorities.
Fig 5. Display of the measured speed
CONCLUSION AND FUTURE SCOPES
The proposed algorithm detected the moving vehicles
from the video. The images of foreground objects were
enhanced for the smoothening of further processing. The
vehicles were bounded by a blob .The speed of the vehicles
were computed using the proposed algorithm. The license
plate is recognized once the vehicle exceeds the speed limit.
The results were comparable with the true speed of the
vehicles.
Future work will be directed towards achieving the following
issues:
1. Better camera control to enable smooth object
tracking at high zoom, in case video is vibrating.
Video stabilization algorithm is required.
2. Improvement in the algorithm to implement the
system in double lane road.
3. Improvements to be made in the algorithm so that
the system does not fail in the case of different
background and different environmental
conditions.
4. Improvement in MATLAB code for monitoring
and spotting vehicles breaking red light rules.
REFERENCES
[1] Christos-Nikolaos E. Anagnostopoulos, Member, IEEE,
Ioannis E. Anagnostopoulos, Member, IEEE, Ioannis D.
Psoroulas, Vassili Loumos, Member, IEEE, and
Eleftherios Kayafas, Member, IEEE License plate
recognition from still images and video sequences: a
survey. IEEE transactions on intelligent transportation
systems, vol. 9, no. 3, september 2008.
[2] ‘Motion object detection of video based on principal
Component analysis ‘proceedings of the seventh
international conference on machine learning and
cybernetics, kunming, 12-15 july 2008.
[3] Moving object detection tracking system : a real time
implemented, seizième colloque gretsi — 15-19
September 1997 — Grenoble.
[4] ‘Object detection and tracking in video’ Kent State
University, Date: November 2001 .
[5] D. Hari Hara Santosh, P. Venkatesh, P. Poornesh, L.
Narayana Rao, N. Arun Kumar Tracking Multiple
Moving Objects Using Gaussian Mixture Model
International Journal of Soft Computing an Engg.
(IJSCE) ISSN: 2231-2307, Vol-3, Issue-2, May 2013.
[6] Naikur Bharatkuma r Gohil, "CAR LICENSE PLATE
DETECTION",Dharmsinh Desai University,India,2006.
Fig 6. Sharpened gray image
Fig 8. Recognized license plate
Fig 7. Segmented image

More Related Content

What's hot

Image Processing Applied To Traffic Queue Detection Algorithm
Image Processing Applied To Traffic Queue Detection AlgorithmImage Processing Applied To Traffic Queue Detection Algorithm
Image Processing Applied To Traffic Queue Detection Algorithmguest673189
 
Final year project proposal
Final year project proposalFinal year project proposal
Final year project proposal
sertsedengle shewandagn
 
Ijarcet vol-2-issue-4-1309-1313
Ijarcet vol-2-issue-4-1309-1313Ijarcet vol-2-issue-4-1309-1313
Ijarcet vol-2-issue-4-1309-1313Editor IJARCET
 
Traffic sign recognition
Traffic sign recognitionTraffic sign recognition
Traffic sign recognition
AKR Education
 
REVIEW OF LANE DETECTION AND TRACKING ALGORITHMS IN ADVANCED DRIVER ASSISTANC...
REVIEW OF LANE DETECTION AND TRACKING ALGORITHMS IN ADVANCED DRIVER ASSISTANC...REVIEW OF LANE DETECTION AND TRACKING ALGORITHMS IN ADVANCED DRIVER ASSISTANC...
REVIEW OF LANE DETECTION AND TRACKING ALGORITHMS IN ADVANCED DRIVER ASSISTANC...
ijcsit
 
1. control of real time traffic with the help of image processing
1. control of real time traffic with the help of image processing1. control of real time traffic with the help of image processing
1. control of real time traffic with the help of image processing
Nitish Kotak
 
Traffic Light Detection for Red Light Violation System
Traffic Light Detection for Red Light Violation SystemTraffic Light Detection for Red Light Violation System
Traffic Light Detection for Red Light Violation System
ijtsrd
 
LANE CHANGE DETECTION AND TRACKING FOR A SAFE-LANE APPROACH IN REAL TIME VISI...
LANE CHANGE DETECTION AND TRACKING FOR A SAFE-LANE APPROACH IN REAL TIME VISI...LANE CHANGE DETECTION AND TRACKING FOR A SAFE-LANE APPROACH IN REAL TIME VISI...
LANE CHANGE DETECTION AND TRACKING FOR A SAFE-LANE APPROACH IN REAL TIME VISI...
cscpconf
 
Implementation of a lane-tracking system for autonomous driving using Kalman ...
Implementation of a lane-tracking system for autonomous driving using Kalman ...Implementation of a lane-tracking system for autonomous driving using Kalman ...
Implementation of a lane-tracking system for autonomous driving using Kalman ...
Francesco Corucci
 
Machine vision based pedestrian detection and lane departure
Machine vision based pedestrian detection and lane departureMachine vision based pedestrian detection and lane departure
Machine vision based pedestrian detection and lane departureSanket Borhade
 
traffic jam detection using image processing
traffic jam detection using image processingtraffic jam detection using image processing
traffic jam detection using image processingMalika Alix
 
Automatic vision based inspection of railway track
Automatic vision based inspection of railway trackAutomatic vision based inspection of railway track
Automatic vision based inspection of railway track
eSAT Publishing House
 
Automatic vision based inspection of railway track
Automatic vision based inspection of railway trackAutomatic vision based inspection of railway track
Automatic vision based inspection of railway track
eSAT Journals
 
A0140109
A0140109A0140109
A0140109
IOSR Journals
 
IRJET - Automatic License Plate Detection using Image Processing
IRJET - Automatic License Plate Detection using Image ProcessingIRJET - Automatic License Plate Detection using Image Processing
IRJET - Automatic License Plate Detection using Image Processing
IRJET Journal
 
Automatic detection and recognition of road sign for driver assistance system
Automatic detection and recognition of road sign for driver assistance systemAutomatic detection and recognition of road sign for driver assistance system
Automatic detection and recognition of road sign for driver assistance system
sudhakar5472
 
Adaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management PlatformAdaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management Platform
Amir Krifa
 
A Solution to Partial Observability in Extended Kalman Filter Mobile Robot Na...
A Solution to Partial Observability in Extended Kalman Filter Mobile Robot Na...A Solution to Partial Observability in Extended Kalman Filter Mobile Robot Na...
A Solution to Partial Observability in Extended Kalman Filter Mobile Robot Na...
TELKOMNIKA JOURNAL
 

What's hot (20)

Image Processing Applied To Traffic Queue Detection Algorithm
Image Processing Applied To Traffic Queue Detection AlgorithmImage Processing Applied To Traffic Queue Detection Algorithm
Image Processing Applied To Traffic Queue Detection Algorithm
 
Final year project proposal
Final year project proposalFinal year project proposal
Final year project proposal
 
Ijarcet vol-2-issue-4-1309-1313
Ijarcet vol-2-issue-4-1309-1313Ijarcet vol-2-issue-4-1309-1313
Ijarcet vol-2-issue-4-1309-1313
 
Traffic sign recognition
Traffic sign recognitionTraffic sign recognition
Traffic sign recognition
 
REVIEW OF LANE DETECTION AND TRACKING ALGORITHMS IN ADVANCED DRIVER ASSISTANC...
REVIEW OF LANE DETECTION AND TRACKING ALGORITHMS IN ADVANCED DRIVER ASSISTANC...REVIEW OF LANE DETECTION AND TRACKING ALGORITHMS IN ADVANCED DRIVER ASSISTANC...
REVIEW OF LANE DETECTION AND TRACKING ALGORITHMS IN ADVANCED DRIVER ASSISTANC...
 
1. control of real time traffic with the help of image processing
1. control of real time traffic with the help of image processing1. control of real time traffic with the help of image processing
1. control of real time traffic with the help of image processing
 
Mvs adas
Mvs adasMvs adas
Mvs adas
 
Traffic Light Detection for Red Light Violation System
Traffic Light Detection for Red Light Violation SystemTraffic Light Detection for Red Light Violation System
Traffic Light Detection for Red Light Violation System
 
LANE CHANGE DETECTION AND TRACKING FOR A SAFE-LANE APPROACH IN REAL TIME VISI...
LANE CHANGE DETECTION AND TRACKING FOR A SAFE-LANE APPROACH IN REAL TIME VISI...LANE CHANGE DETECTION AND TRACKING FOR A SAFE-LANE APPROACH IN REAL TIME VISI...
LANE CHANGE DETECTION AND TRACKING FOR A SAFE-LANE APPROACH IN REAL TIME VISI...
 
Implementation of a lane-tracking system for autonomous driving using Kalman ...
Implementation of a lane-tracking system for autonomous driving using Kalman ...Implementation of a lane-tracking system for autonomous driving using Kalman ...
Implementation of a lane-tracking system for autonomous driving using Kalman ...
 
Machine vision based pedestrian detection and lane departure
Machine vision based pedestrian detection and lane departureMachine vision based pedestrian detection and lane departure
Machine vision based pedestrian detection and lane departure
 
traffic jam detection using image processing
traffic jam detection using image processingtraffic jam detection using image processing
traffic jam detection using image processing
 
Automatic vision based inspection of railway track
Automatic vision based inspection of railway trackAutomatic vision based inspection of railway track
Automatic vision based inspection of railway track
 
Automatic vision based inspection of railway track
Automatic vision based inspection of railway trackAutomatic vision based inspection of railway track
Automatic vision based inspection of railway track
 
A0140109
A0140109A0140109
A0140109
 
40120140501008
4012014050100840120140501008
40120140501008
 
IRJET - Automatic License Plate Detection using Image Processing
IRJET - Automatic License Plate Detection using Image ProcessingIRJET - Automatic License Plate Detection using Image Processing
IRJET - Automatic License Plate Detection using Image Processing
 
Automatic detection and recognition of road sign for driver assistance system
Automatic detection and recognition of road sign for driver assistance systemAutomatic detection and recognition of road sign for driver assistance system
Automatic detection and recognition of road sign for driver assistance system
 
Adaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management PlatformAdaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management Platform
 
A Solution to Partial Observability in Extended Kalman Filter Mobile Robot Na...
A Solution to Partial Observability in Extended Kalman Filter Mobile Robot Na...A Solution to Partial Observability in Extended Kalman Filter Mobile Robot Na...
A Solution to Partial Observability in Extended Kalman Filter Mobile Robot Na...
 

Similar to License plate extraction of overspeeding vehicles

IRJET - Traffic Density Estimation by Counting Vehicles using Aggregate Chann...
IRJET - Traffic Density Estimation by Counting Vehicles using Aggregate Chann...IRJET - Traffic Density Estimation by Counting Vehicles using Aggregate Chann...
IRJET - Traffic Density Estimation by Counting Vehicles using Aggregate Chann...
IRJET Journal
 
IRJET- Reckoning the Vehicle using MATLAB
IRJET- Reckoning the Vehicle using MATLABIRJET- Reckoning the Vehicle using MATLAB
IRJET- Reckoning the Vehicle using MATLAB
IRJET Journal
 
Automatic Vehicle Detection Using Pixelwise Classification Approach
Automatic Vehicle Detection Using Pixelwise Classification ApproachAutomatic Vehicle Detection Using Pixelwise Classification Approach
Automatic Vehicle Detection Using Pixelwise Classification Approach
IOSR Journals
 
Obstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance SystemObstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance System
IRJET Journal
 
Neural Network based Vehicle Classification for Intelligent Traffic Control
Neural Network based Vehicle Classification for Intelligent Traffic ControlNeural Network based Vehicle Classification for Intelligent Traffic Control
Neural Network based Vehicle Classification for Intelligent Traffic Control
ijseajournal
 
Intelligent Parking Space Detection System Based on Image Segmentation
Intelligent Parking Space Detection System Based on Image SegmentationIntelligent Parking Space Detection System Based on Image Segmentation
Intelligent Parking Space Detection System Based on Image Segmentation
ijsrd.com
 
IRJET- Robust and Fast Detection of Moving Vechiles in Aerial Videos usin...
IRJET-  	  Robust and Fast Detection of Moving Vechiles in Aerial Videos usin...IRJET-  	  Robust and Fast Detection of Moving Vechiles in Aerial Videos usin...
IRJET- Robust and Fast Detection of Moving Vechiles in Aerial Videos usin...
IRJET Journal
 
A017430110
A017430110A017430110
A017430110
IOSR Journals
 
F124144
F124144F124144
F124144
IJRES Journal
 
IRJET- Parking Space Detection using Image Processing in MATLAB
IRJET- Parking Space Detection using Image Processing in MATLABIRJET- Parking Space Detection using Image Processing in MATLAB
IRJET- Parking Space Detection using Image Processing in MATLAB
IRJET Journal
 
An Experimental Analysis on Self Driving Car Using CNN
An Experimental Analysis on Self Driving Car Using CNNAn Experimental Analysis on Self Driving Car Using CNN
An Experimental Analysis on Self Driving Car Using CNN
IRJET Journal
 
IRJET - License Plate Recognition
IRJET - License Plate RecognitionIRJET - License Plate Recognition
IRJET - License Plate Recognition
IRJET Journal
 
Deep Learning Based Vehicle Rules Violation Detection and Accident Assistance
Deep Learning Based Vehicle Rules Violation Detection and Accident AssistanceDeep Learning Based Vehicle Rules Violation Detection and Accident Assistance
Deep Learning Based Vehicle Rules Violation Detection and Accident Assistance
IRJET Journal
 
Real Time Object Identification for Intelligent Video Surveillance Applications
Real Time Object Identification for Intelligent Video Surveillance ApplicationsReal Time Object Identification for Intelligent Video Surveillance Applications
Real Time Object Identification for Intelligent Video Surveillance Applications
Editor IJCATR
 
A Much Advanced and Efficient Lane Detection Algorithm for Intelligent Highwa...
A Much Advanced and Efficient Lane Detection Algorithm for Intelligent Highwa...A Much Advanced and Efficient Lane Detection Algorithm for Intelligent Highwa...
A Much Advanced and Efficient Lane Detection Algorithm for Intelligent Highwa...
cscpconf
 
Vehicle counting for traffic management
Vehicle counting for traffic management Vehicle counting for traffic management
Vehicle counting for traffic management
ADEEBANADEEM
 
IRJET- Artificial Intelligence Based Smart Traffic Management System using Vi...
IRJET- Artificial Intelligence Based Smart Traffic Management System using Vi...IRJET- Artificial Intelligence Based Smart Traffic Management System using Vi...
IRJET- Artificial Intelligence Based Smart Traffic Management System using Vi...
IRJET Journal
 
Speed Determination of Moving Vehicles using Lucas- Kanade Algorithm
Speed Determination of Moving Vehicles using Lucas- Kanade AlgorithmSpeed Determination of Moving Vehicles using Lucas- Kanade Algorithm
Speed Determination of Moving Vehicles using Lucas- Kanade Algorithm
Editor IJCATR
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 

Similar to License plate extraction of overspeeding vehicles (20)

IRJET - Traffic Density Estimation by Counting Vehicles using Aggregate Chann...
IRJET - Traffic Density Estimation by Counting Vehicles using Aggregate Chann...IRJET - Traffic Density Estimation by Counting Vehicles using Aggregate Chann...
IRJET - Traffic Density Estimation by Counting Vehicles using Aggregate Chann...
 
IRJET- Reckoning the Vehicle using MATLAB
IRJET- Reckoning the Vehicle using MATLABIRJET- Reckoning the Vehicle using MATLAB
IRJET- Reckoning the Vehicle using MATLAB
 
Automatic Vehicle Detection Using Pixelwise Classification Approach
Automatic Vehicle Detection Using Pixelwise Classification ApproachAutomatic Vehicle Detection Using Pixelwise Classification Approach
Automatic Vehicle Detection Using Pixelwise Classification Approach
 
Obstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance SystemObstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance System
 
Neural Network based Vehicle Classification for Intelligent Traffic Control
Neural Network based Vehicle Classification for Intelligent Traffic ControlNeural Network based Vehicle Classification for Intelligent Traffic Control
Neural Network based Vehicle Classification for Intelligent Traffic Control
 
Intelligent Parking Space Detection System Based on Image Segmentation
Intelligent Parking Space Detection System Based on Image SegmentationIntelligent Parking Space Detection System Based on Image Segmentation
Intelligent Parking Space Detection System Based on Image Segmentation
 
IRJET- Robust and Fast Detection of Moving Vechiles in Aerial Videos usin...
IRJET-  	  Robust and Fast Detection of Moving Vechiles in Aerial Videos usin...IRJET-  	  Robust and Fast Detection of Moving Vechiles in Aerial Videos usin...
IRJET- Robust and Fast Detection of Moving Vechiles in Aerial Videos usin...
 
A017430110
A017430110A017430110
A017430110
 
F124144
F124144F124144
F124144
 
IRJET- Parking Space Detection using Image Processing in MATLAB
IRJET- Parking Space Detection using Image Processing in MATLABIRJET- Parking Space Detection using Image Processing in MATLAB
IRJET- Parking Space Detection using Image Processing in MATLAB
 
An Experimental Analysis on Self Driving Car Using CNN
An Experimental Analysis on Self Driving Car Using CNNAn Experimental Analysis on Self Driving Car Using CNN
An Experimental Analysis on Self Driving Car Using CNN
 
IRJET - License Plate Recognition
IRJET - License Plate RecognitionIRJET - License Plate Recognition
IRJET - License Plate Recognition
 
Deep Learning Based Vehicle Rules Violation Detection and Accident Assistance
Deep Learning Based Vehicle Rules Violation Detection and Accident AssistanceDeep Learning Based Vehicle Rules Violation Detection and Accident Assistance
Deep Learning Based Vehicle Rules Violation Detection and Accident Assistance
 
Real Time Object Identification for Intelligent Video Surveillance Applications
Real Time Object Identification for Intelligent Video Surveillance ApplicationsReal Time Object Identification for Intelligent Video Surveillance Applications
Real Time Object Identification for Intelligent Video Surveillance Applications
 
A Much Advanced and Efficient Lane Detection Algorithm for Intelligent Highwa...
A Much Advanced and Efficient Lane Detection Algorithm for Intelligent Highwa...A Much Advanced and Efficient Lane Detection Algorithm for Intelligent Highwa...
A Much Advanced and Efficient Lane Detection Algorithm for Intelligent Highwa...
 
Vehicle counting for traffic management
Vehicle counting for traffic management Vehicle counting for traffic management
Vehicle counting for traffic management
 
IRJET- Artificial Intelligence Based Smart Traffic Management System using Vi...
IRJET- Artificial Intelligence Based Smart Traffic Management System using Vi...IRJET- Artificial Intelligence Based Smart Traffic Management System using Vi...
IRJET- Artificial Intelligence Based Smart Traffic Management System using Vi...
 
Speed Determination of Moving Vehicles using Lucas- Kanade Algorithm
Speed Determination of Moving Vehicles using Lucas- Kanade AlgorithmSpeed Determination of Moving Vehicles using Lucas- Kanade Algorithm
Speed Determination of Moving Vehicles using Lucas- Kanade Algorithm
 
Ijcatr02011007
Ijcatr02011007Ijcatr02011007
Ijcatr02011007
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 

More from lambanaveen

Vocabulary Capsule for competition exams
Vocabulary Capsule for competition examsVocabulary Capsule for competition exams
Vocabulary Capsule for competition exams
lambanaveen
 
INDIAN POLITY Capsule for SSC competitive exams
INDIAN POLITY Capsule for SSC competitive examsINDIAN POLITY Capsule for SSC competitive exams
INDIAN POLITY Capsule for SSC competitive exams
lambanaveen
 
ECONOMICS Capsule for SSC Competitive exams
ECONOMICS Capsule for SSC Competitive examsECONOMICS Capsule for SSC Competitive exams
ECONOMICS Capsule for SSC Competitive exams
lambanaveen
 
Ancient History Capsule for SSC all SSC Exams
Ancient History Capsule for SSC all SSC ExamsAncient History Capsule for SSC all SSC Exams
Ancient History Capsule for SSC all SSC Exams
lambanaveen
 
English Essays For competitive descriptive exams
English Essays For competitive descriptive examsEnglish Essays For competitive descriptive exams
English Essays For competitive descriptive exams
lambanaveen
 
Rps i crt-siv-2015-copyright-form
Rps i crt-siv-2015-copyright-formRps i crt-siv-2015-copyright-form
Rps i crt-siv-2015-copyright-form
lambanaveen
 
Embedded sysyetm components
Embedded sysyetm componentsEmbedded sysyetm components
Embedded sysyetm components
lambanaveen
 

More from lambanaveen (7)

Vocabulary Capsule for competition exams
Vocabulary Capsule for competition examsVocabulary Capsule for competition exams
Vocabulary Capsule for competition exams
 
INDIAN POLITY Capsule for SSC competitive exams
INDIAN POLITY Capsule for SSC competitive examsINDIAN POLITY Capsule for SSC competitive exams
INDIAN POLITY Capsule for SSC competitive exams
 
ECONOMICS Capsule for SSC Competitive exams
ECONOMICS Capsule for SSC Competitive examsECONOMICS Capsule for SSC Competitive exams
ECONOMICS Capsule for SSC Competitive exams
 
Ancient History Capsule for SSC all SSC Exams
Ancient History Capsule for SSC all SSC ExamsAncient History Capsule for SSC all SSC Exams
Ancient History Capsule for SSC all SSC Exams
 
English Essays For competitive descriptive exams
English Essays For competitive descriptive examsEnglish Essays For competitive descriptive exams
English Essays For competitive descriptive exams
 
Rps i crt-siv-2015-copyright-form
Rps i crt-siv-2015-copyright-formRps i crt-siv-2015-copyright-form
Rps i crt-siv-2015-copyright-form
 
Embedded sysyetm components
Embedded sysyetm componentsEmbedded sysyetm components
Embedded sysyetm components
 

Recently uploaded

power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 

Recently uploaded (20)

power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 

License plate extraction of overspeeding vehicles

  • 1. EXTRACTION OF LICENSE-PLATE NUMBER OF OVER SPEEDING VEHICLES Under the guidance of Dr. U.B. Mahadevaswamy Associate Professor, SJCE, Mysore Naveen Lamba Dept. of ECE, SJCE, Mysore Naveenlmb3@gmail.com Abstract—Traffic management plays a crucial role in cities especially in metropolitan. Lots of road mishape occurs due to over speeding of vehicles. Usually RADAR or LIDAR techniques are opted for monitoring traffic speed, which deploy active devices for its operation. Hence lots of extra power is getting wasted. In this paper, we propose an algorithm to detect the vehicle's speed using image processing techniques. If the speed exceeds the prescribed limit, the license plate of the over speeding vehicle is recognized and forwarded to the concerned authorities. Key words— Image enhancement, object detection, foreground, blob analysis, speed, contour, image segmentation and license plate recognition. INTRODUCTION Vehicle speed monitoring is important for enforcing speed limit laws. It also broadcasts the traffic conditions of the monitored section of the road of interest. Vehicle detection and tracking in real time is a challenging task in traffic surveillance systems. It often acts as an initial step for further processing such as speed of the detected object and their license plate recognition[1]. Vehicle detection from a video stream relies heavily on image processing techniques such as motion detection, foreground modeling, image enhancement, blob analysis, centroid calculation and speed calculation. A typical moving object detection algorithm has the following feature: (a) Estimation of the foreground (motion detection[2]) (b) Bounding the detected objects (c) tracking[3,4] (d) Estimation of velocity. METHODOLOGY The approach to create a system to detect the over speeding vehicles from a video sequence has been put forth in this section. The block diagram of the proposed system is shown in Figure 1. Video input In the first stage of the project, the videos are captured using a fixed camera. Video cameras are standard equipment for modern transportation and management. The camera is positioned in such a way that vehicles are coming towards the camera in order to avoid the side views of movement of vehicles and overlapping of vehicles. Converting video to image frames A video sequence is a series of still images with a small interval between two images. The video sequence is converted to frames. MATLAB image processing library convert the video which is in AVI format into frames. It captures the video stream and stores the frames in the buffer. This will prepare the image frames for further processing. Foreground modeling The moving objects in the video are to be detected for further processing. To perform this, foreground modeling is done to detect the difference between the background and foreground contents in an image frame. Gaussian Mixture model[6] is used for foreground detection in the project. By using the GMM technique, the values of each particular pixel in the image is modeled as a mixture of Gaussians. Based on the repetitiveness and variance of each of the Gaussians of the mixture, Gaussians that correspond to the background can be determined. Noise Removal The recorded video may have some noise due to bad weather (light, wind, etc.). A morphological operation called opening is performed to improve the image quality and to detect moving object. Foreground detection Video input Speed limit comparison Speed calculation Image enhancement Contour tracking License plate recognition Fig. 1. System overview
  • 2. The opening is a composite operator, constructed from the two basic operators erosion and dilation. Opening of set A by set B, the structuring element is achieved by first the eroding set A by B, then dilating the resulting set by B. Visual explanation of the opening process is in Figure 2. Fig 2. Opening operation. Contour tracking Contour tracking tracks the moving vehicles. Moving vehicles are tracked by bounding contour and updating them continuously. In the project we use a tool called “Blob analysis” from MATLAB for contour tracking. A blob is defined as a region of connected pixels. Blob analysis is the identification and study of these regions in an image. The blob features usually calculated are area, perimeter, blob shape and centroid. Blobs are defined based on the minimum area. When a moving object with the area greater than the specified minimum area is detected in the image frame, it is bounded by a rectangle. The blobs are given the required shape and color. The counts of blob present in each of the frames give the vehicle count in a frame. The same procedure is repeated for the entire video. To go to the next frame, step command is used and the predefined function blob is executed for each of the frames. Speed Calculation From the positions of previous processes, which have already provided us the position of each single vehicle in the image frame, the centroid coordinates are calculated in each frame. The speed detection of the vehicle in each image will be calculated using the position of the vehicle together with the frame rate of the video. The algorithm to detect the speed is as follows: 1. Two frames are considered from the video sequence. They are continuously monitored to detect the moving vehicles. 2. Once the vehicle is detected at frame 1, it is bound with the blob and the centroid of the corresponding vehicle is determined. 3. The centroid of the same blob in the frame 2 is determined. 4. The Euclidean distance i.e. the pixel length between the centroid coordinates is calculated and the time taken to cover the distance is obtained from the video. 5. The speed is then calculated using the formula: Speed = K (Distance/ Time) ; K is calibration factor. License Plate Recognition The License Plate of the vehicle is recognized if the speed exceeds the limit. The steps for implementing License Plate Recognition algorithm in MATLAB are described below: 1. Conversion of a colored image into gray image. 2. Image is enhanced to improvise the given image by filling holes, sharpening the edges of objects and join the broken lines and increases the brightness of an image. 3. Horizontal and Vertical Edge Processing of the image. In License Plate Recognition algorithm, the horizontal and vertical histogram represents the column-wise and row-wise histogram respectively. 4. The obtained histograms are passed through a low pass filter to remove the noise present in the image. 5. Segmentation of the image to find all the regions in an image that has high probability of containing a license plate. 6. The segmented regions are processed to obtain the region having highest probability of containing a license plate. SIMULATION AND RESULTS For the implementation of our algorithm we took a video with a frame rate of 30. Using MATLAB the video was successfully read and the frames were chosen for the operations to be performed. Foreground of the frame was obtained and it was filtered to get clear description of the boundary of the vehicle. The outcome is as in Figure 3. Fig 3. A video frame, its foreground and filtered foreground Using blob analysis, the boundary was provided to the vehicles and the number of vehicles present in current frame was displayed on the left top corner. The result is displayed in Figure 4.
  • 3. Fig 4. Blob analysis and Detection of number of vehicles on screen. The speed was calculated as proposed in the algorithm and successful results were obtained as in Figure 5. When the speed exceeded the prescribed limit, license plate of the over speeding vehicle was recognized. The outputs in the intermediate stages are in Figure 6 and 7. The recognized license plate can be sent to the concerned authorities. Fig 5. Display of the measured speed CONCLUSION AND FUTURE SCOPES The proposed algorithm detected the moving vehicles from the video. The images of foreground objects were enhanced for the smoothening of further processing. The vehicles were bounded by a blob .The speed of the vehicles were computed using the proposed algorithm. The license plate is recognized once the vehicle exceeds the speed limit. The results were comparable with the true speed of the vehicles. Future work will be directed towards achieving the following issues: 1. Better camera control to enable smooth object tracking at high zoom, in case video is vibrating. Video stabilization algorithm is required. 2. Improvement in the algorithm to implement the system in double lane road. 3. Improvements to be made in the algorithm so that the system does not fail in the case of different background and different environmental conditions. 4. Improvement in MATLAB code for monitoring and spotting vehicles breaking red light rules. REFERENCES [1] Christos-Nikolaos E. Anagnostopoulos, Member, IEEE, Ioannis E. Anagnostopoulos, Member, IEEE, Ioannis D. Psoroulas, Vassili Loumos, Member, IEEE, and Eleftherios Kayafas, Member, IEEE License plate recognition from still images and video sequences: a survey. IEEE transactions on intelligent transportation systems, vol. 9, no. 3, september 2008. [2] ‘Motion object detection of video based on principal Component analysis ‘proceedings of the seventh international conference on machine learning and cybernetics, kunming, 12-15 july 2008. [3] Moving object detection tracking system : a real time implemented, seizième colloque gretsi — 15-19 September 1997 — Grenoble. [4] ‘Object detection and tracking in video’ Kent State University, Date: November 2001 . [5] D. Hari Hara Santosh, P. Venkatesh, P. Poornesh, L. Narayana Rao, N. Arun Kumar Tracking Multiple Moving Objects Using Gaussian Mixture Model International Journal of Soft Computing an Engg. (IJSCE) ISSN: 2231-2307, Vol-3, Issue-2, May 2013. [6] Naikur Bharatkuma r Gohil, "CAR LICENSE PLATE DETECTION",Dharmsinh Desai University,India,2006. Fig 6. Sharpened gray image Fig 8. Recognized license plate Fig 7. Segmented image