错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Helmet detection algorithm based on lightweight improved YOLOv8

  • Maoli Wang,
  • Haitao Qiu,
  • Jiarui Wang

摘要

Object detection technology enables real-time monitoring of helmet-wearing workers, overcoming manual limitations. However, scholarly improvements prioritize accuracy, complicating the model and rendering it unsuitable for embedded devices with limited resources. This paper presents a lightweight model enhancement approach rooted in YOLOv8. The objective is to minimize parameters and computational load while preserving high detection accuracy, aligning with the deployment constraints of embedded devices. We optimized YOLOv8’s C2f module with partial convolution, creating a C2f-Light variant with fewer parameters and less computation. Additionally, there was a redesign of the detection head, which reduced both the number of parameters and the computational complexity. Introduction of the Wise-IOU as a replacement for the CIOU, thereby reducing the harm of low-quality samples. Furthermore, we employed a channel pruning algorithm to eliminate redundant channels to reduce the model size and expedite inference. Experiments results show that LS-YOLOv8n significantly reduces parameters and computations compared to YOLOv8n, without losing accuracy. The pruned LS-YOLOv8n model exhibits a \(52\%\) 52 % improvement in FPS and has a model size of 1.9 MB.