{"title":"MT-SRNet: A Transferable Multi-Task Super-Resolution Network for Pig Keypoint Detection, Segmentation, and Posture Estimation","authors":"Dong Liu, Andrea Parmiggiani, Tomas Norton","doi":"10.1016/j.compag.2025.110533","DOIUrl":null,"url":null,"abstract":"<div><div>Robust visual analysis of pigs in densely housed groups is essential for various applications within digital phenotyping and Precision Livestock Farming, including animal counting, posture recognition, tracking, body dimension measurement, and welfare assessment. However, the transferability and scalability of existing methods across diverse farming environments remain significant challenges. In this study, we addressed these issues by proposing a modular design that decouples environmental variations from individual animal variability. At the framework-level, we introduced a Rotated Bounding Box (RBB) detector combined with an Auto-Visual Prompt strategy to effectively suppress background interference and achieve seamless scene adaptation. At the task-level, we developed a Multi-task Super-Resolution Network (MT-SRnet) capable of simultaneously predicting pig keypoints, masks, and postures from low-resolution inputs. Our experimental results demonstrate that MT-SRnet maintains high accuracy (Keypoints – 95.33 % mPCK; Mask – 95.53 % mIoU; posture – 89.72 % accuracy) while substantially reducing model complexity by over 30-fold. Moreover, the proposed approach achieves a substantial increase in inference speed (up to ∼17,000 pigs/s), highlighting its practical suitability for real-time monitoring under resource-limited conditions. More information available online: <span><span>https://gitlab.kuleuven.be/m3-biores/public/m3pig</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"237 ","pages":"Article 110533"},"PeriodicalIF":7.7000,"publicationDate":"2025-05-30","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/S0168169925006398","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Robust visual analysis of pigs in densely housed groups is essential for various applications within digital phenotyping and Precision Livestock Farming, including animal counting, posture recognition, tracking, body dimension measurement, and welfare assessment. However, the transferability and scalability of existing methods across diverse farming environments remain significant challenges. In this study, we addressed these issues by proposing a modular design that decouples environmental variations from individual animal variability. At the framework-level, we introduced a Rotated Bounding Box (RBB) detector combined with an Auto-Visual Prompt strategy to effectively suppress background interference and achieve seamless scene adaptation. At the task-level, we developed a Multi-task Super-Resolution Network (MT-SRnet) capable of simultaneously predicting pig keypoints, masks, and postures from low-resolution inputs. Our experimental results demonstrate that MT-SRnet maintains high accuracy (Keypoints – 95.33 % mPCK; Mask – 95.53 % mIoU; posture – 89.72 % accuracy) while substantially reducing model complexity by over 30-fold. Moreover, the proposed approach achieves a substantial increase in inference speed (up to ∼17,000 pigs/s), highlighting its practical suitability for real-time monitoring under resource-limited conditions. More information available online: https://gitlab.kuleuven.be/m3-biores/public/m3pig.
期刊介绍:
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.