计算机工程与应用 ›› 2025, Vol. 61 ›› Issue (15): 353-362.DOI: 10.3778/j.issn.1002-8331.2404-0401

• 工程与应用 • 上一篇    下一篇

无人机视角下施工现场工人防护用具检测方法研究

侯卫民,何孟玲,赵梦瑶,苏佳   

  1. 河北科技大学 信息科学与工程学院,石家庄 050018
  • 出版日期:2025-08-01 发布日期:2025-07-31

Research on Detection Method of Protective Equipment for Construction Site Workers from Perspective of Drones

HOU Weimin, HE Mengling, ZHAO Mengyao, SU Jia   

  1. School of Information Science and Engineering, Hebei University of Science and Technology, Shijiazhuang 050018, China
  • Online:2025-08-01 Published:2025-07-31

摘要: 在建筑工地防护用具检测领域内,模型多用非真实建筑工地背景数据且只针对安全帽单一护具进行检测,应用到特定场景中易出现误检漏检情况。为此提出一种无人机视角下施工现场工人防护用具的检测方法,提高算法检测精度的同时,有效改善模型的实际应用性和泛化性。将无人机航拍采集的施工复杂场景作为实验数据集,再进行数据标注和预处理;引入可变形卷积到YOLOv7算法的主干网络,自动适应安全帽和防护背心两种目标的形态变化;并在SPPCSPC模块中嵌入BiFormer注意力模块以提升模型对小尺度目标的检测性能;最后预测阶段引入WIOU作为回归损失函数,进一步提升模型对定位的性能和对样本的鲁棒性。实验分别在自建工地场景数据集和公共数据集中与其他算法进行对比,检测精度均得到一定的提升,有效验证了该算法在建筑工地复杂场景下检测防护用具的优势。

关键词: 防护用具, YOLOv7, 可变形卷积, BiFormer, 泛化问题

Abstract: In the field of on-site protective equipment detecting, the data of the model mostly uses non real construction site backgrounds and only detects single safety helmets and protective equipment, when applied to specific scenarios, false positives and missed detections are prone to occur. To solve the above problems, a detection method for protective equipment of workers on construction sites from the perspective of drones is proposed. While improving the accuracy of algorithm detection, the practical applicability and generalization of the model have also been effectively improved. Using complex construction scenes captured by drone aerial photography as experimental datasets, and then annotating and preprocessing the data. The deformable convolutional module is introduced into the backbone network of YOLOv7 algorithm, which automatically adapts to the morphological changes of the safety helmet and warning suits. And the BiFormer attention module is embedded in the SPPCSPC module to improve the detection performance of the model for small-scale targets. To further improve performance of the model in localization and robustness to samples, WIOU is introduced as the regression loss function in the final prediction stage. Comparing this experiment with other algorithms on the self built construction site scene dataset and public dataset, the detection accuracy has been improved to a certain extent. It effectively validates the advantages of this algorithm in detecting protective equipment in complex construction site scenes.

Key words: protective equipment, YOLOv7, deformable convolution, BiFormer, generalization