Visual Detection of Lost Ear Tags in Breeding Pigs in a Production Environment Using the Enhanced Cascade Mask R-CNN
Fang Wang,
Xueliang Fu (),
Weijun Duan,
Buyu Wang and
Honghui Li
Additional contact information
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
Agriculture, 2023, vol. 13, issue 10, 1-15
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.
Keywords: lost ear tag detection; Cascade Mask R-CNN; OHEM; Soft-NMS; feature extraction (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: 2023
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (2)
Downloads: (external link)
https://www.mdpi.com/2077-0472/13/10/2011/pdf (application/pdf)
https://www.mdpi.com/2077-0472/13/10/2011/ (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:13:y:2023:i:10:p:2011-:d:1261365
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 ().