Publications
Sort:
Open Access Issue
Research on freshwater fish behavior detection algorithm based on YOLOX and DeepSORT
Journal of Intelligent Agricultural Mechanization 2025, 6(3): 88-97
Published: 15 August 2025
Abstract PDF (11 MB) Collect
Downloads:0

Freshwater fish behavior recognition is an important part of ecological research, which helps to understand the ecological habits and environmental adaptability of fish. In order to recognize freshwater fish behavior, this paper proposes a freshwater fish behavior detection algorithm based on YOLOX and DeepSORT algorithms. The fish target detection dataset in Open Image Dataset V7 was selected as dataset 1, and the freshwater fish target detection model was trained by YOLOX. The manually labeled and image enhanced dataset 2 was retrained by transfer learning, and the freshwater fish target detection model was completed. Based on target detection, the appearance features were obtained, and DeepSORT was used to build a freshwater fish target tracking algorithm to obtain the fish's position information, speed and acceleration. By analyzing fish movement information, rules are set to classify fish activity, mortality, rushing, and other common behaviors. The results show that transfer learning and image enhancement reduce the sample size required for model training, and the freshwater fish target detection model has a good accuracy of 83%. DeepSORT algorithm has a good effect on freshwater fish target tracking results, and can accurately extract freshwater fish motion information with a processing speed of 10 f/s and good real-time performance. MOTA, MOTP and IDF1 reach 83.582%, 96.245% and 94.105%, respectively, with good tracking performance. Based on the motion information, the freshwater fish behavior was defined according to the preset rules, and the random forest method was used to classify the freshwater fish. The accuracy of the random forest method reached 99.72%. The freshwater fish behavior detection algorithm proposed in this study based on YOLOX and DeepSORT not only ensures high detection accuracy, but also realizes good real-time performance, which can effectively identify the behavior pattern of freshwater fish, and provides strong technical support for ecological research.

Open Access Issue
Research on the measurement of sow body temperature based on infrared thermography and linear regression fitting
Journal of Intelligent Agricultural Mechanization 2023, 4(1): 36-41
Published: 15 February 2023
Abstract PDF (1.1 MB) Collect
Downloads:5

Body temperature is one of the most important indicators of disease diagnosis in pigs. In order to reduce the manpower and material resources used in the measurement of traditional pigs' temperature methods and decrease the risk of pigs' stress and cross-infection between humans and pigs, the infrared thermal imager (Fluke Ti27) was used to acquire images of sows infrared heat radiation. The deep learning target detection network YOLOv3 was used to train and predict the dataset to accurately identify and locate the ear root of sow. The ear root part of the sow was selected as the best measurement part and with the temperature information of the ear root part in the thermal radiation picture obtained by the Fluke software (Fluke Connect SmartView), the relationships between the sow body temperature and the ambient temperature, the ambient humidity, the light intensity, the infrared temperature of the ear root were analyzed so that the multiple linear regression model with sow body temperature as the dependent variable and other variables as independent variables was established and the multiple linear regression function was used to optimally fit the sow body temperature. Using this model to estimate the data of the test set, the results showed that: under different environmental conditions, the maximum error between the fitted pig body temperature and the actual pig body temperature was 3.06%, and the average absolute error was 1.41%. The body temperature fitting is accurate, and the fitting error basically meets the pig breeding industry requirements. This method can be used as a non-contact measurement of pig body temperature in pig production, which improves the accuracy and efficiency of temperature measurement and has a good prospect.

Total 2