An Efficient Multi-Scale Attention two-stream inflated 3D ConvNet network for cattle behavior recognition

IF 8.9 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub Date : 2025-02-24 DOI:10.1016/j.compag.2025.110101
Jucheng Yang , Qingxiang Jia , Shujie Han , Zihan Du , Jianzheng Liu
{"title":"An Efficient Multi-Scale Attention two-stream inflated 3D ConvNet network for cattle behavior recognition","authors":"Jucheng Yang ,&nbsp;Qingxiang Jia ,&nbsp;Shujie Han ,&nbsp;Zihan Du ,&nbsp;Jianzheng Liu","doi":"10.1016/j.compag.2025.110101","DOIUrl":null,"url":null,"abstract":"<div><div>Accurately identifying the basic motion behaviors of cattle, such as grazing and drinking, is crucial for monitoring their health status. Traditional manual monitoring methods are not only time-consuming and inefficient but also highly subjective, making continuous 24-hour surveillance challenging. Moreover, wearing physical sensors for extended periods can interfere with normal cattle activities, causing discomfort to the animals. Existing algorithms using video surveillance for detecting the basic motion behaviors of cattle have several shortcomings, including low model accuracy, poor robustness, and difficulties in effective real-world application. To overcome these shortcomings, this paper proposes a novel two-stream inflated EMAInception3D ConvNet (referred to as two-stream M3D), which consists of two parallel branches. The upper branch is the RGB M3D network, which processes the original RGB video frame sequence and extracts spatial features related to visual appearance. The lower branch is the Optical Flow M3D network, which processes the optical flow image frame sequence generated by calculating the differences between superimposed video frames. By learning from the optical flow images, the Optical Flow M3D network is able to capture temporal variations that are not discernible in static images, understand the correlations between successive action changes, and extract more in-depth motion features of cow actions in the temporal dimension. Finally, the outputs of the two branches are fused to extract richer and more robust features. Traditional single-scale feature extraction methods often overlook subtle multi-scale features. Therefore, we have introduced the Efficient Multi-Scale Attention Module (EMA) to enhance the network’s ability to capture details and filter background. Furthermore, to further improve the model’s capability in analyzing temporal dimensions and capturing long-term dependencies in behavior, we have incorporated a Non-Local module. The Non-Local module, by calculating the relationships between different positions in video sequences, enhances the network’s understanding of dynamic information. The two-stream M3D model, integrating EMA and Non-Local, can effectively utilize the spatio-temporal information of behavior videos to identify and analyze subtle changes in the basic motion behaviors of cattle. Compared with traditional methods, the model proposed in this study has achieved state-of-the-art recognition performance, and the accuracy of motion recognition was 94.281%, which was 1.771% higher than the two-stream I3D model.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"232 ","pages":"Article 110101"},"PeriodicalIF":8.9000,"publicationDate":"2025-02-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/S0168169925002078","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Accurately identifying the basic motion behaviors of cattle, such as grazing and drinking, is crucial for monitoring their health status. Traditional manual monitoring methods are not only time-consuming and inefficient but also highly subjective, making continuous 24-hour surveillance challenging. Moreover, wearing physical sensors for extended periods can interfere with normal cattle activities, causing discomfort to the animals. Existing algorithms using video surveillance for detecting the basic motion behaviors of cattle have several shortcomings, including low model accuracy, poor robustness, and difficulties in effective real-world application. To overcome these shortcomings, this paper proposes a novel two-stream inflated EMAInception3D ConvNet (referred to as two-stream M3D), which consists of two parallel branches. The upper branch is the RGB M3D network, which processes the original RGB video frame sequence and extracts spatial features related to visual appearance. The lower branch is the Optical Flow M3D network, which processes the optical flow image frame sequence generated by calculating the differences between superimposed video frames. By learning from the optical flow images, the Optical Flow M3D network is able to capture temporal variations that are not discernible in static images, understand the correlations between successive action changes, and extract more in-depth motion features of cow actions in the temporal dimension. Finally, the outputs of the two branches are fused to extract richer and more robust features. Traditional single-scale feature extraction methods often overlook subtle multi-scale features. Therefore, we have introduced the Efficient Multi-Scale Attention Module (EMA) to enhance the network’s ability to capture details and filter background. Furthermore, to further improve the model’s capability in analyzing temporal dimensions and capturing long-term dependencies in behavior, we have incorporated a Non-Local module. The Non-Local module, by calculating the relationships between different positions in video sequences, enhances the network’s understanding of dynamic information. The two-stream M3D model, integrating EMA and Non-Local, can effectively utilize the spatio-temporal information of behavior videos to identify and analyze subtle changes in the basic motion behaviors of cattle. Compared with traditional methods, the model proposed in this study has achieved state-of-the-art recognition performance, and the accuracy of motion recognition was 94.281%, which was 1.771% higher than the two-stream I3D model.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
牛行为识别的高效多尺度注意双流膨胀三维ConvNet网络
准确识别牛的基本运动行为,如放牧和饮水,对监测牛的健康状况至关重要。传统的人工监控方法不仅耗时、效率低,而且主观性强,24小时不间断监控具有挑战性。此外,长时间佩戴物理传感器会干扰牛的正常活动,给动物带来不适。现有的视频监控牛基本运动行为检测算法存在模型精度低、鲁棒性差、难以有效应用等缺点。为了克服这些缺点,本文提出了一种新的双流膨胀EMAInception3D卷积神经网络(称为双流M3D),它由两个并行分支组成。上面的分支是RGB M3D网络,它对原始RGB视频帧序列进行处理,提取与视觉外观相关的空间特征。下一分支是光流M3D网络,该网络通过计算叠加视频帧之间的差来处理产生的光流图像帧序列。通过学习光流图像,光流M3D网络能够捕捉静态图像中无法识别的时间变化,了解连续动作变化之间的相关性,并在时间维度上提取更深入的奶牛动作运动特征。最后,对两个分支的输出进行融合,提取更丰富、更鲁棒的特征。传统的单尺度特征提取方法往往忽略了细微的多尺度特征。因此,我们引入了高效多尺度注意模块(EMA)来增强网络捕获细节和过滤背景的能力。此外,为了进一步提高模型在分析时间维度和捕获行为中的长期依赖关系方面的能力,我们已经合并了一个非局部模块。非局部模块通过计算视频序列中不同位置之间的关系,增强网络对动态信息的理解能力。结合EMA和Non-Local的两流M3D模型,可以有效利用行为视频的时空信息,识别和分析牛基本运动行为的细微变化。与传统方法相比,本文提出的模型具有较好的识别性能,运动识别准确率为94.281%,比双流I3D模型提高了1.771%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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.
期刊最新文献
Real-time and explainable non-destructive nut classification using spike-triggered acoustic sensing Precision mapping of soil salinity in reclaiming salt-induced wasteland with UAV multispectral images and machine learning Comparison of soil property predictions in Lithuanian croplands using UAV, satellite, EMI data and machine learning A new generation of embodied intelligent plant protection unmanned vehicle integrated with hydrostatic transmission and four-wheel drive technology: design, development and application Mathematical modeling of tomato ripening: Formulations, validation, and postharvest decision support — A review
×
引用
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