Traffic Sign
Traffic Sign
Azam Sheikh Muhammad, Niklas Lavesson, Paul Davidsson, and Mikael Nilsson
Abstract. Traffic Sign Recognition is a widely studied problem and its dynamic
nature calls for the application of a broad range of preprocessing, segmentation,
and recognition techniques but few databases are available for evaluation. We
have produced a database consisting of 1,300 images captured by a video cam-
era. On this database we have conducted a systematic experimental study. We
used four different preprocessing techniques and designed a generic speed sign
segmentation algorithm. Then we selected a range of contemporary speed sign
classification algorithms using shape based segmented binary images for train-
ing and evaluated their results using four metrics, including accuracy and
processing speed. The results indicate that Naive Bayes and Random Forest
seem particularly well suited for this recognition task. Moreover, we show that
two specific preprocessing techniques appear to provide a better basis for con-
cept learning than the others.
1 Introduction
Automatic Traffic Sign Recognition (TSR) systems attempt to detect and recognize
traffic signs from live images captured by a video camera mounted on a vehicle. The
development of such a visual pattern recognition system is not a trivial task [1]. It has
attracted the research community since the eighties [2]. There are a number of issues
associated with the automatic detection and classification of traffic sign patterns from
real-world video or images. Visibility is the key issue in the performance of a TSR
system because it determines the quality of the captured images and hence affects
classification performance. A TSR system can only attract the transport community if
it can outperform, or at least perform comparably to, humans in correctly locating and
recognizing signs at low visibility. Visibility issues can arise due to many reasons. For
instance, the various lighting conditions at different hours of the day and the different
seasons have a strong impact on visibility. Additionally, because of trees or shadows
of nearby buildings the signs may be partially hidden. These and other common issues
have been discussed in related studies [1]. Researchers have applied a variety of pre-
processing techniques based on color processing [3, 4], shape analysis [3-5], along
with numerous classification and recognition techniques ranging from template
matching algorithms [3, 6], Radial Basis Function (RBF) Network [7, 8], Multilayer
X. Jiang and N. Petkov (Eds.): CAIP 2009, LNCS 5702, pp. 1220–1227, 2009.
© Springer-Verlag Berlin Heidelberg 2009
Analysis of Speed Sign Classification Algorithms 1221
Perceptron and other Neural Networks [7, 8], Genetic Algorithms [9], Fuzzy Logic
[10] to the applications of Support Vector Machines [11] and signal processing-based
transformation-specific classifiers.
Accuracy and processing speed are two important performance metrics in the de-
velopment of TSR systems. Some studies present detection and/or classification re-
sults around 90% [12, 13] or in some cases 95% [10] or more. However, few studies
compare with other databases than their own and the used database is seldom made
public. Moreover, the level of detail in describing the preprocessing and other steps is
usually low, which makes it difficult to reproduce the experiment. Besides related
work and also some commercial implementations of TSR systems [14] there are prac-
tically no significant traffic sign databases available. We have only managed to find a
small database, consisting of 48 images of three different traffic signs, available on-
line [15]. This study aims to remedy this situation by making our initial database
publicly available. We also expect to enlarge the database in future work. For the
initial database, we have collected 1,300 images from Swedish roads. Detection and
recognition of speed signs in particular have been extensively studied [13, 16, 17]. In
this work our main focus is to conduct an extensive study on various algorithms for
the classification of this particular type of sign. For this purpose we extract the shape
based binary information from the sign images to generate training and testing data
sets for supervised concept learning. A number of classifiers are evaluated for speed
limit recognition under various performance metrics. In order to make the preprocess-
ing, segmentation and classification experiments reproducible, standard tools are used
and each step is described in detail. Our database of traffic sign images and the im-
plementation results are available online1.
1
www.bth.se/tek/nla.nsf/sidor/resources
1222 A.S. Muhammad et al.
results using various sets of values for this parameter and heuristically we have con-
cluded that the above given set of values produces sufficiently good results. The
adjusted image is then processed similar to P1. For P3 we used the intensity of the red
component from the color image as the gray level to get a gray image. The remaining
steps are the same as for P1. In P4, the same method as the one used for P1 is followed,
but the gray threshold is further processed so that, if the threshold θ is greater than ½,
it is recalculated as defined below:
,
(1)
,
it will be difficult for a classifier to properly learn the Noise class. During segmenta-
tion, any prior information about the class of the input image is not present and it is
upon the segmentation method to reject as many of the noisy images as possible.
Thus, during the last step of the segmentation process we analyze the images based on
the quality criteria shown in Eqn. 2. A binary decision in terms of good or bad quality
is made for each segmented image. Bad segmentations are discarded whereas good
segmentations are normalized with regard to size and used for the further preparations
for classification.
,
13, 13,
3 1, (2)
, ,
Multilayer Perceptron is the most widely used [7, 9] algorithm in TSR applications,
especially for speed sign recognition. Consequently, we used it as the base classifier
in Weka (with optimized parameters) and all other classifiers (generated with default
configurations) are evaluated against it. In addition to Multilayer Perceptron, RBF
Network and Support Vector Machines are also used in a number of related studies, as
described earlier. Thus, it was natural to include these algorithms in our experiments.
We performed ten 10-fold cross-validation tests and used the corrected paired t-test
(confidence 0.05, two-tailed) for all four data sets. We compared the performance
based on four evaluation metrics; accuracy, the Area under the ROC curve (AUC),
training time, and testing time. The experimental results are shown in Table 1. The
average performance over all data sets is also presented in the Table. With respect to
accuracy and AUC, we observe that the best performing algorithms are: Multilayer
Perceptron, RBF Network, SMO (Weka implementation of SVM), Random Forest,
and Naive Bayes. Now we consider the training and testing time. Besides accuracy,
the elapsed time is also very important in the performance evaluation of classifiers,
with respect to the application at hand. An analysis of training and testing times de-
monstrates that, among our best algorithms with respect to accuracy and AUC, Ran-
dom Forest and Naive Bayes are by far the fastest algorithms with regard to both
training and testing. From the results we can conclude that, aside from good perfor-
mance by the commonly used classifiers for this problem, Naive Bayes and Random
Forest have achieved quite promising results in terms of accuracy and significantly
better training and testing times than the other algorithms. We have also analyzed the
results of the individual preprocessing techniques. For almost all of the 15 algorithms
and specially the above mentioned five algorithms, P1 and P3 have shown consistently
a higher accuracy than P2 and P4. We can also observe that both P1 and P3 have better
AUC values than the other two techniques.
References
1. Nguwi, Y.Y., Kouzani, A.Z.: A study on automatic recognition of road signs. In: 2006
IEEE Conference on Cybernetics and Intelligent Systems, pp. 1–6 (2006)
2. Mace, D.J., Pollack, L.: Visual Complexity and Sign Brightness in Detection and Recogni-
tion of Traffic Signs. Transportation Research Record HS-036 167(904), 33–41 (1983)
3. Malik, R., Khurshid, J., Ahmad, S.N.: Road Sign Detection and Recognition using Colour
Segmentation, Shape Analysis and Template Matching. In: 6th International Conference
on Machine Learning Cybernetics, pp. 3556–3560 (2007)
4. Andrey, V., Hyun, K.: Automatic Detection and Recognition of Traffic Signs using Geometric
Structure Analysis. In: SICE-ICASE International Joint Conference, pp. 1451–1456 (2006)
5. Cyganek, B.: Real-time detection of the triangular and rectangular shape road signs. In:
Blanc-Talon, J., Philips, W., Popescu, D., Scheunders, P. (eds.) ACIVS 2007. LNCS,
vol. 4678, pp. 744–755. Springer, Heidelberg (2007)
6. Cyganek, B.: Road Signs Recognition by the Scale-space Template Matching in the Log-
polar Domain. In: Martí, J., Benedí, J.M., Mendonça, A.M., Serrat, J. (eds.) IbPRIA 2007.
LNCS, vol. 4477, pp. 330–337. Springer, Heidelberg (2007)
7. Nguwi, Y.Y., Kouzani, A.Z.: Automatic Road Sign Recognition using Neural Networks.
In: IEEE International Joint Conference on Neural Networks, pp. 3955–3962 (2006)
8. Zhang, H., Luo, D.: A new method for traffic signs classification using probabilistic neural
networks. In: Wang, J., Yi, Z., Zurada, J.M., Lu, B.L., Yin, H. (eds.) ISNN 2006. LNCS,
vol. 3973, pp. 33–39. Springer, Heidelberg (2006)
9. Aoyagi, Y., Asakura, T.: Detection and Recognition of Traffic Sign in Scene Image using Genetic
Algorithms and Neural Networks. In: 35th SICE Annual Conference, pp. 1343–1348 (1996)
10. Fleyeh, H., Gilani, S.O., Dougherty, M.: Road Sign Detection and Recognition using
Fuzzy ARTMAP: a case study Swedish speed-limit signs. In: 10th IASTED International
Conference on Artificial Intelligence and Soft Computing, pp. 242–249 (2006)
11. Maldonado-Bascon, S., Lafuente-Arroyo, S., Gil-Jimenez, P., et al.: Road-Sign Detection
and Recognition based on Support Vector Machines. IEEE Transactions on Intelligent
Transportation Systems 8(2), 264–278 (2007)
12. Soetedjo, Y.K.: Traffic Sign Classification using Ring Partitioned Method. IEICE Trans.
on Fundamentals E88(9), 2419–2426 (2005)
13. Torresen, J., Bakke, J.W., Sekanina, L.: Efficient Recognition of Speed Limit Signs. In: 7th
International IEEE Conference on Intelligent Transportation Systems, pp. 652–656 (2004)
14. Siemens: Siemens VDO 2007 (2007),
http://usa.vdo.com/products_solutions/cars/adas/
traffic-sign-recognition/
15. Grigorescu, P.N.: Traffic Sign Image Database,
http://www.cs.rug.nl/~imaging/databases/
traffic_sign_database/traffic_sign_database_2.html
16. Cao Tam, P., Elton, D.: Difference of Gaussian for Speed Sign Detection in Low Light
Conditions. In: International MultiConference of Engineers and Computer Scientists, pp.
1838–1843 (2007)
17. Moutarde, F., Bargeton, A., Herbin, A., et al.: Robust On-vehicle Real-time Visual Detec-
tion of American and European Speed Limit Signs with a Modular Traffic Signs Recogni-
tion System. In: IEEE Intelligent Vehicles Symposium, pp. 1122–1126 (2007)
18. Witten, H., Frank, E.: Data Mining: Practical Machine Learning Tools and Techniques,
2nd edn. Morgan Kaufmann, San Francisco (2005)