SlideShare une entreprise Scribd logo
1  sur  18
Traffic Jam Detection
Using Image Processing
Introduction
 Traffic management is becoming one of the most important
issues in rapidly growing cities. Due to bad traffic
management, a lot of man-hours are being wasted.
 Increasing congestion on highways and problems associated
with existing detectors has generated an interest in vehicle
detection technologies such as video image processing.

 Regarding this problem, developing a self adaptive system
which can help in better traffic management using the
technique of image processing is a necessity.
 The suggested feature-based tracking system will detect
vehicles using image processing operations to calculate traffic
density is cost effective as cameras are cheaper and affordable
devices compared to any other devices such as sensors.
Existing Methods for Traffic Jam Detection
 Several approaches have been taken to detect traffic jam:
1. Magnetic Loop Detectors (MLD) are used to count the number
of vehicles using magnetic properties.
 These detectors provide limited traffic information and require
separate systems for traffic counting and for traffic
surveillance.
2. Inductive loop detectors do provide a cost-effective solution.
 However, they are subject to a high failure rate when installed
in poor road surfaces, leading to obstruct traffic during
maintenance and repair.
3. Light beams (LASER etc) are also used. As traffic moves light
beams are obstructed.
4. Infrared sensors on the other hand are affected to a greater
degree by fog than video cameras and cannot be used for
effective surveillance.
Advantage of Traffic Jam Detection using
Image Processing over other techniques
 In contrast to above mentioned techniques, video-based
systems offer many advantages.
1. They provide more traffic information, combine both
surveillance and traffic control technologies.
2. They are easily installed.
3. They are scalable with progress in image processing
techniques.
4. Traffic systems’ design and urban planning can be made very
efficient by basing them on the statistics taken from computer
aided traffic systems.
Procedure and Steps:
 As the system will use image processing along with object
detection to detect traffic jam. It will involve several phases.
 Key points of these phases are:
1. Image Analysis
2. Object detection
3. Typed object count
4. Motion detection
5. Result representation
 Phase 1:
1.
2.

1.

Frames are extracted from the recorded video.
The acquired frame is first converted into grayscale.
 To convert any color to a grayscale representation, one
must obtain the values of its red, green and blue primaries in
linear intensity encoding.
The grayscale image is then converted into binary.

RGB to Grayscale Conversion
 Phase 2:
 Morphological operations are applied to an input image and
an output image is generated.
 The most basic morphological operations are Erosion and
Dilation. Erosion shrinks image objects while dilation
expands them.
 These operations have an extensive amount of uses like
removing noise, isolation of individual elements and joining
disparate elements in an image and the detection of holes in
an image.
 Erosion and dilation produce contrasting results when
applied to either grayscale or binary image.
 Now we need to bring our image in contrast to background so
that proper threshold value may be selected while binary
conversion is carried out on the image.
i) Erosion:
 Erosion gradually decreases the size of objects.
 Removes small anomalies.
 Reduces the brightness (and therefore the size) of bright
objects on a dark background by taking the neighborhood
minimum.

Preview of Erosion Operation
ii) Delation:
 Dilation generally increases the size of the objects by
filling in holes and broken areas, and connecting areas
that are separated by spaces.
 increases the brightness of objects by taking the
neighborhood maximum.

Preview of Dilation Operation
 Phase 3:
 The approach used is a spatial-domain technique to
detect queue – implemented in real-time using low-cost
system.
 For this purpose, queue detection algorithm is used
which comprises of motion detection operation and
vehicle detection operation.
 Motion Detection makes use of frame differencing
technique applied to profiles of the images along the
road.
 Vehicle detection operation is based on applying edge
detection on these profiles. It is aimed to measure
queue parameters accurately.
 Phase 4 (Motion detection):
 Analysis of two consecutive frames are taken into
account, in which the histogram of key region parts of the
frames is analyzed.
 Histogram is then compared with the determined threshold
value.
 The key region should be at least 3-pixel-wide profile of the
image along the road.
 Then a median filtering operation is first applied to the
profile (key region) of each frame and one-pixel-wide profile
is extracted.
 The Difference of two profiles is then compared to detect
whether there is any displacement or motion.
 When there is motion, the differences of the profiles are
greater than the case when there is no motion.
 Thus motion can be detected by selecting an appropriate
threshold value. The size of the profile plays an essential
role and hence is an important parameter.
 Phase 5 (Vehicle detection):
 The profile along the road is partitioned into a number of
smaller profiles (sub-profiles).
 Number of sub profiles depends on the resolution and
accuracy required for the processing.
 The length of sub-profile should be equivalent to the
length of vehicle which facilitates accurate working of
both the algorithms.
Phase 6 (Vehicle detection algorithm):
 Following the process of the motion detection operation, a
vehicle detection operation is applied on the profile of the
unprocessed image.
 For implementation of algorithm in real time, two key
strategies are often applied:
I. Key region processing.
II. Simple algorithms.
 Vehicle detection algorithms developed so far are based on a
background differencing technique.
 Foreground objects are separated from background by a
process called as background subtraction by processing it in
a sequence of frames.
 Based on the time of appearance we segment objects.
 An appropriate pixel level criterion is defined and the pixels
which satisfy these criteria are declared as background and
are eliminated.
Proposed System
 The architecture consists of five major components:
1 .Traffic management
2. Roadway system
3. Server
4. Android App
5. Camera
 Camera which is fixed at lanes continuously monitors traffic.
 Video recorded is extracted into frames, these frames are then
sent to the server.
 Frames are further processed by the server i.e.
brightening, blurring, sharpening etc.
 Concurrent frames are compared, based on the count of the
vehicles in the frames, the server updates status as high traffic
or medium traffic or low traffic.
 A new application user will first register and then login into the
application using the login form.
 Then the server returns various locations present in the
database to the android user along with the traffic status.
 User can use the status provided by the server to choose an
alternative path to the destination.
Future Scope
 The future working in this project may be on:
 Number plate recognition.
 Traffic light control.
 Detection of speed of vehicles.
Conclusion
 To conclude, an android application based on image processing is
better technique to control traffic jam because:
 It visualizes reality as compared to the systems that rely on
metal detection of vehicles.
 It is also more consistent in detecting vehicle presence because
it uses actual traffic frames.
 The analysis can thus be improved with multiple sequential cameras
along a highway which:
 Controls the localized congestion
 analyzes the congestion build up from the starting point to the
end point.
 Overall, the system is good but it still needs improvement to achieve
a hundred percent accuracy.

Contenu connexe

Tendances

Predictive coding
Predictive codingPredictive coding
Predictive codingp_ayal
 
Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...Louise Antonio
 
Wavelet based image compression technique
Wavelet based image compression techniqueWavelet based image compression technique
Wavelet based image compression techniquePriyanka Pachori
 
Project synopsis on face recognition in e attendance
Project synopsis on face recognition in e attendanceProject synopsis on face recognition in e attendance
Project synopsis on face recognition in e attendanceNitesh Dubey
 
Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingAmna
 
AUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDA
AUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDAAUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDA
AUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDAMuhammed Sahal c
 
Raster animation
Raster animationRaster animation
Raster animationabhijit754
 
Automated traffic control by using image processing
Automated traffic control by using image processingAutomated traffic control by using image processing
Automated traffic control by using image processingswarnajui
 
Image compression: Techniques and Application
Image compression: Techniques and ApplicationImage compression: Techniques and Application
Image compression: Techniques and ApplicationNidhi Baranwal
 
Vehicle Detection using Camera
Vehicle Detection using CameraVehicle Detection using Camera
Vehicle Detection using CameraShubham Agrahari
 
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...Kuntal Bhowmick
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformationMdFazleRabbi18
 
Automatic toll collection system (presentation)
Automatic toll collection system (presentation)Automatic toll collection system (presentation)
Automatic toll collection system (presentation)Rohan Kale
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clippingMohd Arif
 
Bresenham's line algorithm
Bresenham's line algorithmBresenham's line algorithm
Bresenham's line algorithmPooja Dixit
 

Tendances (20)

Predictive coding
Predictive codingPredictive coding
Predictive coding
 
Boundary fill algm
Boundary fill algmBoundary fill algm
Boundary fill algm
 
Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...
 
Wavelet based image compression technique
Wavelet based image compression techniqueWavelet based image compression technique
Wavelet based image compression technique
 
Project synopsis on face recognition in e attendance
Project synopsis on face recognition in e attendanceProject synopsis on face recognition in e attendance
Project synopsis on face recognition in e attendance
 
Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image Processing
 
AUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDA
AUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDAAUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDA
AUTOMATIC CAR LICENSE PLATE RECOGNITION USING VEDA
 
Raster animation
Raster animationRaster animation
Raster animation
 
Toll plaza ppt
Toll plaza pptToll plaza ppt
Toll plaza ppt
 
Automated traffic control by using image processing
Automated traffic control by using image processingAutomated traffic control by using image processing
Automated traffic control by using image processing
 
Image compression: Techniques and Application
Image compression: Techniques and ApplicationImage compression: Techniques and Application
Image compression: Techniques and Application
 
Vehicle Detection using Camera
Vehicle Detection using CameraVehicle Detection using Camera
Vehicle Detection using Camera
 
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
Automatic toll collection system (presentation)
Automatic toll collection system (presentation)Automatic toll collection system (presentation)
Automatic toll collection system (presentation)
 
Bresenham algorithm
Bresenham algorithmBresenham algorithm
Bresenham algorithm
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
 
Computer graphics realism
Computer graphics realismComputer graphics realism
Computer graphics realism
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
 
Bresenham's line algorithm
Bresenham's line algorithmBresenham's line algorithm
Bresenham's line algorithm
 

En vedette

Vehicle detection through image processing
Vehicle detection through image processingVehicle detection through image processing
Vehicle detection through image processingGhazalpreet Kaur
 
Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...Louise Antonio
 
Traffic jam detection using image processing
Traffic jam detection using image processingTraffic jam detection using image processing
Traffic jam detection using image processingSai As Sharman
 
Fire extinguisher
Fire extinguisherFire extinguisher
Fire extinguisheritswalkerh
 
Fire fighting robot ppt
Fire fighting robot pptFire fighting robot ppt
Fire fighting robot pptathmeg
 
Real time image processing ppt
Real time image processing pptReal time image processing ppt
Real time image processing pptashwini.jagdhane
 
Smart Traffic Light Controller
Smart Traffic Light ControllerSmart Traffic Light Controller
Smart Traffic Light ControllerHimanshi_Sharma
 

En vedette (8)

Vehicle detection through image processing
Vehicle detection through image processingVehicle detection through image processing
Vehicle detection through image processing
 
Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...
 
Traffic jam detection using image processing
Traffic jam detection using image processingTraffic jam detection using image processing
Traffic jam detection using image processing
 
Fire extinguisher
Fire extinguisherFire extinguisher
Fire extinguisher
 
Fire fighting robot ppt
Fire fighting robot pptFire fighting robot ppt
Fire fighting robot ppt
 
fire fighting robot
fire fighting robotfire fighting robot
fire fighting robot
 
Real time image processing ppt
Real time image processing pptReal time image processing ppt
Real time image processing ppt
 
Smart Traffic Light Controller
Smart Traffic Light ControllerSmart Traffic Light Controller
Smart Traffic Light Controller
 

Similaire à traffic jam detection using image processing

License plate extraction of overspeeding vehicles
License plate extraction of overspeeding vehiclesLicense plate extraction of overspeeding vehicles
License plate extraction of overspeeding vehicleslambanaveen
 
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 ApproachIOSR Journals
 
Applying Computer Vision to Traffic Monitoring System in Vietnam
Applying Computer Vision to Traffic Monitoring System in Vietnam Applying Computer Vision to Traffic Monitoring System in Vietnam
Applying Computer Vision to Traffic Monitoring System in Vietnam Lê Anh
 
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 ApplicationsEditor IJCATR
 
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
 
Video Surveillance Systems For Traffic Monitoring
Video Surveillance Systems For Traffic MonitoringVideo Surveillance Systems For Traffic Monitoring
Video Surveillance Systems For Traffic MonitoringMeridian Media
 
Identification and classification of moving vehicles on road
Identification and classification of moving vehicles on roadIdentification and classification of moving vehicles on road
Identification and classification of moving vehicles on roadAlexander Decker
 
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
 
IRJET- Congestion Reducing System through Sensors, Image Processors and Vanet...
IRJET- Congestion Reducing System through Sensors, Image Processors and Vanet...IRJET- Congestion Reducing System through Sensors, Image Processors and Vanet...
IRJET- Congestion Reducing System through Sensors, Image Processors and Vanet...IRJET Journal
 
IRJET- Smart Traffic Control System using Image Processing
IRJET- Smart Traffic Control System using Image ProcessingIRJET- Smart Traffic Control System using Image Processing
IRJET- Smart Traffic Control System using Image ProcessingIRJET Journal
 
Obstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance SystemObstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance SystemIRJET Journal
 
Real time vehicle counting in complex scene for traffic flow estimation using...
Real time vehicle counting in complex scene for traffic flow estimation using...Real time vehicle counting in complex scene for traffic flow estimation using...
Real time vehicle counting in complex scene for traffic flow estimation using...Conference Papers
 
Iaetsd literature review on traffic signal control system based on
Iaetsd literature review on traffic signal control system based onIaetsd literature review on traffic signal control system based on
Iaetsd literature review on traffic signal control system based onIaetsd Iaetsd
 
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
 
Vehicle Traffic Analysis using CNN Algorithm
Vehicle Traffic Analysis using CNN AlgorithmVehicle Traffic Analysis using CNN Algorithm
Vehicle Traffic Analysis using CNN AlgorithmIRJET Journal
 

Similaire à traffic jam detection using image processing (20)

License plate extraction of overspeeding vehicles
License plate extraction of overspeeding vehiclesLicense plate extraction of overspeeding vehicles
License plate extraction of overspeeding vehicles
 
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
 
A017430110
A017430110A017430110
A017430110
 
F124144
F124144F124144
F124144
 
Applying Computer Vision to Traffic Monitoring System in Vietnam
Applying Computer Vision to Traffic Monitoring System in Vietnam Applying Computer Vision to Traffic Monitoring System in Vietnam
Applying Computer Vision to Traffic Monitoring System in Vietnam
 
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
 
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
 
Video Surveillance Systems For Traffic Monitoring
Video Surveillance Systems For Traffic MonitoringVideo Surveillance Systems For Traffic Monitoring
Video Surveillance Systems For Traffic Monitoring
 
Identification and classification of moving vehicles on road
Identification and classification of moving vehicles on roadIdentification and classification of moving vehicles on road
Identification and classification of moving vehicles on road
 
A real-time system for vehicle detection with shadow removal and vehicle clas...
A real-time system for vehicle detection with shadow removal and vehicle clas...A real-time system for vehicle detection with shadow removal and vehicle clas...
A real-time system for vehicle detection with shadow removal and vehicle clas...
 
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- Congestion Reducing System through Sensors, Image Processors and Vanet...
IRJET- Congestion Reducing System through Sensors, Image Processors and Vanet...IRJET- Congestion Reducing System through Sensors, Image Processors and Vanet...
IRJET- Congestion Reducing System through Sensors, Image Processors and Vanet...
 
IRJET- Smart Traffic Control System using Image Processing
IRJET- Smart Traffic Control System using Image ProcessingIRJET- Smart Traffic Control System using Image Processing
IRJET- Smart Traffic Control System using Image Processing
 
Obstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance SystemObstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance System
 
Real time vehicle counting in complex scene for traffic flow estimation using...
Real time vehicle counting in complex scene for traffic flow estimation using...Real time vehicle counting in complex scene for traffic flow estimation using...
Real time vehicle counting in complex scene for traffic flow estimation using...
 
QDA_RTP_Traffic_ppt_final.ppt
QDA_RTP_Traffic_ppt_final.pptQDA_RTP_Traffic_ppt_final.ppt
QDA_RTP_Traffic_ppt_final.ppt
 
Iaetsd literature review on traffic signal control system based on
Iaetsd literature review on traffic signal control system based onIaetsd literature review on traffic signal control system based on
Iaetsd literature review on traffic signal control system based on
 
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...
 
13
1313
13
 
Vehicle Traffic Analysis using CNN Algorithm
Vehicle Traffic Analysis using CNN AlgorithmVehicle Traffic Analysis using CNN Algorithm
Vehicle Traffic Analysis using CNN Algorithm
 

Dernier

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Dernier (20)

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

traffic jam detection using image processing

  • 1. Traffic Jam Detection Using Image Processing
  • 2. Introduction  Traffic management is becoming one of the most important issues in rapidly growing cities. Due to bad traffic management, a lot of man-hours are being wasted.  Increasing congestion on highways and problems associated with existing detectors has generated an interest in vehicle detection technologies such as video image processing.  Regarding this problem, developing a self adaptive system which can help in better traffic management using the technique of image processing is a necessity.  The suggested feature-based tracking system will detect vehicles using image processing operations to calculate traffic density is cost effective as cameras are cheaper and affordable devices compared to any other devices such as sensors.
  • 3. Existing Methods for Traffic Jam Detection  Several approaches have been taken to detect traffic jam: 1. Magnetic Loop Detectors (MLD) are used to count the number of vehicles using magnetic properties.  These detectors provide limited traffic information and require separate systems for traffic counting and for traffic surveillance. 2. Inductive loop detectors do provide a cost-effective solution.  However, they are subject to a high failure rate when installed in poor road surfaces, leading to obstruct traffic during maintenance and repair. 3. Light beams (LASER etc) are also used. As traffic moves light beams are obstructed. 4. Infrared sensors on the other hand are affected to a greater degree by fog than video cameras and cannot be used for effective surveillance.
  • 4. Advantage of Traffic Jam Detection using Image Processing over other techniques  In contrast to above mentioned techniques, video-based systems offer many advantages. 1. They provide more traffic information, combine both surveillance and traffic control technologies. 2. They are easily installed. 3. They are scalable with progress in image processing techniques. 4. Traffic systems’ design and urban planning can be made very efficient by basing them on the statistics taken from computer aided traffic systems.
  • 5. Procedure and Steps:  As the system will use image processing along with object detection to detect traffic jam. It will involve several phases.  Key points of these phases are: 1. Image Analysis 2. Object detection 3. Typed object count 4. Motion detection 5. Result representation
  • 6.  Phase 1: 1. 2. 1. Frames are extracted from the recorded video. The acquired frame is first converted into grayscale.  To convert any color to a grayscale representation, one must obtain the values of its red, green and blue primaries in linear intensity encoding. The grayscale image is then converted into binary. RGB to Grayscale Conversion
  • 7.  Phase 2:  Morphological operations are applied to an input image and an output image is generated.  The most basic morphological operations are Erosion and Dilation. Erosion shrinks image objects while dilation expands them.  These operations have an extensive amount of uses like removing noise, isolation of individual elements and joining disparate elements in an image and the detection of holes in an image.  Erosion and dilation produce contrasting results when applied to either grayscale or binary image.  Now we need to bring our image in contrast to background so that proper threshold value may be selected while binary conversion is carried out on the image.
  • 8. i) Erosion:  Erosion gradually decreases the size of objects.  Removes small anomalies.  Reduces the brightness (and therefore the size) of bright objects on a dark background by taking the neighborhood minimum. Preview of Erosion Operation
  • 9. ii) Delation:  Dilation generally increases the size of the objects by filling in holes and broken areas, and connecting areas that are separated by spaces.  increases the brightness of objects by taking the neighborhood maximum. Preview of Dilation Operation
  • 10.  Phase 3:  The approach used is a spatial-domain technique to detect queue – implemented in real-time using low-cost system.  For this purpose, queue detection algorithm is used which comprises of motion detection operation and vehicle detection operation.  Motion Detection makes use of frame differencing technique applied to profiles of the images along the road.  Vehicle detection operation is based on applying edge detection on these profiles. It is aimed to measure queue parameters accurately.
  • 11.  Phase 4 (Motion detection):  Analysis of two consecutive frames are taken into account, in which the histogram of key region parts of the frames is analyzed.  Histogram is then compared with the determined threshold value.  The key region should be at least 3-pixel-wide profile of the image along the road.  Then a median filtering operation is first applied to the profile (key region) of each frame and one-pixel-wide profile is extracted.  The Difference of two profiles is then compared to detect whether there is any displacement or motion.  When there is motion, the differences of the profiles are greater than the case when there is no motion.  Thus motion can be detected by selecting an appropriate threshold value. The size of the profile plays an essential role and hence is an important parameter.
  • 12.  Phase 5 (Vehicle detection):  The profile along the road is partitioned into a number of smaller profiles (sub-profiles).  Number of sub profiles depends on the resolution and accuracy required for the processing.  The length of sub-profile should be equivalent to the length of vehicle which facilitates accurate working of both the algorithms.
  • 13. Phase 6 (Vehicle detection algorithm):  Following the process of the motion detection operation, a vehicle detection operation is applied on the profile of the unprocessed image.  For implementation of algorithm in real time, two key strategies are often applied: I. Key region processing. II. Simple algorithms.  Vehicle detection algorithms developed so far are based on a background differencing technique.  Foreground objects are separated from background by a process called as background subtraction by processing it in a sequence of frames.  Based on the time of appearance we segment objects.  An appropriate pixel level criterion is defined and the pixels which satisfy these criteria are declared as background and are eliminated.
  • 14. Proposed System  The architecture consists of five major components: 1 .Traffic management 2. Roadway system 3. Server 4. Android App 5. Camera
  • 15.  Camera which is fixed at lanes continuously monitors traffic.  Video recorded is extracted into frames, these frames are then sent to the server.  Frames are further processed by the server i.e. brightening, blurring, sharpening etc.  Concurrent frames are compared, based on the count of the vehicles in the frames, the server updates status as high traffic or medium traffic or low traffic.  A new application user will first register and then login into the application using the login form.  Then the server returns various locations present in the database to the android user along with the traffic status.  User can use the status provided by the server to choose an alternative path to the destination.
  • 16.
  • 17. Future Scope  The future working in this project may be on:  Number plate recognition.  Traffic light control.  Detection of speed of vehicles.
  • 18. Conclusion  To conclude, an android application based on image processing is better technique to control traffic jam because:  It visualizes reality as compared to the systems that rely on metal detection of vehicles.  It is also more consistent in detecting vehicle presence because it uses actual traffic frames.  The analysis can thus be improved with multiple sequential cameras along a highway which:  Controls the localized congestion  analyzes the congestion build up from the starting point to the end point.  Overall, the system is good but it still needs improvement to achieve a hundred percent accuracy.