摘要
为了精确打击拦网捕鱼行为,提高渔政执法的效率,将目标检测技术应用于无人机采集的违法渔桩影像。针对海面渔桩小目标检测精度低以及误检、漏检率高等问题,提出一种AECA-YOLO(Attention Enhanced Contextual Aware)模型对渔桩目标进行更精确的检测与定位。该算法通过连接小目标和上下文信息进行数据增强,在原始YOLOv5算法的骨干网络中添加一个坐标注意力机制,加强特征通道间的关联;其次,提出一种嵌入注意力机制的亚像素上采样结构替代最邻近上采样,丰富目标区域的细节信息;同时,采用解耦检测头分离分类与定位过程,提高训练的速度与稳定性;最后,调整网络的定位损失函数,改善位移对小目标的剧烈干扰。实验结果表明,将改进后的算法应用在海面背景下的渔桩小目标检测中,相比原始YOLOv5算法,在检测速度相当的情况下平均检测精度提高了29.7%,召回率提升了18.9%,检测速度为52.37 FPS,能够满足实时性的需求。渔桩小目标的实时高精度检测为智能渔政执法提供了有力的解决方案。
In order to accurately combat interception fishing behavior and improve the efficiency of fisheries enforcement,object detection technology is applied to the images of illegal fishing piles collected by drones.To address the problems of low detection accuracy and high false positive and miss rate of fishing piles small targets on the sea surface,an AECA-YOLO(Attention Enhanced Contextual Aware)model is proposed for more accurate detection and localization of fishing pile targets.The algorithm performed data enhancement by connecting small targets with contextual information,and added a coordinate attention mechanism to the backbone of the original YOLOv5 algorithm to strengthen the association between feature channels.Secondly,a sub-pixel upsampling structure embedded in the attention mechanism was proposed to replace the nearest neighbor upsampling to enrich the detail information of target regions.Meanwhile,the decoupled detection head was used to separate the classification and localization processes to improve the speed and stability of training.Finally,the localization loss function of the network was adjusted to improve the dramatic interference of displacement on small targets.The experimental results show that the improved algorithm applied to the detection of fishing piles in the sea surface background,compared with the original YOLOv5 algorithm,improves the average detection accuracy by 29.7%and the recall rate by 18.9%with comparable detection speed,the detection speed is 52.37 FPS,which meets the demand of real-time performance.The real-time and high-precision detection of small targets of fishing piles provides a powerful solution for intelligent fishery law enforcement.
作者
刘梦菲
毛建华
陆小锋
LIU Meng-fei;MAO Jian-hua;LU Xiao-feng(School of Communication and Information Engineering,Shanghai University,Shanghai 200444,China;Wenzhou Institute of Shanghai University,Wenzhou 325000,China)
出处
《计算机技术与发展》
2023年第8期144-150,共7页
Computer Technology and Development
基金
上海市科委科技创新行动计划(21511102605)。
关键词
小目标检测
YOLOv5
上下文信息
坐标注意力机制
渔桩
small target detection
YOLOv5
contextual information
coordinate attention mechanism
fishing pile