IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v15y2025i3p230-d1572773.html
   My bibliography  Save this article

Resting Posture Recognition Method for Suckling Piglets Based on Piglet Posture Recognition (PPR)–You Only Look Once

Author

Listed:
  • Jinxin Chen

    (College of Engineering, Nanjing Agricultural University, Nanjing 210031, China)

  • Luo Liu

    (College of Veterinary Medicine, Nanjing Agricultural University, Nanjing 210095, China)

  • Peng Li

    (College of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, China)

  • Wen Yao

    (College of Animal Science & Technology, Nanjing Agricultural University, Nanjing 210095, China)

  • Mingxia Shen

    (College of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, China)

  • Longshen Liu

    (College of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, China)

Abstract

The resting postures of piglets are crucial indicators for assessing their health status and environmental comfort. This study proposes a resting posture recognition method for piglets during lactation based on the PPR-YOLO model, aiming to enhance the detection accuracy and classification capability for different piglet resting postures. Firstly, to address the issue of numerous sows and piglets in the farrowing house that easily occlude each other, an image edge detection algorithm is employed to precisely locate the sow’s farrowing bed area. By cropping the images, irrelevant background interference is reduced, thereby enhancing the model’s recognition accuracy. Secondly, to overcome the limitations of the YOLOv11 model in fine feature extraction and small object detection, improvements are made, resulting in the proposed PPR-YOLO model. Specific enhancements include the introduction of a multi-branch Conv2 module to enrich feature extraction capabilities and the adoption of an inverted bottleneck IBCNeck module, which expands the number of channels and incorporates a channel attention mechanism. This strengthens the model’s ability to capture and differentiate subtle posture features. Additionally, in the post-processing stage, the relative positions between sows and piglets are utilized to filter out piglets located outside the sow region, eliminating interference from sow nursing behaviors in resting posture recognition, thereby ensuring the accuracy of posture classification. The experimental results show that the proposed method achieves accurate piglet posture recognition, outperforming mainstream object detection algorithms. Ablation experiments validate the effectiveness of image cropping and model enhancements in improving performance. This method provides effective technical support for the automated monitoring of piglet welfare in commercial farms and holds promising application prospects.

Suggested Citation

  • Jinxin Chen & Luo Liu & Peng Li & Wen Yao & Mingxia Shen & Longshen Liu, 2025. "Resting Posture Recognition Method for Suckling Piglets Based on Piglet Posture Recognition (PPR)–You Only Look Once," Agriculture, MDPI, vol. 15(3), pages 1-24, January.
  • Handle: RePEc:gam:jagris:v:15:y:2025:i:3:p:230-:d:1572773
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/15/3/230/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/15/3/230/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:15:y:2025:i:3:p:230-:d:1572773. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.