AI-powered cow detection in complex farm environments

IF 6.3 Q1 AGRICULTURAL ENGINEERING
Voncarlos M. Araújo , Ines Rili , Thomas Gisiger , Sébastien Gambs , Elsa Vasseur , Marjorie Cellier , Abdoulaye Baniré Diallo
{"title":"AI-powered cow detection in complex farm environments","authors":"Voncarlos M. Araújo ,&nbsp;Ines Rili ,&nbsp;Thomas Gisiger ,&nbsp;Sébastien Gambs ,&nbsp;Elsa Vasseur ,&nbsp;Marjorie Cellier ,&nbsp;Abdoulaye Baniré Diallo","doi":"10.1016/j.atech.2025.100770","DOIUrl":null,"url":null,"abstract":"<div><div>Animal welfare has become a critical issue in contemporary society, emphasizing our ethical responsibilities toward animals, particularly within livestock farming. In addition, the advent of Artificial Intelligence (AI) technologies, specifically computer vision, offers a innovative approach to monitoring and enhancing animal welfare. Cows, as essential contributors to sustainable agriculture and climate management, being a central part of it. However, existing cow detection algorithms face significant challenges in real-world farming environments, such as complex lighting, occlusions, pose variations and background interference, which hinder accurate and reliable detection. Additionally, the model generalization power is highly desirable as it enables the model to adapt and perform well across different contexts and conditions, beyond its training environment or dataset. This study addresses these challenges in diverse cow dataset composed of six different environments, including indoor and outdoor scenarios. More precisely, we propose a novel detection model that combines YOLOv8 with the CBAM (Convolutional Block Attention Module) and assess its performance against baseline models, including Mask R-CNN, YOLOv5 and YOLOv8. Our findings indicate that while baseline models show promise, their performance degrades in complex real-world conditions, which our approach improves using the CBAM attention module. Overall, YOLOv8-CBAM outperformed YOLOv8 by 2.3% in mAP across all camera types, achieving a precision of 95.2% and an [email protected]:0.95 of 82.6%, demonstrating superior generalization and enhanced detection accuracy in complex backgrounds. Thus, the primary contributions of this research are: (1) providing an in-depth analysis of current limitations in cow detection under challenging indoor and outdoor environments, (2) proposing a robust general model that effectively detects cows in complex real-world conditions and (3) evaluating and benchmarking state-of-the-art detection algorithms. Potential application scenarios of the model include automated health monitoring, behavioral analysis and tracking within smart farm management systems, enabling precise detection of individual cows, even in challenging environments. By addressing these critical challenges, this study paves the way for future innovations in AI-driven livestock monitoring, aiming to improve the welfare and management of farm animals while advancing smart agriculture.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"10 ","pages":"Article 100770"},"PeriodicalIF":6.3000,"publicationDate":"2025-01-08","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/S2772375525000048","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Animal welfare has become a critical issue in contemporary society, emphasizing our ethical responsibilities toward animals, particularly within livestock farming. In addition, the advent of Artificial Intelligence (AI) technologies, specifically computer vision, offers a innovative approach to monitoring and enhancing animal welfare. Cows, as essential contributors to sustainable agriculture and climate management, being a central part of it. However, existing cow detection algorithms face significant challenges in real-world farming environments, such as complex lighting, occlusions, pose variations and background interference, which hinder accurate and reliable detection. Additionally, the model generalization power is highly desirable as it enables the model to adapt and perform well across different contexts and conditions, beyond its training environment or dataset. This study addresses these challenges in diverse cow dataset composed of six different environments, including indoor and outdoor scenarios. More precisely, we propose a novel detection model that combines YOLOv8 with the CBAM (Convolutional Block Attention Module) and assess its performance against baseline models, including Mask R-CNN, YOLOv5 and YOLOv8. Our findings indicate that while baseline models show promise, their performance degrades in complex real-world conditions, which our approach improves using the CBAM attention module. Overall, YOLOv8-CBAM outperformed YOLOv8 by 2.3% in mAP across all camera types, achieving a precision of 95.2% and an [email protected]:0.95 of 82.6%, demonstrating superior generalization and enhanced detection accuracy in complex backgrounds. Thus, the primary contributions of this research are: (1) providing an in-depth analysis of current limitations in cow detection under challenging indoor and outdoor environments, (2) proposing a robust general model that effectively detects cows in complex real-world conditions and (3) evaluating and benchmarking state-of-the-art detection algorithms. Potential application scenarios of the model include automated health monitoring, behavioral analysis and tracking within smart farm management systems, enabling precise detection of individual cows, even in challenging environments. By addressing these critical challenges, this study paves the way for future innovations in AI-driven livestock monitoring, aiming to improve the welfare and management of farm animals while advancing smart agriculture.
动物福利已成为当代社会的一个关键问题,它强调了我们对动物的道德责任,尤其是在畜牧业中。此外,人工智能(AI)技术,特别是计算机视觉技术的出现,为监测和提高动物福利提供了一种创新方法。奶牛作为可持续农业和气候管理的重要贡献者,是其中的核心部分。然而,现有的奶牛检测算法在现实世界的农业环境中面临着巨大的挑战,例如复杂的光照、遮挡、姿势变化和背景干扰,这些都阻碍了准确可靠的检测。此外,模型的泛化能力也非常重要,因为它能使模型在训练环境或数据集之外的不同环境和条件下适应并表现良好。本研究通过由六种不同环境(包括室内和室外场景)组成的多样化奶牛数据集来应对这些挑战。更确切地说,我们提出了一种将 YOLOv8 与 CBAM(卷积块注意力模块)相结合的新型检测模型,并评估了其与 Mask R-CNN、YOLOv5 和 YOLOv8 等基线模型的性能对比。我们的研究结果表明,虽然基线模型显示出了良好的前景,但在复杂的真实世界条件下,它们的性能会下降,而我们的方法使用 CBAM 注意力模块后,性能会得到改善。总体而言,在所有相机类型中,YOLOv8-CBAM 的 mAP 性能比 YOLOv8 高出 2.3%,精确度达到 95.2%,[email protected]:0.95%达到 82.6%,显示了在复杂背景下卓越的泛化能力和更高的检测精度。因此,这项研究的主要贡献在于(1) 深入分析了当前在具有挑战性的室内和室外环境下奶牛检测的局限性;(2) 提出了一个强大的通用模型,可在复杂的真实世界条件下有效地检测奶牛;(3) 评估和基准测试了最先进的检测算法。该模型的潜在应用场景包括智能农场管理系统中的自动健康监测、行为分析和跟踪,即使在具有挑战性的环境中也能实现对奶牛个体的精确检测。通过解决这些关键挑战,本研究为未来人工智能驱动的牲畜监测创新铺平了道路,旨在改善农场动物的福利和管理,同时推进智能农业的发展。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
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学术文献互助群
群 号:481959085
Book学术官方微信