Yi Jinwang, Han Wei, Lai Fangfei
School of Opto-Electronic and Communication Engineering, Xiamen University of Technology, Xiamen, Fujian, China.
PeerJ Comput Sci. 2025 Apr 7;11:e2798. doi: 10.7717/peerj-cs.2798. eCollection 2025.
Aquaculture is of great significance to economic development. It is assessed by manual periodic sampling traditionally, consumes workforce and material resources, and quickly leads to inadequate supervision, which results in substantial property losses. Fish target detection technology can effectively solve the issue of manual monitoring. However, a majority of current studies are based on ideal underwater environments and are inapplicable to complex underwater aquaculture scenarios. Therefore, the YOLOv8n-DDSW fish target detection algorithm was proposed in this article to resolve the detection difficulties resulting from fish occlusion, deformation and detail loss in complex intensive aquaculture scenarios. (1) The C2f-deformable convolutional network (DCN) module is proposed to take the place of the C2f module in the YOLOv8n backbone to raise the detection accuracy of irregular fish targets. (2) The dual-pooling squeeze-and-excitation (DPSE) attention mechanism is put forward and integrated into the YOLOv8n neck network to reinforce the features of the visible parts of the occluded fish target. (3) Small detection is introduced to make the network more capable of sensing small targets and improving recall. (4) Wise intersection over union (IOU) rather than the original loss function is used for improving the bounding box regression performance of the network. Training and testing are based on the publicly available Kaggle dataset. According to the experimental results, the mAP50, precision (P), recall (R) and mAP50-95 values of the improved algorithm are 3.9%, 3.7%, 6.1%, and 7.7% higher than those of the original YOLOv8n algorithm, respectively. Thus, the algorithm is effective in solving low detection accuracy in intensive aquaculture scenarios and theoretically supports the intelligent and modern development of fisheries.
水产养殖对经济发展具有重要意义。传统上,它通过人工定期采样进行评估,耗费人力和物力,且很快导致监管不足,从而造成重大财产损失。鱼类目标检测技术可以有效解决人工监测的问题。然而,当前大多数研究基于理想的水下环境,不适用于复杂的水下养殖场景。因此,本文提出了YOLOv8n-DDSW鱼类目标检测算法,以解决复杂密集养殖场景中因鱼类遮挡、变形和细节丢失导致的检测困难。(1)提出C2f-可变形卷积网络(DCN)模块来替代YOLOv8n主干中的C2f模块,以提高不规则鱼类目标的检测精度。(2)提出双池化挤压激励(DPSE)注意力机制并将其集成到YOLOv8n颈部网络中,以增强被遮挡鱼类目标可见部分的特征。(3)引入小目标检测,使网络更能感知小目标并提高召回率。(4)使用明智交并比(IOU)而非原始损失函数来提高网络的边界框回归性能。训练和测试基于公开可用的Kaggle数据集。根据实验结果,改进算法的mAP50、精度(P)、召回率(R)和mAP50-95值分别比原始YOLOv8n算法高3.9%、3.7%、6.1%和7.7%。因此,该算法在解决密集养殖场景中检测精度低的问题方面是有效的,并在理论上支持渔业的智能化和现代化发展。