Combining Swin Transformer and Attention-Weighted Fusion for Scene Text Detection
Open Access
- 17 February 2024
- journal article
- research article
- Published by Springer Nature in Neural Processing Letters
- Vol. 56 (2) , 1-22
Abstract
The existing text detection algorithms based on Convolutional Neural Networks (CNN) commonly have the problems of insufficient receptive fields and inadequate extraction of spatial positional information, which limit their ability to detect large-scale variation text instances, long-distance and wide-spaced text instances as well as effectively distinguish complex background textures. To address the above problems, in this paper, a scene text detection algorithm combining Swin Transformer and attention-weighted fusion is proposed. Firstly, an attention-weighted fusion (AWF) module is proposed, which embeds a modified coordinate attention module (CAM) in the feature pyramid network (FPN). This module learns spatial positional weights of foreground information in different-scale features while suppressing redundant background information. As a result, the fused features are more focused on the text regions, enhancing the localization ability for text regions and boundaries. Secondly, the window-based self-attention mechanism of the Swin Transformer is utilized to achieve global feature perception on the fused features of the pyramid network. This compensates for the insufficient receptive fields of CNN and enhances the representation capability of global contextual features, thereby further improving the performance of text detection. Experimental results demonstrate that the proposed algorithm achieves competitive performance on three public datasets, namely ICDAR2015, MSRA-TD500, and Total-Text, with F-measure reaching 87.9%, 91.4%, and 86.7%, respectively. Code is available at: https://github.com/xgli411/ST-AWFNet.Keywords
Funding Information
- Tianjin "Project+Team" Key Training Special Project (XB202007)
- Science and Technology Support of Tianjin Key Research and the Development Plan Project (18YFZCGX00930)
This publication has 44 references indexed in Scilit:
- Arbitrarily shaped scene text detection with dynamic convolutionPattern Recognition, 2022
- CBAM: Convolutional Block Attention Module2018
- Feature Pyramid Networks for Object Detection2017
- Detecting Oriented Text in Natural Images by Linking Segments2017
- EAST: An Efficient and Accurate Scene Text Detector2017
- SSD: Single Shot MultiBox Detector2016
- Detecting Text in Natural Image with Connectionist Text Proposal Network2016
- Deep Residual Learning for Image Recognition2016
- Training Region-Based Object Detectors with Online Hard Example Mining2016
- Fully convolutional networks for semantic segmentation2015