DBCA-Net: A Dual-Branch Context-Aware Algorithm for Cattle Face Segmentation and Recognition
Xiaopu Feng,
Jiaying Zhang,
Yongsheng Qi (),
Liqiang Liu and
Yongting Li
Additional contact information
Xiaopu Feng: College of Electric Power, Inner Mongolia University of Technology, Hohhot 010051, China
Jiaying Zhang: College of Electric Power, Inner Mongolia University of Technology, Hohhot 010051, China
Yongsheng Qi: College of Electric Power, Inner Mongolia University of Technology, Hohhot 010051, China
Liqiang Liu: College of Electric Power, Inner Mongolia University of Technology, Hohhot 010051, China
Yongting Li: College of Electric Power, Inner Mongolia University of Technology, Hohhot 010051, China
Agriculture, 2025, vol. 15, issue 5, 1-30
Abstract:
Cattle face segmentation and recognition in complex scenarios pose significant challenges due to insufficient fine-grained feature representation in segmentation networks and limited modeling of salient regions and local–global feature interactions in recognition models. To address these issues, DBCA-Net, a dual-branch context-aware algorithm for cattle face segmentation and recognition, is proposed. The method integrates an improved TransUNet-based segmentation network with a novel Fusion-Augmented Channel Attention (FACA) mechanism in the hybrid encoder, enhancing channel attention and fine-grained feature representation to improve segmentation performance in complex environments. The decoder incorporates an Adaptive Multi-Scale Attention Gate (AMAG) module, which mitigates interference from complex backgrounds through adaptive multi-scale feature fusion. Additionally, FACA and AMAG establish a dynamic feedback mechanism that enables iterative optimization of feature representation and parameter updates. For recognition, the GeLU-enhanced Partial Class Activation Attention (G-PCAA) module is introduced after Patch Partition, strengthening salient region modeling and enhancing local–global feature interaction. Experimental results demonstrate that DBCA-Net achieves superior performance, with 95.48% mIoU and 97.61% mDSC in segmentation tasks and 95.34% accuracy and 93.14% F1-score in recognition tasks. These findings underscore the effectiveness of DBCA-Net in addressing segmentation and recognition challenges in complex scenarios, offering significant improvements over existing methods.
Keywords: complex scenarios; cattle face segmentation; cattle face recognition; fine-grained features; multi-scale feature fusion (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2025
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2077-0472/15/5/516/pdf (application/pdf)
https://www.mdpi.com/2077-0472/15/5/516/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:15:y:2025:i:5:p:516-:d:1601535
Access Statistics for this article
Agriculture is currently edited by Ms. Leda Xuan
More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().