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, Honghui Li
{"title":"The Detection of Ear Tag Dropout in Breeding Pigs Using a Fused Attention Mechanism in a Complex Environment","authors":"Fang Wang, Xueliang Fu, Weijun Duan, Buyu Wang, Honghui Li","doi":"10.3390/agriculture14040530","DOIUrl":null,"url":null,"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.","PeriodicalId":503580,"journal":{"name":"Agriculture","volume":"10 20","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Agriculture","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/agriculture14040530","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
在复杂环境中使用融合注意力机制检测种猪耳标脱落情况
利用耳标识别种猪是动物生产领域广泛使用的一项技术。耳标脱落会导致种猪身份信息丢失,造成生产管理和遗传育种数据的缺失和模糊。因此,识别耳标脱落对猪场的智能育种至关重要。在生产环境中,由于聚类重叠、标签目标小、样本分布不均等原因,及时发现耳标丢失的种猪具有一定的挑战性。本研究通过整合注意力机制,提出了一种在复杂环境中检测种猪耳标丢失的方法。首先,该方法利用深度可分离卷积和倒残差结构设计了一个名为 IRDSC 的轻量级特征提取模块;其次,集成了 SENet 信道注意机制以增强深层语义特征;最后,将 IRDSC 和 SENet 模块集成到 Cascade Mask R-CNN 的骨干网络中,并利用 Focal Loss 优化损失函数。所提出的 Cascade-TagLossDetector 算法检测种猪耳标脱落的准确率达到了 90.02%,检测速度为 25.33 帧/秒(fps),与之前的方法相比,准确率提高了 2.95%,速度提高了 3.69 帧/秒。模型大小减小到 443.03 MB,减少了 72.90 MB,实现了实时、准确的脱落检测,同时最大限度地减少了存储需求,为猪的智能养殖提供了技术支持。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
The Distribution and Pollution Pathway Analysis of Perfluoroalkyl Acids (PFAAs) in a Typical Agricultural Plastic Greenhouse for Cultivated Vegetables Review of the Report on the Nutritional and Health-Promoting Values of Species of the Rubus L. Genus Farmers’ Willingness to Engage in Ecological Compensation for Crop Rotation in China’s Black Soil Regions Influence of Growth Stages and Additives on the Fermentation Quality and Microbial Profiles of Whole-Plant Millet Silage The Brown Marmorated Stink Bug (Hemiptera: Pentatomidae)—A Major Challenge for Global Plant Production
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1