Niclas Högberg , David Berthet , Moudud Alam , Per Peetz Nielsen , Lena-Mari Tamminen , Nils Fall , Adrien Kroese
{"title":"Exploring pose estimation as a tool for the assessment of brush use patterns in dairy cows","authors":"Niclas Högberg , David Berthet , Moudud Alam , Per Peetz Nielsen , Lena-Mari Tamminen , Nils Fall , Adrien Kroese","doi":"10.1016/j.applanim.2025.106746","DOIUrl":null,"url":null,"abstract":"<div><div>Access to mechanical brushes enables grooming behaviour in dairy cows and has shown benefits for cow welfare, including improved cleanliness, comfort, stress reduction. Brush-use may also promote a positive emotional state. Reduced brush use has been associated with health issues, suggesting its potential for automated health monitoring. This study aimed at evaluating whether data generated by pose estimation could be used to assess brush use patterns in loose-housed dairy cows. It presents an approach for automatically identifying the body segment being brushed as an application of pose estimation. Data collection was carried out at the Swedish Livestock Research Centre in a loose housing system equipped with an automatic milking system and two mechanical rotating brushes. Recordings spanned 25:30 h and used three cameras, at different positions, monitoring a single mechanical brush placed in a passageway between cubicle rows. One human observer with access to recordings from all three synchronized cameras annotated the data-set on a second-by-second basis. The observer recorded: (1) the number of cows using the brush; (2) the anatomical segment being brushed; and (3) whether brushing resumed after a pause. The same video recordings were processed with object detection and pose estimation, which predicted the location of bounding boxes for cows and for the brush as well as corresponding keypoints. Using the brush and cow keypoint locations, we attempted to detect brushing by anatomical region. In a first stage, machine-learning models were trained to predict brushing state (independent of location) using keypoint distance to the brush, achieving an accuracy of 86.3 %. To mitigate the risk of error propagation, we relied on human annotations to segment the video to confirmed brushing bouts for analysis in the second stage. To identify the anatomical location of brushing, two methods were evaluated: (1) simply assigning the brushing location to the closest keypoint, achieving 73 % average accuracy across classes, and (2) projecting brush and anatomical keypoints onto a spline modelling the cow’s backline, resulting in 87 % accuracy. Misclassifications were predominantly limited to adjacent body segments. Given that intra-observer reliability was 90 %, the spline-based method was deemed sufficiently reliable for research applications to accurately monitor the specific body segments being brushed.</div></div>","PeriodicalId":8222,"journal":{"name":"Applied Animal Behaviour Science","volume":"292 ","pages":"Article 106746"},"PeriodicalIF":2.0000,"publicationDate":"2025-07-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Animal Behaviour Science","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168159125002448","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, DAIRY & ANIMAL SCIENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Access to mechanical brushes enables grooming behaviour in dairy cows and has shown benefits for cow welfare, including improved cleanliness, comfort, stress reduction. Brush-use may also promote a positive emotional state. Reduced brush use has been associated with health issues, suggesting its potential for automated health monitoring. This study aimed at evaluating whether data generated by pose estimation could be used to assess brush use patterns in loose-housed dairy cows. It presents an approach for automatically identifying the body segment being brushed as an application of pose estimation. Data collection was carried out at the Swedish Livestock Research Centre in a loose housing system equipped with an automatic milking system and two mechanical rotating brushes. Recordings spanned 25:30 h and used three cameras, at different positions, monitoring a single mechanical brush placed in a passageway between cubicle rows. One human observer with access to recordings from all three synchronized cameras annotated the data-set on a second-by-second basis. The observer recorded: (1) the number of cows using the brush; (2) the anatomical segment being brushed; and (3) whether brushing resumed after a pause. The same video recordings were processed with object detection and pose estimation, which predicted the location of bounding boxes for cows and for the brush as well as corresponding keypoints. Using the brush and cow keypoint locations, we attempted to detect brushing by anatomical region. In a first stage, machine-learning models were trained to predict brushing state (independent of location) using keypoint distance to the brush, achieving an accuracy of 86.3 %. To mitigate the risk of error propagation, we relied on human annotations to segment the video to confirmed brushing bouts for analysis in the second stage. To identify the anatomical location of brushing, two methods were evaluated: (1) simply assigning the brushing location to the closest keypoint, achieving 73 % average accuracy across classes, and (2) projecting brush and anatomical keypoints onto a spline modelling the cow’s backline, resulting in 87 % accuracy. Misclassifications were predominantly limited to adjacent body segments. Given that intra-observer reliability was 90 %, the spline-based method was deemed sufficiently reliable for research applications to accurately monitor the specific body segments being brushed.
期刊介绍:
This journal publishes relevant information on the behaviour of domesticated and utilized animals.
Topics covered include:
-Behaviour of farm, zoo and laboratory animals in relation to animal management and welfare
-Behaviour of companion animals in relation to behavioural problems, for example, in relation to the training of dogs for different purposes, in relation to behavioural problems
-Studies of the behaviour of wild animals when these studies are relevant from an applied perspective, for example in relation to wildlife management, pest management or nature conservation
-Methodological studies within relevant fields
The principal subjects are farm, companion and laboratory animals, including, of course, poultry. The journal also deals with the following animal subjects:
-Those involved in any farming system, e.g. deer, rabbits and fur-bearing animals
-Those in ANY form of confinement, e.g. zoos, safari parks and other forms of display
-Feral animals, and any animal species which impinge on farming operations, e.g. as causes of loss or damage
-Species used for hunting, recreation etc. may also be considered as acceptable subjects in some instances
-Laboratory animals, if the material relates to their behavioural requirements