[1]石露露,廖光忠.改进 YOLOv5s 的明渠漂浮垃圾实时检测方法[J].计算机技术与发展,2023,33(09):83-90.[doi:10. 3969 / j. issn. 1673-629X. 2023. 09. 013]
 SHI Lu-lu,LIAO Guang-zhong.Real-time Detection Method of Floating Garbage in Open Channels Based on Improved YOLOv5s[J].,2023,33(09):83-90.[doi:10. 3969 / j. issn. 1673-629X. 2023. 09. 013]
点击复制

改进 YOLOv5s 的明渠漂浮垃圾实时检测方法()

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
33
期数:
2023年09期
页码:
83-90
栏目:
人工智能
出版日期:
2023-09-10

文章信息/Info

Title:
Real-time Detection Method of Floating Garbage in Open Channels Based on Improved YOLOv5s
文章编号:
1673-629X(2023)09-0083-08
作者:
石露露1 廖光忠2
1. 武汉科技大学 计算机科学与技术学院,湖北 武汉 430065;
2. 武汉科技大学 智能信息处理与实时工业系统湖北省重点实验室,湖北 武汉 430065
Author(s):
SHI Lu-lu1 LIAO Guang-zhong2
1. School of Computer Science and Technology,Wuhan University of Science and Technology,Wuhan 430065,China;
2. Hubei Provincial Key Laboratory of Intelligent Information Processing and Real-time Industrial System,Wuhan University of Science and Technology,Wuhan 430065,China
关键词:
YOLOv5s实时检测加权双向特征融合注意力机制小目标
Keywords:
YOLOv5sreal-time detectionweighted bidirectional feature fusionattention mechanismsmall objects
分类号:
TP391
DOI:
10. 3969 / j. issn. 1673-629X. 2023. 09. 013
摘要:
针对航拍图像上明渠漂浮垃圾尺寸小,且易受水面倒影、强光等因素干扰从而造成漂浮垃圾漏检和误检的问题,提出了一种基于改进 YOLOv5s 的明渠漂浮垃圾实时检测
方法。 首先,通过数据增强的方式对数据集进行扩充,避免数据量过少产生过拟合现象;然后,结合加权双向特征融合网络( BiFPN) ,对 YOLOv5s 结构的特征融合过程进行
修改,以提高检测精度和速度;并且在 Neck 和 Head 部分之间添加 3 个改进的三维 CBAM 注意力机制模块,加强网络信息的提取和定位能力,能够有效地降低检测的漏检率和误检率;最后,增大网络输入的分辨率,使图像具有更加丰富的细节信息和更加精确的位置信息,有利于小目标特征信息的提取。 实验结果显示改进的 YOLOv5s 算法检测的平均精度达到了 89. 9% ,与原 YOLOv5s 算法相比提高了 9. 5% ,而且与其他目标检测算法对比,能够提高明渠漂浮垃圾检测的精度,确保检测的实时性。
Abstract:
Aiming at the problem that floating garbage in open channels is small in size and easily disturbed by factors such as reflectionon the water surface and strong light, resulting in missed detection and false detection of floating garbage,a real-time detection method offloating garbage in open channels based on improved YOLOv5s is proposed. Firstly, the data set is expanded by means of dataenhancement to avoid overfitting caused by too little data. Then, combined with the weighted bidirectional feature pyramid network( BiFPN) ,the feature fusion process of the YOLOv5s structure is modified to improve the detection accuracy and speed. Next, threeimproved 3D CBAM attention mechanism modules are added between the Neck and Head parts to enhance the extraction and positioningcapabilities of network information, which can effectively reduce the missed detection rate and false detection rate of detection. Finally,the network input resolution is increased,so that the image had richer detailed information and more accurate position information,whichis conducive to the extraction of small target feature information. The experimental results show that the average detection accuracy of theimproved YOLOv5s algorithm reaches 89. 9% ,which is 9. 5% higher than that of the original YOLOv5s algorithm,and compared withother target detection algorithms,it can improve the detection accuracy and ensure the real-time detection.

相似文献/References:

[1]朱 鹏,陈 虎*,李 科,等.一种轻量级的多尺度特征人脸检测方法[J].计算机技术与发展,2020,30(04):1.[doi:10. 3969 / j. issn. 1673-629X. 2020. 04. 001]
 ZHU Peng,CHEN Hu*,LI Ke,et al.A Face Detection Method with Lightweight and Multi-scale Feature[J].,2020,30(09):1.[doi:10. 3969 / j. issn. 1673-629X. 2020. 04. 001]
[2]产世兵,刘宁钟,沈家全.基于轻量级网络的 PCB 元器件检测[J].计算机技术与发展,2020,30(10):14.[doi:10. 3969 / j. issn. 1673-629X. 2020. 10. 003]
 CHAN Shi-bing,LIU Ning-zhong,SHEN Jia-quan.PCB Component Detection Based on Lightweight Network[J].,2020,30(09):14.[doi:10. 3969 / j. issn. 1673-629X. 2020. 10. 003]
[3]赵崇志,卢 俊,田 源,等.基于 Yolov5s 的作业现场阀门规范操作识别方法[J].计算机技术与发展,2022,32(05):216.[doi:10. 3969 / j. issn. 1673-629X. 2022. 05. 036]
 ZHAO Chong-zhi,LU Jun,TIAN Yuan,et al.Yolov5s-based Method for Identifying Valve Specification Operations at Job Sites[J].,2022,32(09):216.[doi:10. 3969 / j. issn. 1673-629X. 2022. 05. 036]
[4]刘鸿瑜,袁国武.基于改进 YOLOv5s 的烟支外观缺陷检测方法[J].计算机技术与发展,2022,32(08):161.[doi:10. 3969 / j. issn. 1673-629X. 2022. 08. 026]
 LIU Hong-yu,YUAN Guo-wu.Detection of Cigarette Appearance Defects Based on Improved YOLOv5s[J].,2022,32(09):161.[doi:10. 3969 / j. issn. 1673-629X. 2022. 08. 026]
[5]朱昭云,张 波,叶昭良,等.基于 YOLOv5s 的海上风电设施检测与预警评估[J].计算机技术与发展,2023,33(04):182.[doi:10. 3969 / j. issn. 1673-629X. 2023. 04. 027]
 ZHU Zhao-yun,ZHANG Bo,YE Zhao-liang,et al.Offshore Wind Power Facilities Detection and Early Warning Assessment Based on Improved YOLOv5s[J].,2023,33(09):182.[doi:10. 3969 / j. issn. 1673-629X. 2023. 04. 027]
[6]冀承泽,贾立新,李荆晖.基于改进 YOLOv5s 的两种输电杆塔缺陷检测研究[J].计算机技术与发展,2024,34(02):180.[doi:10. 3969 / j. issn. 1673-629X. 2024. 02. 026]
 JI Cheng-ze,JIA Li-xin,LI Jing-hui.Research on Two Types of Defect Detection of Transmission Tower Based on Improved YOLOv5s[J].,2024,34(09):180.[doi:10. 3969 / j. issn. 1673-629X. 2024. 02. 026]
[7]魏雅丽,牛为华.改进 YOLOv5s 的轻量化航拍小目标检测算法[J].计算机技术与发展,2024,34(02):53.[doi:10. 3969 / j. issn. 1673-629X. 2024. 02. 008]
 WEI Ya-li,NIU Wei-hua.Aerial Small Target Detection Based on Improved YOLOv5s Lightweight Algorithm[J].,2024,34(09):53.[doi:10. 3969 / j. issn. 1673-629X. 2024. 02. 008]
[8]张元,关瑜,熊风光,等.基于改进Yolov5s的增强现实文物识别方法[J].计算机技术与发展,2024,34(07):17.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0118]
 ZHANG Yuan,GUAN Yu,XIONG Feng-guang,et al.An Augmented Reality Cultural Relics Recognition Method Based on Improved Yolov5s[J].,2024,34(09):17.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0118]
[9]陈钧,周井泉*,张志鹏.面向小目标的自校正YOLOv5检测增强算法[J].计算机技术与发展,2024,34(10):140.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0220]
 CHEN Jun,ZHOU Jing-quan*,ZHANG Zhi-peng.Self-calibrated YOLOv5 Detection Enhancement Algorithm for Small Targets[J].,2024,34(09):140.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0220]
[10]刘俊苗,王海晨.基于改进YOLOv5s的遥感图像车辆目标检测[J].计算机技术与发展,2024,34(12):87.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0283]
 LIU Jun-miao,WANG Hai-chen.Vehicle Target Detection in Remote Sensing Images Based on Improved YOLOv5s[J].,2024,34(09):87.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0283]

更新日期/Last Update: 2023-09-10