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

PDC-YOLO: A Network for Pig Detection under Complex Conditions for Counting Purposes

Author

Listed:
  • Peitong He

    (National Agriculture Science Data Center, Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100081, China
    National Nanfan Research Institute (Sanya), Chinese Academy of Agricultural Sciences, Sanya 572024, China)

  • Sijian Zhao

    (Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100081, China)

  • Pan Pan

    (National Agriculture Science Data Center, Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100081, China
    National Nanfan Research Institute (Sanya), Chinese Academy of Agricultural Sciences, Sanya 572024, China)

  • Guomin Zhou

    (National Agriculture Science Data Center, Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100081, China
    National Nanfan Research Institute (Sanya), Chinese Academy of Agricultural Sciences, Sanya 572024, China)

  • Jianhua Zhang

    (National Agriculture Science Data Center, Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100081, China
    National Nanfan Research Institute (Sanya), Chinese Academy of Agricultural Sciences, Sanya 572024, China)

Abstract

Pigs play vital roles in the food supply, economic development, agricultural recycling, bioenergy, and social culture. Pork serves as a primary meat source and holds extensive applications in various dietary cultures, making pigs indispensable to human dietary structures. Manual pig counting, a crucial aspect of pig farming, suffers from high costs and time-consuming processes. In this paper, we propose the PDC-YOLO network to address these challenges, dedicated to detecting pigs in complex farming environments for counting purposes. Built upon YOLOv7, our model incorporates the SPD-Conv structure into the YOLOv7 backbone to enhance detection under varying lighting conditions and for small-scale pigs. Additionally, we replace the neck of YOLOv7 with AFPN to efficiently fuse features of different scales. Furthermore, the model utilizes rotated bounding boxes for improved accuracy. Achieving a mAP of 91.97%, precision of 95.11%, and recall of 89.94% on our collected pig dataset, our model outperforms others. Regarding technical performance, PDC-YOLO exhibits an error rate of 0.002 and surpasses manual counting significantly in speed.

Suggested Citation

  • Peitong He & Sijian Zhao & Pan Pan & Guomin Zhou & Jianhua Zhang, 2024. "PDC-YOLO: A Network for Pig Detection under Complex Conditions for Counting Purposes," Agriculture, MDPI, vol. 14(10), pages 1-18, October.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:10:p:1807-:d:1498193
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/14/10/1807/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/14/10/1807/
    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:14:y:2024:i:10:p:1807-:d:1498193. 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.