{"title":"AngusRecNet: Multi-module cooperation for facial anti-occlusion recognition in single-stage Angus cattle","authors":"Lijun Hu , Xu Li , Guoliang Li , Zhongyuan Wang","doi":"10.1016/j.compag.2025.110456","DOIUrl":null,"url":null,"abstract":"<div><div>In the context of the booming development of modern precision livestock farming, traditional cattle recognition methods exhibit clear limitations when faced with interference from feed residues, dirt, and other obstructions on the face. To address this, this study proposes an innovative deep learning framework, AngusRecNet, aimed at solving the facial recognition problem of Angus cattle under occlusion scenarios. The backbone network of AngusRecNet includes the innovatively designed Occlusion-Robust Feature Extraction Module (ORFEM) and the Vision AeroStack Module (VASM). By combining Asymmetric convolutions and fine spatial sampling, it effectively captures facial features. The neck structure is integrated with the Mamba architecture and the core ideas of DySample, leading to the design of the State Space Dynamic Sampling Feature Pyramid Network (SS-DSFPN), which enhances multi-scale feature extraction and fusion capabilities under occlusion scenarios. Additionally, the proposed Mish-Driven Channel-Spatial Transformer Head (MCST-Head), combining Channel Spatial Fusion Transformer (CSFT) and Smooth Depth Convolution (SDConv), optimizes feature representation and spatial perception in deep learning networks, significantly improving robustness and bounding box regression performance under complex backgrounds and occlusion conditions. Testing on the newly constructed AngusFace dataset demonstrates that AngusRecNet achieves a mAP50 of 94.2% in facial recognition tasks, showcasing its immense potential for application in precision livestock farming. The code can be obtained on GitHub: <span><span>https://github.com/HLJ11235/AngusRecNet</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"236 ","pages":"Article 110456"},"PeriodicalIF":7.7000,"publicationDate":"2025-04-25","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/S0168169925005629","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
In the context of the booming development of modern precision livestock farming, traditional cattle recognition methods exhibit clear limitations when faced with interference from feed residues, dirt, and other obstructions on the face. To address this, this study proposes an innovative deep learning framework, AngusRecNet, aimed at solving the facial recognition problem of Angus cattle under occlusion scenarios. The backbone network of AngusRecNet includes the innovatively designed Occlusion-Robust Feature Extraction Module (ORFEM) and the Vision AeroStack Module (VASM). By combining Asymmetric convolutions and fine spatial sampling, it effectively captures facial features. The neck structure is integrated with the Mamba architecture and the core ideas of DySample, leading to the design of the State Space Dynamic Sampling Feature Pyramid Network (SS-DSFPN), which enhances multi-scale feature extraction and fusion capabilities under occlusion scenarios. Additionally, the proposed Mish-Driven Channel-Spatial Transformer Head (MCST-Head), combining Channel Spatial Fusion Transformer (CSFT) and Smooth Depth Convolution (SDConv), optimizes feature representation and spatial perception in deep learning networks, significantly improving robustness and bounding box regression performance under complex backgrounds and occlusion conditions. Testing on the newly constructed AngusFace dataset demonstrates that AngusRecNet achieves a mAP50 of 94.2% in facial recognition tasks, showcasing its immense potential for application in precision livestock farming. The code can be obtained on GitHub: https://github.com/HLJ11235/AngusRecNet.
期刊介绍:
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.