Helmet Detection Algorithm Based on Improved YOLOv7

IF 0.6 Q4 AUTOMATION & CONTROL SYSTEMS
Yaermaimaiti Yilihamu, Yajie Liu, Lingfei Xi, Ruohao Wang
{"title":"Helmet Detection Algorithm Based on Improved YOLOv7","authors":"Yaermaimaiti Yilihamu,&nbsp;Yajie Liu,&nbsp;Lingfei Xi,&nbsp;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.

Abstract Image

基于改进YOLOv7的头盔检测算法
针对头盔目标检测中存在的小目标漏检、误检、检测效果差等问题,设计了基于YOLOv7的头盔小目标检测系统。首先,引入空间到深度(SPD)块取代第一次降采样的卷积,并将后续所有的Max Pooling (MP)结构替换为SPD结构,可以更好地捕获图中不同深度的信息,提高小目标头盔的检测性能。其次,在上采样部分采用CARAFE (ContentAware ReAssembly of Features),增加了接收域,适应了不同类型的特征映射,提高了特征融合能力;然后,通过改变sppfspc的连接方法得到SPPFCSPC,并将Ghost模块与SPPFCSPC模块融合构建空间金字塔池化模块GhostSPPFCSPC,其中SPPCSPC模块由空间金字塔池化(SPP)模块和连通空间金字塔卷积(CSPC)模块两个子模块组成,在减少参数数量的同时提高了网络性能;第三,设计利用SIoU对边界盒返回损失函数进行优化,使训练阶段收敛速度更快,推理性能更好,提高了模型精度和鲁棒性。结果表明,改进后的算法比原模型的mAP提高了5.8%,精度提高了0.8%,参数个数减少了7.08%,FPS达到65 f/s。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
AUTOMATIC CONTROL AND COMPUTER SCIENCES
AUTOMATIC CONTROL AND COMPUTER SCIENCES AUTOMATION & CONTROL SYSTEMS-
CiteScore
1.70
自引率
22.20%
发文量
47
期刊介绍: 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
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信