基于改进YOLOv8n的渔光互补池塘作业船导航中线提取方法

    Extracting the navigation center line for fishery complementary photovoltaic boat using improved YOLOv8n

    • 摘要: 在复杂渔光互补池塘环境中,传统机器视觉算法易受光影变化、池中水草分布和水面障碍物遮挡等因素干扰,导致视觉导航线检测效果不佳。针对上述问题,该研究提出了一种基于改进YOLOv8n的渔光互补池塘作业船导航中线提取方法。首先从提高检测实时性角度出发,将HGNetV2网络作为主干网络,采用组归一化方式(batch normalization,BN)与共享卷积结构,设计轻量化检测头网络,减小模型体积;然后使用SPPF_LSKA模块作为特征融合层,提高模型多尺度特征融合能力;最后采用Wise-IoU(weighted interpolation of sequential evidence for intersection over union)损失函数,提升边界框回归性能和对中远处小目标的检测精度。利用改进YOLOv8n检测框坐标提取两侧水泥立柱定位参照点,通过最小二乘法拟合两侧水泥立柱行线,进而使用角平分线提取导航中线。消融试验结果表明,相对于原始YOLOv8n模型,改进YOLOv8n模型的计算量、参数量和模型体积分别下降36.0%、36.8%和32.8%,平均精度均值(mean average precision,mAP)为97.9%,查准率为93.1%,单张图像检测时间为6.8 ms,检测速度提升42.9%。不同模型对比试验表明,改进YOLOv8n模型在较低计算成本的基础上,体现出了良好的实时性与精准度检测性能,具有明显优势。在导航中线定位分析试验中,提取水泥立柱定位参照点与人工观测标记点平均直线误差在0~5 m和5~10 m距离范围内分别为3.69 cm和4.57 cm,提取导航中线与实际导航中线平均直线误差为3.26 cm,准确率为92%。在导航中线实时性试验中,导航中线平均提取速度为22.34 帧/s,满足渔光互补池塘无人作业船导航要求,为后续作业船视觉导航系统研究提供参考。

       

      Abstract: Photovoltaic panel arrays can often shade over the fishing and light complementary ponds. BeiDou/GPS positioning signals are then affected to significantly reduce the autonomous navigation accuracy of unmanned workboats. Additionally, traditional machine vision can easily cause the suboptimal visual navigation of line detection, due to the low robustness. The resulting images are also confined to the variations in the light and shadow, the distribution of aquatic plants, and surface obstacles. In this study, an improved YOLOv8n model was proposed to extract the navigation center line in the fish and light complementary ponds. Firstly, the HGNetV2 network was used as the backbone network, in order to improve the real-time detection. Batch normalization (BN) and shared convolution structure were also used to design a lightweight detection head network, in order to reduce the size of the model. Then the SPPF_LSKA module was used as the feature fusion layer to improve the multi-scale feature fusion of the model. Finally, the Wise-IoU (weighted interpolation of sequential evidence for intersection over union) loss function was used to improve the bounding box regression performance and the detection accuracy of remote small targets. The detection frame coordinates of improved YOLOv8n were used to extract the reference points for the positioning of the cement columns on both sides. The lines of the cement columns on both sides were fitted by the least square method. The middle line of the navigation was then extracted by the angle bisection line. Ablation test results showed that the calculation amount, parameter number and model volume of the improved YOLOv8n model decreased by 36.0%, 36.8% and 32.8%, respectively, compared with the original, where the mean average precision (mAP) was 97.9%. The detection speed increased by 42.9%, where the accuracy was 93.1%, and the detection time of a single image was 6.8 ms. Comparison test showed that the improved YOLOv8n model exhibited the smallest size and the highest degree of lightweight, while maintaining a high level of detection accuracy, compared with the YOLOv5s, YOLOv6, YOLOv7, and YOLOv8. Excellent performance was also achieved in detecting the concrete columns. In the positioning test of the navigation center line, the average linear errors between the reference point of the extraction cement column and the manual observation mark were 3.69 and 4.57 cm in the range of 0-5 m and 5-10 m, respectively. The average linear error between the extracted and actual navigation center line was 3.26 cm, with an accuracy of 92%. The real-time test showed that the average extraction speed of the navigation midline was improved by 38.04% (117.01 frame/s) on the Windows11 test platform, compared with the original. Furthermore, the average extraction speed of navigation midline increased by 36.38% (22.34 frame/s) on the Jetson test platform. Consequently, the improved model can fully meet the navigation requirements of unmanned fishing and light complementary pond boat. The findings can provide a strong reference for the subsequent research on the visual navigation system of operation boats.

       

    /

    返回文章
    返回