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

IF 7.7 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY
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":7.7000,"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.
求助全文
约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.
×
引用
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学术官方微信