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

The Development of a Sorting System Based on Point Cloud Weight Estimation for Fattening Pigs

Author

Listed:
  • Luo Liu

    (College of Veterinary Medicine, Nanjing Agricultural University, Nanjing 210014, China
    Key Laboratory of Livestock Farming Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 211800, China)

  • Yangsen Ou

    (Key Laboratory of Livestock Farming Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 211800, China
    College of Artificial Intelligence, Nanjing Agricultural University, Nanjing 211800, China)

  • Zhenan Zhao

    (Key Laboratory of Livestock Farming Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 211800, China
    College of Artificial Intelligence, Nanjing Agricultural University, Nanjing 211800, China)

  • Mingxia Shen

    (Key Laboratory of Livestock Farming Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 211800, China
    College of Artificial Intelligence, Nanjing Agricultural University, Nanjing 211800, China)

  • Ruqian Zhao

    (College of Veterinary Medicine, Nanjing Agricultural University, Nanjing 210014, China
    Key Laboratory of Livestock Farming Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 211800, China)

  • Longshen Liu

    (Key Laboratory of Livestock Farming Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 211800, China
    College of Artificial Intelligence, Nanjing Agricultural University, Nanjing 211800, China)

Abstract

As large-scale and intensive fattening pig farming has become mainstream, the increase in farm size has led to more severe issues related to the hierarchy within pig groups. Due to genetic differences among individual fattening pigs, those that grow faster enjoy a higher social rank. Larger pigs with greater aggression continuously acquire more resources, further restricting the survival space of weaker pigs. Therefore, fattening pigs must be grouped rationally, and the management of weaker pigs must be enhanced. This study, considering current fattening pig farming needs and actual production environments, designed and implemented an intelligent sorting system based on weight estimation. The main hardware structure of the partitioning equipment includes a collection channel, partitioning channel, and gantry-style collection equipment. Experimental data were collected, and the original scene point cloud was preprocessed to extract the back point cloud of fattening pigs. Based on the morphological characteristics of the fattening pigs, the back point cloud segmentation method was used to automatically extract key features such as hip width, hip height, shoulder width, shoulder height, and body length. The segmentation algorithm first calculates the centroid of the point cloud and the eigenvectors of the covariance matrix to reconstruct the point cloud coordinate system. Then, based on the variation characteristics and geometric shape of the consecutive horizontal slices of the point cloud, hip width and shoulder width slices are extracted, and the related features are calculated. Weight estimation was performed using Random Forest, Multilayer perceptron (MLP), linear regression based on the least squares method, and ridge regression models, with parameter tuning using Bayesian optimization. The mean squared error, mean absolute error, and mean relative error were used as evaluation metrics to assess the model’s performance. Finally, the classification capability was evaluated using the median and average weights of the fattening pigs as partitioning standards. The experimental results show that the system’s average relative error in weight estimation is approximately 2.90%, and the total time for the partitioning process is less than 15 s, which meets the needs of practical production.

Suggested Citation

  • Luo Liu & Yangsen Ou & Zhenan Zhao & Mingxia Shen & Ruqian Zhao & Longshen Liu, 2025. "The Development of a Sorting System Based on Point Cloud Weight Estimation for Fattening Pigs," Agriculture, MDPI, vol. 15(4), pages 1-21, February.
  • Handle: RePEc:gam:jagris:v:15:y:2025:i:4:p:365-:d:1586795
    as

    Download full text from publisher

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

    File URL: https://www.mdpi.com/2077-0472/15/4/365/
    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:4:p:365-:d:1586795. 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.