Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (6): 1998-2006.DOI: 10.11772/j.issn.1001-9081.2025060723

• Multimedia computing and computer simulation • Previous Articles    

Maritime ship detection algorithm under complex weather environments based on enhanced YOLOv8

Zhenkai XIONG1,2(), Mengjun XU1,2, Yinyin SUN3, Xin WANG4   

  1. 1.College of New Energy and Intelligent Connected Vehicle,Anhui University of Science and Technology,Hefei Anhui 231131,China
    2.Institute of Special Vehicles and Unmanned Systems,Anhui University of Science and Technology,Hefei Anhui 231131,China
    3.CAERI Intelligent Network Technology Company Limited,Chongqing 401100,China
    4.Northwest Institute of Mechanical and Electrical Engineering,Xianyang Shaanxi 712000,China
  • Received:2025-06-30 Revised:2025-09-24 Accepted:2025-09-26 Online:2025-10-21 Published:2026-06-10
  • Contact: Zhenkai XIONG
  • About author:XU Mengjun, born in 2001, M. S. candidate. His research interests include machine vision, artificial intelligence.
    SUN Yinyin, born in 1986, M. S., senior engineer. His research interests include vehicle autonomous driving.
    WANG Xin, born in 1979, senior engineer. His research interests include electromechanical control.
    First author contact:XIONG Zhenkai, born in 1979, Ph. D., professor. His research interests include unmanned systems, special vehicles.
  • Supported by:
    High-level Talent Introduction Program of Anhui University of Science and Technology(2023yjrc55)

基于改进YOLOv8的复杂天气环境下海面船舶检测算法

熊珍凯1,2(), 徐梦军1,2, 孙胤胤3, 王鑫4   

  1. 1.安徽理工大学 新能源与智能网联汽车学院,合肥 231131
    2.安徽理工大学 特种车辆及无人系统研究所,合肥 231131
    3.中汽院智能网联科技有限公司,重庆 401100
    4.西北机电工程研究所,陕西 咸阳 712000
  • 通讯作者: 熊珍凯
  • 作者简介:徐梦军(2001—),男,安徽阜阳人,硕士研究生,主要研究方向:机器视觉、人工智能
    孙胤胤(1986—),男,江苏徐州人,硕士,高级工程师,主要研究方向:车辆自动驾驶
    王鑫(1979—),男,陕西咸阳人,高级工程师,主要研究方向:机电控制。
    第一联系人:熊珍凯(1979—),男,湖北天门人,教授,博士,主要研究方向:无人系统、特种车辆
  • 基金资助:
    安徽理工大学高层次人才引进基金资助项目(2023yjrc55)

Abstract:

To address the problems of missed detection and false detection in maritime ship detection tasks under complex weather environments such as rain, fog, and low light, a maritime ship detection algorithm based on enhanced YOLOv8 under complex weather environments was proposed. Firstly, a Cross-Granularity Local Global Attention Fusion Block (CGLGAFB) was proposed, so that a refined local and global feature fusion mechanism was constructed and multi-path feature fusion strategies were combined to integrate multi-source feature information from different levels, thereby enhancing the model’s feature fusion capability as well as suppressing noise interference and information redundancy. Then, the original C2f (Faster Implementation of CSP Bottleneck with 2 convolutions) module was improved to an adaptive mixed C2f module (C2f-Adaptive Mixer Block, C2f-AMB). The target features of different scales and complex spatial structure were captured by the model more flexibly and efficiently through deep convolution branches with adaptive receptive field adjustment capability, thereby enhancing feature extraction capabilities. Finally, a Multi-scale Spatial Perception Pyramid (MSPP) module was proposed to replace SPPF(Spatial Pyramid Pooling-Fast) module, so that dilated convolutions with different dilation rates were utilized to construct multi-scale receptive fields, thereby obtaining comprehensive contextual information, and reducing the omission of key information. Experimental results on the enhanced dataset SeaShips_aug show that the proposed algorithm achieves the mAP@50 and recall of 84.7% and 79.3%, respectively, which are 2.6 and 3.9 percentage points higher than those of the baseline model YOLOv8, respectively, verifying that the proposed algorithm is more suitable for maritime ship detection tasks under complex weather environments.

Key words: complex weather environment, YOLOv8, deep learning, ship detection, object recognition

摘要:

针对海面船舶检测任务在雨雾和低光照等复杂天气环境下存在的漏检与误检问题,提出一种基于改进YOLOv8的复杂天气环境海面船舶检测算法。首先,提出跨层次局部与全局注意力融合模块(CGLGAFB),通过构建精细化的局部和全局特征融合机制,并结合多路特征融合策略整合来自不同层次的多源特征信息,提升模型的特征融合能力,抑制噪声干扰与信息冗余;其次,改进原C2f (Faster Implementation of CSP Bottleneck with 2 convolutions)模块为自适应混合C2f模块(C2f-AMB),通过有自适应感受野调节能力的深度卷积分支,使模型能够更灵活、更高效地捕获不同尺度与复杂空间结构的目标特征,增强特征提取能力;最后,提出多尺度空间感知金字塔(MSPP)模块替换SPPF(Spatial Pyramid Pooling-Fast)模块,利用不同空洞率的空洞卷积构建多尺度感受野,获取全面的上下文信息,减少关键信息遗漏。在增强后的数据集SeaShips_aug上的实验结果表明,所提算法的mAP@50和召回率分别达到84.7%和79.3%,比基线模型YOLOv8分别高了2.6和3.9个百分点,验证了所提算法更适合复杂天气环境下的海面船舶检测任务。

关键词: 复杂天气环境, YOLOv8, 深度学习, 船舶检测, 目标识别

CLC Number: