Abstract:Aiming at the problems that the structure of baseline YOLOv8n detection algorithm is more complicated and the existing helmet wearing detection algorithm has a large number of parameters and computation, which is difficult to be deployed at the terminal, a lightweight detection model based on FEV-YOLOv8n is proposed. A lightweight FasterC2f module is designed to improve the backbone network of YOLOv8n, realizing the reduction of the number of parameters and computation of the network; the EMA attention mechanism is introduced into the FasterC2f module, fusing spatial dependence and positional information, establishing long and short-term dependence relationships, and enhancing the attention to the target's representation, in order to improve the accuracy of the model's detection; and VoVGSCSP is used to improve the neck network, improving the accuracy of the helmet wearing detection algorithm. module to improve the neck network to improve the recognition of occluded targets as well as small targets; the experimental results show that the map value of the improved YOLOv8n model is 92.5%, which reduces the model size by 20%, computation by 18.5%, and parameter count by 15.7% compared to the YOLOv8n algorithm, which provides theoretical references for the study of the lightweighting of helmet wearing detection.