{"title":"运动聚焦全局-局部网络:结合注意力机制和微动作特征识别奶牛行为","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":"{\"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}","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}
Motion focus global–local network: Combining attention mechanism with micro action features for cow behavior recognition
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.
期刊介绍:
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.