渔业现代化 ›› 2025, Vol. 52 ›› Issue (4): 169-. doi: 10.26958/j.cnki.1007-9580.2025.04.016

• • 上一篇    

一种适用于复杂环境的高密度鱼苗实时计数方法 

  1. (1天津农学院计算机与信息工程学院,天津 300392;
    2农业农村部智慧养殖技术重点实验室(部省共建)(天津农学院),天津 300392;
    3天津市水产生态与养殖重点实验室,天津 300392)
  • 出版日期:2025-08-20 发布日期:2025-09-03
  • 通讯作者: 田云臣(1967—),男,硕士,教授,研究方向:农业电气化与自动化。E-mail:tianyunchen@tjau.edu.cn
  • 作者简介:宋丽俏(1999—),女,硕士研究生,研究方向:农业电气化与自动化。E-mail:1850442273@qq.com

  • 基金资助:
    国家重点研发计划(2020YFD0900600);农业农村部智慧养殖技术重点实验室(部省共建)开放基金(2023-TJAUKLSBF-2406);国家现代农业产业技术体系资助(CARS-47);天津市海水养殖产业技术体系(ITTMRS2021000);天津市重点研发计划科技支撑重点项目(23YFZCSN00310);天津市教委科研计划项目(2023KJ004)

A real-time high-density fish fry counting method for complex environments

  1. (1 College of Computer and Information Engineering, Tianjin Agricultural University, Tianjin 300392, China;
    2 Key Laboratory of Smart Breeding (Co-construction by Ministry and Province), Ministry of Agriculture and Rural Affairs, Tianjin Agricultural University, Tianjin 300392, China;
    3 Tianjin Key Laboratory of Aquatic Ecology and Aquaculture, Tianjin 300392, China)

  • Online:2025-08-20 Published:2025-09-03

摘要: 在水产养殖中,精确实时计数鱼苗对于优化饲喂策略和提升养殖效率至关重要。然而,高密度鱼群的重叠、复杂背景和实时性要求使得传统计数方法存在显著局限性。为解决这一问题,该研究提出了一种基于改进YOLOv8s的鱼苗自动计数方法。通过在主干网络中引入通道先验卷积注意力(CPCA)机制,动态分配通道和空间维度的注意力权重,提高特征提取和目标识别能力。同时,设计轻量化计数检测头(EffiCount Head),结合耦合设计与部分卷积技术,降低模型复杂度并提升推理速度。结果显示,改进模型在鱼苗计数任务中的平均精确率达到98.2%,相比原模型提升了4.0%,参数量减少了13.6%,推理速度提升了15.8%。该方法在复杂背景和高密度场景下具备较高的精确率和鲁棒性,能够高效实现实时鱼苗计数,显著提升水产养殖的生产效率。


关键词: 鱼苗自动计数, YOLOv8s, CPCA, EffiCount Head

Abstract: Accurate real-time fish fry counting is critical in aquaculture to optimize feeding strategies and enhance farming efficiency. However, traditional counting methods face significant limitations due to overlapping high-density fish schools, complex backgrounds, and real-time requirements. To address this challenge, this study proposes an automated fish fry counting method based on an enhanced YOLOv8s model. The study incorporates a Channel Prior Convolution Attention (CPCA) mechanism into the backbone network, dynamically allocating attention weights across both channel and spatial dimensions to enhance feature extraction and target recognition. Additionally, the lightweight counting detection head (EffiCount Head) is designed by integrating coupling design and partial convolution techniques to reduce model complexity and improve inference speed. The results show that the enhanced model achieves a mAP of 98.2% in fish fry counting, a 4.0% improvement over the original model. The model also reduces the number of parameters by 13.6% and increases inference speed by 15.8%. This method demonstrates high precision and robustness in complex backgrounds and high-density scenarios, enabling efficient real-time fish fry counting and significantly improving aquaculture productivity. 


Key words: automatic fish fry counting, YOLOv8s, channel prior convolutional attention, efficount head