基于改进YOLOv11的河鲈锚首虫检测方法

Research on detection method of Ancyrocephalus mogurndae on the basis of improved YOLOv11

  • 摘要:
    目的 针对传统河鲈锚首虫检测方法耗时、依赖专业人员且规模化难题,本研究旨在开发快速精准的河鲈锚首虫深度学习检测技术,明确多种主流目标检测算法性能差异并改进优选模型,为翘嘴鳜养殖中该寄生虫鉴定及疾病防控提供技术支撑。
    方法 通过活体解剖实验搜集了286张河鲈锚首虫的显微镜图像,并通过数据增强等预处理,扩充至1 028张训练图像,以此训练深度学习网络。为筛选适配的基础模型,系统对比了YOLOv11、SSD和Faster-RCNN三种主流目标检测算法的性能差异。针对筛选出的YOLOv11 模型在检测中存在的热力图边缘模糊、焦点分散及背景干扰问题,提出两项核心创新改进:一是动态卷积模块,替换传统静态卷积,通过生成网络动态适配输入特征的卷积核参数,针对虫体边缘纹理、微小目标细节等动态调整权重,增强特征感知的精细化程度;二是双分支模块(Dual Branch Block),引入并行特征处理分支,一支专注于高分辨率微小目标的局部细节提取,另一支强化全局背景干扰抑制,通过轻量级融合机制实现多尺度特征互补。
    结果 结果显示,YOLOv11在各项关键性能指标上均领先,其map@0.5值达96.6%,精确度为96.9%,召回率为91.1%,FPS达86帧/s;而SSD和Faster-RCNN的map@0.5值分别为 81.19%和79.25%,精确度分别为93.33%和55.79%,召回率分别为63.64%和80.91%,表现均不及YOLOv11。
    结论 尽管YOLOv11的性能领先,但到其热力图存在边缘模糊、焦点不集中和背景干扰。为了解决这一问题,对YOLOv11进行了深度优化,实现改进后的YOLOv11-DD(YOLOv11-Dual Branch Block and Dynamic Conv)模型。优化后的YOLOv11-DD在检测速度上达到了72帧/s,满足了快速检测的需求,并且在准确性、map@0.5上提升至97.1%、98.2%,增强了河鲈锚首虫病的快速诊断能力。
    意义 本研究不仅为鱼类寄生虫的诊断提供了新技术,也为鱼类寄生虫病的防控提供了新的途径。

     

    Abstract: Addressing the challenges of traditional anchor worm detection methods for black bass—which are time-consuming, require specialized personnel, and face scalability issues—this study aims to develop a rapid and accurate deep learning detection technique for anchor worms. It seeks to clarify the performance differences among multiple mainstream object detection algorithms, refine and optimize the preferred model, and provide technical support for parasite identification and disease prevention in black bass aquaculture. To address the limitations of traditional detection methods, establish a rapid and accurate detection approach for Ancyrocephalus percae, and enhance the efficiency of disease prevention and control. A total of 286 microscopic images of A. percae were collected through in vivo dissection experiments, and expanded to 1,028 training images via preprocessing such as data augmentation for training deep learning networks. To select a suitable base model, the performance differences among three mainstream object detection algorithms (YOLOv11, SSD, and Faster-RCNN) were systematically compared. Aiming at the problems of blurred edges, scattered focus, and background interference in the heatmap of the selected YOLOv11 model during detection, two core innovative improvements were proposed: first, the dynamic convolution module, which replaces traditional static convolution, dynamically adapts the convolution kernel parameters of input features through a generation network, dynamically adjusts weights according to the edge texture of the parasite and details of tiny targets, and enhances the refinement of feature perception; second, the Dual Branch Block, which introduces parallel feature processing branches, with one focusing on extracting local details of high-resolution tiny targets and the other strengthening the suppression of global background interference, realizing multi-scale feature complementation through a lightweight fusion mechanism. The results showed that YOLOv11 took the lead in all key performance indicators, with a map@0.5 value of 96.6%, precision of 96.9%, recall of 91.1%, and FPS of 86 frames per second; in contrast, the map@0.5 values of SSD and Faster-RCNN were 81.19% and 79.25% respectively, precision was 93.33% and 55.79% respectively, and recall was 63.64% and 80.91% respectively, all performing inferior to YOLOv11. However, YOLOv11 had issues with its heatmap, including blurred edges, unfocused focus, and background interference. The optimized YOLOv11-DD achieved a detection speed of 72 frames per second, meeting the demand for rapid detection, and its accuracy and map@0.5 were improved to 97.1% and 98.2% respectively. YOLOv11-DD, developed through in-depth optimization of YOLOv11, effectively addresses the heatmap issues of the original model, balances detection speed and accuracy, and enhances the rapid diagnosis capability of A. percae disease. This study not only provides a new technology for the diagnosis of fish parasites but also offers a new approach for the prevention and control of fish parasitic diseases.

     

/

返回文章
返回