Yaermaimaiti Yilihamu, Yajie Liu, Lingfei Xi, Ruohao Wang
{"title":"Helmet Detection Algorithm Based on Improved YOLOv7","authors":"Yaermaimaiti Yilihamu, Yajie Liu, Lingfei Xi, Ruohao Wang","doi":"10.3103/S0146411624701116","DOIUrl":null,"url":null,"abstract":"<p>To address the issues of small target leakage, misdetection, and poor detection effect in helmet-wearing target detection, a small target helmet-wearing detection based on YOLOv7 is designed. Firstly, the space-to-depth (SPD) block is introduced to replace the convolution of the first down-sampling, and all subsequent Max Pooling (MP) structures are replaced with SPD structures, which can better capture the information of different depths in the graphs, and improve the performance of detecting small target helmets. Secondly, the use of ContentAware ReAssembly of Features (CARAFE) for the up-sampling section increases the receptive field, adapts to different types of feature maps, and improves the feature fusion capability; Then, SPPFCSPC is obtained by changing the connection method of SPPCSPC, and the spatial pyramid pooling module GhostSPPFCSPC is built by fusing a Ghost module and an SPPFCSPC module, in which the SPPCSPC module consists of two submodules, the spatial pyramid pooling (SPP) module and the connected spatial pyramid convolution (CSPC) module, which decreases the number of parameters and boosts the network performance in the meantime; Thirdly, the design uses SIoU to optimize the bounding box return loss function, which achieves faster convergence in the training phase, better performance in inference, and improved model accuracy and robustness. To demonstrate that the improved algorithm has better results than the original model with mAP boosted by 5.8%, accuracy boosted by 0.8%, parameter count decreased by 7.08%, and FPS up to 65 f/s.</p>","PeriodicalId":46238,"journal":{"name":"AUTOMATIC CONTROL AND COMPUTER SCIENCES","volume":"58 6","pages":"642 - 655"},"PeriodicalIF":0.6000,"publicationDate":"2025-01-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"AUTOMATIC CONTROL AND COMPUTER SCIENCES","FirstCategoryId":"1085","ListUrlMain":"https://link.springer.com/article/10.3103/S0146411624701116","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
To address the issues of small target leakage, misdetection, and poor detection effect in helmet-wearing target detection, a small target helmet-wearing detection based on YOLOv7 is designed. Firstly, the space-to-depth (SPD) block is introduced to replace the convolution of the first down-sampling, and all subsequent Max Pooling (MP) structures are replaced with SPD structures, which can better capture the information of different depths in the graphs, and improve the performance of detecting small target helmets. Secondly, the use of ContentAware ReAssembly of Features (CARAFE) for the up-sampling section increases the receptive field, adapts to different types of feature maps, and improves the feature fusion capability; Then, SPPFCSPC is obtained by changing the connection method of SPPCSPC, and the spatial pyramid pooling module GhostSPPFCSPC is built by fusing a Ghost module and an SPPFCSPC module, in which the SPPCSPC module consists of two submodules, the spatial pyramid pooling (SPP) module and the connected spatial pyramid convolution (CSPC) module, which decreases the number of parameters and boosts the network performance in the meantime; Thirdly, the design uses SIoU to optimize the bounding box return loss function, which achieves faster convergence in the training phase, better performance in inference, and improved model accuracy and robustness. To demonstrate that the improved algorithm has better results than the original model with mAP boosted by 5.8%, accuracy boosted by 0.8%, parameter count decreased by 7.08%, and FPS up to 65 f/s.
期刊介绍:
Automatic Control and Computer Sciences is a peer reviewed journal that publishes articles on• Control systems, cyber-physical system, real-time systems, robotics, smart sensors, embedded intelligence • Network information technologies, information security, statistical methods of data processing, distributed artificial intelligence, complex systems modeling, knowledge representation, processing and management • Signal and image processing, machine learning, machine perception, computer vision