Motion focus global–local network: Combining attention mechanism with micro action features for cow behavior recognition

IF 7.7 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub Date : 2024-09-01 DOI:10.1016/j.compag.2024.109399
{"title":"Motion focus global–local network: Combining attention mechanism with micro action features for cow behavior recognition","authors":"","doi":"10.1016/j.compag.2024.109399","DOIUrl":null,"url":null,"abstract":"<div><p>The use of machine vision technology for recognizing cow behavior plays a crucial role in daily management, health monitoring, and breeding and reproduction in dairy farming, making it an essential component of modern smart agriculture. This paper presents a novel dual-stream network model, the Motion Focus Global-Local Network (MFGN), for analyzing cow video data. The dual-stream network consists of a global spatiotemporal feature stream and a fine motion feature stream. The global spatiotemporal feature stream extracts key frames to remove redundant information and utilizes a Transformer network for global spatio-temporal feature extraction, reflecting the dynamic changes in cow videos and the temporal relationships between video frames. The fine motion feature stream, based on frame differencing of cow videos, uses focal convolution to capture subtle movements of cows, enhancing the focus on minor behavioral changes. To evaluate the performance of the proposed model, video data samples were collected from eight cows marked on their bodies and heads at an Australian farm site (CSIRO Armidale), including a total of 1715 video sequences across three behavior categories. The model achieved recognition accuracies of 98.1% for drinking, 95.5% for grazing, and 49.3% for other behaviors, with an overall average recognition accuracy of 79.4%, representing a 7.4% improvement over the classic TSN model. Overall, the MFGN network effectively extracts and integrates global spatiotemporal features with fine motion features from cow video data, modeling both the overall sequence characteristics and focusing on local motion details, achieving precise behavioral recognition. This research not only enhances the accuracy of cow behavior recognition but also provides new technological means for precise management in modern smart agriculture, with broad industry application potential to improve farm efficiency, profitability, and disease control and prevention.</p></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":null,"pages":null},"PeriodicalIF":7.7000,"publicationDate":"2024-09-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/S0168169924007907","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

The use of machine vision technology for recognizing cow behavior plays a crucial role in daily management, health monitoring, and breeding and reproduction in dairy farming, making it an essential component of modern smart agriculture. This paper presents a novel dual-stream network model, the Motion Focus Global-Local Network (MFGN), for analyzing cow video data. The dual-stream network consists of a global spatiotemporal feature stream and a fine motion feature stream. The global spatiotemporal feature stream extracts key frames to remove redundant information and utilizes a Transformer network for global spatio-temporal feature extraction, reflecting the dynamic changes in cow videos and the temporal relationships between video frames. The fine motion feature stream, based on frame differencing of cow videos, uses focal convolution to capture subtle movements of cows, enhancing the focus on minor behavioral changes. To evaluate the performance of the proposed model, video data samples were collected from eight cows marked on their bodies and heads at an Australian farm site (CSIRO Armidale), including a total of 1715 video sequences across three behavior categories. The model achieved recognition accuracies of 98.1% for drinking, 95.5% for grazing, and 49.3% for other behaviors, with an overall average recognition accuracy of 79.4%, representing a 7.4% improvement over the classic TSN model. Overall, the MFGN network effectively extracts and integrates global spatiotemporal features with fine motion features from cow video data, modeling both the overall sequence characteristics and focusing on local motion details, achieving precise behavioral recognition. This research not only enhances the accuracy of cow behavior recognition but also provides new technological means for precise management in modern smart agriculture, with broad industry application potential to improve farm efficiency, profitability, and disease control and prevention.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
运动聚焦全局-局部网络:结合注意力机制和微动作特征识别奶牛行为
利用机器视觉技术识别奶牛行为在奶牛场的日常管理、健康监测、育种和繁殖中发挥着至关重要的作用,是现代智能农业的重要组成部分。本文介绍了一种用于分析奶牛视频数据的新型双流网络模型--运动聚焦全局局部网络(MFGN)。双流网络由全局时空特征流和精细运动特征流组成。全局时空特征流提取关键帧以去除冗余信息,并利用变换器网络进行全局时空特征提取,以反映奶牛视频的动态变化和视频帧之间的时空关系。精细运动特征流基于奶牛视频的帧差分,利用焦点卷积捕捉奶牛的细微运动,加强对细微行为变化的关注。为了评估所提出模型的性能,我们在澳大利亚的一个农场(CSIRO Armidale)收集了八头奶牛的视频数据样本,这些奶牛的身体和头部都做了标记,包括三个行为类别共 1715 个视频序列。该模型对喝水行为的识别准确率为 98.1%,对吃草行为的识别准确率为 95.5%,对其他行为的识别准确率为 49.3%,总体平均识别准确率为 79.4%,比传统的 TSN 模型提高了 7.4%。总之,MFGN 网络从奶牛视频数据中有效地提取并整合了全局时空特征和精细运动特征,既模拟了整体序列特征,又关注了局部运动细节,实现了精确的行为识别。这项研究不仅提高了奶牛行为识别的准确性,也为现代智慧农业的精准管理提供了新的技术手段,在提高农场效率、收益和疾病防控方面具有广阔的行业应用前景。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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.
期刊最新文献
Autonomous net inspection and cleaning in sea-based fish farms: A review A review of unmanned aerial vehicle based remote sensing and machine learning for cotton crop growth monitoring High-throughput phenotypic traits estimation of faba bean based on machine learning and drone-based multimodal data Image quality safety model for the safety of the intended functionality in highly automated agricultural machines A general image classification model for agricultural machinery trajectory mode recognition
×
引用
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