DASNet: Dual-Branch Multi-Level Attention Sheep Counting Network

Chen Yini,Gao Ronghua,Li Qifeng,Zhao Hongtao,Wang Rong,Ding Luyu,Li Xuwen
DOI: https://doi.org/10.21203/rs.3.rs-5329874/v1
2024-01-01
Abstract:The grassland sheep counting task is recognized as an efficient approach for promoting the development of the livestockeconomy and maintaining the ecological balance of the grassland. In this paper, the Dual-Branch Multi-Level Attention SheepCounting Network (DASNet) is presented as a novel solution designed to address the challenges of automated sheep countingin dense grassland environments. Traditional methods have been labor-intensive and prone to inaccuracies, underscoringthe need for more efficient and accurate systems. DASNet is built on a modified VGG-19 architecture, where a dual-branchstructure is employed to integrate both shallow and deep features, thereby enhancing texture and contour detection whilereducing background noise interference. A Convolutional Block Attention Module (CBAM) is incorporated into the network tomore effectively focus on sheep regions, alongside a Multi-Level Attention Module (MAM) in the deep feature branch. TheMAM, consisting of three Light Channel and Pixel Attention Modules (LCPM), is designed to refine feature representationat both the channel and pixel levels, improving the accuracy of density map generation for sheep counting. In addition, aresidual structure is used to connect each module, facilitating feature fusion across different levels and offering increasedflexibility in handling diverse information. Experiments conducted on the self-collected Sheep1500 dataset have demonstratedthat DASNet significantly outperforms the baseline VGG-19 network, with a Mean Absolute Error (MAE) of 3.95 and a MeanSquared Error (MSE) of 4.87, compared to the baseline’s MAE of 5.39 and MSE of 6.49. DASNet is shown to be effectivein handling challenging scenarios, such as dense flocks and background noise, due to its dual-branch feature enhancementand global multi-level feature fusion. DASNet has shown promising results in terms of accuracy and computational efficiency,making it an ideal solution for practical sheep counting in precision agriculture.
What problem does this paper attempt to address?