Sheep-YOLO:改良轻量化的YOLOv8n,对育肥羔羊的行为和活力状态进行精准智能识别

IF 7.7 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY
Mengjie Zhang , Dan Hong , Jiabao Wu , Yanfei Zhu , Qinan Zhao , Xiaoshuan Zhang , Hailing Luo
{"title":"Sheep-YOLO:改良轻量化的YOLOv8n,对育肥羔羊的行为和活力状态进行精准智能识别","authors":"Mengjie Zhang ,&nbsp;Dan Hong ,&nbsp;Jiabao Wu ,&nbsp;Yanfei Zhu ,&nbsp;Qinan Zhao ,&nbsp;Xiaoshuan Zhang ,&nbsp;Hailing Luo","doi":"10.1016/j.compag.2025.110413","DOIUrl":null,"url":null,"abstract":"<div><div>Fattening lambs’ behaviors and vitality statuses reflect health status and animal welfare directly. However, current detection methods for these aspects primarily rely on manual observation, which is inefficient. This paper aims to achieve precise and intelligent recognition of fattening lambs’ behaviors and vitality statuses. Through the comprehensive literature review, field observations, and consultations with experts, four pivotal behaviors (running, sleeping, socialization, and wandering), alongside four vitality statuses (excitement, hungry, lethargy, and normal) are identified as crucial indicators that mirror the health status of fattening lambs. A visual system is established to collect and construct a dataset of fattening lambs, and a five-fold cross-validation method is employed to determine the basic model. Furthermore, an improved lightweight YOLOv8n model, named Sheep-YOLO, is developed in this paper. Sheep-YOLO utilizes the FasterNet network to reduce model complexity and incorporates the Mixed Local Channel Attention (MLCA) module, SIoU loss function, and Content-Aware ReAssembly of FEatures (CARAFE) to enhance the model’s adaptability to varying breeding densities and lighting conditions. To validate the effectiveness of the optimization strategies, comparison experiments are conducted in this paper. The experimental results show that Sheep-YOLO achieved Params of 1.905 M and GFLOPs of 5.5 G, with a high mAP<sub>0.5</sub> of 96.1 % on the test set and a detection speed of 79.317 FPS(12.61 ms/per image). Compared to the basic YOLOv8n, Sheep-YOLO achieves a 36.6 % reduction in Params and a 30 % decrease in GFLOPs, while maintaining higher mAP<sub>0.5</sub> and faster detection speed. Besides, Sheep-YOLO surpasses widely used algorithms such as YOLOv3-tiny, YOLOv5n, YOLOv10n, RT-DETR, and Faster-RCNN regarding both lightweight performance and precision. Therefore, this study provides potential technical support for precise and intelligent recognition of the behaviors and vitality statuses of fattening lambs, contributing to the health monitoring and early disease prediction of sheep.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"236 ","pages":"Article 110413"},"PeriodicalIF":7.7000,"publicationDate":"2025-04-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Sheep-YOLO: improved and lightweight YOLOv8n for precise and intelligent recognition of fattening lambs’ behaviors and vitality statuses\",\"authors\":\"Mengjie Zhang ,&nbsp;Dan Hong ,&nbsp;Jiabao Wu ,&nbsp;Yanfei Zhu ,&nbsp;Qinan Zhao ,&nbsp;Xiaoshuan Zhang ,&nbsp;Hailing Luo\",\"doi\":\"10.1016/j.compag.2025.110413\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Fattening lambs’ behaviors and vitality statuses reflect health status and animal welfare directly. However, current detection methods for these aspects primarily rely on manual observation, which is inefficient. This paper aims to achieve precise and intelligent recognition of fattening lambs’ behaviors and vitality statuses. Through the comprehensive literature review, field observations, and consultations with experts, four pivotal behaviors (running, sleeping, socialization, and wandering), alongside four vitality statuses (excitement, hungry, lethargy, and normal) are identified as crucial indicators that mirror the health status of fattening lambs. A visual system is established to collect and construct a dataset of fattening lambs, and a five-fold cross-validation method is employed to determine the basic model. Furthermore, an improved lightweight YOLOv8n model, named Sheep-YOLO, is developed in this paper. Sheep-YOLO utilizes the FasterNet network to reduce model complexity and incorporates the Mixed Local Channel Attention (MLCA) module, SIoU loss function, and Content-Aware ReAssembly of FEatures (CARAFE) to enhance the model’s adaptability to varying breeding densities and lighting conditions. To validate the effectiveness of the optimization strategies, comparison experiments are conducted in this paper. The experimental results show that Sheep-YOLO achieved Params of 1.905 M and GFLOPs of 5.5 G, with a high mAP<sub>0.5</sub> of 96.1 % on the test set and a detection speed of 79.317 FPS(12.61 ms/per image). Compared to the basic YOLOv8n, Sheep-YOLO achieves a 36.6 % reduction in Params and a 30 % decrease in GFLOPs, while maintaining higher mAP<sub>0.5</sub> and faster detection speed. Besides, Sheep-YOLO surpasses widely used algorithms such as YOLOv3-tiny, YOLOv5n, YOLOv10n, RT-DETR, and Faster-RCNN regarding both lightweight performance and precision. Therefore, this study provides potential technical support for precise and intelligent recognition of the behaviors and vitality statuses of fattening lambs, contributing to the health monitoring and early disease prediction of sheep.</div></div>\",\"PeriodicalId\":50627,\"journal\":{\"name\":\"Computers and Electronics in Agriculture\",\"volume\":\"236 \",\"pages\":\"Article 110413\"},\"PeriodicalIF\":7.7000,\"publicationDate\":\"2025-04-24\",\"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/S0168169925005198\",\"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/S0168169925005198","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

摘要

育肥羔羊的行为和活力状态直接反映了健康状况和动物福利。然而,目前这些方面的检测方法主要依靠人工观测,效率低下。本文旨在实现对育肥羔羊行为和活力状态的精准智能识别。通过全面的文献回顾、实地观察和专家咨询,确定了四种关键行为(奔跑、睡眠、社交和徘徊)以及四种活力状态(兴奋、饥饿、嗜睡和正常)是反映育肥羔羊健康状况的关键指标。建立了一个视觉系统来采集和构建育肥羔羊数据集,并采用五重交叉验证法确定基本模型。此外,本文还开发了一种改进型轻量化YOLOv8n模型,命名为Sheep-YOLO。Sheep-YOLO利用FasterNet网络来降低模型复杂性,并结合了混合本地通道注意(MLCA)模块、SIoU损失函数和内容感知特征重组(CARAFE)来增强模型对不同繁殖密度和光照条件的适应性。为了验证优化策略的有效性,本文进行了对比实验。实验结果表明,Sheep-YOLO实现了1.905 M的Params和5.5 G的GFLOPs,在测试集上的mAP0.5高达96.1%,检测速度达到79.317 FPS(12.61 ms/per image)。与基本的YOLOv8n相比,Sheep-YOLO的Params降低了36.6%,GFLOPs降低了30%,同时保持了更高的mAP0.5和更快的检测速度。此外,Sheep-YOLO在轻量化性能和精度方面都超过了目前广泛使用的YOLOv3-tiny、YOLOv5n、YOLOv10n、RT-DETR、Faster-RCNN等算法。因此,本研究为肥育羔羊行为和活力状态的精准智能识别提供了潜在的技术支持,有助于绵羊健康监测和疾病早期预测。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Sheep-YOLO: improved and lightweight YOLOv8n for precise and intelligent recognition of fattening lambs’ behaviors and vitality statuses
Fattening lambs’ behaviors and vitality statuses reflect health status and animal welfare directly. However, current detection methods for these aspects primarily rely on manual observation, which is inefficient. This paper aims to achieve precise and intelligent recognition of fattening lambs’ behaviors and vitality statuses. Through the comprehensive literature review, field observations, and consultations with experts, four pivotal behaviors (running, sleeping, socialization, and wandering), alongside four vitality statuses (excitement, hungry, lethargy, and normal) are identified as crucial indicators that mirror the health status of fattening lambs. A visual system is established to collect and construct a dataset of fattening lambs, and a five-fold cross-validation method is employed to determine the basic model. Furthermore, an improved lightweight YOLOv8n model, named Sheep-YOLO, is developed in this paper. Sheep-YOLO utilizes the FasterNet network to reduce model complexity and incorporates the Mixed Local Channel Attention (MLCA) module, SIoU loss function, and Content-Aware ReAssembly of FEatures (CARAFE) to enhance the model’s adaptability to varying breeding densities and lighting conditions. To validate the effectiveness of the optimization strategies, comparison experiments are conducted in this paper. The experimental results show that Sheep-YOLO achieved Params of 1.905 M and GFLOPs of 5.5 G, with a high mAP0.5 of 96.1 % on the test set and a detection speed of 79.317 FPS(12.61 ms/per image). Compared to the basic YOLOv8n, Sheep-YOLO achieves a 36.6 % reduction in Params and a 30 % decrease in GFLOPs, while maintaining higher mAP0.5 and faster detection speed. Besides, Sheep-YOLO surpasses widely used algorithms such as YOLOv3-tiny, YOLOv5n, YOLOv10n, RT-DETR, and Faster-RCNN regarding both lightweight performance and precision. Therefore, this study provides potential technical support for precise and intelligent recognition of the behaviors and vitality statuses of fattening lambs, contributing to the health monitoring and early disease prediction of sheep.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信