ISSN (Online) : 2319 - 8753
ISSN (Print) : 2347 - 6710
International Journal of Innovative Research in Science, Engineering and Technology
Volume 3, Special Issue 3, March 2014
2014 International Conference on Innovations in Engineering and Technology (ICIET’14)
On 21st
& 22nd
March Organized by
K.L.N. College of Engineering, Madurai, Tamil Nadu, India
M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2218
Abstract— The project is designed to develop a density
based dynamic traffic signal system. The signal timing
changes automatically on sensing the traffic density at the
junction. Traffic congestion is a severe problem in many
major cities across the world and it has become a
nightmare for the commuters in these cities. Conventional
traffic light system is based on fixed time concept allotted
to each side of the junction which cannot be varied as per
varying traffic density [1]. Junction timings allotted are
fixed. Sometimes higher traffic density at one side of the
junction demands longer green time as compared to
standard allotted time. The image captured in the traffic
signal is processed and converted into grayscale image
then its threshold is calculated based on which the contour
has been drawn in order to calculate the number of
vehicles present in the image. After calculating the number
of vehicles we will came to know in which side the density
is high based on which signals will be allotted for a
particular side. Raspberry pi is used as a microcontroller
which provides the signal timing based on the traffic
density.
Keywords— Raspberry pi, Image Processing, Vehicles
Counting, Adaptive traffic control system.
I. INTRODUCTION
In modern life we have to face with many problems one
of which is traffic congestion becoming more serious day
after day. It is said that the high volume of vehicles, the
inadequate infrastructure and the irrational distribution of
the development are main reasons for increasing traffic
jam. The major cause leading to traffic congestion is the
high number of vehicle which was caused by the
population and the development of economy. Traffic
congestion is a condition on road networks that occurs as
use increases, and is characterized by slower speeds,
longer trip times, and increased vehicular queuing. The
most common example is the physical use of roads by
vehicles. When traffic demand is great enough that the
interaction between vehicles slows the speed of the traffic
stream, these results in some congestion .As demand
approaches the capacity of a road (or of the intersections
along the road), extreme traffic congestion sets in. When
vehicles are fully stopped for periods of time, this is
colloquially known as a traffic jam or traffic snarl-up.
Traffic congestion can lead to drivers becoming
frustrated and engaging in road rage. In order to avoid the
congestion in the traffic. In traffic environments, Traffic
Sign Recognition (TSR) is used to regulate traffic signs,
warn the driver, and command or prohibit certain actions.
A fast real-time and robust automatic traffic sign
detection and recognition can support and disburden the
driver, and thus, significantly increase driving safety and
comfort. Generally, traffic signs provide the driver
various information for safe and efficient navigation
Automatic recognition of traffic signs is, therefore,
important for automated intelligent driving vehicle or
driver assistance systems. However, identification of
traffic signs with respect to various natural background
viewing conditions still remains challenging tasks. Real
time automatic vision based traffic light control has been
recently the interest of many researchers, due to the
frequent traffic jams at major junctions and its resulting
wastage of time. Instead of depending on information
generated by costly sensors, economic situation calls for
using available video cameras in an efficient way for
effective traffic congestion estimation. Thus, given a
video sequence, the task of vision based traffic light
control list: 1) analyze image sequences; 2) estimate
traffic congestion and 3) predict the next traffic light
interval. Researchers may focus on one or more of these
tasks, and they may also choose different measures for
traffic structure or add measures. For more
Density Based Traffic Signal System
K.Vidhya, A.Bazila Banu
Post Graduate Student Dept of Information Technology, Velammal College of Engineering and Technology,
Madurai, India.
Assistant Professor Dept of Information Technology, Velammal College of Engineering and Technology,
Madurai, India.
Density Based Traffic Signal System
M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2219
comprehensive review on vision based traffic light control
Due to the massive growth in urbanization and
traffic congestion, intelligent vision based traffic light
controller is needed to reduce the traffic delay and travel
time especially in developing countries as the current
automatic time based control is not realistic while sensor-
based traffic light controller is not reliable in developing
countries.
Traffic congestion is now considered to be one of
the biggest problems in the urban environments. Traffic
problems will be also much more widely increasing as an
expected result of the growing number of transportation
means and current low-quality infrastructure of the roads.
In addition, many studies and statistics were generated in
developing countries that proved that most of the road
accidents are because of the very narrow roads and
because of the destructive increase in the transportation
means. This idea of controlling the traffic light efficiently
in real time has attracted many researchers to work in this
field with the goal of creating automatic tool that can
estimate the traffic congestion and based on this Variable,
the traffic sign time interval is forecasted.
II. MOTIVATION
The traffic lights that are in widespread use today do not
do much intricate reasoning when deciding when to
change the lights for the various road users waiting in
different lanes.
How long the signal stays green in one lane and
red in another is most often determined by simple timing
that is calculated when the crossing is designed. Even
though today’s methods are robust and work well when
the traffic load is distributed evenly across the lanes in the
intersection, the systems are very inefficient because they
are unable to handle various simple situations that arise
throughout the day. Unnecessary waiting time in the
signal can be avoided by determining in which side the
green signal should be large during the traffic. In Case the
structure of the traffic [2].
III.PROBLEM DEFINITION AND LIMITATION
Researchers now are so much interested in
automatic real-time traffic congestion estimation tool as it
is the most significant factor on which intelligent
transportation systems are based. Some of the researchers
have focused in their work on traffic flow estimation. It is
measured as the rate at which vehicles pass a fixed point
(e.g. vehicles per minute). They used spot sensors such as
loop detectors and pneumatic sensors to quantify the
traffic flow However; the sensors are very expensive and
need a lot of maintenance especially in developing
countries because of the road ground de-formations. In
addition, metal barriers near the road might prevent
effective detection using radar sensors. It is also found
that traffic congestion also occurred while using the
electronic sensors for controlling the traffic. In contrast,
video based systems are much better compared to all other
techniques as they provide more traffic information and
they are much more scalable with the progress in image
progressing techniques. This is the main reason for the
motivation to develop vision based tool for traffic light
control in this work. In recent years, vision based traffic
light control, which is based on video processing for
traffic flow or traffic density estimation, has attracted the
attention of many researchers. The value of traffic density
measures only the ratio between the density of the
vehicles and the total density of the road. So based on
this measure, the traffic control system will compare
between different roads in the intersection to take the
decision for the traffic light and the time interval given.
However, most of the previous vision based monitoring
systems suffered from lack of robustness on dealing with
continuously changing environment such as lighting
conditions, weather conditions and unattended vehicles.
All these mentioned factors considerably affect the traffic
density estimation. Changes in lightening conditions and
weather conditions have been tackled in many of the
previous approaches and they are going to be considered
also in our proposed approach, but the problem that has
never been addressed before and has a significant effect
on the traffic pace is the stationary vehicles, specially the
unattended ones. The problem with the traffic density
measurement is that the traffic density of a road with
stationary or unattended vehicles is the same as the traffic
density of a road with no stationary vehicles. Traffic flow
counts the number of vehicles that passes through the
frame during a certain time interval. However, it may
give an empty road a higher priority than a congested
road, because fewer vehicles are passing though the
given point in that empty road. Therefore, we will
concentrate on the detection of the delayed and
unattended vehicles in the proposed approach for
computing more informative metric about the traffic
congestion in order to have more effective way of traffic.
This metric is very similar to the traffic density, but with
taking the traffic flow into consideration. So it can be
considered as a combination of both traffic density and
traffic flow.
IV. ARCHITECHTURE FOR THE CONTROL
SYSTEM
In this architecture camera is placed on the top of the
signal to get the clear view of traffic on the particular side
of the signal so that it will capture the image and analyze
the traffic in that particular side and get the count of the
number of vehicle. With this count the density of that
particular side will be determined and corresponding
signal will be provided. Fig 1
Fig. 1 System Architecture
Density Based Traffic Signal System
M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2220
V. DENSITY MEASUREMENT
A. Source Image
In this system the source image is the RGB image
which can be given by the users for getting the contour
image and the vehicle count in output screen. The
following code can be used to auto size of the output
screen .Fig 2
Fig. 2 Source image
B.Grayscale Image
The grayscale image can be used to display the objects in
the format of black and white. In this system the output
will be display the grayscale image after getting the
source image only, because source image only converted
into the grayscale image.
.
Fig 3 Gray Scale Image
C. Threshold Image
The threshold image brightness or contrast of the
grayscale image. In this system we can convert the
grayscale image to threshold image.
Fig 4 Threshold Image
D. Canny image
Canny image is the image one of the edge detector that
can be used to outline the edges of the objects. It can be
help full for find out the objects.Here we have convet the
threshold image to canny image
Fig. 5 Canny Image
E .Erode Image
The Erode image also like the canny image it can be used
find the edges with the darked lines.In our system the
edges of the vehicles are detect with the darked lines
Before converting the canny image to Erode image, the
canny image will be destroied.
Fig. 6 Erode Image
F. Contour Image
Before showing the vehicles count and output screen the
Erode Image converted into the contour image. This
image is the final step to find the vehicled counts and
output screen.
Density Based Traffic Signal System
M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2221
Fig. 7 Contour Image
G. Output screen
The two types of output screens are displyed in this
system. They are,
1) First output screen disply the output image. In
this image will display the original RGB Image
and in this screen the vehicles are boxed for the
find the count.
2) Another output screen is the command prompt.
In this command prompt will be open when the
user run this system, in final stage after getting
the output image the command promt will
display the vehicle counts.
Fig. 8 Output Image
H. Digital Image Processing
Digital image processing is the use of computer
algorithms to perform image processing on
digital images. As a subfield of digital signal
processing, digital image processing has many
advantages over analog image processing; it
allows a much wider range of algorithms to be
applied to the input data, and can avoid problems
such as the build-up of noise and signal
distortion during processing. The different levels
at which one may want to interact with the
system
1) User interface: Running the GUI, Creation of
batch jobs for applications using mat lab batch, Batch
management, batch execution, including use of MATLAB
scripts to run batch jobs on multiple datasets with very
little user interaction
2) Application development: Requirements on code
structure of application
3) Introduction: Internal representation of batch
configurations, Introduction to writing batch
configuration scripts, Integration of an application into
configuration management and GUI
4) Implementation: Classes used, Methods, Details
about job management, runtime etc.
5) Disadvantage: Interpreted programming
language, slower than C++ and V. FORTRAN. This tool
cannot be used for real time application it will give only
the simulation results.Matlab software is not free of cost.
Our application requires the real time application
software so opencv is used as the image processing
technique.
VI. CONCLUSIONS
We conclude the Density measurement by using opencv
tool as software for image processing by just displaying
the various conversion of image in the screen and finally
surrounding the box on the vehicle in the given image,
the number of vehicle is calculated.
We can calculate the density of the vehicle by using mat
lab tool by comparing the four side of the image which is
given as a input. we can simulate the result of the four
given input image but this cannot be used in real time
applications as it is very slow and the software is not free
of cost like opencv to overcome this disadvantage of mat
lab, opencv software is used which is very easy to install
and is open source software and can be used in real time
application in a quick manner. In this paper we have
shown the density measurement in the signal by using
opencv in the System.
VII. REMAINING WORK
In future work Raspberry pi microcontroller can be
used which will directly integrate the opencv software
there is no need to install the opencv in the system. With
the help of raspberry pi we can provide the view of the
traffic to the traffic controller room so that the green
signal will be provided for the longer time in the required
area during the signal in order to avoid the unnecessary
waiting time during the signal.
ACKNOWLEDGEMENT
We would like to thank our head of the department
Mr.S.Raj Pandian and my guide Mrs.A.Bazila Banu for
motivating us in doing such kind of real time projects and
thanks to all my friend kavitha thangalakshmi and the
web sources.
REFERENCES
[1] Vivek, Tyagi, Senior Member IEEE, Shivakumar
Kalyanaraman, Fellow, IEEE, and Raghuram Krishnapuram,
Fellow, IEEE “Vehicular Traffic Density State Estimation
Based On Cumulative Road Acoustics” in IEEE Transaction
on Intelligent Transportation System.Vol.23. No.3 September
2012
[2] MD.Hazrat ALI, Syuhei KUROKAWA, et
al,“Autonomous Road Surveillance System proposed Model
For Vehicle Detection and Traffic Signal Control “in
Procedia Computer Science 19(2013)
Density Based Traffic Signal System
M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2222
[3] R. WEIL, J. WOOTTON AND A. GARCIA-ORTIZ”
Traffic Incident Detection Sensor and Algorithms
“Mathl.Comput.Modeling Vol.27
[4] K.Thatsanavipas,N.Ponganunchoke ,et al., “Wireless
Traffic Light Controller”2nd
International Science,Social-
Science,Engineering and Energy Conference
2010:Engineering Science and Management.
[5] Wanjing MA and Xiaoguang YANG “Design and
Estimation of an Adaptive Bus
Signal Priority System Base on Wireless Sensor Network
“Proceeding of the 11th
International IEEE Conference on
Intelligent Transportation Systems.
[6] Hikaru Shimizu,Masa-aki Kobayashi,Haruko,et al.,”A
Development of Deterministic Signal Control System in
Urban Road Networks” in SICE Annual Conference 2008
The University of Electro-Communications Japan
.[7] Muhammad Hassam Malhi, Muhammad Hassan Aslam
et al.,”Vision Based Intelligent Traffic Management System”
IEEE Computer Society 2011 Frontiers of Information
Technology
[8] H.R.Kashani and G.N.Saridis “Intelligent Control for
Urban Traffic Systems” International Federation of
Automatic Control Automatica, vol.19, No.
[9] Umar Farooq, Hafiz Muhammad Atiqs, Muhammad Us
man Assad et al.,”Design and Development of an Image
Processing Based Adaptive Traffic control System”IEEE
Computer Society 2011Second International Conference on
Machine Vision
[10] Ceil Ozkurt and Faith Camci “Automatic Traffic
Density Estimation And Vehicle Classification For Traffic
Surveillance System Using Neural Networks” in
Mathematical and Computational Applications.Vol.14, No.3
Association for Scientific Research.
Density Based Traffic Signal System
M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2223

More Related Content

PPTX
wireless Communication Underwater(Ocean)
PPTX
Density based traffic signal control using microcontroller
PPTX
Underwater Wireless Communication
PPTX
Li-Fi Technology (Perfect slides)
DOCX
Electronics seminar topics
PPTX
Wireless power transmission
PPTX
IBOC TECHNOLOGY
wireless Communication Underwater(Ocean)
Density based traffic signal control using microcontroller
Underwater Wireless Communication
Li-Fi Technology (Perfect slides)
Electronics seminar topics
Wireless power transmission
IBOC TECHNOLOGY

What's hot (20)

PPTX
Density based traffic signal system
PPTX
Underwater wireless communication
PPTX
Reluctance motor
PPTX
Wi-Vi Technology
PPTX
Solar based wireless charging of electric vehicle
DOCX
Report on In Band On Channel
PPT
Smart Traffic Light Controller
PPTX
Solar Power Satellite
PPTX
Linear Induction Motor
PPT
Lifi ppt
PPTX
CSI and vSI fed induction motor drives
PPTX
Rf light sources
PPT
Non linear effects in optical fibers
PPTX
Waveguide presentation
PPT
Li fi technology(awesome slides )
PPT
Smart antennas for mobile communication
PPTX
Wireless Power Transmission
PPTX
Wireless power transmission
PPTX
Artifical intelligence
Density based traffic signal system
Underwater wireless communication
Reluctance motor
Wi-Vi Technology
Solar based wireless charging of electric vehicle
Report on In Band On Channel
Smart Traffic Light Controller
Solar Power Satellite
Linear Induction Motor
Lifi ppt
CSI and vSI fed induction motor drives
Rf light sources
Non linear effects in optical fibers
Waveguide presentation
Li fi technology(awesome slides )
Smart antennas for mobile communication
Wireless Power Transmission
Wireless power transmission
Artifical intelligence
Ad

Viewers also liked (17)

PDF
Traffic Light Controller System using Optical Flow Estimation
PDF
Iaetsd literature review on traffic signal control system based on
PDF
1. control of real time traffic with the help of image processing
PPTX
Automated traffic control by using image processing
PPTX
Modeling Design and Analysis of Intelligent Traffic Control System Based on S...
PPTX
Traffic congestion prediction with images
PPTX
Smart Control of Traffic Signal System using Image Processing
PPTX
Image Processing Applied To Traffic Queue Detection Algorithm
PPTX
Traffic controller
PPTX
traffic jam detection using image processing
PPTX
Traffic jam detection using image processing
PPTX
Density based-traffic-light-control-system project-2 (3)
PPTX
Final Project presentation on Image processing based intelligent traffic cont...
PPTX
Application of traffic light
PDF
Density Based Traffic signal system using microcontroller
PPTX
Driver-less cars by avaneesh shuka
PDF
Final Project Report on Image processing based intelligent traffic control sy...
Traffic Light Controller System using Optical Flow Estimation
Iaetsd literature review on traffic signal control system based on
1. control of real time traffic with the help of image processing
Automated traffic control by using image processing
Modeling Design and Analysis of Intelligent Traffic Control System Based on S...
Traffic congestion prediction with images
Smart Control of Traffic Signal System using Image Processing
Image Processing Applied To Traffic Queue Detection Algorithm
Traffic controller
traffic jam detection using image processing
Traffic jam detection using image processing
Density based-traffic-light-control-system project-2 (3)
Final Project presentation on Image processing based intelligent traffic cont...
Application of traffic light
Density Based Traffic signal system using microcontroller
Driver-less cars by avaneesh shuka
Final Project Report on Image processing based intelligent traffic control sy...
Ad

Similar to Density based-traffic-signal-system (20)

PDF
IRJET - Smart Traffic Monitoring System
PDF
Simulation of pedestrian at intersection in urban congested area
PDF
IRJET-To Study Current Traffic Scenario in Metrocity and Finding Technically ...
PDF
IRJET- A Review Paper on Movable Divider and Cost Efficiency
PDF
Ieeepro techno solutions 2013 ieee embedded project dynamic traffic control...
PDF
A Novel Methodology for Traffic Monitoring and Efficient Data Propagation in ...
PDF
Icquest1518
PDF
Real time deep-learning based traffic volume count for high-traffic urban art...
PDF
Real–Time Intelligent Transportation System based on VANET
PDF
Design of intelligent traffic light controller using gsm & embedded system
PPT
Traffic at urban road junctions
DOCX
Intelligent transportation system based on iot service for traffic control
PDF
IRJET- Image Processing based Intelligent Traffic Control and Monitoring ...
PDF
Study of Congestion Control Scheme with Decentralized Threshold Function in V...
PDF
Development of a prioritized traffic light control system for emergency vehicles
PDF
SMART CONTROL OF TRAFFIC LIGHT USING ARTIFICIAL INTELLIGENCE
PDF
IRJET- Critical Assessment of Road Capacitiesand Solutions for Traffic Proble...
PDF
TRAFFIC PARAMETERS: VOLUME COUNT, SPOT SPEED STUDY, SATUARATION FLOW
PDF
Technology and Active Travel
PDF
Techniques for Smart Traffic Control: An In-depth Review
IRJET - Smart Traffic Monitoring System
Simulation of pedestrian at intersection in urban congested area
IRJET-To Study Current Traffic Scenario in Metrocity and Finding Technically ...
IRJET- A Review Paper on Movable Divider and Cost Efficiency
Ieeepro techno solutions 2013 ieee embedded project dynamic traffic control...
A Novel Methodology for Traffic Monitoring and Efficient Data Propagation in ...
Icquest1518
Real time deep-learning based traffic volume count for high-traffic urban art...
Real–Time Intelligent Transportation System based on VANET
Design of intelligent traffic light controller using gsm & embedded system
Traffic at urban road junctions
Intelligent transportation system based on iot service for traffic control
IRJET- Image Processing based Intelligent Traffic Control and Monitoring ...
Study of Congestion Control Scheme with Decentralized Threshold Function in V...
Development of a prioritized traffic light control system for emergency vehicles
SMART CONTROL OF TRAFFIC LIGHT USING ARTIFICIAL INTELLIGENCE
IRJET- Critical Assessment of Road Capacitiesand Solutions for Traffic Proble...
TRAFFIC PARAMETERS: VOLUME COUNT, SPOT SPEED STUDY, SATUARATION FLOW
Technology and Active Travel
Techniques for Smart Traffic Control: An In-depth Review

Recently uploaded (20)

PDF
Everyday Spelling and Grammar by Kathi Wyldeck
PDF
THE CHILD AND ADOLESCENT LEARNERS & LEARNING PRINCIPLES
PDF
Disorder of Endocrine system (1).pdfyyhyyyy
PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
PPTX
Macbeth play - analysis .pptx english lit
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
Fun with Grammar (Communicative Activities for the Azar Grammar Series)
PPTX
UNIT_2-__LIPIDS[1].pptx.................
PDF
African Communication Research: A review
PDF
The TKT Course. Modules 1, 2, 3.for self study
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
Laparoscopic Colorectal Surgery at WLH Hospital
PDF
1.Salivary gland disease.pdf 3.Bleeding and Clotting Disorders.pdf important
PDF
Compact First Student's Book Cambridge Official
PDF
Journal of Dental Science - UDMY (2020).pdf
PPTX
BSCE 2 NIGHT (CHAPTER 2) just cases.pptx
PPTX
CAPACITY BUILDING PROGRAMME IN ADOLESCENT EDUCATION
PDF
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
DOCX
Ibrahim Suliman Mukhtar CV5AUG2025.docx
Everyday Spelling and Grammar by Kathi Wyldeck
THE CHILD AND ADOLESCENT LEARNERS & LEARNING PRINCIPLES
Disorder of Endocrine system (1).pdfyyhyyyy
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
Macbeth play - analysis .pptx english lit
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
Fun with Grammar (Communicative Activities for the Azar Grammar Series)
UNIT_2-__LIPIDS[1].pptx.................
African Communication Research: A review
The TKT Course. Modules 1, 2, 3.for self study
Journal of Dental Science - UDMY (2021).pdf
Laparoscopic Colorectal Surgery at WLH Hospital
1.Salivary gland disease.pdf 3.Bleeding and Clotting Disorders.pdf important
Compact First Student's Book Cambridge Official
Journal of Dental Science - UDMY (2020).pdf
BSCE 2 NIGHT (CHAPTER 2) just cases.pptx
CAPACITY BUILDING PROGRAMME IN ADOLESCENT EDUCATION
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
Ibrahim Suliman Mukhtar CV5AUG2025.docx

Density based-traffic-signal-system

  • 1. ISSN (Online) : 2319 - 8753 ISSN (Print) : 2347 - 6710 International Journal of Innovative Research in Science, Engineering and Technology Volume 3, Special Issue 3, March 2014 2014 International Conference on Innovations in Engineering and Technology (ICIET’14) On 21st & 22nd March Organized by K.L.N. College of Engineering, Madurai, Tamil Nadu, India M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2218 Abstract— The project is designed to develop a density based dynamic traffic signal system. The signal timing changes automatically on sensing the traffic density at the junction. Traffic congestion is a severe problem in many major cities across the world and it has become a nightmare for the commuters in these cities. Conventional traffic light system is based on fixed time concept allotted to each side of the junction which cannot be varied as per varying traffic density [1]. Junction timings allotted are fixed. Sometimes higher traffic density at one side of the junction demands longer green time as compared to standard allotted time. The image captured in the traffic signal is processed and converted into grayscale image then its threshold is calculated based on which the contour has been drawn in order to calculate the number of vehicles present in the image. After calculating the number of vehicles we will came to know in which side the density is high based on which signals will be allotted for a particular side. Raspberry pi is used as a microcontroller which provides the signal timing based on the traffic density. Keywords— Raspberry pi, Image Processing, Vehicles Counting, Adaptive traffic control system. I. INTRODUCTION In modern life we have to face with many problems one of which is traffic congestion becoming more serious day after day. It is said that the high volume of vehicles, the inadequate infrastructure and the irrational distribution of the development are main reasons for increasing traffic jam. The major cause leading to traffic congestion is the high number of vehicle which was caused by the population and the development of economy. Traffic congestion is a condition on road networks that occurs as use increases, and is characterized by slower speeds, longer trip times, and increased vehicular queuing. The most common example is the physical use of roads by vehicles. When traffic demand is great enough that the interaction between vehicles slows the speed of the traffic stream, these results in some congestion .As demand approaches the capacity of a road (or of the intersections along the road), extreme traffic congestion sets in. When vehicles are fully stopped for periods of time, this is colloquially known as a traffic jam or traffic snarl-up. Traffic congestion can lead to drivers becoming frustrated and engaging in road rage. In order to avoid the congestion in the traffic. In traffic environments, Traffic Sign Recognition (TSR) is used to regulate traffic signs, warn the driver, and command or prohibit certain actions. A fast real-time and robust automatic traffic sign detection and recognition can support and disburden the driver, and thus, significantly increase driving safety and comfort. Generally, traffic signs provide the driver various information for safe and efficient navigation Automatic recognition of traffic signs is, therefore, important for automated intelligent driving vehicle or driver assistance systems. However, identification of traffic signs with respect to various natural background viewing conditions still remains challenging tasks. Real time automatic vision based traffic light control has been recently the interest of many researchers, due to the frequent traffic jams at major junctions and its resulting wastage of time. Instead of depending on information generated by costly sensors, economic situation calls for using available video cameras in an efficient way for effective traffic congestion estimation. Thus, given a video sequence, the task of vision based traffic light control list: 1) analyze image sequences; 2) estimate traffic congestion and 3) predict the next traffic light interval. Researchers may focus on one or more of these tasks, and they may also choose different measures for traffic structure or add measures. For more Density Based Traffic Signal System K.Vidhya, A.Bazila Banu Post Graduate Student Dept of Information Technology, Velammal College of Engineering and Technology, Madurai, India. Assistant Professor Dept of Information Technology, Velammal College of Engineering and Technology, Madurai, India.
  • 2. Density Based Traffic Signal System M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2219 comprehensive review on vision based traffic light control Due to the massive growth in urbanization and traffic congestion, intelligent vision based traffic light controller is needed to reduce the traffic delay and travel time especially in developing countries as the current automatic time based control is not realistic while sensor- based traffic light controller is not reliable in developing countries. Traffic congestion is now considered to be one of the biggest problems in the urban environments. Traffic problems will be also much more widely increasing as an expected result of the growing number of transportation means and current low-quality infrastructure of the roads. In addition, many studies and statistics were generated in developing countries that proved that most of the road accidents are because of the very narrow roads and because of the destructive increase in the transportation means. This idea of controlling the traffic light efficiently in real time has attracted many researchers to work in this field with the goal of creating automatic tool that can estimate the traffic congestion and based on this Variable, the traffic sign time interval is forecasted. II. MOTIVATION The traffic lights that are in widespread use today do not do much intricate reasoning when deciding when to change the lights for the various road users waiting in different lanes. How long the signal stays green in one lane and red in another is most often determined by simple timing that is calculated when the crossing is designed. Even though today’s methods are robust and work well when the traffic load is distributed evenly across the lanes in the intersection, the systems are very inefficient because they are unable to handle various simple situations that arise throughout the day. Unnecessary waiting time in the signal can be avoided by determining in which side the green signal should be large during the traffic. In Case the structure of the traffic [2]. III.PROBLEM DEFINITION AND LIMITATION Researchers now are so much interested in automatic real-time traffic congestion estimation tool as it is the most significant factor on which intelligent transportation systems are based. Some of the researchers have focused in their work on traffic flow estimation. It is measured as the rate at which vehicles pass a fixed point (e.g. vehicles per minute). They used spot sensors such as loop detectors and pneumatic sensors to quantify the traffic flow However; the sensors are very expensive and need a lot of maintenance especially in developing countries because of the road ground de-formations. In addition, metal barriers near the road might prevent effective detection using radar sensors. It is also found that traffic congestion also occurred while using the electronic sensors for controlling the traffic. In contrast, video based systems are much better compared to all other techniques as they provide more traffic information and they are much more scalable with the progress in image progressing techniques. This is the main reason for the motivation to develop vision based tool for traffic light control in this work. In recent years, vision based traffic light control, which is based on video processing for traffic flow or traffic density estimation, has attracted the attention of many researchers. The value of traffic density measures only the ratio between the density of the vehicles and the total density of the road. So based on this measure, the traffic control system will compare between different roads in the intersection to take the decision for the traffic light and the time interval given. However, most of the previous vision based monitoring systems suffered from lack of robustness on dealing with continuously changing environment such as lighting conditions, weather conditions and unattended vehicles. All these mentioned factors considerably affect the traffic density estimation. Changes in lightening conditions and weather conditions have been tackled in many of the previous approaches and they are going to be considered also in our proposed approach, but the problem that has never been addressed before and has a significant effect on the traffic pace is the stationary vehicles, specially the unattended ones. The problem with the traffic density measurement is that the traffic density of a road with stationary or unattended vehicles is the same as the traffic density of a road with no stationary vehicles. Traffic flow counts the number of vehicles that passes through the frame during a certain time interval. However, it may give an empty road a higher priority than a congested road, because fewer vehicles are passing though the given point in that empty road. Therefore, we will concentrate on the detection of the delayed and unattended vehicles in the proposed approach for computing more informative metric about the traffic congestion in order to have more effective way of traffic. This metric is very similar to the traffic density, but with taking the traffic flow into consideration. So it can be considered as a combination of both traffic density and traffic flow. IV. ARCHITECHTURE FOR THE CONTROL SYSTEM In this architecture camera is placed on the top of the signal to get the clear view of traffic on the particular side of the signal so that it will capture the image and analyze the traffic in that particular side and get the count of the number of vehicle. With this count the density of that particular side will be determined and corresponding signal will be provided. Fig 1 Fig. 1 System Architecture
  • 3. Density Based Traffic Signal System M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2220 V. DENSITY MEASUREMENT A. Source Image In this system the source image is the RGB image which can be given by the users for getting the contour image and the vehicle count in output screen. The following code can be used to auto size of the output screen .Fig 2 Fig. 2 Source image B.Grayscale Image The grayscale image can be used to display the objects in the format of black and white. In this system the output will be display the grayscale image after getting the source image only, because source image only converted into the grayscale image. . Fig 3 Gray Scale Image C. Threshold Image The threshold image brightness or contrast of the grayscale image. In this system we can convert the grayscale image to threshold image. Fig 4 Threshold Image D. Canny image Canny image is the image one of the edge detector that can be used to outline the edges of the objects. It can be help full for find out the objects.Here we have convet the threshold image to canny image Fig. 5 Canny Image E .Erode Image The Erode image also like the canny image it can be used find the edges with the darked lines.In our system the edges of the vehicles are detect with the darked lines Before converting the canny image to Erode image, the canny image will be destroied. Fig. 6 Erode Image F. Contour Image Before showing the vehicles count and output screen the Erode Image converted into the contour image. This image is the final step to find the vehicled counts and output screen.
  • 4. Density Based Traffic Signal System M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2221 Fig. 7 Contour Image G. Output screen The two types of output screens are displyed in this system. They are, 1) First output screen disply the output image. In this image will display the original RGB Image and in this screen the vehicles are boxed for the find the count. 2) Another output screen is the command prompt. In this command prompt will be open when the user run this system, in final stage after getting the output image the command promt will display the vehicle counts. Fig. 8 Output Image H. Digital Image Processing Digital image processing is the use of computer algorithms to perform image processing on digital images. As a subfield of digital signal processing, digital image processing has many advantages over analog image processing; it allows a much wider range of algorithms to be applied to the input data, and can avoid problems such as the build-up of noise and signal distortion during processing. The different levels at which one may want to interact with the system 1) User interface: Running the GUI, Creation of batch jobs for applications using mat lab batch, Batch management, batch execution, including use of MATLAB scripts to run batch jobs on multiple datasets with very little user interaction 2) Application development: Requirements on code structure of application 3) Introduction: Internal representation of batch configurations, Introduction to writing batch configuration scripts, Integration of an application into configuration management and GUI 4) Implementation: Classes used, Methods, Details about job management, runtime etc. 5) Disadvantage: Interpreted programming language, slower than C++ and V. FORTRAN. This tool cannot be used for real time application it will give only the simulation results.Matlab software is not free of cost. Our application requires the real time application software so opencv is used as the image processing technique. VI. CONCLUSIONS We conclude the Density measurement by using opencv tool as software for image processing by just displaying the various conversion of image in the screen and finally surrounding the box on the vehicle in the given image, the number of vehicle is calculated. We can calculate the density of the vehicle by using mat lab tool by comparing the four side of the image which is given as a input. we can simulate the result of the four given input image but this cannot be used in real time applications as it is very slow and the software is not free of cost like opencv to overcome this disadvantage of mat lab, opencv software is used which is very easy to install and is open source software and can be used in real time application in a quick manner. In this paper we have shown the density measurement in the signal by using opencv in the System. VII. REMAINING WORK In future work Raspberry pi microcontroller can be used which will directly integrate the opencv software there is no need to install the opencv in the system. With the help of raspberry pi we can provide the view of the traffic to the traffic controller room so that the green signal will be provided for the longer time in the required area during the signal in order to avoid the unnecessary waiting time during the signal. ACKNOWLEDGEMENT We would like to thank our head of the department Mr.S.Raj Pandian and my guide Mrs.A.Bazila Banu for motivating us in doing such kind of real time projects and thanks to all my friend kavitha thangalakshmi and the web sources. REFERENCES [1] Vivek, Tyagi, Senior Member IEEE, Shivakumar Kalyanaraman, Fellow, IEEE, and Raghuram Krishnapuram, Fellow, IEEE “Vehicular Traffic Density State Estimation Based On Cumulative Road Acoustics” in IEEE Transaction on Intelligent Transportation System.Vol.23. No.3 September 2012 [2] MD.Hazrat ALI, Syuhei KUROKAWA, et al,“Autonomous Road Surveillance System proposed Model For Vehicle Detection and Traffic Signal Control “in Procedia Computer Science 19(2013)
  • 5. Density Based Traffic Signal System M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2222 [3] R. WEIL, J. WOOTTON AND A. GARCIA-ORTIZ” Traffic Incident Detection Sensor and Algorithms “Mathl.Comput.Modeling Vol.27 [4] K.Thatsanavipas,N.Ponganunchoke ,et al., “Wireless Traffic Light Controller”2nd International Science,Social- Science,Engineering and Energy Conference 2010:Engineering Science and Management. [5] Wanjing MA and Xiaoguang YANG “Design and Estimation of an Adaptive Bus Signal Priority System Base on Wireless Sensor Network “Proceeding of the 11th International IEEE Conference on Intelligent Transportation Systems. [6] Hikaru Shimizu,Masa-aki Kobayashi,Haruko,et al.,”A Development of Deterministic Signal Control System in Urban Road Networks” in SICE Annual Conference 2008 The University of Electro-Communications Japan .[7] Muhammad Hassam Malhi, Muhammad Hassan Aslam et al.,”Vision Based Intelligent Traffic Management System” IEEE Computer Society 2011 Frontiers of Information Technology [8] H.R.Kashani and G.N.Saridis “Intelligent Control for Urban Traffic Systems” International Federation of Automatic Control Automatica, vol.19, No. [9] Umar Farooq, Hafiz Muhammad Atiqs, Muhammad Us man Assad et al.,”Design and Development of an Image Processing Based Adaptive Traffic control System”IEEE Computer Society 2011Second International Conference on Machine Vision [10] Ceil Ozkurt and Faith Camci “Automatic Traffic Density Estimation And Vehicle Classification For Traffic Surveillance System Using Neural Networks” in Mathematical and Computational Applications.Vol.14, No.3 Association for Scientific Research.
  • 6. Density Based Traffic Signal System M.R. Thansekhar and N. Balaji (Eds.): ICIET’14 2223