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

Visual Detection of Lost Ear Tags in Breeding Pigs in a Production Environment Using the Enhanced Cascade Mask R-CNN

Author

Listed:
  • Fang Wang

    (College of Computer Science, Inner Mongolia Agricultural University, Hohot 010018, China)

  • Xueliang Fu

    (College of Computer Science, Inner Mongolia Agricultural University, Hohot 010018, China)

  • Weijun Duan

    (College of Computer Science, Inner Mongolia Agricultural University, Hohot 010018, China)

  • Buyu Wang

    (College of Computer Science, Inner Mongolia Agricultural University, Hohot 010018, China)

  • Honghui Li

    (College of Computer Science, Inner Mongolia Agricultural University, Hohot 010018, China)

Abstract

As the unique identifier of individual breeding pigs, the loss of ear tags can result in the loss of breeding pigs’ identity information, leading to data gaps and confusion in production and genetic breeding records, which can have catastrophic consequences for breeding efforts. Detecting the loss of ear tags in breeding pigs can be challenging in production environments due to factors such as overlapping breeding pig clusters, imbalanced pig-to-tag ratios, and relatively small-sized ear tags. This study proposes an improved method for the detection of lost ear tags in breeding pigs based on Cascade Mask R-CNN. Firstly, the model utilizes ResNeXt combined with a feature pyramid network (FPN) as the feature extractor; secondly, the classification branch incorporates the online hard example mining (OHEM) technique to improve the utilization of ear tags and low-confidence samples; finally, the regression branch employs a decay factor of Soft-NMS to reduce the overlap of redundant bounding boxes. The experiment employs a sliding window detection method to evaluate the algorithm’s performance in detecting lost ear tags in breeding pigs in a production environment. The results show that the accuracy of the detection can reach 92.86%. This improvement effectively enhances the accuracy and real-time performance of lost ear tag detection, which is highly significant for the production and breeding of breeding pigs.

Suggested Citation

  • 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.
  • Handle: RePEc:gam:jagris:v:13:y:2023:i:10:p:2011-:d:1261365
    as

    Download full text from publisher

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

    File URL: https://www.mdpi.com/2077-0472/13/10/2011/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Shuqin Tu & Qiantao Zeng & Yun Liang & Xiaolong Liu & Lei Huang & Shitong Weng & Qiong Huang, 2022. "Automated Behavior Recognition and Tracking of Group-Housed Pigs with an Improved DeepSORT Method," Agriculture, MDPI, vol. 12(11), pages 1-20, November.
    2. Rong Wang & Ronghua Gao & Qifeng Li & Jiabin Dong, 2023. "Pig Face Recognition Based on Metric Learning by Combining a Residual Network and Attention Mechanism," Agriculture, MDPI, vol. 13(1), pages 1-17, January.
    3. Kaidong Lei & Chao Zong & Ting Yang & Shanshan Peng & Pengfei Zhu & Hao Wang & Guanghui Teng & Xiaodong Du, 2022. "Detection and Analysis of Sow Targets Based on Image Vision," Agriculture, MDPI, vol. 12(1), pages 1-19, January.
    4. Hengyi Ji & Jionghua Yu & Fengdan Lao & Yanrong Zhuang & Yanbin Wen & Guanghui Teng, 2022. "Automatic Position Detection and Posture Recognition of Grouped Pigs Based on Deep Learning," Agriculture, MDPI, vol. 12(9), pages 1-17, August.
    5. 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.
    Full references (including those not matched with items on IDEAS)

    Citations

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


    Cited by:

    1. Fang Wang & Xueliang Fu & Weijun Duan & Buyu Wang & Honghui Li, 2024. "The Detection of Ear Tag Dropout in Breeding Pigs Using a Fused Attention Mechanism in a Complex Environment," Agriculture, MDPI, vol. 14(4), pages 1-15, March.
    2. Shanghao Liu & Chunjiang Zhao & Hongming Zhang & Qifeng Li & Shuqin Li & Yini Chen & Ronghua Gao & Rong Wang & Xuwen Li, 2024. "ICNet: A Dual-Branch Instance Segmentation Network for High-Precision Pig Counting," Agriculture, MDPI, vol. 14(1), pages 1-15, January.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Gang Liu & Hao Guo & Alexey Ruchay & Andrea Pezzuolo, 2023. "Recent Advancements in Precision Livestock Farming," Agriculture, MDPI, vol. 13(9), pages 1-3, August.
    2. 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.
    3. Gniewko Niedbała & Sebastian Kujawa, 2023. "Digital Innovations in Agriculture," Agriculture, MDPI, vol. 13(9), pages 1-10, August.

    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:13:y:2023:i:10:p:2011-:d:1261365. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.