You are on page 1of 6

REAL-TIME DETECTION OF TRAFFIC SIGNS

NAYANA. T. N
Student, M.tech (Digital Signal Processing)
Centre for Emerging Technologies, Jain University, Kanakapura, Karnataka State, India

MR. DEEPAK.V.INGALE
Assistant Professor, Centre for Emerging Technologies,
Jain University, Kanakapura, Karnataka State, India

ABSTRACT: According to modern requirement for vehicle safety, it must be noted that effective
driving is often dependent upon computer systems the vehicles are equipped with, rather than the
driver. Therefore, the main measure to reduce road accidents is to be taken in the development of
the systems that warns the driver of the road conditions, well ahead of time. This can be achieved,
by developing an automated system that would detect traffic signs along the way in advance, and
inform the driver about driving conditions, without distracting him in his driving. This paper
proposes a system for detection of traffic signs from still images or real time video. Algorithm is
developed by using Hue, Saturation and Intensity (HSI) color space, to segment the road signs and
Traffic signs detected by using standard deviation of segmented region as threshold value.
Experimental results on the accuracy of the road sign detection are reported in this paper. The
proposed algorithm is simulated using MATLAB.

KEYWORDS: Traffic Signs, Traffic sign detection, Segmentation, HSI color space, Median
Filter.

INTRODUCTION

Intelligent vehicles are becoming essential part of our day to day life. A large number of accidents
on roads occur due to the carelessness of drivers and violation of the traffic rules. The function of
traffic signs can be broadly classified as: i. to control the traffic, and ii. To warn about the status of
the road ahead. The main measure to reduce road accidents is to be taken in the development of the
systems that warns the driver of the road conditions, well ahead of time. This can be achieved, by
developing an automated system that would detect traffic signs along the way in advance, and
inform the driver about driving conditions, without distracting him in his driving.

The two major objectives in the development of the algorithm are:


1) Segmentation of the real images of road signs using HSI color information.
2) Detection of road signs, based on standard deviation of segmented region.
In section II, we review previous work. Sections III to V provide details about each block of the
proposed system. Experimental results are presented in section VI and conclusions in section VII.

RELATED WORK

Considerable volume of research has been carried out, and is ongoing, for designing a robust
traffic sign recognition system.
Bascon et. al [1] detected the road signs using color segmentation. Traffic signs are classified by
shape using linear SVMs and content recognition based on Gaussian Kernel SVMs.

Martinovic et. al [2] described Viola Jones detection algorithm for detecting the road signs. The
detected road signs are classified using Neural Networks.

Ming Liang et. al [3] proposed a procedure with two modules: Region-of-Interest (ROI) extraction
module and Recognition Module. ROI module detects the traffic signs and recognition module
extracts histogram descriptors from the ROIs to provide a reliable identification of traffic sign and
uses SVMs to judge whether an ROI is a target sign or not.

Whelan et.al [4] proposed a system which consists of three main blocks: Color Segmentation,
Candidate Traffic Signs Validation and Traffic Sign Classification. Candidate regions obtained by
color segmentation are validated with respect to strict shape criteria to generate scale invariant
descriptors and are classified using SVM classifiers.

Yusoff et. al [5] described the road sign detection method by Color Segmentation and traffic signs
are classified using Shape Classification, Symbol Recognition based on extent value, area and
perimeter ratios with the template values.

Gauri et. al [6] proposed a system where color thresholding technique is used to produce binary
image , blob detection method is used to detect the traffic signs and are classified using template
matching.

Yixin Chen et. al [7] described the method which consists of HSV color space based Image
Segmentation, geometry features based detection and Affine transformation correction, extraction
of Eigen vectors using Gabor filter, Classification and recognition by SVM.

METHODOLOGY

Block diagram of the proposed system for the detection of traffic sign is shown in Figure 1. It
mainly consists of two stages: i. RGB to HSV Conversion, and ii. Sign detection using Image
Segmentation.

The captured images are converted to HSV color space. The HSV color space allows decoupling
the color, saturation and intensity information [6].

Image Enhancement is achieved using Median filter and image is segmented to generate the binary
image. Morphological operation is performed to close any open area. Region properties are applied
to get boundary box properties of the ROI of the candidate object.

RGB TO HSV CONVERSION

RGB color space is the combination of 3 primary colors: Red, Green and Blue, commonly used
by most computer devices. Color space that corresponds more naturally to human perception is the
HSV color spaces [6]. The Hue (H) element represents the perceived colors (red, yellow and blue
for road signs), which is within the interval [0, 360]. The Saturation(S) represents how much of
white light has been added to a pure color, and is within the interval [0, 255] [5]. HSV space is

136
more suitable for image segmentation, because H and S components in general are not affected by
light intensity [7]. Hence HSV space is chosen in the proposed scheme. The RGB color spaces are
converted to HSI color spaces by using the following equations [7].

IMAGE RGB TO HSV IMAGE


CAPTURED CONVERSION ENHANCEMENT

SIGN IMAGE
DETECTION SEGMENTATION

Figure 1: Block Diagram

M= max(R,G,B)
m= min(R,G,B)
C=M-m
undefined if C 0
G B
mod 6 if M R
C

H' B-R
C 2 if M G

R-G 4 if M B
C
H 60 H '
The saturation component is given by the following: [7]
0 if M 0

SC m
M 1 M otherwise

Finally, the intensity component is given by the following: [7]


VM
It is assumed that the RGB values have been normalized to the range [0, 1].

137
IMAGE SEGMENTATION

Before segmentation, image enhancement is performed using Median filter, as it removes the noise
without blurring of edges. Median filters are non linear filters and give better results than
averaging filters. Here, it is assumed that the hue and saturation components of the HSV space are
sufficient to isolate traffic sign from the image. Hence S component of HSV space is converted to
a binary image by using simple Otsus method, where, the intra-class variance of the black and
white pixels is minimized by choosing a suitable threshold value. The segmented (binary) image is
shown in figure 2 (b). As shown in this figure, the triangular red rim of the traffic sign has been
correctly identified, but at the same time other objects such as the cladding of the buildings, small
sections from an advertising panel are also highlighted in the output image. Thus, morphological
operation is performed to minimize these background noises, as shown in figure 2 (c).

(a) (b)

(c) (d)

Figure 2: (a), (b), (c) Segmentation results


Figure 2: (d) Detected traffic sign

Further, for the resulting image, selective region properties are applied to get bounding box of the
ROI of the candidate region. This results in the detection of traffic sign as shown in figure 2 (d).

EXPERIMENTAL RESULTS

In order to evaluate the proposed system, numerous traffic signs were captured. The captured
images were processed using the proposed algorithm and results are shown below. MATLAB tool
is used to design and implement the traffic sign detection. Results are shown in figure 3.

138
(a)

(b)

(c)

Figure 4: Experimental results

CONCLUSION AND FUTURE WORK

Traffic sign detection based on segmentation is presented in this paper. Firstly, RGB images are
converted to HSV color space and traffic signs based on S component threshold are detected.
The results are satisfactory at this stage.

Some improvements listed below, can enhance the performance further and can be recommended
for future work.
An efficient algorithm for classification of detected traffic signs could be implemented.
The algorithm may be further tested under extreme weather conditions, and any necessary
improvements can be implemented.
Suitable hardware may be developed using suitable micro-controller platform for Real-time
implementation.

139
REFERENCES

Saturnino Maldonado-Bascn, Lafuente-Arroyo, Pedro Gil-Jimnez, Hilario Gmez-Moreno,


Road-Sign Detection and Recognition Based on Support Vector Machines IEEE transactions
on intelligent transportation systems, vol. 8, no. 2, june 2007.
A. Martinovic, G. Glavas et. al Real-time Detection and Recognition of Traffic sign.
Faculty member of Electrical engineering and computing, Unska 3, 10000 Zagreb.
Ming Liang, Mingyi Yuan, Traffic Sign Detection by ROI Extraction and Histogram Features-
based Recognition Proceedings of International Joint Conference on Neural Networks,
Dallas, Texas, USA, August 4-9, 2013.
Thanh Bui-Minh, Ovidiu Ghita, Paul F. Whelan A robust algorithm for detection and
classification of traffic signs in video data. 2012 International Conference on Control,
Automation and Information Sciences.
Siti Sarah Md Sallah, Fawnizu Azmadi Hussin, and Mohd Zuki Yusoff Road Sign Detection and
Recognition System for Real-Time Embedded Applications International Conference on
Electrical, Control and Computer Engineering Pahang, Malaysia, June 21-22, 2011.
Gauri A. Tagunde, C.O.Banchhor, Nilesh J. Uke,Detection, classification and recognition of road
traffic signs using color and shape features International Journal of Advanced Technology &
Engineering Research.
Yixin Chen, Yi Xie and Yulin Wang, Detection and Recognition of Traffic Signs Based on HSV
Vision Model and Shape features journal of computers, vol. 8, no. 5, May 2013.

140

You might also like