基于绿色检测机器人和图像分割方法的集约化养猪场自动计数轻量化模型

IF 5.7 Q1 AGRICULTURAL ENGINEERING
Yizhi Luo , Chen Yang , Enli Lv , Aqing Yang , Fanming Meng , Haowen Luo
{"title":"基于绿色检测机器人和图像分割方法的集约化养猪场自动计数轻量化模型","authors":"Yizhi Luo ,&nbsp;Chen Yang ,&nbsp;Enli Lv ,&nbsp;Aqing Yang ,&nbsp;Fanming Meng ,&nbsp;Haowen Luo","doi":"10.1016/j.atech.2025.101115","DOIUrl":null,"url":null,"abstract":"<div><div>To address the high computational resource consumption of traditional pig instance segmentation models, which impedes their deployment on resource-constrained edge devices, this paper proposes an improved, lightweight instance segmentation and counting method based on YOLOv8n-seg model. Specifically, the C2f module is replaced with the Ghost module to reduce the model’s computational complexity. Additionally, a spatial group-enhanced attention mechanism is introduced in the neck network to enhance the model's feature fusion ability in the presence of pig occlusion and overlap. In the head network, a lightweight shared detail-enhanced convolution detection head is employed, which reduces computational load and parameter count through shared convolutions while capturing the intricate details of pigs from multiple angles via the detail-enhanced convolution module. Experimental results show that the improved model achieves an average precision of 95.7 % with memory usage, floating-point operations per second (FLOPS), and frames per second (FPS) at 1.2 MB, 7 × 10^9, and 217.86, respectively. Compared with State-of-the-art model, such as DeeplabV3+, HRNet, PSPNet, Seg-Former, and UNet models, the proposed model exhibits superior performance metrics. This research provides a lightweight solution for pig instance segmentation in farm environments.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"12 ","pages":"Article 101115"},"PeriodicalIF":5.7000,"publicationDate":"2025-06-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A lightweight model for automatic pig counting in intensive piggeries using a green inspection robot and image segmentation method\",\"authors\":\"Yizhi Luo ,&nbsp;Chen Yang ,&nbsp;Enli Lv ,&nbsp;Aqing Yang ,&nbsp;Fanming Meng ,&nbsp;Haowen Luo\",\"doi\":\"10.1016/j.atech.2025.101115\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>To address the high computational resource consumption of traditional pig instance segmentation models, which impedes their deployment on resource-constrained edge devices, this paper proposes an improved, lightweight instance segmentation and counting method based on YOLOv8n-seg model. Specifically, the C2f module is replaced with the Ghost module to reduce the model’s computational complexity. Additionally, a spatial group-enhanced attention mechanism is introduced in the neck network to enhance the model's feature fusion ability in the presence of pig occlusion and overlap. In the head network, a lightweight shared detail-enhanced convolution detection head is employed, which reduces computational load and parameter count through shared convolutions while capturing the intricate details of pigs from multiple angles via the detail-enhanced convolution module. Experimental results show that the improved model achieves an average precision of 95.7 % with memory usage, floating-point operations per second (FLOPS), and frames per second (FPS) at 1.2 MB, 7 × 10^9, and 217.86, respectively. Compared with State-of-the-art model, such as DeeplabV3+, HRNet, PSPNet, Seg-Former, and UNet models, the proposed model exhibits superior performance metrics. This research provides a lightweight solution for pig instance segmentation in farm environments.</div></div>\",\"PeriodicalId\":74813,\"journal\":{\"name\":\"Smart agricultural technology\",\"volume\":\"12 \",\"pages\":\"Article 101115\"},\"PeriodicalIF\":5.7000,\"publicationDate\":\"2025-06-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Smart agricultural technology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S277237552500348X\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURAL ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart agricultural technology","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S277237552500348X","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0

摘要

针对传统猪实例分割模型计算资源消耗大,阻碍其在资源受限的边缘设备上部署的问题,本文提出了一种改进的基于YOLOv8n-seg模型的轻量级实例分割和计数方法。具体来说,将C2f模块替换为Ghost模块,以降低模型的计算复杂度。此外,在颈部网络中引入了空间群增强注意机制,增强了模型在猪遮挡和重叠情况下的特征融合能力。在头部网络中,采用了轻量级的共享细节增强卷积检测头,通过共享卷积减少了计算量和参数数量,同时通过细节增强卷积模块从多个角度捕获猪的复杂细节。实验结果表明,在1.2 MB、7 × 10^9和217.86的内存使用率、每秒浮点操作数(FLOPS)和每秒帧数(FPS)下,改进模型的平均精度达到95.7%。与DeeplabV3+、HRNet、PSPNet、Seg-Former和UNet模型等最先进的模型相比,该模型具有优越的性能指标。本研究为猪场环境中的猪实例分割提供了一个轻量级的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A lightweight model for automatic pig counting in intensive piggeries using a green inspection robot and image segmentation method
To address the high computational resource consumption of traditional pig instance segmentation models, which impedes their deployment on resource-constrained edge devices, this paper proposes an improved, lightweight instance segmentation and counting method based on YOLOv8n-seg model. Specifically, the C2f module is replaced with the Ghost module to reduce the model’s computational complexity. Additionally, a spatial group-enhanced attention mechanism is introduced in the neck network to enhance the model's feature fusion ability in the presence of pig occlusion and overlap. In the head network, a lightweight shared detail-enhanced convolution detection head is employed, which reduces computational load and parameter count through shared convolutions while capturing the intricate details of pigs from multiple angles via the detail-enhanced convolution module. Experimental results show that the improved model achieves an average precision of 95.7 % with memory usage, floating-point operations per second (FLOPS), and frames per second (FPS) at 1.2 MB, 7 × 10^9, and 217.86, respectively. Compared with State-of-the-art model, such as DeeplabV3+, HRNet, PSPNet, Seg-Former, and UNet models, the proposed model exhibits superior performance metrics. This research provides a lightweight solution for pig instance segmentation in farm environments.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
4.20
自引率
0.00%
发文量
0
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信