Fry counting method using improved YOLOv8 and multi-target tracking

被引:0
|
作者
Shen, Yang [1 ]
Wang, Chongyu [1 ]
Zhao, Jiayi [1 ]
Du, Lingwei [1 ]
Xiong, Xin [2 ]
Zhou, Minggang [1 ]
机构
[1] Research and Design Institute of Agricultural Mechanical Engineering, Hubei University of Technology, Wuhan
[2] Hubei Srida Heavy-Duty Engineering Machinery Co., Ltd., Xiangyang
来源
Nongye Gongcheng Xuebao/Transactions of the Chinese Society of Agricultural Engineering | 2024年 / 40卷 / 16期
关键词
aquaculture; fry counting; machine vision; multi-target tracking; YOLOv8;
D O I
10.11975/j.issn.1002-6819.202404105
中图分类号
学科分类号
摘要
Fry counting can play a pivotal role in the aquaculture industry. However, manual counting cannot fully meet the large-scale production in recent years, due to the inefficient, low precision, and even damage to the fry. In this study, a new fry counting was proposed using improved YOLOv8 and multi-target tracking. The objects were taken as the grass carp fry with the body lengths ranging from 20 to 50 mm. Firstly, the test platform was designed, according to the test requirements. Eight fry videos were then captured to extract and screen 961 valid images as the initial dataset. Then augmentation operations were performed on the data, including motion blur, brightness adjustment, noise increase, and image flipping. 2285 images dataset was divided into the training set and testing set in the ratio of 9∶1. P2 small layer of target detection was then added into the YOLOv8, due to the small fry targets and high detection speed. While the GAM (global attention mechanism) was introduced in front of the detection head, and the Inner-SIoU (Inner-SCYLLA- Intersection over Union) loss function was used to accelerate the convergence speed of the model for the better recognition accuracy of small and overlapping targets. The YOLOv8 detector was trained with the following settings: initial learning rate of 0.01, moments of 0.9, weight decay of 0.0005, batch size of 16, and 300 training rounds. The image processing computer was a 12th Gen Intel(R) Core (TM) i7-12700H 2.70 GHz, with an operating system of 64-bit Windows 11 system with 24 G of system memory. After that, a tracking and counting approach was realized for fry counting using BoT-SORT multi-target tracking with motion feature matching, eight-element Kalman filter, and camera motion compensation and discarding the appearance feature matching module. The tracking of fry targets was realized for the fry targets. Finally, the performance of the improved model was also evaluated, in terms of merits and performance. The ablation tests showed that the improved model was significantly promoted the counting performance, compared with the pre-improved model; Comparative test results showed that the average counting accuracy (ACP), average absolute error (MAE), and root mean square error (RMSE) were 97.16%, 3.67, and 5.26, respectively. The indexes of improved model were better than those of YOLOv5+DeepSORT, YOLOv8+DeepSORT, YOLOv8+StrongSORT, YOLOv8+ByteTrack, and YOLOv8+BoT-SORT; The comparative tests showed that the counting performance was negatively correlated with the speed of the fry through the shooting area. Once the speed was too high, the tracker was caused the insufficient inference speed, leading to a decline in the counting accuracy. The number of small fries were found in the video with the higher speed and accuracy than before. The finding can lay the strong foundation for the rapid and accurate counting of fry on the biomass estimation in factory aquaculture. © 2024 Chinese Society of Agricultural Engineering. All rights reserved.
引用
收藏
页码:163 / 170
页数:7
相关论文
共 30 条
  • [1] YU Hong, Research progress on object detection and tracking techniques utilization in aquaculture: a review, Journal of Dalian Ocean University, 35, 6, pp. 793-804, (2020)
  • [2] CHEN Jun, XU Hao, NI Qi, Et al., The study report on the development of China industrial recirculating aquaculture, Fishery Modernization, 36, 4, pp. 1-7, (2009)
  • [3] LIU Anwen, XIE Fangping, XIANG Yang, Et al., Automatic removal of pineapple eye using machine vision, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 40, 1, pp. 80-89, (2024)
  • [4] ZHAO Langyue, WU Yiquan, Research progress of surface defect detection methods based on machine vision, Chinese Journal of Scientific Instrument, 43, 1, pp. 198-219, (2022)
  • [5] WAN Peng, HUANG Yuyi, WANG Rong, Et al., Design and experiments of the machine vision-based body orientation arrangement convey device for the Scomber japonicus, Transactions of the Chinese Society of Agricultural Engineering(Transactions of the CSAE), 39, 14, pp. 271-282, (2023)
  • [6] WANG Shuo, FAN Zhongliang, LIU Ying, The research of turbot fry counting method based on computer vision, Fishery Modernization, 42, 1, pp. 16-19, (2015)
  • [7] MA Yiru, LV Xin, YI Xiang, Et al., Monitoring of cotton leaf area index using machine learning, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 37, 13, pp. 152-162, (2021)
  • [8] ZHANG Rui, JIA Hu, Production performance forecasting method based on multivariate time series and vector autoregressive machine learning model for waterflooding reservoirs, Petroleum Exploration and Development, 48, 1, pp. 175-184, (2021)
  • [9] HE Qing, LI Ning, LUO Wenjuan, Et al., A survey of machine learning algorithms for big data, Pattern Recognition and Artificial Intelligence, 27, 4, pp. 327-336, (2014)
  • [10] LECUN Y, BENGIO Y, HINTON G., Deep learning, Nature, 521, 7553, pp. 436-444, (2015)