China Safety Science Journal ›› 2024, Vol. 34 ›› Issue (7): 38-43.doi: 10.16265/j.cnki.issn1003-3033.2024.07.2030

• Safety social science and safety management • Previous Articles     Next Articles

Industrial site unsafe behavior detection based on improved YOLOv5

JI Zhi'an(), ZHOU Yunyi, ZHANG Yuyuan, GUO Xinran, SHI Kun   

  1. China Special Equipment Inspection and Research Institute, Beijing 100029, China
  • Received:2024-01-08 Revised:2024-04-13 Online:2024-07-28 Published:2025-01-28

Abstract:

In order to accurately identify unsafe behaviors of personnel in complex industrial sites and reduce the occurrence of safety accidents, an improved YOLOv5 unsafe behavior detection model was proposed. Firstly, an attention mechanism was introduced in the backbone of YOLOv5 to enhance the sensitivity of convolutional networks to unsafe behavior features. Secondly, enriching the number of training samples through image geometric transformation and pixel-level processing enhanced the generalization ability of the detection model in different industrial environments. Then, the detection model was distilled, and the network structure parameters were optimized to accelerate the training of the mode. Finally, the model was trained and iterated 200 times to simulate three types of industrial sites: lifting slings, robot-automated production lines, and operating rooms. It detected whether personnel were wearing safety helmets, work clothes and working in safe areas, and determined the level of danger based on their behavior to ascertain whether they were working safely. The results show that the model can detect 12 types of unsafe behaviors of personnel in complex industrial environments, such as dim light, lighting, and occlusion. The accuracy on the unsafe behavior test set is 98.6%, the recall rate is 99.2%, and the average accuracy is 97.58%.

Key words: YOLOv5, industrial site, unsafe behavior, detection model, attention module

CLC Number: