China Safety Science Journal ›› 2023, Vol. 33 ›› Issue (9): 63-68.doi: 10.16265/j.cnki.issn1003-3033.2023.09.0173

• Safety engineering technology • Previous Articles     Next Articles

Recognition algorithm on safe states of tower crane pins based on optimized Swin Transformer

ZHOU Qinghui1,2(), LIU Haoshi1,**()   

  1. 1 School of Mechanical-Electrical and Vehicle Engineering, Beijing University of Civil Engineering and Architecture, Beijing 100044,China
    2 Beijing Engineering Research Center of Monitoring for Construction Safety, Beijing 100044,China
  • Received:2023-03-21 Revised:2023-06-28 Online:2023-09-28 Published:2024-03-28
  • Contact: LIU Haoshi

Abstract:

In order to reduce the hidden danger during tower crane operation, and improve the accuracy of machine vision when identifying states of pins, a recognition algorithm was proposed based on an optimized Swin Transformer. Firstly, A data set was created by collecting the pinned images of the tower crane on the construction site. Secondly, the safe state of pins was classified and encoded using the One-hot-coding method in the data set. Then, a recognition model for the safety status of pins was established based on an optimized Swin Transformer in which the loss function was adjusted. Through updating the gradient by the AdamW optimizer, a final model was obtained after 1000 training iterations. Finally, an experimental verification was conducted on the pinned image dataset. The results show that the proposed method can improve the identification ability of the safe state of tower crane pins, and its accuracy can reach 99.4%. The average accuracy, the average recall rate and the average specificity can reach 99.4%, 99.4%, and 99.6%, respectively. Its accuracy is higher than typical algorithms, such as DenseNet, ShuffleNet and EfficientNet. When opposed to the original Swin Transformer, the accuracy is also added by 3.6%.

Key words: Swin Transformer, tower crane, pins, safety state, state identification, data set