基于改进型 YOLOv7 的笼养死鸡检测方法

IF 7.7 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub Date : 2024-08-31 DOI:10.1016/j.compag.2024.109388
{"title":"基于改进型 YOLOv7 的笼养死鸡检测方法","authors":"","doi":"10.1016/j.compag.2024.109388","DOIUrl":null,"url":null,"abstract":"<div><p>In large-scale laying hen farms, daily inspection of dead hens is a relevant task to monitor the health of the flock and prevent disease spreading. The current manual inspection method used in caged hen farms is inefficient, costly, and particularly difficult for high-rise cages. To address this issue, a dead caged hen detection method based on improved You Only Look Once version 7 (YOLOv7) was proposed in this study, which was optimized to improve detection performance and speed in complex farming environments, such as cage wire mesh occlusion and crowded hen occlusion. First, the Convolutional Block Attention Module was used to enable the model to learn target features accurately. Second, the Distance Intersection over Union Non-maximum Suppression and repulsion loss were introduced to improve crowded hen occlusion and reduce missed detections. Additionally, to facilitate the deployment of the proposed method on mobile devices, the MobileNetv3 lightweight network was used to replace the backbone of YOLOv7. Furthermore, the lightweight model was trained using the knowledge distillation method to enhance its performance. Finally, a comparison experiment of different object detection networks and an ablation experiment were conducted to evaluate the proposed method. The experimental results reveal that the improved YOLOv7 model proposed in this study performs optimally. Its precision, recall, F1 score, and [email protected] for the dead hens in the test set are 95.7 %, 86.8 %, 0.910, and 86.2 %, respectively. Compared with the original YOLOv7 model, precision, recall, and [email protected] were increased by 6 %, 10 %, and 13.4 %, respectively. The model parameters and Giga Floating-point Operations were decreased by 31.95 % and 60.56 %, respectively, resulting in a detection speed increase of 43 Frames Per Second. Furthermore, with the assistance of an inspection robot, the proposed dead hen detection model was deployed in the actual farming environments. Compared with methods proposed by other researchers, the proposed model is more suitable for complex actual farming environments and achieves higher detection accuracy, which can offer a reference for automated caged hen detection.</p></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":null,"pages":null},"PeriodicalIF":7.7000,"publicationDate":"2024-08-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A detection method for dead caged hens based on improved YOLOv7\",\"authors\":\"\",\"doi\":\"10.1016/j.compag.2024.109388\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>In large-scale laying hen farms, daily inspection of dead hens is a relevant task to monitor the health of the flock and prevent disease spreading. The current manual inspection method used in caged hen farms is inefficient, costly, and particularly difficult for high-rise cages. To address this issue, a dead caged hen detection method based on improved You Only Look Once version 7 (YOLOv7) was proposed in this study, which was optimized to improve detection performance and speed in complex farming environments, such as cage wire mesh occlusion and crowded hen occlusion. First, the Convolutional Block Attention Module was used to enable the model to learn target features accurately. Second, the Distance Intersection over Union Non-maximum Suppression and repulsion loss were introduced to improve crowded hen occlusion and reduce missed detections. Additionally, to facilitate the deployment of the proposed method on mobile devices, the MobileNetv3 lightweight network was used to replace the backbone of YOLOv7. Furthermore, the lightweight model was trained using the knowledge distillation method to enhance its performance. Finally, a comparison experiment of different object detection networks and an ablation experiment were conducted to evaluate the proposed method. The experimental results reveal that the improved YOLOv7 model proposed in this study performs optimally. Its precision, recall, F1 score, and [email protected] for the dead hens in the test set are 95.7 %, 86.8 %, 0.910, and 86.2 %, respectively. Compared with the original YOLOv7 model, precision, recall, and [email protected] were increased by 6 %, 10 %, and 13.4 %, respectively. The model parameters and Giga Floating-point Operations were decreased by 31.95 % and 60.56 %, respectively, resulting in a detection speed increase of 43 Frames Per Second. Furthermore, with the assistance of an inspection robot, the proposed dead hen detection model was deployed in the actual farming environments. Compared with methods proposed by other researchers, the proposed model is more suitable for complex actual farming environments and achieves higher detection accuracy, which can offer a reference for automated caged hen detection.</p></div>\",\"PeriodicalId\":50627,\"journal\":{\"name\":\"Computers and Electronics in Agriculture\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":7.7000,\"publicationDate\":\"2024-08-31\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers and Electronics in Agriculture\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0168169924007798\",\"RegionNum\":1,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURE, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169924007798","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

摘要

在大规模蛋鸡养殖场,每天检查死鸡是监测鸡群健康和防止疾病传播的一项重要任务。目前笼养鸡场使用的人工检查方法效率低、成本高,尤其是对于高层笼养鸡场而言更是困难重重。针对这一问题,本研究提出了一种基于改进型 You Only Look Once version 7(YOLOv7)的笼养死鸡检测方法,并对其进行了优化,以提高在笼养铁丝网遮挡和拥挤母鸡遮挡等复杂养殖环境下的检测性能和速度。首先,使用卷积块注意模块使模型能够准确地学习目标特征。其次,引入了 "联合非最大抑制距离交集 "和 "斥力损失",以改善拥挤的母鸡遮挡和减少漏检。此外,为了便于在移动设备上部署所提出的方法,使用了 MobileNetv3 轻量级网络来替代 YOLOv7 的骨干网络。此外,还使用知识提炼法对轻量级模型进行了训练,以提高其性能。最后,进行了不同物体检测网络的对比实验和烧蚀实验,以评估所提出的方法。实验结果表明,本研究提出的改进型 YOLOv7 模型性能最佳。对于测试集中的死母鸡,其精确度、召回率、F1 分数和 [email protected] 分别为 95.7 %、86.8 %、0.910 和 86.2 %。与最初的 YOLOv7 模型相比,精确度、召回率和 [email protected] 分别提高了 6%、10% 和 13.4%。模型参数和千兆浮点运算分别减少了 31.95 % 和 60.56 %,检测速度提高了 43 帧/秒。此外,在检测机器人的协助下,所提出的死鸡检测模型被部署在实际的养殖环境中。与其他研究人员提出的方法相比,所提出的模型更适合复杂的实际养殖环境,检测精度更高,可为笼养母鸡自动检测提供参考。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
A detection method for dead caged hens based on improved YOLOv7

In large-scale laying hen farms, daily inspection of dead hens is a relevant task to monitor the health of the flock and prevent disease spreading. The current manual inspection method used in caged hen farms is inefficient, costly, and particularly difficult for high-rise cages. To address this issue, a dead caged hen detection method based on improved You Only Look Once version 7 (YOLOv7) was proposed in this study, which was optimized to improve detection performance and speed in complex farming environments, such as cage wire mesh occlusion and crowded hen occlusion. First, the Convolutional Block Attention Module was used to enable the model to learn target features accurately. Second, the Distance Intersection over Union Non-maximum Suppression and repulsion loss were introduced to improve crowded hen occlusion and reduce missed detections. Additionally, to facilitate the deployment of the proposed method on mobile devices, the MobileNetv3 lightweight network was used to replace the backbone of YOLOv7. Furthermore, the lightweight model was trained using the knowledge distillation method to enhance its performance. Finally, a comparison experiment of different object detection networks and an ablation experiment were conducted to evaluate the proposed method. The experimental results reveal that the improved YOLOv7 model proposed in this study performs optimally. Its precision, recall, F1 score, and [email protected] for the dead hens in the test set are 95.7 %, 86.8 %, 0.910, and 86.2 %, respectively. Compared with the original YOLOv7 model, precision, recall, and [email protected] were increased by 6 %, 10 %, and 13.4 %, respectively. The model parameters and Giga Floating-point Operations were decreased by 31.95 % and 60.56 %, respectively, resulting in a detection speed increase of 43 Frames Per Second. Furthermore, with the assistance of an inspection robot, the proposed dead hen detection model was deployed in the actual farming environments. Compared with methods proposed by other researchers, the proposed model is more suitable for complex actual farming environments and achieves higher detection accuracy, which can offer a reference for automated caged hen detection.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Computers and Electronics in Agriculture
Computers and Electronics in Agriculture 工程技术-计算机:跨学科应用
CiteScore
15.30
自引率
14.50%
发文量
800
审稿时长
62 days
期刊介绍: Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.
期刊最新文献
TrackPlant3D: 3D organ growth tracking framework for organ-level dynamic phenotyping Camouflaged cotton bollworm instance segmentation based on PVT and Mask R-CNN Path planning of manure-robot cleaners using grid-based reinforcement learning Immersive human-machine teleoperation framework for precision agriculture: Integrating UAV-based digital mapping and virtual reality control Improving soil moisture prediction with deep learning and machine learning models
×
引用
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