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

LA-DeepLab V3+: A Novel Counting Network for Pigs

Author

Listed:
  • Chengqi Liu

    (Department of Computer Science and Technology, College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China)

  • Jie Su

    (Department of Computer Science and Technology, College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China)

  • Longhe Wang

    (Office of Model Animals, National Research Facility for Phenotypic and Genotypic Analysis of Model Animals, China Agricultural University, Beijing 100083, China)

  • Shuhan Lu

    (Department of Information, School of Information, University of Michigan, Ann Arbor, MI 48109, USA)

  • Lin Li

    (Department of Computer Science and Technology, College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China
    Office of Model Animals, National Research Facility for Phenotypic and Genotypic Analysis of Model Animals, China Agricultural University, Beijing 100083, China)

Abstract

Accurate identification and intelligent counting of pig herds can effectively improve the level of fine management of pig farms. A semantic segmentation and counting network was proposed in this study to improve the segmentation accuracy and counting efficiency of pigs in complex image segmentation. In this study, we built our own datasets of pigs under different scenarios, and set three levels of number detection difficulty—namely, lightweight, middleweight, and heavyweight. First, an image segmentation model of a small sample of pigs was established based on the DeepLab V3+ deep learning method to reduce the training cost and obtain initial features. Second, a lightweight attention mechanism was introduced, and attention modules based on rows and columns can accelerate the efficiency of feature calculation and reduce the problem of excessive parameters and feature redundancy caused by network depth. Third, a recursive cascade method was used to optimize the fusion of high- and low-frequency features for mining potential semantic information. Finally, the improved model was integrated to build a graphical platform for the accurate counting of pigs. Compared with FCNNs, U-Net, SegNet, and DenseNet methods, the DeepLab V3+ experimental results show that the values of the comprehensive evaluation indices P, R, AP, F 1 -score, and MIoU of LA-DeepLab V3+ (single tag) are higher than those of other semantic segmentation models, at 86.04%, 75.06%, 78.67%, 0.8, and 76.31%, respectively. The P, AP, and MIoU values of LA-DeepLab V3+ (multiple tags) are also higher than those of other models, at 88.36%, 76.75%, and 74.62%, respectively. The segmentation accuracy of pig images with simple backgrounds reaches 99%. The pressure test of the counting network can calculate the number of pigs with a maximum of 50, which meets the requirements of free-range breeding in standard piggeries. The model has strong generalization ability in pig herd detection under different scenarios, which can serve as a reference for intelligent pig farm management and animal life research.

Suggested Citation

  • Chengqi Liu & Jie Su & Longhe Wang & Shuhan Lu & Lin Li, 2022. "LA-DeepLab V3+: A Novel Counting Network for Pigs," Agriculture, MDPI, vol. 12(2), pages 1-16, February.
  • Handle: RePEc:gam:jagris:v:12:y:2022:i:2:p:284-:d:751399
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/12/2/284/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/12/2/284/
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Junchi Zhou & Wenwu Hu & Airu Zou & Shike Zhai & Tianyu Liu & Wenhan Yang & Ping Jiang, 2022. "Lightweight Detection Algorithm of Kiwifruit Based on Improved YOLOX-S," Agriculture, MDPI, vol. 12(7), pages 1-14, July.
    2. Fang Wang & Xueliang Fu & Weijun Duan & Buyu Wang & Honghui Li, 2023. "Visual Detection of Lost Ear Tags in Breeding Pigs in a Production Environment Using the Enhanced Cascade Mask R-CNN," Agriculture, MDPI, vol. 13(10), pages 1-15, October.

    More about this item

    Keywords

    complex background; pigs; DeepLab V3+; attention mechanism; count;
    All these keywords.

    JEL classification:

    Statistics

    Access and download statistics

    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:12:y:2022:i:2:p:284-:d:751399. 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.