• •    

基于改进YOLOv8的水下目标检测算法

李大海1,李冰涛2,王振东3   

  1. 1. 江西理工大学信息工程学院
    2. 江西理工大学
    3. 江西理工大学信
  • 收稿日期:2023-11-10 修回日期:2024-03-26 发布日期:2024-04-12
  • 通讯作者: 李冰涛
  • 基金资助:
    国家自然科学基金;江西理工大学校级基金资助项目

Underwater target detection algorithm based on YOLOv8

  • Received:2023-11-10 Revised:2024-03-26 Online:2024-04-12

摘要: 摘 要: 由于水下生物的特性,水下图像中存在较多难以检测的小目标且目标之间经常相互遮挡,且水下环境中的光线吸收和散射也会造成水下图像的颜色偏移和模糊。针对上述问题,提出了水下目标检测算法WCA-YOLOv8。首先,设计特征融合模块(FFM),增强对空间维度信息的关注,提升对模糊和颜色偏移目标的识别能力。其次,加入FCA注意力特征提取模块,增强对相互重叠、遮挡水下目标的特征提取能力。第三,为了提高模型对水下小目标的检测性能,将CIoU损失函数替换为WIoU v3损失函数。最后,设计下采样DEM模块,使特征提取过程中保存的上下文信息更加完整,改善水下目标检测的性能。基于RUOD和URPC数据集上的实验表明WCA-YOLOv8可以在这两个数据集上分别达到75.8%和88.6%的检测准确率,还可以达到60FPS和57FPS的检测速度。与其他前沿的水下物体检测算法相比,WCA-YOLOv8不仅能够获得更高的检测准确性,还可达到更快的检测速度。

关键词: 关键词: YOLOv8, 水下目标检测, 特征融合, FCA注意力, WIoU v3损失函数

Abstract: Abstract: Due to the unique characteristics of underwater creatures, underwater images usually exit many small targets being hard to detect which often overlap with each other. In addition, the presence of light absorption and scattering in underwater environment can cause underwater images to occur color shift and blurriness. Aim to overcome those challenges, this paper propose an enhanced underwater target detection algorithm, namely WCA-YOLOv8. Firstly, WCA-YOLOv8 adds the Feature Fusion Module (FFM) to improve the focus on spatial dimension to improve the recognition of blurry and color-shifted targets. At second, WCA-YOLOv8 adds the FCA module to enhance the feature extraction for overlapped and occluded underwater targets. At third, WCA-YOLOv8 uses CIoU loss function to replace WIoU v3 loss function to strengthen the ability to detect small size targets. At last, WCA-YOLOv8 adds newly designed DEM module to preserve context information during feature extraction more effectively. Experimental results show that WCA-YOLOv8 can achieves 75.8% and 88.6% detection accuracy and 60FPS and 57FPS detection speeds on RUOD and URPC data sets, respectively. Compared with other evaluated state-of-the-art object detection algorithms, WCA-YOLOv8 can achieve higher detection accuracy with faster detection speed.

Key words: Keywords: YOLOv8, Underwater target detection, Feature Fusion, FCA attention, WIoU v3 loss function