ReADS: A Rectified Attentional Double Supervised Network for Scene Text Recognition

04/05/2020 ∙ by Qi Song, et al. ∙ 6

In recent years, scene text recognition is always regarded as a sequence-to-sequence problem. Connectionist Temporal Classification (CTC) and Attentional sequence recognition (Attn) are two very prevailing approaches to tackle this problem while they may fail in some scenarios respectively. CTC concentrates more on every individual character but is weak in text semantic dependency modeling. Attn based methods have better context semantic modeling ability while tends to overfit on limited training data. In this paper, we elaborately design a Rectified Attentional Double Supervised Network (ReADS) for general scene text recognition. To overcome the weakness of CTC and Attn, both of them are applied in our method but with different modules in two supervised branches which can make a complementary to each other. Moreover, effective spatial and channel attention mechanisms are introduced to eliminate background noise and extract valid foreground information. Finally, a simple rectified network is implemented to rectify irregular text. The ReADS can be trained end-to-end and only word-level annotations are required. Extensive experiments on various benchmarks verify the effectiveness of ReADS which achieves state-of-the-art performance.



There are no comments yet.


page 7

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

I Introduction

Scene text recognition is an important computer vision task that reading text from images. It is an indispensable component for image understanding from high-level semantic information retrieving. Many challenging applications such as license reading, table analyzing and document processing, benefit from the maturity of Optical Character Recognition (OCR). However, scene text recognition remains an unsolved problem because of drastic variations in appearance, illumination, noise, layout, and background.

Recent advances in scene text recognition are mostly inspired by the success of deep learning techniques. Among them,Connectionist Temporal Classification (CTC) and Attentional sequence recognition (Attn) are the two most popular methods incorporated with Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs) or some other basic deep learning components, to form a framework named encoder-decoder. Both of them can handle text images with variable length. Attn based approaches are more accurate in most scenarios while CTC based ones, such as

[28, 19, 6]

, achieve better efficiency and are easier to train. However, some drawbacks still exist in these two mainstream methods respectively. Firstly, CTC based approaches predict all characters in one time so the sequential and semantic dependency between output characters is not modeled explicitly. The performance of CTC degrades when part of the text images are polluted by illumination, noise or some other reasons. Even combined with RNNs in the encoding state, the decoder still suffers from lacking semantic context between characters. Therefore, predefined lexicons are always needed to refine the output of CTC based approaches. Secondly, Attn based methods can embed the language model into the attentional recurrent decoder to depict character dependencies. However, in Natural Language Processing (NLP), to construct a reasonable language model, massive data (often billions) is indispensable. Two largest scene text dataset

[10, 8] only contain millions of text images, besides the images are synthesized. Not surprisingly, Attn based methods often tend to overfit on the limited training data and remain unsatisfied on the real world scene text recognition.

In this paper, to deal with the problems mentioned above, a Recified Attentional Double Supervised network named ReADS is proposed as shown in Figure 1

. Our method first rectifies the input images by adopting a Spatial Transformer Network (STN) as in  

[11]. Then in the encoder, the backbone is built up by attentional CNNs shared by the CTC and the Attn branches. Moreover, a multi-layer Bidirectional LSTM[9] is also adopted for the attention branch. Finally, in the decoder, both CTC and Attn are applied as double supervisions. The CTC branch mainly concentrates on visual feature representation inference and the Attn branch relies on semantic context modeling of characters. Thus our method give the final recognition result from two different views in a decoupled style.

In summary, our main contributions are as follows:

  • We propose a novel double supervised network which predicts text from both image inherent texture and semantic context by CTC and Attn. The proposed method can overcome the shortcomings in previous single supervised approaches and achieve better accuracy.

  • A simple but effective attention mechanism is applied in the encoder, which discriminates foreground text features from messy backgrounds. A rectified module is also used in front of the encoder for handling irregular text images.

  • Our proposed method achieves the state-of-the-art performance on both regular and irregular scene text benchmarks. Especially, our method is only trained on synthetic data and no real world text images are used.

Ii Related work

Early works in text recognition mainly focus on document text. Some handcrafted features, such as connected components [24] or Hough Voting [41], are incorporated with the sliding window technique  [36, 34]

to detect and recognize every single character. Then a graph-based inference is utilized to find words with the max probability from the characters. However, such kinds of traditional methods can not handle some intractable scenarios such as scene text because of noisy background, various appearance and uncontrollable illumination. With the rise of deep learning, recent approaches tend to treat text recognition as a sequence-to-sequence problem. And most of them are based on an asymmetrical encoder-decoder framework. Typically, the encoder consists of some CNNs and RNNs while the decoder mainly relies on two implementations, namely CTC and Attn.

Ii-a CTC based Text Recognition

CTC [7] is originally proposed by Graves et al. for speech recognition. Since both speech and text recognition can be regarded as the sequence-to-sequence problems, CTC is prevailing in recent scene text recognition researches. In  [28], an end-to-end trainable network named CRNN is proposed to directly recognize text lines without character level annotations. CRNN encodes text images using CNNs and bi-directional RNNs, then decodes by CTC. Xie et al[43] utilize CTC to deal with online handwritten Chinese text recognition. The proposed method first transforms input trajectories into fixed size images, then the images are fed into a network whose structure is similar to CRNN. Liu et al[19] present the STAR-Net which goes one step further. To achieve a better performance, the STAR-Net employs a spatial transformer to rectify input text images and a deeper CNN using residual structures is adopted to enhance the model representation. In industrial applications, Facebook conducts an OCR system called Rosetta  [3] to process daily uploaded images. To compromise between effectiveness and efficiency, the bi-directional RNNs before CTC are removed and a complicated training strategy is invented to fit the massive real world data. It should be noted that the approaches mentioned above mostly focus on adjusting network architectures in the encoding phase and the inherent problem of CTC is untouched.

Ii-B Attn based Text Recognition

As to the methods based on Attn, they can be traced back to the work in  [15]

. Inspired by the research in image captioning, five variations of RNNs are proposed in this paper and the model called R2AM outperforms the others, which can be considered as the prototype of subsequent Attn based approaches. Then some genres emerge. In  

[29, 2, 22, 40], various rectification modules are applied to transform irregular text in images to regular ones. Besides, a fractional pickup strategy is designed to improve attention sensitivity in  [22]. While some other researchers concentrate on boosting the attention mechanisms. Cheng et al[4] propose the Focusing Attention Network (FAN) to alleviate attention shifts and acquires more accurate position predictions. In  [5], to tackle with arbitrarily-oriented text images, feature maps from four directions are extracted and merged, then fed into Attn as attention maps. To address the irregular text problem, Li et al[16] employ a 2-dimensional attention map in the Attn based decoder. Recently, to make the most of attention mechanisms and reduce the training time cost, transformer-like  [32] structures are introduced in  [37] to replace RNNs in the Attn.

Fig. 1: Overview of the ReADS. (a) Rectifier using STN. (b) Encoder with stacked attentional residual blocks and Bi-LSTMs in two branches. (c) Decoding in two ways, namely CTC and attentional sequence recognition.

Iii Method

The ReADS is composed of three parts, the rectifier, the encoder, and the decoder. An overview of the whole network architecture is provided in Figure 1. In detail, the rectifier is a light-weighted STN which adjusts the input images into more readable images of the same size. Next, the encoder with two branches takes rectified images and outputs two types of representations. Finally, these two outputs are decoded by CTC and Attn separately in the decoding phase.

Iii-a Rectifier

Since the Thin-Plate-Spline (TPS) [38] proves to be more effective on perspective and curved text images than the simple affine transformation, we adopt an STN with a predicted TPS in this stage which makes the rectifier learnable. The STN consists of three parts which are the localization network, the grid generator and the sampler. First a set of control points is predicted by the localization network. Then the grid generator obtains a TPS transformation via the control points and outputs a sampling grid. Finally, the rectified images are sampled from the original images by the sampler.

Iii-A1 Localization Network

A TPS transformation is calculated from two sets of control points with equal size , denoted by and respectively. Here is the list of source control points, where is the -th point. is the target control points which is similar to . The are placed evenly along the top and bottom borders of the output image at fixed positions. Thus we only need to obtain and it is acquired by the localization network. This network processes the input image via convolutional and pooling layers, then regresses by a fully-connected layer whose output size is . It should be noted that the whole rectifier is differentiable and can be trained by the back-propagated gradients.

Iii-A2 Grid Generator

Given and , the gird generator computes a 2D TPS transformation and uses it to generate a sampling grid that maps every location in the rectified image to the input image. The function of this transformation is shown as follows,


where , , and is a function which can be calculated by these formations:


By solving a linear system with boundary conditions,


the coefficients , and can be found. and are the first and second column of . and are the and coordinates of . Then the Eq. (1) can be rewritten as


where is a matrix and .

Iii-A3 Sampler

The sampler obtains every pixel value in the rectified image by interpolating in the input image. When the location is outside the input image, its value is clipped to keep inside the image. A bilinear interpolation strategy is applied which computes pixel values in the rectified image from the four nearest sampling pixels. Same as the localization network, the sampler is totally differentiable and this allows the rectifier to be optimized by gradients based algorithms.

Iii-B Encoder

Previous methods mainly employ classic CNN structures (e.g., VGG [30], ResNet [12] and InceptionNet [31]) as visual feature extractors in the encoder. However, there are various disturbances in scene text images. So we introduce attention mechanisms into the encoder design which can suppress invalid backgrounds and highlight the useful foregrounds. Constrained by the receptive fields in convolutional layers, RNNs are often utilized to enlarge context regions after the visual feature extractor. However, the local texture representation will be impaired after RNNs. We elaborate on two branches to extract features from different receptive field scales. The first branch directly passes the visual feature map outputted by CNNs to the decoder. The second branch processes the visual feature map by stacked Bi-LSTMs before feeding it into the decoder.

Iii-B1 Attentional Residual Block

In the encoding stage, we adopt attentional residual blocks to extract visual features. The structure of an attentional residual block is depicted in Figure 2. An attention mechanism called CBAM [39] is implemented before merging the trunks and shortcuts. The CBAM learns channel-wise and spatial attentions separately with negligible parameter overheads. Moreover, it can be plugged into any residual blocks.

The CBAM consists of two attention modules: the channel attention and spatial attention. Given an intermediate feature map , firstly an average pooling operation

and a max-pooling operation

are computed simultaneously to describe the global distinctive features. Then the channel attention mask is forwarded by a set of shared convolutional layers with both descriptors:


Similarly to , two single-channel feature maps are obtained by channel-wise max-pooling and average-pooling. Then they are concatenated and processed by a convolutional layer to acquire the spatial attention mask :


Finally is broadcast multiplied by and to produce the attentional feature map.

Iii-B2 Bi-LSTM

Long Short-Term Memory (LSTM) is capable of modeling long-range dependencies of the input sequential features. The output of LSTM at every timestamp depends not only on the current input but also on the previous inputs. Since the visual feature map is undirectional and the ability of single layer LSTM is limited, we stack two bi-directional LSTMs for context modeling. Given an input , its size is reshaped to before being sent into the stacked Bi-LSTMs. Then the size of output is , where is the number of hidden units.

Fig. 2: The structure of the attentional residual block.

Iii-C Decoder

Scene text recognition mainly relies on two types of representation which are inherent texture features in text images and semantic context dependencies between characters. To model from these two aspects and take both advantages of them, we adopt two kinds of techniques in the decoding phase, namely CTC and Attn. The CTC is responsible for recognition using inherent texture features, hence it takes the visual feature map from the attentional CNNs of the encoder. While Attn mainly focuses on semantic context features, it utilizes the output from the stacked Bi-LSTMs in the encoder. Then these two losses ( and ) are weighted added for back-propagation in training. The total loss are calculated as follows,



is a hyperparameter and set to

empirically in our experiments.

Iii-C1 Ctc

There are many advantages of CTC, such as parallel training and parameter-free decoding. For scene text recognition, CTC allows the network to select the most probable character sequence. The CTC output dimension is the class number plus one ‘blank’ symbol denoted by . Given an input sequence feature of length , the probabilities of all possible ways in aligning all possible label sequences are outputted. Knowing that one label sequence

can be represented by different alignments, the conditional probability distribution over

is a summation of total probabilities in all possible alignments . Then the probability of a given label conditioned on can be calculated as follows,


where is the probability at time and denotes the set of sequences which are mapped to by . In inference, the most probable labeling for the input sequence is selected:


Since the solution space is exponential to , beam search or greedy decoding is applicable in predicting. We just choose the latter and detailed reasons will be given in the inference section.

Iii-C2 Attn

The Attention-based sequence prediction (Attn) can also translate feature sequences to character sequences in arbitrary lengths but via a different mechanism. Attn not only takes the visual feature into account but also models output dependencies. Such a model is appealing due to its simplicity and powerfulness in sequence modeling and its ability to capture output dependencies in a recurrent way.

Attn makes use of the encoder output at every decoding step by the attention mechanism. It proceeds iteratively for steps to generate a symbol sequence of length until an End Of Sequence (EOS) symbol. At step , based on the output of the Bi-LSTMs encoder branch , the is predicted using the following formulations,


where and are all learnable parameters and is the hidden state in the LSTM decoder at step . is an alignment model which scores how well the inputs around position and the output at position match.

Iii-D Inference

During inference, there are two predictions outputted by two branches separately. We choose the character sequence from Attn as the final result because the accuracy of the Attn branch is always better than that of CTC branch under any experimental conditions. We leave the problem of merging predictions from two branches as a future research topic. As for the decoding method, different from most previous studies, we simply use the greedy decoding in both branches because it is faster than beam search and the performance differences are negligible in our experiments.

width=0.5center Layers Configurations Output Input RGB image Rectifier Localizer Conv k : , s : c : [] FC units : [] Encoder Conv k : , c : Block1 3, k : , c : Pool k : , s : Block2 4, k : , c : Pool k : , s : Block3 6, k : , c : Pool k : , s : Block4 3, k : , c : Pool k : , s : Conv k : , c : Attn and CTC Branches [Bi-LSTM] 2 hidden units : [512,512] - Decoder Attn and CTC Branches Attentional LSTM hidden units : 1024 attention units:1024 CTC *


Text recognition network configurations. Each block is an attentional residual block. ‘k’,‘s’ and ‘c’ are kernel size, stride and channel number respectively. ‘Pool’ stands for the Max pooling. ‘*’ means a variable length.

width=1.0center Method Regular Text Irregular Text IIIT5K SVT IC03 IC13 IC15-2077 IC15-1811 SVTP CUTE Jaderberg et al. 2014 [10] - 80.7 93.1 90.8 - - - - Shi et al. 2016 [28] 78.2 80.8 89.4 86.7 - - - - Shi et al. 2016 [29] 81.9 81.9 90.1 88.6 - - 71.8 59.2 Liu et al. 2016 [19] 83.3 83.6 89.9 89.1 - - 73.5 - Gao et al. 2017 [6] 81.8 82.7 89.2 88.0 - - - - Cheng et al. 2018 [5] 87.0 82.8 91.5 - 68.2 - 73.0 76.8 Liu et al. 2018 [20] 83.6 84.4 91.5 90.8 60.0 - 73.5 - Shi et al. 2019 [2] 93.4 93.6 94.5 91.8 - 76.1 78.5 79.5 Liao et al. 2019 [17] 92.0 82.1 - 91.4 - - - 78.1 Zhan & Lu et al. 2019 [45] 93.3 90.2 - 91.3 - 76.9 79.6 83.3 Luo et al. 2019 [22] 91.2 88.3 95.0 92.4 68.8 - 76.1 77.4 Gao et al. 2019 [42] 89.9 87.2 93.3 92.9 74.5 - 76.4 70.8 Baek et al. 2019 [1] 87.9 87.5 94.4 92.3 71.8 77.6 79.2 74.0 Liu et al. 2019 [18] 85.2 85.5 92.9 90.3 65.7 71.8 74.4 - Wan et al. 2020 [33] 94.7 90.6 - 93.9 - 75.2 79.2 81.3 Wang et al. 2020 [25] 90.5 82.2 - - - - - 83.3 Ours 91.0 91.2 96.1 94.5 75.1 80.4 83.3 83.7

TABLE II: Results of our model compared with other proposed models.Numbers in bold indicate the best and numbers with underline depict second-best performance. Only lexicon-free results are reported.

Iv Experiments

In this section, we conduct extensive experiments on various scene text recognition benchmarks to verify the effectiveness of our model. First the datasets we perform experiments on are introduced in Section IV-A. Then the model implementation details in training and inferring are described in Section IV-B. Finally, we analyze and demonstrate the results in comparing experiments with other state-of-the-art methods and some ablation studies can be found in Section IV-C.

Iv-a Datasets

The ReADS is only trained on two public synthetic datasets, MJSynth [10] and SynthText [8], without finetuning on other datasets. Then the model is tested on 7 datasets, which are ICDAR 2003 (IC03) [21] , ICDAR 2013 (IC13) [14], ICDAR 2015 (IC15) [13], IIIT5K-Words (IIIT5K) [23], Street View Text (SVT) [35], Street View Text Perspective (SVTP) [26], and CUTE80 (CUTE) [27].

MJSynth [10] is a synthetic text dataset. The dataset consists of about 9 million images covering 90k English words and includes the training, validation and testing splits separately. Random transformations and other effects are applied to every word image. All the images in MJSynth are taken for our model training.

SynthText [8] is also a synthetic text dataset. But unlike MJSynth, it is intended for scene text detection. Words are rendered on whole images and not cropped. We extract all the word regions by the given word bounding boxes for training.

ICDAR 2003 (IC03) [21] contains 1156 images for training and 1110 images for evaluation. Following Wang et al.  [35], words which are either too short (less than 3 characters) or contain non-alphanumeric characters are ignored. Then the number of images for evaluation reduces to 867 after filtering.

ICDAR 2013 (IC13) [14] inherits most images from IC03 and adds some new ones. The trainset and testset have 848 and 1095 images separately. After removing words with non-alphanumeric characters, the filtered testset contains 1015 images for our evaluation.

ICDAR 2015 (IC15) [13] consists of 4468 images for training and 2077 images for evaluation. All the images are acquired by a pair of Google Glasses without deliberate positioning and focusing. Thus this dataset contains many noisy, blurry and irregular text. There are two versions of testset with different image numbers: 1811 and 2077. The former filters images with non-alphanumeric characters, extremely transformation and curved text out, while the later keeps all the images. We test our ReADS on both of the two versions.

IIIT5K-Words (IIIT5K) [23] contains a trainset of 2000 images and a testset of 3000 images gathered from the Internet. Each image is associated with a 50-word lexicon and a 1,000-word lexicon.

Street View Text (SVT) [35] consists of 249 images collected from Google Street View. The testset contains 647 cropped samples which are collected from these images. Many of the images are very noisy or have very low resolutions.

Street View Text Perspective (SVTP) [26] is a collection of 645 images from Google Street View like SVT. But most of the images are more difficult to recognize because of large perspective distortions.

CUTE80 (CUTE) [27] is a dataset with 288 cropped images and most images in it contains curved text. It is collected from natural scenes.

Iv-B Implementation Details

The network configurations are summarized in Table I. A 34-layer residual network with CBAM is adopted as the visual feature extractor. Except for the first residual block, each residual block is followed by an asymmetric max pooling to keep more horizontal resolution. Two convolutions and a CBAM constitute every residual unit. Following the visual feature extractor, the network splits into two branches. In the CTC branch, the visual feature map is directly sent into the decoder for recognition. In the Attn branch, a stacked RNN of two layer Bi-LSTMs is in front of the attentional LSTM based decoder. Both the Attn and CTC recognize 62 classes, including digits, uppercase and lowercase letters. When evaluating the trained model on benchmarks, we normalize the predictions to case-insensitive and discard punctuation marks . Moreover, no lexicons are applied after predicting.

The proposed model is implemented by Tensorflow and is trained from scratch. The ADADELTA 


is applied as the optimizer with a batch size of 64. The total training iterations are about 4.5 epochs and images of every batch are randomly selected from MJSynth and SynthText. The initial learning rate is set to 1.0, then adjusted to 0.1 and 0.01 at the end of the 3rd and 4th epoch. All experiments are conducted on a workstation with a 2.20G Hz Intel(R) Xeon(R) CPU, 256GB RAM and two NVIDIA Tesla V100 GPUs. Some image processes such as random rotation (

), elastic deformation, hue, brightness and contrast are applied for data augmentation in training. For images whose height are three times larger than width, we simply rotate the images anticlockwise by . It should be noted that unlike some previous work, we only use greedy search and no input augmentations or results merging is adopted for inference.

Iv-C Results

Iv-C1 Comparison with State-of-the-art

In this section, we compare the ReADS with several state-of-the-art methods on the benchmarks mentioned in Section 4.1, as shown in Table  II. Since our model is trained on synthetic data and does not use the model ensemble and results merging, we only list results acquired in the same condition for a fair comparison. It can be observed that, on both regular and irregular datasets, the ReADS can achieve either highly competitive or state-of-the-art performance. In summary, our method gets five first, one second and one competitive results on a total of seven benchmarks. Especially on IC03 and IC13, we outperform the previous methods by a relatively large margin. Our results on the two regular text datasets, IIIT5K and SVT, are slightly worse than results on IC03 and IC13. Through our observation and analysis, a possible explanation is that data sources of these two are relatively limited. Hence, the semantic context in the Attn branch is more important and the CTC branch does not fully take effect. Results of the ReADS on three irregular text datasets fluctuate by a certain degree. According to our analysis, there are two main reasons. The first is that no other mechanisms are introduced to tackle irregular text except the rectifier. However, the rectifier works in a weakly supervised way (only supervised by the recognition loss), so the effect is not very ideal in some difficult scenarios. The second reason is the data distributions and scales of these datasets are rather different. IC15 has the largest data scale and includes horizontal, Inclined and curved text images. SVTP is a medium scale dataset and consists of only horizontal and Inclined text images. The images in CUTE are the fewest and most of them are curved text images.

Iv-C2 Ablation Study

In this section, we conduct two sets of experiments for ablation studies. The first is to analyze the impact of some modules in the network. The second is to verify the effectiveness of double supervised branches.

Influence of Modules: In this part, we perform several experiments to explore the impact of some modules on the model performance. Two key modules are taken into consideration, the rectifier and the attention mechanisms. All the implementation details are the same as those of the last section and results are demonstrated in Table III. We observe that the rectifier is effective for the irregular text while a little harmful for regular text. Another conclusion is that the attention mechanisms achieve consistent improvement on all the benchmarks except CUTE. We believe that it is due to the small scale of CUTE. There are only 288 images in CUTE, so one more wrong recognized text image brings about reduction on the accuracy. Fortunately, by introducing both two modules, we can take all the advantages from them and obtain better performance than other settings.

width=0.5center Modules Regular Text Irregular Text Rectifier Attentions IIIT5K SVT IC03 IC13 IC15-2077 IC15-1811 SVTP CUTE 89.4 87.6 94.8 93.1 70.4 75.0 76.7 80.2 90.0 90.0 95.3 93.4 74.3 79.2 80.3 77.4 90.1 90.3 94.6 92.3 72.8 78.4 81.2 83.7 91.0 91.2 96.1 94.5 75.1 80.4 83.3 83.7

TABLE III: Results of using different modules. Models without attentions means that all CBAM modules are removed from residual blocks. The best accuracies on benchmarks is in bold.

Influence of Branches: Meanwhile, we design some experiments to verify the effectiveness of double branch supervising. We compare the ReADS with two implementations which disable one of the two supervised branches and keep other components unchanged. As is shown in Table IV, although the CTC branch network performs worse than the Attn branch network, it still provides effective supervision in the ReADS. The double branch supervised network outperforms any single branch supervised versions on most benchmarks. We observe that, on the irregular text datasets, the Attn branch network achieves comparable results with the ReADS. According to our analysis, it is due to the lack of more effective rectifying modules and the performance of double supervised branches is saturated for irregular text images. Some qualitative cases are also illustrated in Figure 3 to verify the effectiveness of the ReADS.

width=0.5center Branches Regular Text Irregular Text Attn CTC IIIT5K SVT IC03 IC13 IC15-2077 IC15-1811 SVTP CUTE 88.6 87.3 92.4 90.3 72.1 76.5 77.1 78.8 91.0 90.6 94.3 93.3 75.7 80.2 84.2 82.3 91.0 91.2 96.1 94.5 75.1 80.4 83.3 83.7

TABLE IV: Results of using different supervised branches. Numbers in bold are the best performance.
Fig. 3: Some compared cases selected from the benchmarks. The images in the left column are recognized successful by the ReADS and failed by the CTC recognizer. The images in the right column are recognized successful by the ReADS and failed by the Attn recognizer.

V Conclusion

In this paper, we present a novel approach named ReADS, a rectified attentional double supervised scene text recognizer. It is equipped with decoders of the Attention based sequence recognition (Attn) and the Connectionist Temporal Classification (CTC) for semantic context modeling and inherent texture representation. Combined with two effective modules, the rectifier, and attention mechanisms, the ReADS shows state-of-the-art or highly competitive performance on seven benchmarks compared with previous works. Moreover, the model can be trained end-to-end from scratch and no additional labels are needed except the line-level text. In the future, we plan to explore stronger attention mechanisms especially for irregular text. Merging predictions from CTC and Attn branches is another interesting topic. Besides, since scene text recognition is very relevant to NLP, we will combine these two techniques for better results.


  • [1] J. Baek, G. Kim, J. Lee, S. Park, D. Han, S. Yun, S. J. Oh, and H. Lee (2019) What is wrong with scene text recognition model comparisons? dataset and model analysis. In The IEEE International Conference on Computer Vision (ICCV), Cited by: TABLE II.
  • [2] Baoguang Shi, Mingkun Yang, Xinggang Wang, Pengyuan Lyu, Cong Yao, and Xiang Bai (2019) ASTER: an attentional scene text recognizer with flexible rectification. IEEE Transactions on Pattern Analysis and Machine Intelligence 41 (9), pp. 2035–2048. Cited by: §II-B, TABLE II.
  • [3] F. Borisyuk, A. Gordo, and V. Sivakumar (2018) Rosetta: large scale system for text detection and recognition in images. In International Conference on Knowledge Discovery & Data Mining (SIGKDD), Cited by: §II-A.
  • [4] Z. Cheng, F. Bai, Y. Xu, G. Zheng, S. Pu, and S. Zhou (2017) Focusing attention: towards accurate text recognition in natural images. In The IEEE International Conference on Computer Vision (ICCV), Cited by: §II-B.
  • [5] Z. Cheng, Y. Xu, F. Bai, Y. Niu, S. Pu, and S. Zhou (2018) AON: towards arbitrarily-oriented text recognition. In

    The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)

    Cited by: §II-B, TABLE II.
  • [6] Y. Gao, Y. Chen, J. Wang, and H. Lu (2017) Reading scene text with attention convolutional sequence modeling. Neurocomputing. Cited by: §I, TABLE II.
  • [7] A. Graves, S. Fernández, F. Gomez, and J. Schmidhuber (2006) Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks. In

    The 23rd International Conference on Machine Learning (ICML)

    Cited by: §II-A.
  • [8] A. Gupta, A. Vedaldi, and A. Zisserman (2016) Synthetic data for text localisation in natural images. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §I, §IV-A, §IV-A.
  • [9] S. Hochreiter and J. Schmidhuber (1997) Long short-term memory. Neural Computation 9 (8), pp. 1735–1780. Cited by: §I.
  • [10] M. Jaderberg, K. Simonyan, A. Vedaldi, and A. Zisserman (2014) Synthetic data and artificial neural networks for natural scene text recognition. CoRR abs/1406.2227. Cited by: §I, TABLE II, §IV-A, §IV-A.
  • [11] M. Jaderberg, K. Simonyan, A. Zisserman, and k. kavukcuoglu (2015) Spatial transformer networks. In Advances in Neural Information Processing Systems, pp. 2017–2025. Cited by: §I.
  • [12] H. Kaiming, Z. Xiangyu, R. Shaoqing, and S. Jian (2016) Deep residual learning for image recognition. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §III-B.
  • [13] D. Karatzas, L. Gomez-Bigorda, A. Nicolaou, S. Ghosh, A. Bagdanov, M. Iwamura, J. Matas, L. Neumann, V. R. Chandrasekhar, S. Lu, F. Shafait, S. Uchida, and E. Valveny (2015-08) ICDAR 2015 competition on robust reading. In 2015 13th International Conference on Document Analysis and Recognition (ICDAR), pp. 1156–1160. Cited by: §IV-A, §IV-A.
  • [14] D. Karatzas, F. Shafait, S. Uchida, M. Iwamura, L. G. i Bigorda, S. R. Mestre, J. Mas, D. F. Mota, J. A. Almazàn, and L. P. de las Heras (2013) ICDAR 2013 robust reading competition. In 12th International Conference on Document Analysis and Recognition (ICDAR), pp. 1484–1493. Cited by: §IV-A, §IV-A.
  • [15] C. Lee and S. Osindero (2016)

    Recursive recurrent nets with attention modeling for ocr in the wild

    In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §II-B.
  • [16] H. Li, P. Wang, C. Shen, and G. Zhang (2018) Show, attend and read: A simple and strong baseline for irregular text recognition. CoRR abs/1811.00751. Cited by: §II-B.
  • [17] M. Liao, J. Zhang, Z. Wan, F. Xie, J. Liang, P. Lyu, C. Yao, and X. Bai (2019) Scene text recognition from two-dimensional perspective. In AAAI, Vol. 33, pp. 8714–8721. Cited by: TABLE II.
  • [18] W. Liu, C. Chen, e. C. V. Kwan-Yee K. Wong”, H. Li, M. Greg, and S. Konrad (2019) SAFE: scale aware feature encoder for scene text recognition. In ACCV, Cited by: TABLE II.
  • [19] W. Liu, C. Chen, K. K. Wong, Z. Su, and J. Han (2016) STAR-net: a spatial attention residue network for scene text recognition. In The British Machine Vision Conference (BMVC), Cited by: §I, §II-A, TABLE II.
  • [20] W. Liu, C. Chen, and K. K. Wong (2018) Char-net: a character-aware neural network for distorted scene text recognition. In AAAI, Cited by: TABLE II.
  • [21] S. LUCAS, A. Panaretos, L. Sosa, A. Tang, S. Wong, R. Young, K. Ashida, H. Nagai, M. Okamoto, H. Yamamoto, H. Miyao, Y. Zu, W. Ou, C. Wolf, J. Jolion, L. Todoran, M. Worring, and X. Lin (2005) ICDAR 2003 Robust Reading Competitions: Entries, Results and Future Directions. International Journal of Document Analysis and Recognition 7, pp. 105–122. Cited by: §IV-A, §IV-A.
  • [22] C. Luo, L. Jin, and Z. Sun (2019) A multi-object rectified attention network for scene text recognition. CoRR abs/1901.03003. Cited by: §II-B, TABLE II.
  • [23] A. Mishra, K. Alahari, and C.V. Jawahar (2012) Scene Text Recognition using Higher Order Language Priors. In British Machine Vision Conference (BMVC), Cited by: §IV-A, §IV-A.
  • [24] L. Neumann and J. Matas (2012) Real-time scene text localization and recognition. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §II.
  • [25] W. Qingqing, H. Ye, J. Wenjing, H. Xiangjian, M. Blumenstein, L. Shujing, and L. Yue (2020) FACLSTM: convlstm with focused attention for scene text recognition. Science China Information Sciences 63 (2), pp. 120103. Cited by: TABLE II.
  • [26] T. Quy Phan, P. Shivakumara, S. Tian, and C. Lim Tan (2013) Recognizing text with perspective distortion in natural scenes. In The IEEE International Conference on Computer Vision (ICCV), Cited by: §IV-A, §IV-A.
  • [27] A. Risnumawan, P. Shivakumara, C. S. Chan, and C. L. Tan (2014) A robust arbitrary text detection system for natural scene images. Expert Systems with Applications 41 (18), pp. 8027 – 8048. Cited by: §IV-A, §IV-A.
  • [28] B. Shi, X. Bai, and C. Yao (2017) An end-to-end trainable neural network for image-based sequence recognition and its application to scene text recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence 39 (11), pp. 2298–2304. Cited by: §I, §II-A, TABLE II.
  • [29] B. Shi, X. Wang, P. Lyu, C. Yao, and X. Bai (2016) Robust scene text recognition with automatic rectification. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §II-B, TABLE II.
  • [30] K. Simonyan and A. Zisserman (2015) Very deep convolutional networks for large-scale image recognition. pp. 1–14. Cited by: §III-B.
  • [31] C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich (2015) Going deeper with convolutions. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §III-B.
  • [32] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin (2017) Attention is all you need. In Advances in Neural Information Processing Systems, pp. 5998–6008. Cited by: §II-B.
  • [33] Z. Wan, F. Xie, Y. Liu, X. Bai, and C. Yao (2019) 2D-ctc for scene text recognition. CoRR. Cited by: TABLE II.
  • [34] K. Wang, B. Babenko, and S. Belongie (2011) End-to-end scene text recognition. In International Conference on Computer Vision (ICCV), Cited by: §II.
  • [35] K. Wang, B. Babenko, and S. Belongie (2011) End-to-end scene text recognition. In 2011 International Conference on Computer Vision (ICCV), pp. 1457–1464. Cited by: §IV-A, §IV-A, §IV-A.
  • [36] K. Wang and S. Belongie (2010) Word spotting in the wild. In ECCV, Cited by: §II.
  • [37] P. Wang, L. Yang, H. Li, Y. Deng, C. Shen, and Y. Zhang (2019) A simple and robust convolutional-attention network for irregular text recognition. CoRR abs/1904.01375. Cited by: §II-B.
  • [38] F. L. B. P. Warps (1989) Thin-plate splines and the decompositions of deformations. IEEE Transactions on Pattern Analysis and Machine Intelligence 11 (6). Cited by: §III-A.
  • [39] S. Woo, J. Park, J. Lee, and I. S. Kweon (2018) CBAM: convolutional block attention module. In The European Conference on Computer Vision (ECCV), Cited by: §III-B1.
  • [40] M. Yang, Y. Guan, M. Liao, X. He, K. Bian, S. Bai, C. Yao, and X. Bai (2019) Symmetry-constrained rectification network for scene text recognition. In The IEEE International Conference on Computer Vision (ICCV), Cited by: §II-B.
  • [41] C. Yao, X. Bai, B. Shi, and W. Liu (2014) Strokelets: a learned multi-scale representation for scene text recognition. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §II.
  • [42] L. Yujia, G. Hongchao, W. Xi, H. Jizhong, and L. Ruixuan (2019) Text recognition using local correlation. Cited by: TABLE II.
  • [43] Zecheng Xie, Zenghui Sun, Lianwen Jin, Ziyong Feng, and Shuye Zhang (2016) Fully convolutional recurrent network for handwritten chinese text recognition. In The 23rd International Conference on Pattern Recognition (ICPR), Cited by: §II-A.
  • [44] M. D. Zeiler (2012) Adadelta: an adaptive learning rate method. arXiv preprint arXiv:1212.5701. Cited by: §IV-B.
  • [45] F. Zhan and S. Lu (2019) Esir: end-to-end scene text recognition via iterative image rectification. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: TABLE II.