Abstract
Traffic sign recognition, a driver assistance system informs and warns the driver about the status of the road is a challenging issue. Though, a lot of work on this topic has been carried out, but complete benchmark datasets are not freely available for comparison of different approaches. A few databases are available for benchmarking automatic detection of traffic signs. However, there is no database built considering the Indian traffic signs. The road scenarios in India are quite different from other countries, especially in rural areas. Hence, an effort to build an Indian traffic sign database considering both rural and urban situations is presented in the work. The database consists of 13000 traffic sign images of 50 different classes of traffic signs taken at different times under different environmental conditions and includes the detailed annotation of the traffic signs in terms of size, type, orientation, illumination and occlusion. The work also discusses an efficient method for identification of road signs based on two modules: (1) feature extraction based on dense scale invariant feature transform (DSIFT) and (2) a classifier trained by support vector machine (SVM). The SIFT approach transforms an image it into a large collection of local feature vectors invariant to scaling, translation or rotation of the image, and reduction in the dimensionality is achieved by applying principal component analysis (PCA). After extracting the features, the image is classified using support vector machine, a supervised learning model.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
- Dense scale invariant feature transform
- Pattern recognition
- Principal component analysis
- Support vector machine
1 Introduction
Recognition of traffic sign is a categorization problem having several classes of traffic signs. Even though, much work is done on the identification of road signs, but a complete benchmark datasets for identification of traffic signs are less considered. Hence, the comparison of the work on the recognition of traffic sign is a bit difficult. A small number of datasets are available as a benchmark for automatic recognition of traffic signs. Stallkamp et al. have contributed a German traffic sign dataset which has more than thirty thousand images of German traffic signs in forty three classes for public accessibility [1]. Larsson and Felsberg have contributed a Swedish traffic sign dataset and, have nearly twenty thousand frames with 20% being labeled [2]. Katholieke Universiteit of Leuven (KUL) Belgium Traffic Signs Dataset (BelgiumTS) is a dataset with 10000 + traffic signs. The material is captured in Belgium in urban environments [3]. Ruta et al. have focused on the use of discriminative feature selection algorithms for identification and tracking of traffic signs [4]. Mogelmose et al. have described various approaches used in the traffic sign recognition, especially in various stages like segmentation, feature extraction, and sign detection and, also explained the deficiency in the use of publicly available image datasets [5]. Recognition of traffic sign based on Eigen values was proposed by Fleyeh and Davami and was tested on database of traffic sign’s borders and speed limit pictograms [6]. Zhu et al. have created Tsinghua-Tencent 100 K benchmark dataset of road sign and database has 100000 Tencent Street View panoramas containing 30000 traffic-sign instances [7]. Yang et al. focused on the identification of traffic signs based on color probability model with convolutional neural network and also built a Chinese Traffic Sign Dataset (CTSD) with 1100 images [8].
Soilan et al. developed a publicly available Spanish traffic sign dataset. The dataset has approximately one thousand five hundred images with fifty to hundred classes of Spanish traffic signs [9]. The ensemble of bag-of visual- phrases and hierarchical deep models to recognize the traffic signs was discussed in the work [10]. Detection of traffic signs based on cascaded convolutional neural networks (CNN) was presented in the paper [11]. Detection of location of traffic signs based on hybrid region model and classification based on Fast R-CNN was presented in the work [12]. The use of off-line detector, online detector, and motion model predictor for simultaneously detecting and tracking road signs and a scale-based intra-frame fusion method for classification of the traffic signs was discussed in the work [13]. Recognition of traffic signs based on the use of kernel-based extreme learning machine with deep perceptual features was described in the paper [14]. The use of fuzzy rule based color segmentation method for the detection of traffic signs followed by the recognition of the traffic signs based on histogram oriented gradient features and speeded up robust features with artificial neural network was presented in the work [15]. Recognition of traffic signs using support vector machine with band of features including local binary patterns, histogram of oriented gradients, and Gabor features was described in the work [16]. Use of random forest and support vector machine classifiers with the feature descriptor obtained by the ensemble of histogram of oriented gradients features and local self-similarity feature to detect and recognize the traffic signs was focused in the work [17]. Use of convolutional neural network to detect and recognize the traffic sign was presented in the work [18]. Recognition of traffic sign based on extreme learning machine with histogram of oriented gradient variant feature was presented in the work [19]. Use of linear support vector machine to detect a traffic sign in a real time is described in the work [20]. Detection and recognition of traffic signs based on three dimensional point cloud models was described in the work [21].
But, not much work is done on the Indian traffic sign recognition benchmark. Hence, an Indian traffic sign recognition benchmark considering both rural and urban situations is presented in the work. The dataset consists of 13000 traffic sign images of 50 different classes of traffic signs taken at different times under different environmental conditions and at different places. Classification accuracy of k-nearest neighbor and support vector machine classifiers by extracting scale invariant feature transform followed by principal component analysis features is computed on the database. The proposed work also discusses the recognition of the unknown traffic sign using SVM with DSIFT.
2 Indian Traffic Sign Database
The Indian traffic sign database (INDTRDB) [22] is primarily designed as a benchmark for traffic sign recognition research keeping in view the systems for assisting the driver. The INDTRDB consists of 13000 traffic signs images of mandatory, cautionary and informatory signs taken under various conditions, such as during daytime, afternoon, night, and ideal images, partially occluded and distorted images. Out of 50 different classes of traffic sign images in a database, 22 images are of mandatory, 21 of cautionary and 07 of informatory sign images. The detailed annotation of the INDTRDB in terms of size, type, orientation, illumination and occlusion is given with a database. The design of the database consists of the following steps:
-
1.
Data collection
-
2.
Selection and cropping of traffic signs
-
3.
Data organization and restructuring
-
4.
Manual annotation.
3 Data Collection
The images of traffic signs are captured using Prosilica GX 1920c camera with automatic exposure control with frame rate of 112fps having resolution of 1936 × 1456. The images are taken at different roads of India considering both urban and rural areas. Figure 1 shows the picture having the traffic sign taken from some roadside.
4 Selection and Cropping of Traffic Signs
Traffic signs are designed such that they are easily identified by human drivers. In this work the images containing the traffic signs are captured under various conditions like varying lighting conditions (daytime and night time), different seasons, at different places. After the frames are selected, the traffic signs are manually cropped. The signs are cropped in such a way that the images contain at least five pixels around the sign in order to maintain consistency across the images as the signs may vary with respect to orientations. The images are not necessarily in square and the size varies from 30 × 30 to 160 × 160. The dataset contains nearly 13000 images of 50 different classes. Figure 2 shows few samples of different classes of Indian traffic signs in a dataset. Every sign in the dataset varies with other sign either with respect to size, orientation, illumination, occlusion, background, contrast and quality. Figure 3 shows the sample images of mandatory traffic sign ‘NO PARKING’.
5 Data Organization and Restructuring
The duplicate or similar images were removed from each class. Each image of a class is varied in size from 30 × 30 to 160 × 160. The images are resized in such a way that few images are square images and few are rectangular images. Different instances are taken for each class of traffic signs such as at different places, with different orientations, perfect signs, distorted signs, partially occluded signs. The contrast of each image is varied manually and considered as different instance of that sign. The dataset was split into two subsets with 50% images taken for training and remaining 50% for testing.
6 Manual Annotation
A manual annotation of every image for INDTRDB dataset is provided with the following attributes. The annotation details of the traffic sign “STOP” is shown in Fig. 4. XML description is used to store annotated information.
∙ Size | In the range of 30 × 30 to 160 × 160 |
---|---|
∙ Illumination | Good, Bad |
∙ Orientation | Frontal, Left, Right |
∙ Occlusion | Partial, No |
∙ Contrast | Ideal, Dark, Bright |
∙ Coordinate | (x, y) coordinate of the top left corner and bottom right corner. |
∙ Category | Category of the traffic sign images. |
∙ Folder name | The name of the folder which contains the required file |
∙ File name | Name of the sign image in the folder |
7 Database Complexity Analysis
The Indian traffic sign dataset INDTRDB has a wide range of variations in the traffic signs. Classification accuracy of KNN and SVM classifiers with PCA and DSIFT feature extractor is computed on the database. The experiment is implemented using MATLAB-2012b. The system divides the dataset created into two sets namely test set and training set. Various combinations of feature extractor and classifier algorithms are applied to get the best classification accuracy for the dataset created. The dataset shows good result for DSIFT with SVM. The classification accuracy of KNN and SVM classifiers on the INDTRDB, GTSRB, BelgiumTS database is shown Table 1 for various feature dimensions ranging from 20 to 80 with value of K taken as one. There is no much variation in the recognition rate by further increase of feature dimension. The comparison of INDTRDB dataset with GTSRB and BelgiumTS is shown in the Fig. 5. The result shows that both KNN and SVM methods has shown good classification accuracy on the INDTRDB database as compared to GTSRB and BelgiumTS database. The complexity of the dataset is better understood by the distribution of images in the dataset. For further comparison, a total of 600 images were selected from GTSRB, BelgiumTS, and INDTRDB with 100 images from six different classes and the Eigenvalue spread of the covariance matrix of the preferred signs is analyzed for all three datasets. The magnitude of Eigenvalue indicates the prominent directions along which the data have highest variations and it will be less, if the dataset has a smaller number of variations. Figure 6 shows the Eigenvalue range of GTSRB, BelgiumTS and INDTRDB. It is clear that, number of components needed to cover the space for INDTRDB and GTSRB is large compared to BelgiumTS dataset. This is mainly because of large variations of the signs in the dataset. Figures 7 and 8 shows the related mean signs and Eigenvectors for the same subset of datasets. The mean sign of INDTRDB dataset is more spread compared to BelgiumTS, but not as GTSRB database. The mean sign of BelgiumTS resembles the structure of traffic sign indicating less variation.
8 Recognition of Traffic Sign
In the recognition phase, the system is provided with an unknown test image to identify to which class the traffic sign image belongs. Road signs have a predetermined shape and color with some information and are distinguished by a fixed number of relatively constant colors such as white, red, and blue. To have a clear visibility, signs have enough color contrast with the background. In this work, detection of the road sign from the scene is instigated using color information. The work uses HSV color space to locate the signs from the scene. Hue and Saturation components are used to detect the red and blue colors. The images in the scene having the required colors are further classified based on shapes. Canny algorithm is used to find the required shapes in the image. The classification of the detected image is done using support vector machine with dense scale invariant feature transform feature extractor. After extracting the features, the image is classified using support vector machine, a supervised learning model. The method to recognize unknown traffic sign is given in Algorithm 1. The function takes SVM model, test image, the candidate image that needs to be predicted and will produce output, which is the prediction of the class with the highest probability. The summary of the traffic sign recognition system is shown in Fig. 9. Out of 100 unknown traffic signs 97 signs are correctly classified and 3 are misclassified due to higher occlusion, high distortion, etc. Illustration of four correctly classified and one misclassified traffic sign image is shown in Table 2. The sign is misclassified as “NO ENTRY” instead of “NO PARKING” as both signs have same shape with red color with a cross bar inside the sign. The only information that differentiates these signs is the presence of letter “P” in case of “NO PARKING” whereas an “Arrow Mark” in case of “NO ENTRY”.
9 Conclusion
A new dataset called INDTRDB, an Indian traffic sign dataset is developed to provide a general reference for traffic sign recognition and for the related research area. The INDTRDB dataset has large numbers of images nearly 13000 sign images taken from 50 diverse classes which are taken at diverse illumination and environmental conditions with a detailed manual XML annotation. The classification accuracy of support vector machine on the INDTRDB, GTSRB, and BelgiumTS databases is found to be 98.67%, 93% and 86% respectively. The number of major principal components required to span the space for INDTRDB and GTSRB is large compared to BelgiumTS dataset, which shows the INDTRDB and GTSRB dataset has large variations of the signs in the dataset. The work also describes the recognition of the unknown traffic sign using DSIFT and SVM with a recognition accuracy of 98%. Out of 120 unknown traffic sign images 117 signs are correctly classified and, three are misclassified due to higher occlusion, high distortion, etc.
References
Stallkamp, J., Schlipsing, M., Salmen, J., Igel, C.: Man vs. computer: benchmarking machine learning algorithms for traffic sign recognition. Neural Netw. 32, 323–332 (2012). https://doi.org/10.1016/j.neunet.2012.02.016
Larsson, F., Felsberg, M.: Using fourier descriptors and spatial models for traffic sign recognition. In: SCIA, vol. 11, pp. 238–249 (2011). https://doi.org/10.1007/978-3-642-21227-7_23
Timofte, R., Zimmermann, K., VanGool, L.: Multi-view traffic sign detection, recognition, and 3D localisation. Mach. Vis. Appl. 25(3), 633–647 (2011). https://doi.org/10.1007/s00138-011-0391-3
Ruta, A., Li, Y., Liu, X.: Real-time traffic sign recognition from video by class-specific discriminative features. Pattern Recogn. 43(1), 416–430 (2010). https://doi.org/10.1016/j.patcog.2009.05.018
Mogelmose, A., Trivedi, M.M., Moeslund, T.B.: Learning to detect traffic signs: comparative evaluation of synthetic and real-world datasets. In: 21st International Conference on Pattern Recognition (ICPR), pp. 3452–3455. IEEE (2012)
Fleyeh, H., Davami, E.: Eigen-based traffic sign recognition. IET Intell. Transp. Syst. 5(3), 190–196 (2011). https://doi.org/10.1049/iet-its.2010.0159
Zhu, Z., Liang, D., Zhang, S., Huang, X., Li, B., Hu, S.: Traffic-sign detection and classification in the wild. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2110–2118 (2016)
Yang, Y., Luo, H., Xu, H., Wu, F.: Towards real-time traffic sign detection and classification. IEEE Trans. Intell. Transp. Syst. 17, 2022–2031 (2016). https://doi.org/10.1109/TITS.2015.2482461
Soilan, M., Riveiro, B., Martinez-Sánchez, J., Arias, P.: Traffic sign detection in MLS acquired point clouds for geometric and image-based semantic inventory. ISPRS J. Photogrammetry Remote Sens. 114, 92–101 (2016). https://doi.org/10.1016/j.isprsjprs.2016.01.019
Yu, Y., Li, J., Wen, C., Guan, H., Luo, H., Wang, C.: Bag-of-visual-phrases and hierarchical deep models for traffic sign detection and recognition in mobile laser scanning data. ISPRS J. Photogrammetry Remote Sens. 113, 106–123 (2016). https://doi.org/10.1016/j.isprsjprs.2016.01.005
Zang, D., Zhang, J., Zhang, D., Bao, M., Cheng, J., Tang, K.: Traffic sign detection based on cascaded convolutional neural networks. In: 2016 17th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD), pp. 201–206. IEEE (2016). https://doi.org/10.1109/snpd.2016.7515901
Qian, R., Liu, Q., Yue, Y., Coenen, F., Zhang, B.: Road surface traffic sign detection with hybrid region proposal and fast R-CNN. In: 2016 12th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery (ICNC-FSKD), pp. 555–559. IEEE (2016). https://doi.org/10.1109/fskd.2016.7603233
Yuan, Y., Xiong, Z., Wang, Q.: An incremental framework for video-based traffic sign detection, tracking, and recognition. IEEE Trans. Intell. Transp. Syst. 18(7), 1918–1929 (2017). https://doi.org/10.1109/TITS.2016.2614548
Zeng, Y., Xu, X., Shen, D., Fang, Y., Xiao, Z.: Traffic sign recognition using kernel extreme learning machines with deep perceptual features. IEEE Trans. Intell. Transp. Syst. 18(6), 1647–1653 (2017). https://doi.org/10.1109/TITS.2016.2614916
Abedin, Z., Dhar, P., Hossenand, M.K., Deb, K.: Traffic sign detection and recognition using fuzzy segmentation approach and artificial neural network classifier respectively. In: International Conference on Electrical, Computer and Communication Engineering (ECCE), pp. 518–523. IEEE (2017). https://doi.org/10.1109/ecace.2017.7912960
Berkaya, S.K., Gunduz, H., Ozsen, O., Akinlar, C., Gunal, S.: On circular traffic sign detection and recognition. Expert Syst. Appl. 48, 67–75 (2016). https://doi.org/10.1016/j.eswa.2015.11.018
Ellahyani, A., El Ansari, M., El Jaafari, I.: Traffic sign detection and recognition based on random forests. Appl. Soft Comput. 46, 805–815 (2016). https://doi.org/10.1016/j.asoc.2015.12.041
Zhu, Y., Zhang, C., Zhou, D., Wang, X., Bai, X., Liu, W.: Traffic sign detection and recognition using fully convolutional network guided proposals. Neurocomputing 214, 758–766 (2016). https://doi.org/10.1016/j.neucom.2016.07.009
Huang, Z., Yu, Y., Gu, J., Liu, H.: An efficient method for traffic sign recognition based on extreme learning machine. IEEE Trans. Cybern. 47(4), 920–933 (2017). https://doi.org/10.1109/TCYB.2016.2533424
Zaklouta, F., Stanciulescu, B.: Real-time traffic sign recognition in three stages. Rob. Auton. Syst. 62(1), 16–24 (2014). https://doi.org/10.1016/j.robot.2012.07.019
Vahid, B., Arash, J., Saha, G.M.: Multi-class US traffic signs 3D recognition and localization via image-based point cloud model using color candidate extraction and texture-based recognition. Adv. Eng. Inform. 32, 263–274 (2017). https://doi.org/10.1016/j.aei.2017.03.006
INDTRDB. https://tinyurl.com/indtrdb
Acknowledgment
This work was carried under Research Promotion Scheme grant from All India Council for Technical Education (AICTE), project Ref. No: 8023/RID/RPS-114(Pvt)/2011–12. Authors wish to thank AICTE, New Delhi.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Hemadri, V.B., Kulkarni, U.P. (2018). Recognition of Traffic Sign Based on Support Vector Machine and Creation of the Indian Traffic Sign Recognition Benchmark. In: Nagabhushan, T., Aradhya, V.N.M., Jagadeesh, P., Shukla, S., M.L., C. (eds) Cognitive Computing and Information Processing. CCIP 2017. Communications in Computer and Information Science, vol 801. Springer, Singapore. https://doi.org/10.1007/978-981-10-9059-2_21
Download citation
DOI: https://doi.org/10.1007/978-981-10-9059-2_21
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-10-9058-5
Online ISBN: 978-981-10-9059-2
eBook Packages: Computer ScienceComputer Science (R0)