Scene Text Detection Using HRNet and Spatial Attention Mechanism

Qingsong Tang,Zhangyan Jiang,Bolin Pan,Jinting Guo,Wuming Jiang
DOI: https://doi.org/10.1134/s0361768823080212
2024-01-25
Programming and Computer Software
Abstract:To better extract the features from text instances with various shapes, a scene text detector using High Resolution Net (HRNet) and spatial attention mechanism is proposed in this paper. Specifically, we use HRNetv2-W18 as the backbone network to extract the text feature in text instances with complex shapes. Considering that the scene text instance is usually small, to avoid too small feature size, we optimize HRNet through deformable convolution and Smooth Maximum Unit (SMU) activation function, so that the network can retain more detail information and location information of the text instance. In addition, a Text Region Attention Module (TRAM) is added after the backbone to make it pay more attention to the text location information and a loss function is used to TRAM, so that the network can learn the features better. The experimental results illustrate that the proposed method can compete with the state-of-the-art methods. Code is available at: https://github.com/zhangyan1005/HR-DBNet.
computer science, software engineering
What problem does this paper attempt to address?