China Safety Science Journal ›› 2023, Vol. 33 ›› Issue (S1): 263-269.doi: 10.16265/j.cnki.issn1003-3033.2023.S1.0070

• Public safety • Previous Articles     Next Articles

Research on safety sign classification based on CNN

WANG Yaohan(), SONG Zeyang**(), ZHANG Lidong   

  1. School of Safety Science and Engineering, Xi'an University of Science and Technology, Xi'an Shaanxi 710054, China
  • Received:2023-02-14 Revised:2023-04-08 Online:2023-06-30 Published:2023-12-31
  • Contact: SONG Zeyang

Abstract:

In order to solve the problems of lack of safety sign data sets, special safety sign graphics, and complex backgrounds, CNN was used to extract the characteristics of safety signs. Based on the VGG-16 network structure and CNN, a VGG16-17 model that could identify 17 kinds of safety signs was constructed. There were 816 original data, and 4 708 images were obtained by expanding the data set through data augmentation. The data set was divided into a training set and a validation set according to the ratio of 4∶1. By adjusting some parameters in the model, the influence of epoch times and batch size on the recognition and classification effect of the model was analyzed. The results show that when the epoch is 20, and the batch size is 32, the model results are the best, and the recognition accuracy is 97.92%. Compared with the improved model based on the data set with no data augmentation, the accuracy is increased by 19.39%. Meanwhile, compared with the traditional VGG16 model, the recognition accuracy of the improved model is improved by 4.3%. This demonstrates that model improvement and data augmentation contribute to the improvement of image recognition.

Key words: convolution neural network (CNN), safety signs, computer vision, image recognition, data augmentation