Jinru Shi , Xinwen Chen , Yanli Zhang , Ping Gong , Yingjun Xiong , Mingxia Shen , Tomas Norton , Xingjian Gu , Mingzhou Lu
{"title":"Detection of estrous ewes’ tail-wagging behavior in group-housed environments using Temporal-Boost 3D convolution","authors":"Jinru Shi , Xinwen Chen , Yanli Zhang , Ping Gong , Yingjun Xiong , Mingxia Shen , Tomas Norton , Xingjian Gu , Mingzhou Lu","doi":"10.1016/j.compag.2025.110283","DOIUrl":null,"url":null,"abstract":"<div><div>In the early estrous stage, ewes exhibit characteristic behaviors, including frequent movement or repetitive tail-wagging. Accurately identifying tail-wagging behavior is essential for determining whether ewes are in estrus, which is crucial for optimizing breeding timing and enhancing productivity in sheep farming. However, detecting ewes’ tail-wagging behavior in group-housed environments remains challenging, because the movements of the sheep make it difficult to analyze the body parts of each ewe individually. This study aims to propose a method for detecting tail-wagging behavior of estrous ewes in group-housed environments. The proposed method consists of three main modules: keypoint detection of the sheep skeletal, localization of the tail regions, and detection of tail-wagging behavior using a Temporal-Boost 3D convolutional network. Firstly, YOLOv8-pose is employed to obtain tail skeleton keypoints of the ewes. Secondly, tolerance expansion techniques are used to determine the tail locations of all ewes. Finally, the Temporal-Boost 3D convolutional network extracts features from both RGB and optical flow sequences. To improve classification accuracy, dynamic weighted fusion is then applied to the softmax outputs from both the RGB and optical flow data streams, producing the final classification result. To evaluate the practical effectiveness of this method, a video was selected for tail-wagging behavior detection, which contained 39 actual tail-wagging segments. The proposed method successfully detected 40 continuous tail-wagging segments, capturing all actual segments and achieving an accuracy rate of 97.5%. These results indicate that the method can effectively detect tail-wagging behavior in ewes within group-housed environments, meeting the intelligent detection needs of sheep farms.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"234 ","pages":"Article 110283"},"PeriodicalIF":7.7000,"publicationDate":"2025-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925003898","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
In the early estrous stage, ewes exhibit characteristic behaviors, including frequent movement or repetitive tail-wagging. Accurately identifying tail-wagging behavior is essential for determining whether ewes are in estrus, which is crucial for optimizing breeding timing and enhancing productivity in sheep farming. However, detecting ewes’ tail-wagging behavior in group-housed environments remains challenging, because the movements of the sheep make it difficult to analyze the body parts of each ewe individually. This study aims to propose a method for detecting tail-wagging behavior of estrous ewes in group-housed environments. The proposed method consists of three main modules: keypoint detection of the sheep skeletal, localization of the tail regions, and detection of tail-wagging behavior using a Temporal-Boost 3D convolutional network. Firstly, YOLOv8-pose is employed to obtain tail skeleton keypoints of the ewes. Secondly, tolerance expansion techniques are used to determine the tail locations of all ewes. Finally, the Temporal-Boost 3D convolutional network extracts features from both RGB and optical flow sequences. To improve classification accuracy, dynamic weighted fusion is then applied to the softmax outputs from both the RGB and optical flow data streams, producing the final classification result. To evaluate the practical effectiveness of this method, a video was selected for tail-wagging behavior detection, which contained 39 actual tail-wagging segments. The proposed method successfully detected 40 continuous tail-wagging segments, capturing all actual segments and achieving an accuracy rate of 97.5%. These results indicate that the method can effectively detect tail-wagging behavior in ewes within group-housed environments, meeting the intelligent detection needs of sheep farms.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.