The Detection of Ear Tag Dropout in Breeding Pigs Using a Fused Attention Mechanism in a Complex Environment
Fang Wang,
Xueliang Fu (),
Weijun Duan,
Buyu Wang and
Honghui Li
Additional contact information
Fang Wang: College of Computer and Information Engineering, Inner Mongolia Agricultural University, Hohot 010018, China
Xueliang Fu: College of Computer and Information Engineering, Inner Mongolia Agricultural University, Hohot 010018, China
Weijun Duan: College of Computer and Information Engineering, Inner Mongolia Agricultural University, Hohot 010018, China
Buyu Wang: College of Computer and Information Engineering, Inner Mongolia Agricultural University, Hohot 010018, China
Honghui Li: College of Computer and Information Engineering, Inner Mongolia Agricultural University, Hohot 010018, China
Agriculture, 2024, vol. 14, issue 4, 1-15
Abstract:
The utilization of ear tags for identifying breeding pigs is a widely used technique in the field of animal production. Ear tag dropout can lead to the loss of pig identity information, resulting in missing data and ambiguity in production management and genetic breeding data. Therefore, the identification of ear tag dropout is crucial for intelligent breeding in pig farms. In the production environment, promptly detecting breeding pigs with missing ear tags is challenging due to clustering overlap, small tag targets, and uneven sample distributions. This study proposes a method for detecting the dropout of breeding pigs’ ear tags in a complex environment by integrating an attention mechanism. Firstly, the approach involves designing a lightweight feature extraction module called IRDSC using depthwise separable convolution and an inverted residual structure; secondly, the SENet channel attention mechanism is integrated for enhancing deep semantic features; and finally, the IRDSC and SENet modules are incorporated into the backbone network of Cascade Mask R-CNN and the loss function is optimized with Focal Loss. The proposed algorithm, Cascade-TagLossDetector, achieves an accuracy of 90.02% in detecting ear tag dropout in breeding pigs, with a detection speed of 25.33 frames per second (fps), representing a 2.95% improvement in accuracy, and a 3.69 fps increase in speed compared to the previous method. The model size is reduced to 443.03 MB, a decrease of 72.90 MB, which enables real-time and accurate dropout detection while minimizing the storage requirements and providing technical support for the intelligent breeding of pigs.
Keywords: ear tag dropout detection; IRDSC; SENet; Cascade Mask R-CNN; Focal Loss (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2024
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2077-0472/14/4/530/pdf (application/pdf)
https://www.mdpi.com/2077-0472/14/4/530/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:14:y:2024:i:4:p:530-:d:1365122
Access Statistics for this article
Agriculture is currently edited by Ms. Leda Xuan
More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().