Fusion of CREStereo and MobileViT-Pose for rapid measurement of cattle body size

IF 8.9 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub Date : 2025-05-01 Epub Date: 2025-02-12 DOI:10.1016/j.compag.2025.110103
Hongxing Deng, Guangyuan Yang, Xingshi Xu, Zhixin Hua, Jiahui Liu, Huaibo Song
{"title":"Fusion of CREStereo and MobileViT-Pose for rapid measurement of cattle body size","authors":"Hongxing Deng,&nbsp;Guangyuan Yang,&nbsp;Xingshi Xu,&nbsp;Zhixin Hua,&nbsp;Jiahui Liu,&nbsp;Huaibo Song","doi":"10.1016/j.compag.2025.110103","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate measurement of cattle body size is crucial for assessing growth status and making breeding decisions. Existing automated methods either lack precision or suffer from long processing times. In this study, a rapid and non-contact cattle body size measurement method based on stereo vision was carried out. Lateral images of cattle were initially captured using a stereo camera, and depth information was derived from these images using the CREStereo algorithm. The MobileViT-Pose algorithm was then applied to predict body size keypoints, including head, body, front limbs, and hind limbs. The final body size measurements were obtained by integrating depth data with these keypoints. To minimize measurement errors, the Isolation Forest algorithm was used to detect and remove outliers, with the final measurement computed as the average of multiple results. Compared to traditional stereo matching algorithms, CREStereo provided more detailed disparity information and demonstrated greater robustness across varying resolutions. Pose estimation accuracy of the MobileViT-Pose algorithm reached 92.4 %, while improving efficiency and reducing both the number of parameters and FLOPs. Additionally, a lightweight version, LiteMobileViT-Pose, was introduced, featuring only 1.735 M parameters and 0.272 G FLOPs. In practical evaluations, the maximum measurement deviations for body length, body height, hip height, and rump length were 4.55 %, 4.87 %, 4.99 %, and 6.76 %, respectively, when compared to manual measurements. Additionally, the MobileViT-Pose model was deployed, achieving an average body size measurement error of only 2.85 % and a measurement speed of 18.8 fps. The proposed method provides a practical solution for the rapid and accurate measurement of body size.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"232 ","pages":"Article 110103"},"PeriodicalIF":8.9000,"publicationDate":"2025-05-01","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/S0168169925002091","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/2/12 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Accurate measurement of cattle body size is crucial for assessing growth status and making breeding decisions. Existing automated methods either lack precision or suffer from long processing times. In this study, a rapid and non-contact cattle body size measurement method based on stereo vision was carried out. Lateral images of cattle were initially captured using a stereo camera, and depth information was derived from these images using the CREStereo algorithm. The MobileViT-Pose algorithm was then applied to predict body size keypoints, including head, body, front limbs, and hind limbs. The final body size measurements were obtained by integrating depth data with these keypoints. To minimize measurement errors, the Isolation Forest algorithm was used to detect and remove outliers, with the final measurement computed as the average of multiple results. Compared to traditional stereo matching algorithms, CREStereo provided more detailed disparity information and demonstrated greater robustness across varying resolutions. Pose estimation accuracy of the MobileViT-Pose algorithm reached 92.4 %, while improving efficiency and reducing both the number of parameters and FLOPs. Additionally, a lightweight version, LiteMobileViT-Pose, was introduced, featuring only 1.735 M parameters and 0.272 G FLOPs. In practical evaluations, the maximum measurement deviations for body length, body height, hip height, and rump length were 4.55 %, 4.87 %, 4.99 %, and 6.76 %, respectively, when compared to manual measurements. Additionally, the MobileViT-Pose model was deployed, achieving an average body size measurement error of only 2.85 % and a measurement speed of 18.8 fps. The proposed method provides a practical solution for the rapid and accurate measurement of body size.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
融合CREStereo和MobileViT-Pose快速测量牛体型
准确测量牛的体型对于评估生长状况和作出饲养决定至关重要。现有的自动化方法要么不够精确,要么处理时间长。本文研究了一种基于立体视觉的快速非接触式牛体尺寸测量方法。最初使用立体摄像机捕获牛的侧面图像,并使用CREStereo算法从这些图像中获得深度信息。然后应用MobileViT-Pose算法预测身体尺寸关键点,包括头部、身体、前肢和后肢。将深度数据与这些关键点相结合,得到最终的体尺寸测量值。为了最大限度地减少测量误差,使用隔离森林算法检测和去除异常值,并将最终测量结果计算为多个结果的平均值。与传统的立体匹配算法相比,CREStereo提供了更详细的视差信息,并在不同分辨率下表现出更强的鲁棒性。MobileViT-Pose算法的姿态估计精度达到92.4%,同时提高了效率,减少了参数个数和FLOPs。此外,还推出了轻量级版本LiteMobileViT-Pose,仅具有1.735 M参数和0.272 G FLOPs。在实际评估中,与人工测量相比,体长、身高、臀高和臀长的最大测量偏差分别为4.55%、4.87%、4.99%和6.76%。此外,部署MobileViT-Pose模型,实现平均身体尺寸测量误差仅为2.85%,测量速度为18.8 fps。该方法为快速、准确地测量体型提供了一种实用的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
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.
期刊最新文献
Tech-driven evolution of animal housing: an in-depth analysis of the impact of digital technologies, AI, and GenAI in the Era of precision livestock farming A robotic harvesting system for occluded cucumbers using F2SA-YOLOv8 and HVSC MCS-YOLO: A novel remote sensing image segmentation algorithm for mountain crops A generalization and lightweight recognition for citrus fruit harvesting based on improving YOLOv8 LeafRemoval-YOLO-K: A hybrid visual recognition network for stem-petiole segmentation and cutting point localization in tomato plants
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1