首页|工厂化养殖死鱼检测及定位系统研究

工厂化养殖死鱼检测及定位系统研究

扫码查看
[目的]在工厂化循环水养殖中,过度密集的养殖环境和不稳定的水质等因素会导致水体污染和鱼类缺氧,进而引发鱼类死亡。因此,及时检测和清除死鱼对于维护水质和防止疾病传播至关重要。[方法]文章将目标检测模型和双目视觉定位技术相结合,实现对死亡鱼类的实时检测和精准定位。首先采用CLAHE图像增强算法,解决水下死鱼图像面临的光的吸收、散射和折射等问题;其次基于YOLOv7模型构建了死鱼目标检测网络YO-LOv7-PC,该网络采用部分卷积模块替换骨干网络中的高效层聚合网络(ELAN)的传统卷积模块,并在Neck网络中引入了坐标注意力机制模块,实现了对被遮挡和水下死鱼目标的实时精准检测;最后结合立体匹配算法SGBM实现对水下死鱼目标的三维定位,为死鱼机器人的打捞提供了视觉感知信息。该研究以大口黑鲈为例,基于不同距离采集的视频数据集进行测试,验证了YOLOv7-PC模型结合SGBM立体匹配算法的准确性和实时性。[结果]该研究提出的YOLOv7-PC-CLAHE模型精确率、召回率及平均精度分别为97。6%、85。6%和97。0%,对比基础YOLOv7模型平均精度提高了2。5%,检测速度提升了31。9%;结合SGBM立体匹配算法能够精准进行死鱼定位,在深度方向上平均相对误差为3。08%。[结论]该文方法有效实现了对水下死亡鱼类的实时检测和精准定位,算法效果满足工厂化养殖的需求。
Detection and positioning system of dead fish in factory farming
[Purpose]In factory-based circulating water breeding,excessively dense breeding environment and unstable water quality have caused water pollution and hypoxia,resulting in fish mortality.Therefore,timely detection and removal of dead fish is essential for maintaining water quality and preventing diseases from spreading.[Method]This article proposed a combination of the target detection model and the visual positioning technology of the eyes to achieve real-time detection and accurate positioning of dead fish.Firstly,the CLAHE image enhancement algorithm was used to solve the problems such as the absorption,scattering and refraction of the light facing the underwater dead fish images.Secondly,the YOLOv7-PC was built based on the YOLOv7 model.The traditional convolutional module of the high-efficiency layer aggregation network(ELAN)was replaced by a Partial Convolution(PConv)module,and a coordinate attention mechanism module was introduced into the Neck network to achieve real-time accurate detection of obscured and underwater dead fish targets.Finally,combined with the Semi-Global Block Matching(SGBM)to achieve three-dimensional positioning of underwater dead fish targets,which provided visual perception information for the salvage of dead fish robots.Taking the large-mouth black bass as an example,the accuracy and real-time performance of the YOLOv7-PC model combined with the SGBM stereo algorithm was verified by testing the video data collected at different distances.[Result]The test results showed that the accuracy,recall rate and average accuracy of the Yolov7-PC-CLAHE model proposed in the study were 97.6%,85.6%and 97.0%,respectively.The average accuracy of the comparison base YOLOv7 model had increased by 2.5%and the detection speed had increased by 31.9%.Combined with the SGBM three-dimensional algorithm algorithm could accurately perform dead fish positioning,the average relative error in the depth direction was 3.08%.[Conclusion]The method proposed in this article effectively realizes real-time detection and accurate positioning of underwater dead fish,and the algorithm's performance meets the needs of industrialized aquaculture.

image enhancementdeath fish detectionYOLOv7two-dimensional visionthree-dimensional matchingthree-dimensional positioning

赵然、王宇豪、赵世理、张松、段雨晴

展开 >

国家数字渔业创新中心,北京 100083

中国农业大学信息与电气工程学院,北京 100083

农业农村部智慧养殖技术重点实验室,北京 100083

北京市农业物联网工程技术研究中心,北京 100083

展开 >

图像增强 死亡鱼类检测 YOLOv7 双目立体视觉 立体匹配 三维定位

国家自然科学基金项目

32273188

2024

中国农业信息
中国农学会农业信息分会 中国农科院农业自然资源和农业区划研究所

中国农业信息

影响因子:1.424
ISSN:1672-0423
年,卷(期):2024.36(2)
  • 1