Jinxin Chen , Luo Liu , Peng Li , Wen Yao , Mingxia Shen , Longshen Liu
{"title":"Evaluation of piglet suckling competition index based on YOLOv10 and optical flow direction distribution features","authors":"Jinxin Chen , Luo Liu , Peng Li , Wen Yao , Mingxia Shen , Longshen Liu","doi":"10.1016/j.biosystemseng.2025.104197","DOIUrl":null,"url":null,"abstract":"<div><div>With the rapid development of intelligent farming technologies, effectively evaluating piglet competition behaviour during the suckling period has become a key research focus for enhancing livestock management. This paper presents a method for evaluating the piglet suckling competition index, which integrates the YOLOv10 object detection algorithm and optical flow direction distribution features. First, the YOLOv10 model is employed to detect the sow's posture and the positions of the piglets, classifying the sow's posture into lateral recumbency and other postures. Subsequently, precise localisation of the lactation period is achieved by calculating the mask ratio of the piglets within the sow's region and the changes in group activity. Finally, the Farneback optical flow algorithm is utilised to analyse the direction distribution of the optical flow within the piglet region, and the variation coefficient of information entropy is employed to quantify the intensity of piglet suckling competition. Experimental results demonstrate that the proposed method performs well in both object detection and behaviour localisation, achieving a precision of 91.51 % and a recall of 96.04 % for lactation period localisation. Additionally, the method successfully validated the evaluation of piglet suckling competition in different test pens. This study provides technical support for intelligent farming technologies, helping to optimise piglet nutrition management and enhance farming efficiency.</div></div>","PeriodicalId":9173,"journal":{"name":"Biosystems Engineering","volume":"257 ","pages":"Article 104197"},"PeriodicalIF":4.4000,"publicationDate":"2025-06-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Biosystems Engineering","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1537511025001333","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
With the rapid development of intelligent farming technologies, effectively evaluating piglet competition behaviour during the suckling period has become a key research focus for enhancing livestock management. This paper presents a method for evaluating the piglet suckling competition index, which integrates the YOLOv10 object detection algorithm and optical flow direction distribution features. First, the YOLOv10 model is employed to detect the sow's posture and the positions of the piglets, classifying the sow's posture into lateral recumbency and other postures. Subsequently, precise localisation of the lactation period is achieved by calculating the mask ratio of the piglets within the sow's region and the changes in group activity. Finally, the Farneback optical flow algorithm is utilised to analyse the direction distribution of the optical flow within the piglet region, and the variation coefficient of information entropy is employed to quantify the intensity of piglet suckling competition. Experimental results demonstrate that the proposed method performs well in both object detection and behaviour localisation, achieving a precision of 91.51 % and a recall of 96.04 % for lactation period localisation. Additionally, the method successfully validated the evaluation of piglet suckling competition in different test pens. This study provides technical support for intelligent farming technologies, helping to optimise piglet nutrition management and enhance farming efficiency.
期刊介绍:
Biosystems Engineering publishes research in engineering and the physical sciences that represent advances in understanding or modelling of the performance of biological systems for sustainable developments in land use and the environment, agriculture and amenity, bioproduction processes and the food chain. The subject matter of the journal reflects the wide range and interdisciplinary nature of research in engineering for biological systems.