Abstract
Text recognition has been applied in many fields recently, such as robot vision, video retrieval, and scene understanding. However, minimal research has been conducted in the field of logistics wherein images of express sheets captured by cameras are mostly curved, distorted, and have low resolution. In this study, a new method is proposed to address the aforementioned research gap while simultaneously considering irregular and low-resolution English letters. The entire approach comprises a rectification module, a convolutional neural network (CNN) extractor, a semantic context module (SCM), a global context module (GCM), and a lightweight transformer decoder that can exhibit improved training speed. In particular, we propose the idea of context modeling in our proposed method. (1) The proposed SCM is introduced to capture full-image dependencies and generates rich semantic context information. (2) We propose the GCM, which not only enhances long-range dependencies from the output of SCM but also outputs abundant pixel information to the self-attention decoder. (3) To solve the low-resolution text recognition problem in a large number of express sheet scenes, we propose Chinese datasets for improving intelligent logistics. Experiments conducted on six public benchmarks demonstrate that the developed method achieves better robustness to low-resolution and irregular text images.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
Introduction
This paper introduces a new text recognition technique for the logistics industry. As we know, logistics information plays the role of package transportation and marking the important information for the purpose of contacting customers. In the past 10 years, thanks to the improvement of internet technology, China's e-commerce industry has developed rapidly, which has also driven the development of the logistics industry. The huge domestic purchase demand generates more than 100 million express packages every day. The logistics industry provides logistics service for all walks of life and promotes economic development. However, how to handle such a huge number of express packages every day? In addition to various automation technologies, scene text recognition (STR) technology also plays an important role; STR not only plays the significant role of intelligent sorting in distribution centers, but also customer information can be extracted quickly in the end distribution, which replaces a large number of manual operations and gives companies great cost savings, because labor costs are getting higher and higher. In the distribution center, the express package obtains the destination code through STR technology, and will be intelligently transmitted to their respective concentration areas, waiting to be transported to the destination. In our survey, although text recognition research has been applied in many fields, such as bank note recognition, license plate recognition, and train ticket recognition, while minimal research has been conducted in the field of logistics wherein images of express sheets captured by cameras are mostly curved, distorted, and have low resolution. We aim to improve the low-quality text recognition for logistics industry, especially the curved and low-quality images. Generally, the STR model consists of four parts [1]: the rectification, feature extraction, sequence module, and decoder module. A spatial transformer network (STN) [2] is utilized as a rectification module to reduce pressure in the next stage. Second, feature extraction networks, which are implemented by deep learning networks, such as a residual neural network (ResNet) [3], have achieved remarkable progress. The prediction module typically adopts a recurrent neural network (RNN) [4] to sequence text order. An RNN is a sequential model that can process sequential data; however, it is limited by slow training time and lacks long-range dependencies. Long short-term memory, which is a variant of RNN, is the most important solution to alleviating these limitations. Nonetheless, it disregards parallel computing and is even slower than RNN [5]; hence, a self-attention module is introduced to realize parallel computing given its capability to model long-range dependency relationships. Finally, the decoder module has two options: the connectionist temporal classification decoder [4] or the attention-based decoder [6]. Although, the combination of these modules pushes the development of STR, many challenges, such as irregular and seriously curved and low-resolution text images, still exist. Text in the express sheet image shown in Fig. 1 is extremely blurred and some Chinese characters cannot be recognized because of the motion blur captured by the camera.
To solve the huge demand of logistics industry, two aspects of text recognition technology need urgent attention; one is the recognition accuracy rate and the other is the recognition speed. Currently, the recognition accuracy rate still needs to be improved in logistics industry. The challenge comes from two parts: on one hand, the logistics sheet is prone to frictional deformation during transportation, and then becomes a low-quality image. On the other hand, these images are captured by cameras, which are prone to blurred and low-resolution images after being compressed. To address this issue, we conduct research from both datasets and method. In terms of datasets, at present, Chinese datasets for real scene text recognition remain insufficient. Most text recognizers are trained on benchmark datasets to compare the accuracy of six public evaluation databases. However, these public training datasets do not have Chinese characters. We know that there are 26 English letters, but there are more than 5000 commonly used Chinese characters in Chinese scenes. Moreover, these images for training should be as close as possible to real scene images, that is, these images should include blurred, missing-stroke, and motion-blurred images to meet performance requirements in Chinese scenes. Hence, we propose a novel Chinese dataset for recognizing low-quality images in Chinese scene text recognition. In terms of method, to improve the recognition accuracy of complex logistics images, we adopt the transformer model to improve global computation and information-carrying capabilities, the transformer proposed by Vaswani et al. [7] used a self-attention network as its encoder and decoder module to extract the relationships between characters. The major advantages of transformer-based methods over other models are their global computation and perfect information-carrying capabilities; in recent research, models based on transformers have been applied to computer vision tasks [8,9,10,11]. However, transformer [7] is composed of a stack of six identical layers, respectively, in its encoder and decoder module, which makes the model too heavy and slower. To meet the speed requirement of 10 FPS (frames per second) in logistics industry, we simplify the architecture of transformer [7], and we first removed the huge encoder part in the transformer, and only used the decoder part of transformer as our encoding part with only 3 identification layers, while [12, 13] use 12 identification layers in encoding part and 6 identification layers in decoding part for text recognition, although they achieved remarkable results on public datasets; however, they ignore the requirement of speed in the practical application, and [12,13,14,15] all adopt the whole transformer network as the architecture of their methods for text recognition. Without the encoder in transformer, we add two small modules as a complement. First, we designed a residual crisscross attention in the semantic context module (SCM) to capture full-image dependencies and generate rich semantic context information, and we quit recurrent crisscross attention [16], because the residual network which is similar to ResNet network [3] can effectively solve the feature degradation and establish a long dependency of text information in logistics sheet image, especially the address information, because the address information often includes the province, the city, the country, and the detailed home address which is very long text sequence. Second, we propose a smaller module global context module (GCM) to improve global computation and information-carrying capabilities. To avoid character missing and attention drift [14] when recognizing long text sequence in practical scenes, especially the large number of address information in logistics sheet images, we add the learnable character weight information into self-attention module of GCM, which can emphasize the character region in the text sequence and prevent the feature from weakening during the operation. Considering transformer-based methods are not as powerful as CNNs in terms of acquiring local information, to address these disadvantages, we utilize a ResNet-based extractor as part of our proposed method in the current study.
The major contributions of this study can be summarized in four aspects:
-
1.
We construct a new Chinese dataset for text recognition. This dataset is described in detail in the section “Introduction of datasets”, and it focuses on solving the problem of recognizing low-quality Chinese text images in logistics industry.
-
2.
We propose a novel end-to-end text recognition method that adds the idea of context modeling throughout the entire network, and adopts a lightweight transformer-based decoder to accelerate training speed. The proposed method achieves competitive results on several benchmark datasets due to its information-carrying capability.
-
3.
To enhance semantic information and obtain richer sematic context information, we propose a semantic context module (SCM) with a residual module to capture full-image context information.
-
4.
Replacing the RNN structure, we propose a GCM that is designed to grasp long-range dependencies between pixels and capture essential information for global understanding. To avoid character missing, the learnable position information was added into self-attention module, which can emphasize the text regions. The GCM is introduced to connect the SCM and the transformer-based decoder, playing a role in transmitting rich global context information to the next stage.
Related works
There are three main difficulties in current text recognition technology, one is the existence of a large amount of curved text images in natural scenes, the second is the existence of a large amount of low-resolution text images, and the third is the requirement of faster recognition speed in practical application. Many related works have focused on these challenges.
For curved texts in natural scenes, considering that if the entire text area is sent to the text recognizers, the recognition effect will be poor due to a large number of invalid areas. Shi et al. [17] proposed an automatic rectification module to solve the curved text, and the image is transformed into a regular and more readable image through the spatial transformation network. This transformation can rectify different types of irregular text to improve the recognition ability of curved text. To simplify the complexity of the rectification module, Shi et al. [18] further proposed a new rectification network, namely, a thin-plate spline transformer based on an attention mechanism was proposed for recognizing irregular text, the model learns directly to control the curved text point, and then straightens the curved text into horizontal condition. Comparing [17, 18], Zhan et al. [19] proposed the repetitive rectification frame which can continuously rectifies the text regions to improve the text recognition performance, while [17, 18] rectify the text regions only once. Although these methods made huge contributions to curved text recognition, they did not yet solve the low-quality text images.
To solve low-quality text recognition, Zhang et al. [20] proposed a sequence-to-sequence domain adaptation network for recognizing blurred text images. Gate attention similarity units were used to adapt the distribution of attentional information to the corresponding sequence data, acquiring better feature information. Given that scene text methods seldom combine visual and semantic information, and most methods rarely use semantic information to assist in text recognition, Wan et al. [21] combined the mechanisms of attention and segmentation models to provide better results, considering an attention-based model performs weakly when dealing with low-resolution images, a segmentation model can better use visual features. Yu et al. [22] proposed a novel semantic inference network (SRN) to capture abundant semantic text information, which can effectively combine visual context information and semantic context information, and the proposed method segmented characters one by one, and then spliced them into horizontal states, achieving better performance on public datasets. Inspired by language models which can effectively supervised word sequence generation, Qiao et al. [23] added a pretrained language model to supervise encoding and decoding procedures, supervising training of predicted semantic information through a pretrained word embedding model; this scheme is better for solving low-resolution text recognition. Zhang et al. [24] used a text recognition framework for automatic search. The base framework can be adjusted for different datasets as inspired by a neural framework search. These models integrated multiple modules and tended to be large models, taking into account the recognition of low-resolution text; furthermore, considering the speed requirement of the text recognition, some studies have also focused on the speed of text recognition as follows.
In terms of text recognition speed, Liu et al. [25] found that text features can be encoded into binary format without loss of semantic information, and real-time inference can be achieved by binary compression; meanwhile, the memory consumption can be very small; however, its recognition performance on benchmark datasets is not ideal, although the speed has better performance. Taking into account the transformer-based methods have the advantages of parallel computation in the field of natural language processing, Zhu et al. [15] directly combined heavy backbone and the whole transformer network as a new text recognizer, and a hierarchical attention mechanism including four self-attention blocks was proposed in the encoding part to describe context information, which is also a heavy model. To make text recognition technology more suitable for real-world applications, Li et al. [26] proposed a transformer-based model, a self-attention mechanism was applied to text recognition to reach a better ideal state. This model utilized locality-sensitive hashing instead of softmax regression to compress model. Parameters are reduced, the small model achieves better speed, but its recognition performance is not ideal comparing other text recognizers, and it is not effective for low-resolution text recognition. Recently, based on transformer network, Lee et al. [12] proposed an adaptive 2D positional encoding to strengthen feature extraction and further solve irregular images, and it achieved remarkable results on public datasets, especially in irregular datasets; however, it has 12 self-attention layers in its encoding part, while transformer [7] only has 6. To enhance the performance of the feed-forward network (FFN), Kim et al. [13] modified the encoder part of the transformer by replacing with a squeeze-and-excitation FFN. However, they also adopted the overall framework of the transformer, and the inference speed did not yet meet the requirement when facing logistics scenes. In general, with self-attention modules, the transformer-based methods can achieve the state-of-art effect on text recognition comparing simple CNN-based text recognizers. However, as we know, the transformer has better performance, it is also a large model; hence, speed should be taken into consideration when facing logistics scenes. For some special scenes, text recognition technology is more and more related to real industrial applications, Ren et al. [14] applied the transformer network into text recognition to solve the shopping receipt scene; to solve the problem of attention drift in transformer network, and they proposed a transformer-based decoupled attention network that can decouple the prediction processes in an attention mechanism. Unfortunately, all these models have not yet solved the Chinese scenes, especially the complex and challenging logistics industry scene. On the other hand, text recognizers with transformer network can solve some challenging low-quality text images; however, the speed cannot meet the requirements when facing practical applications. These transformer-based methods had not attempted to simplify the whole transformer network which can accelerate the text recognition. Therefore, in this survey, we propose a text recognizer by simplifying the transformer network, and add two small modules as a complement, which can further enhance context modeling and global long-range dependency for solving low-quality text images.
Introduction of datasets
To recognize express sheet information better, we construct a large-scale dataset that contains more than 5000 commonly used Chinese characters. The corpus contains Chinese address information of most cities and counties in 32 provinces in China. This information is collected in the business system of a Chinese express company. The dataset, which contains 5 million images, is randomly divided into two parts: 50,000 images are in the fixed testing sets and the remaining images are in the fixed training sets (Table 1). We construct the dataset by utilizing several functions, such as blur, image angle transformation, motion blur, and missing strokes. The principle is performed as follows.
Details of these functions
Blurred images
Blurred images exist widely in real scenes, and many words are difficult to identify. We use different kernels to blur images randomly, and an example is provided in Fig. 2a.
Image angle transformation
Image angle transformation consists of three algorithms, namely, random angle transformation, affine transformation, and perspective transformation, the angle of which changes from 15° to 45°. A corresponding example is presented in Fig. 2b.
Motion blur
In a real scene, the quality of pictures captured by cameras can be degraded because of motion blur. The purpose of motion blur is to blur an image in the left and right directions. The middle column of a kernel is numerically processed and used as a new convolution kernel for operation. The effect is illustrated in Fig. 2c.
Missing strokes
Many cases of missing strokes occurred in real scenes, because the images are easily rubbed. This situation poses huge challenges to text recognition, particularly for images with more than 5000 commonly used Chinese characters. We adopt the following method in the current study. We randomly replace the background pixels of the text area with background color, which is typically white, to achieve the effect of missing strokes. The effect is depicted in Fig. 2d. The detailed procedure for missing strokes is summarized in Algorithm 1.
![figure a](http://media.springernature.com/lw685/springer-static/image/art%3A10.1007%2Fs40747-022-00916-1/MediaObjects/40747_2022_916_Figa_HTML.png)
Approaches
The proposed model is divided into five parts: the rectification network, the CNN extractor, the SCM, the GCM, and the transformer-based decoding module. To overcome the influence of irregular images, we first resize the images into \(32\times 100\), and then, the shape is reshaped into \(32\times 64\) to find the control points in the rectification module. These points are used to make the text line horizontal. Furthermore, a CNN-based module is utilized to extract 2D features instead of 1D features which are typically extracted using traditional recognizers. The output of the last layer of the CNN module is \(4\times 25\), where 25 is the width of the feature map that can preserve more long horizontal pixel information and is beneficial for long text image recognition. We also adopt the SCM to obtain richer semantic information and generate abundant semantic context features. The GCM is added after the SCM to construct long dependencies as the role of sequence context modeling. Subsequently, we also adopt a lightweight transformer decoding part, with N = 3 blocks, and each block includes a masked multi-head attention mechanism, a multi-head attention mechanism, a feed-forward network (FFN), and layer normalization. The overall framework of the entire network is illustrated in Fig. 3.
Rectification network
The rectification network framework in [2], which is divided into three parts: a localization network, a grid generator, and a sample generator. The localization network is utilized to detect the control points in the graph and output their location. The grid generator calculates the mapping relationship of each point that corresponds to the control points and generates the coordinate position of points \(\left\{P1\dots \right.\left.Pn\right\}\). The sample generator samples the point positions calculated by the grid generator to generate the rectified graph. Finally, the original image is rescaled to a fixed size.
Backbone network and feature enhancement module
The recognition network is based on Yu et al. [22], which used ResNet50 [28] to extract text image features. The output shape of every layer is provided in Table 2. The shape of the last layer of the extraction module is \(4\times 25\times C\), where 4 and 25 is the height and width of the input image, respectively.
To obtain richer semantic information, we first propose the feature enhancement module to fuse high- and low-level semantic information. The features of layers 3, 4, and 5 extracted by the CNN network are fused into one feature map.
SCM
The SCM was designed as a residual crisscross attention module, which is shown in Fig. 4, and it contains two convolution modules which play the role of enhancing feature extraction. We quit recurrent crisscross attention [16], because the residual network which is similar to ResNet network [3] can effectively solve the feature degradation and establish a long dependency of text information in logistics sheet image, especially the address information, because the address information often includes the province, the city, the country, and the detailed home address which is very long text sequence.
The crisscross attention [16] proposed for semantic segmentation can capture context information in a more efficient manner, which is presented in Fig. 5.
The crisscross attention is first applied on X to output Q and K, and \(\{Q,K\}\in {R}^{{C}^{\mathrm{^{\prime}}}\times W\times H}\).\({C}^{\mathrm{^{\prime}}}\) is the channel of the feature map. Then, attention map A is generated by affinity operation, which is expressed as follows:
where j represents each position of Q, and \({Q}_{j}\in {R}^{{C}^{\mathrm{^{\prime}}}}\); \({K}_{i,j}\) is the i-th element of \({K}_{j}\); \({d}_{i,j}\in D\) is the degree of correlation between \({Q}_{j}\) and \({K}_{i,j}\); and then, softmax was applied to D to compute attention map A.
Meanwhile, X generates V as same operation as Q, K. Context information is enriched via aggregation operation. However, single crisscross attention can only capture horizontal and vertical context information. To address this issue, we proposed a residual crisscross attention module that can capture full-image context information to distinguish better between text and non-text areas, particularly for blurred and low-resolution images. Generally, the SCM receives X as input and outputs feature map Xʹʹ, which can be computed as follows:
where CCA (\(\bullet \)) denotes the crisscross attention function; and \(\oplus \) denotes element-wise addition.
GCM
The GCM includes a context modeling unit, a self-attention part, and a position encoding module, as shown in Fig. 6. Inspired by [30], we adopt the global context block as the context modeling unit that can model long-range dependencies. We utilize element-wise addition as the connection, which can broadcast attention values accordingly during addition, enabling focusing on the collection of crucial clues about unique character features. To solve the long text sequence recognition and attention drift, we add the learnable character weight information into self-attention module of GCM, as follows.
After global context block, we compress the height of feature map into one, and get a feature sequence, and this feature sequence represents the text sequence. The traditional image algorithm processes the image into a binarized feature map, so that the pixel value in feature map is in the [0,1] interval, where the closer the value of \({X}_{i,j}\) is to 1, the higher the probability that it is a text pixel, \({X}_{i,j}\) denotes the pixel value in binarized map.
As shown in Fig. 7, we use a more optimized function named \(f\left(x\right)\) for binarization processing whose function value range is in the [0,1] interval, the function is a differentiable function, and the optimal network parameters can be learned during the training process. A better threshold can be learned during training, enabling the feature to be dynamically processed into a binarized feature map, so that the text region is more obviously be presented. The function is as follows:
where \({X}_{i,j}\) denotes the pixel value in feature map after global context block.
After Eq. (3), we get the binarized feature map \(\Theta =(\theta 1,\dots ,{\theta }_{L})\), where L represents the width of the feature map, the closer the pixel value in feature map \(\Theta \) is to 1, the higher the probability that it is a text pixel, the binarized feature map plays the role of positional weights. Inside the self-attention module, we get the text sequence map \(h= \left(h1,\dots ,{h}_{L}\right)\) after the operation of self-attention; meanwhile, we added the learnable position information into feature map \(h\); the operation is as follows:
where \(*\) represents the Hadamard product.
By assigning position weight information to the self-attention mechanism, the disappearance of characters in the operation can be avoided, and the character area is more prominent; if pixel value in binarized map is close to 1, it emphasizes that this position is a text region.
In contrast with the traditional RNN module, GCM can be trained in parallel and exhibits a strong long-range dependency capacity.
Decoder
Through the GCM, the features that we acquired have better global information. Considering its good performance in the field of natural language processing (NLP), we directly select transformer-based blocks as the decoder instead of traditional attention-based decoder. Compared with the fundamental block in [7], we simplified the decoder part of transformer with only three identification layers, which is a lightweight decoder. Apart from the multi-head attention and FFN, a masked multi-head attention is also inserted and utilized to simulate dependencies between different decoding locations. In the decoder part, residual connections [29] around each sublayer are also used before layer normalization, as shown in Fig. 8, In the current study, we use H = 8 parallel attention in the multi-head attention mechanisms. The output of each sublayer can be summarized as LayerNorm(x + Sublayer(x)), where Sublayer(x) is a function that includes the multi-head attention and FFN.
Components of fundamental blocks
Positional encoding
The transformer eliminates RNN, the greatest advantage of which is the abstract memory of data in a time series. Without position embedding, the corresponding position values of the attention map are swapped after exchanging character positions, leading to no sequence order information. Hence, we introduce the following positional encoding method [7] to add relative position information. The formula is as follows:
where pos is the position, indicating the token in the sentence. dmodel = 512, i = 0, 1, …, 255.
Masked multi-head attention
Masked multi-head attention is used to simulate dependencies between different decoding locations. It plays an effective role in ensuring that the prediction of a time step is only followed by its previous time step information. A mask is utilized to stop each position from occupying positions after that particular position.
Multi-head self-attention
Compared with the simultaneous use of multiple filters in CNN, multi-head attention helps a network capture richer feature information and enables the model to pay more attention to different aspects of information. Multi-head attention can be summarized as [7]:
where \({\mathrm{head}}_{i}=\mathrm{Attention}\left(Q{\mathrm{W}}_{i}^{q},\mathrm{ K}{\mathrm{W}}_{i}^{k},\mathrm{ V}{\mathrm{W}}_{i}^{v}\right)\in {\mathbb{R}}^{\lambda \times \frac{d}{\mathrm{H}}}\), and \(\mathrm{MHA}\left(\bullet \right)\) refers to the multi-head attention operation. In addition, \({\mathrm{W}}_{i}^{q}\in {\mathbb{R}}^{d\times \frac{d}{\mathrm{H}}}\), \({\mathrm{W}}_{i}^{k}\in {\mathbb{R}}^{d\times \frac{d}{\mathrm{H}}}\), \({\mathrm{W}}_{i}^{v}\in {\mathbb{R}}^{d\times \frac{d}{\mathrm{H}}}\), and \({\mathrm{W}}^{o}\in {\mathbb{R}}^{d\times d}\). H refers to the number of multi-head attention. In the current study, we use H = 8.
Attention is calculated using scaled dot-product calculation, which is faster and reduces computational stress after scaling. The scaled dot product accepts three parameters as input: query \({q}_{i}^{{\lambda }^{\star }}\in {\mathbb{R}}^{d}\), \(i\in [1, \lambda ]\), and a set of key-value pairs of d-dimensional vectors \(\{({k}_{i},{v}_{i}){\}}_{i=\mathrm{1,2},...,N}\) (\(\lambda \) denotes the number of queries, and N indicates the number of key-value pairs). Hence, the scaled dot product can be described as follows:
where \(\alpha \) is the attention weight, \(K=\left[{k}_{1},{k}_{2},...,{k}_{N}\right]\in {\mathbb{R}}^{N\times d}\), and \(V=\left[{v}_{1},{v}_{2},...,{v}_{N}\right]\in {\mathbb{R}}^{N\times d}.Q=\left[{q}_{1},{q}_{2},...,{q}_{N}\right]\in {\mathbb{R}}^{\lambda \times d}\).
Loss function
Finally, the cross-entropy loss function is adopted as the objective function of our model:
where i refers to the index of the decoding position, y denotes the ground truth label, and s denotes the recognition result.
Datasets and experimental details
Commonly used evaluation datasets
To evaluate the robustness and effectiveness of the proposed model, we analyze its performance on the following six public databases:
IIIT5K [31], which includes 3000 images for testing. The images are street view and digital images.
SVT [32], which includes 647 images for evaluation, which are processed into a blurred and low-resolution condition using certain methods for evaluation.
IC13 [33], some of which images are inherited from IC03 [34], and we remove non-alphanumeric images without dictionary linkage.
IC15 [35], which is collected by Google Glasses, is the most complex dataset in recent years. Most images have varying levels of distortions and blurring.
SVT-P [36] contains 645 cropped images from Google Street View that are randomly distorted and have different perspectives, which is used for evaluation.
CUTE80 [27] includes 288 cut images for evaluation. Most of the images have a complex background, perspective scrambling, and low resolution.
Data augmentation
To increase image diversity and achieve a low-quality image condition, we implement some methods on the original images, including random angle, affine, and perspective transformations, to realize image rotation and scaling. We also use two methods, namely, gaussian blur and motion blur, to add noise to the original images and blur the images.
Implementation details
Our method is trained on SynText [37] and Synth90K [38], with approximately 12 million images as the training set. The experiments are conducted on NVIDIA V100 GPU with 32 G memory. We use Adam [39] as the optimizer, with a learning rate of 0.001. The final decay is 0.0005, and the batch size is 512.
Ablation study
Effectiveness of the rectification module
Considering that real scenes contain many irregular images, we select a representative dataset, CUTE80, as the testing set to verify the effect of the rectification module. As shown in Fig. 9, examples 1–6 effectively rectify irregular images into a horizontal state. For example, example 6 “football” is nearly rectified into a horizontal state by the rectification module.
To verify the role of the rectification module on the recognition capability of the overall network, we add and remove the rectification module from the model. The performance comparison results are presented in Table 3. After adding the rectification module, accuracy achieves 0.7%, 0.5%, 1%, 1.3%, and 1.4% improvement on the SVT, IC13, IC15, SVTP, and CUTE80 datasets. The data also show that the rectification module exerts a significant effect on the recognition of curved and irregular text.
We also perform an experiment to observe the feature of the first layer in the CNN extractor module. The heat map also demonstrates that the rectification module exhibits an evident effect on irregular images. An example is presented in Fig. 10, the raw image is presented in Fig. 9, Example 6.
Effectiveness of the SCM
To verify the role of the proposed SCM, we add and remove the SCM to form two different models for comparison. Then, we select SVT, SVTP, and CUTE80 to comprise the testing set. Among them, the SVT dataset contains many severely blurred images, while SVTP has many low-resolution images. Moreover, CUTE80 contains many irregular images, some of which images are also in low-resolution condition. The experiment proves that adding the SCM can effectively improve the recognition of low-quality images, achieving 0.4%, 3.1%, and 3.5% improvement on the SVT, SVTP, and CUTE80 datasets, respectively, as indicated in Table 4. The results demonstrate that the SCM can improve the performance of the entire network, enriching semantic information.
We select some challenging images to evaluate the effect of the SCM. The feature heat maps generated with and without the SCM are shown in Fig. 11. Both heat maps are overlaid with the feature maps after the first layer in the CNN extractor to show text information. Evidently, the attention features are more robust concentrated on the text area with SCM. The images are clearer and have more abundant text information compared with the condition without SCM, particularly when the image is irregular and blurred, such as “CLUB” in Example 1, Fig. 11a, and the “CUISINE” in Example 3, Fig. 11c. It indicates that SCM can help to distinguish better between text and non-text areas.
Effectiveness of the GCM
To verify the effectiveness of the GCM in sequence context modeling, we discuss the effects of adding and removing the GCM on the model. The number of fundamental blocks in the self-attention module is also discussed. We first remove the GCM. The accuracy indicated in Table 5 shows that the performance deteriorates when the GCM is removed. Moreover, the data show that the model reaches its optimal state when the number of blocks is one. Moreover, when considering the training speed in the entire network, the multi-head H hyperparameter is set to 8 which is best choice. When the number of blocks is increased to three, the results are relatively close to that when the number of blocks is 1. Hence, increasing the number of blocks makes no difference. The recognition rates achieved 2%, 0.4%, 1.5%, and 2.5% improvement on the IC15, CUTE80, IC13, and SVTP datasets, respectively, comparing with the condition without GCM. This finding implies that adopting the GCM in sequence context modeling helps improve the performance of the model, enhancing the capability for long-range dependencies.
Influence of the number of fundamental blocks in the decoder
To evaluate the hyperparameter in the decoder part, we examine its performance by testing its accuracy on IC13 and CUTE80. As indicated in the Table 6, we set the number of blocks to 1, 3, and 6, respectively, and we set the number of multi-head hyperparameters to 8 and 16, respectively. Evidently, the model reaches the best state when the number of blocks is three and the H hyperparameter of multi-head is eight. When we increase the number of fundamental blocks, the results become worse and the training speed becomes slower, implying that a higher number is not necessarily better. This finding is consistent with the experimental results in [7], and a smaller number of blocks will accelerate training speed.
Comparisons in our proposed dataset
Most text recognizers are trained on benchmark datasets, such as SynText, Synth90K, and SynthAdd, to compare the accuracy of six public evaluation databases. However, these public training datasets do not have Chinese characters. Hence, we have to utilize Chinese datasets for Chinses scenes, and we use our proposed dataset as training set to compare the ability of text recognizers.
To demonstrate the performance of our proposed model in our proposed dataset, we compared it with Aster [18], and DAN [42]. They were trained on the training sets of our proposed dataset. All of these models were tested on the testing dataset of our proposed dataset, and the results are presented in Table 7, where Data-Aug denote the data augmentation function.
As shown in Table 7, the comparison of Aster and our model showed that our proposed model produced better recognition results with a 6.9% improvement in the proposed datasets. Our model also performed better than DAN with a 2.8% improvement.
To explore the capability of our proposed model on recognizing Chinese real express sheet images, we compare it with DAN, and our proposed approach and DAN are first trained on our proposed dataset with the same settings, and then tested on real express sheet images. The recognized text images are cut from the real express sheet images. Among them, the left side represents the recognition results of DAN, while the right side shows the recognition results of our proposed model. As shown in Fig. 12, we can obviously observe that DAN erroneously recognizes the characters in red font. Our model gave the correct results in yellow font. By contrast, our proposed method provides better results when dealing with these challenging images in express sheet images.
Recognition of real logistics sheet images
Each express package contains an express sheet, which includes some important shipping information and customer information, such as sender information, recipient information, and shipping destination code, as shown in Fig. 13. Sender information and recipient information both have the information of address, name, and telephone num. These information plays the significant role of intelligent sorting in distribution centers, but also customer information can be extracted quickly in end distribution.
We first use the text detector to detect the key information which we want to recognize on the express sheet images, and then use our proposed text recognizer to predict the results. We choose two difficult scenes to verify the performance of our model, and our proposed model was trained on our proposed Chinese dataset and tested on real express sheet image.
Curved express sheet recognition in end distribution
To test the recognition performance of our model for curved text, we selected an express sheet image, as shown in Fig. 14; the left part is express sheet image and the right part is the recognition result in red box. We first detect each region which we want to recognize by a text detector, these regions were detected in blue boxes, and then input each region to our proposed text recognizer. Figure 14 shows that our model performs well for curved text, as well as for multi-scale, long and short text. Although sender information is in the blurred and small conditions, our proposed model still ensures the recognition accuracy. The recognized text contains English characters, numbers, and Chinese characters. This finding shows our model can solve the curved express sheet images with the rectification module.
The sample of curved express sheet image and its recognition result. The program was conducted on Python. We mosaicked the sensitive information such as name and telephone num. The left part is express sheet image, and each recognition region was detected in blue box, the right part is the recognition result in red box
Blurred express sheet recognition in end distribution
We likewise selected the blurred, low-quality express sheet image to test our model, and we picked the logistics sheet image which is shown in Fig. 15; the upper part is the express sheet image and the below part is the corresponding result. From Fig. 15, we can observe that our model misidentified two characters in small red box of recognition part, because they are too blurred. Despite that, our proposed model can still handle the remaining blurred characters, including English characters, numbers, and Chinese characters. By experimental analysis, unless the character is too blurred and in the most challenging condition, our proposed model can ensure the accuracy of recognition; it indicates that the idea of context modeling plays an important role in enhancing sematic information and the capability for long-range dependencies.
Experiments on multi-challenging express sheet images from distribution center
At present, over 100 million express packages are handled every day in China. With the development of the e-commerce industry, the logistics industry still has a promising future, but artificial intelligence technology should be introduced to improve the automatic sorting and deliver packages. The logistics industry adds text recognition technology to the automatic sorting line, replacing manual labor to realize the automatic distribution. To test the effectiveness of our proposed model, we select challenging images in the distribution center to test the performance of the method. The images from end distribution were collected by personal phone, such as Figs. 14, 15, all the express sheet images in distribution center are captured by camera like Fig. 16, and we first crop the sheet region by our detector. Generally, we divided these images into the following six scenes:
-
1.
Regular scenes
This kind of image can be seen clearly which is shown in Fig. 17, the whole image does not suffer from damage, and text regions are very clear. When we recognized these images, we first use text detector to detect all the key information in the image, as shown in Fig. 17, the area inside the blue box is the detected text region, and then, we crop each text region and send it to our model. After the recognition of our model, as shown in Fig. 17, the left side is the detected logistics sheet image, and the right side is the recognition result corresponding to the text area one-to-one. Almost 100% accuracy can be achieved.
-
2.
Images with black background
As shown in Fig. 18, this kind of image is collected by the camera in the distribution center. Because the light is relatively dark, the background of the text image is very black. The recognized text regions include long and short text sequences, English and Chinese characters. We can hardly distinguish this kind of image with our eyes, but our model can give almost all correct recognition results, indicating that our model can adapt to changes in lighting and can handle some extreme background images.
-
3.
Blurred images
Usually, it takes 2–3 days to complete a logistics package shipment, these logistics sheets attached to the package are prone to friction, resulting in stroking blurred in the text area, and an example is shown in Fig. 19. We use our proposed Chinese dataset which contains stroking blurred text as training dataset. Although the image is blurred, our model can handle this scene and still identify the key information, including recipient’s address, name and phone number, and sender’s address, name and phone number. This shows that our proposed model effectively enhances the ability of carrying semantic information and models the long-range dependency between the characters.
-
4.
Dirty text images
Generally, the images in logistics industry are complex and diverse. For example, in the image like Fig. 20, text areas have a lot of stains and some regions are very blurred. Although the recipient's phone number is hard to distinguish, our model can predict the phone number correctly after careful identification. After zooming in on the image, we can see that our model still gives an accuracy rate close to 100% on recipient's information. The sender region of this image is very small and in the super low-resolution condition, especially the sender’s address information which marked inside the red box, only 60% of sender address information is recognized correctly in red box, indicating that our model still faces the challenge if the text image is too blurred and the text region is too small; it means that the text is in the super low-resolution condition.
-
5.
Twisted images
The logistics images in the distribution center may be collected at any angle; if the package processing volume is too large, the operator's negligence is prone to image distortion, which brings great difficulty to recognition. As shown in Fig. 21, the image is distorted, and the overall image is in a low-resolution state, which causes the entire sender information failed to be recognized, which marked with red rectangular box. Even though we zoom in on this image, our eyes cannot distinguish the sender regions, because the image quality is too poor, the sender text area is too small, and the fonts are connected. While, in the recipient area, although it is also in the distorted state, our model misidentified two characters, which are marked with small red boxes, respectively. By analysis, we get the conclusion that the recipient area is larger comparing the sender area; if the text region is both blurred and small, it is really hard to recognize.
-
6.
Degraded image
This is the most challenging logistics image, like Fig. 22, text regions are close to the missing state, as shown in Fig. 22, the sender's text regions are missing, the recipient’s region is in the super low-resolution state, and the overall recognition rate is only 50%. At present, such images are regarded as non-standard images in actual operation, because it is difficult to recognize and handle this kind of image.
Comparisons of metrics between our proposed datasets with public datasets
We divide these public datasets into irregular text datasets and regular text datasets, which is same as reference [42, 44, 45]. To better compare our proposed datasets with these public datasets, we carefully analyzed the distribution of each dataset and randomly selected 1200 from our dataset for analysis. For the regular dataset, we selected IC13, whose most of the images are relatively clear, and there are few curved images in IC13; generally, most of the regular datasets are relatively easy to recognize. For the irregular dataset, we selected CUTE80, IC15, and SVTP for comparison.
To verify the rationality and validity of our proposed dataset, we quantitatively analyze the distribution of curved and blurred images in each dataset; the curved and blurred images are the most challenging points in text recognition; combining the performance of each dataset on our proposed method, we then analyze and compare our dataset with the publicly datasets.
First of all, these public datasets are all English characters. We need to solve the recognition of Chinese logistics sheet images, so we propose this Chinese dataset. As shown in Table 8, we set the following metrics for analysis, total images mean the number of images in each dataset, curved images denote the number of curved images in each dataset, blurred images denote the number of blurred images in each dataset, curved and blurred images denote the number of blurred images in metric of curved images, which mean these images are both curved and blurred, blurred ratio denotes the ratio of blurred images to the total images, and curved ratio denotes the ratio of curved images to the total images. Accuracy on our proposed method denotes that the dataset was tested on our proposed method with the performance of accuracy.
First, we analyze the distribution of curved images. There are 113 curved images in our total 1200 images, and our dataset’s curved ratio is 9.00%. IC13 as the regular dataset in public datasets only have four curved images, its curved ratio is only 0.39% which is the lowest one, and it has the highest accuracy on our proposed method. CUTE80 owns the highest curved ratio and all most half of CUTE80’s images are curved; however, its accuracy on our proposed dataset is second only to IC13, which is an interesting finding.
Second, we analyze the distribution of blurred images, there are 108 blurred images in our total 1200 images, we find an interesting thing is that IC15 as the irregular dataset has the highest blurred ratio in all these datasets, and its accuracy on our proposed method is the lowest one in these datasets; by analysis, IC15 is the most challenging dataset in public datasets; most of its images are in blurred or low-resolution condition. Although CUTE80 has the highest curved ratio, however, the highest curved ratio has small effect on its accuracy on our proposed method.
In general, our proposed dataset is similar SVTP, our curved ratio and blurred ratio are close, and our accuracy on the model is also similar. This prompted us to think, how to improve text recognition ability and what is the most challenging things that determine the performance of the text recognizers. We have the following conclusions. First, blurred ratio is the most key point that should be paid attention to, because it affects the performance of accuracy more. Although nearly half of CUTE80's images are curved, its accuracy on our proposed method is the second best, and it indicates that our rectification module can effectively rectify the curved images into horizontal state. Besides, some artist fonts are other difficult points which should be focused on.
Training speed analysis
In this section, we conduct an analysis to compare training speed. We train Aster and our proposed model on NVIDIA V100 GPU 32 G two cards. We utilize the SynText and Synth90K as training datasets, and batch size is set to 512. As indicated in Table 9, Aster requires an 80.5 Mb storage resource, and its training speed is 0.53 s per batch. That of our proposed model is approximately 0.22 s per batch, which is faster than that of Asters due to the parallel computation in our proposed model. Although our proposed model requires more storage resource, it improves low-quality text recognition performance. Some self-attention models may require more storage memory to have more powerful capability to meet real requirements, such as some methods in the field of NLP. Moreover, we select images from CUTE80 to test the inference speed, as is shown in Table 9. The evaluation speed of our proposed model is 10.1 ms per image, which is also better than that of Aster.
Comparisons with state-of-the-art methods
The performance comparison between several previous excellent algorithms and our proposed method on benchmark datasets is provided in Table 10. With the help of the rectification module, SCM, GCM, and the transformer-based decoder, our proposed text recognizer achieves higher recognition results on three datasets, namely, the two irregular datasets IC15, SVTP, and the regular dataset IC13. This finding indicates that the rectification module effectively rectifies the shape of irregular text. Moreover, we assert that context modeling plays an important role in recognizing low-resolution images, such as images in SVTP. Meanwhile, the visual features extracted by CNN are important complements to the global semantic information, achieving 2%, 0.7%, and 3.1% improvement on the IC13, IC15, and SVTP datasets, respectively, compared with second best results in Table 10.
Conclusions
In this study, we assert that context modeling plays a significant role in a robust and efficient text recognizer. We propose a novel model that combines CNN and a lightweight transformer-based decoder for text recognition. This model can be trained in parallel and exhibits the capability for global computation. We use the SCM to improve full-image information-carrying capability, while the GCM is integrated to enhance long-range dependencies. Moreover, a Chinese text dataset is proposed for solving Chinese character recognition, particularly in express sheet images. In addition, the function that constructs our proposed dataset may provide inspiration for other text recognition scenes given that natural scenes are complex. The model performs well on five publicly available datasets, particularly in irregular and low-resolution cases. Inspired by the performance of language models in the field of NLP, we will add language model for multi-modal learning to correct too blurred characters in the future.
References
Baek J, Kim G, Lee J et al (2019) What is wrong with scene text recognition model comparisons dataset and model analysis. In: Proceedings of IEEE/CVF international conference on computervision, pp 4714–4722. https://doi.org/10.1109/ICCV.2019.00481
Jaderberg M, Simonyan K, Zisserman A et al (2015) Spatial transformer networks. In: Proceedings of conference and workshop on neural information processing systems, pp 2017–2025
He K, Zhang X, Ren S et al (2016) Deep residual learning for image recognition. In: 2016 IEEE conference on computer vision and pattern recognition (CVPR), pp 770–778. https://doi.org/10.1109/CVPR.2016.90
Shi B, Bai X, Yao C (2015) An end-to-end trainable neural network for image-based sequence recognition and its application to scene text recognition. IEEE Trans Pattern Anal Mach Intell 39(11):2298–2304. https://doi.org/10.1109/TPAMI.2016.2646371
Sundermeyer M, Schlüter R, Ney H (2012) Lstm neural networks for language modeling. In: Thirteenth annual conference of the international speech communication association, pp 4. https://doi.org/10.21437/Interspeech.2012-65
Cheng Z, Bai F, Xu Y et al (2017) Focusing attention: towards accurate text recognition in natural images. In: Proceedings of IEEE international conference on computer vision, pp 5086–5094. https://doi.org/10.1109/ICCV.2017.543
Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L et al (2017) Attention is all you need. In: Advances in neural information processing systems, pp 5998–6008
Carion N, Massa F, Synnaeve G et al (2020) End-to-end object detection with transformers. In: Proceedings of european conference on computer vision, pp 213–229. https://doi.org/10.1007/978-3-030-58452-8_13
Zhu X, Su W, Lu L et al (2021) Deformable DETR: deformable transformers for end-to-end object detection. abs/2010.04159
Vaidwan H, Seth N, Parihar A S, Singh K (2021) A study on transformer-based object detection. In: Proceedings of 2021 international conference on intelligent technologies (CONIT), pp 1–6. https://doi.org/10.1109/CONIT51480.2021.9498550
Lu N, Yu W, Qi X et al (2021) MASTER: multi-aspect non-local network for scene text recognition. Patt Recogn 117:107980. https://doi.org/10.1016/j.patcog.2021.107980
Lee J, Park S, Baek J, Oh S J, Kim S, Lee H (2020) On recognizing texts of arbitrary shapes with 2D self-attention. In: Proceedings of the IEEE conference on computer vision and pattern recognition workshops (CVPRW), pp 2326–2335. https://doi.org/10.1109/CVPRW50498.2020.00281
Kim Y G, Kim H, Kang M, Lee H J, Lee R, Park G (2021) Analysis of the novel transformer module combination for scene text recognition. In: proceedings of 2021 IEEE international conference on image processing (ICIP), pp 1229–1233. https://doi.org/10.1109/ICIP42928.2021.9506779
Ren L, Zhou H, Chen J et al (2021) A transformer-based decoupled attention network for text recognition in shopping receipt images. In: Proceedings of neural computing for advanced applications, pp 563–577. https://doi.org/10.1007/978-981-16-5188-5_40
Zhu Y, Wang S, Huang Z, Chen K (2019) text recognition in images based on transformer with hierarchical attention. In: Proceedings of 2019 IEEE international conference on image processing (ICIP), pp 1945–1949. https://doi.org/10.1109/ICIP.2019.8803203
Huang Z, Wang X, Huang L, Huang C., Wei Y, Liu W (2019) CCNet: criss-cross attention for semantic segmentation. In: Proceedings of 2019 IEEE/CVF international conference on computer vision, pp 603–612. https://doi.org/10.1109/ICCV.2019.00069
Shi B, Wang X, Lyu P, Yao C, Bai X (2016) Robust scene text recognition with automatic rectification. In: Proceedings of conference on computer vision and pattern recognition, pp 4168–4176. https://doi.org/10.1109/CVPR.2016.452
Shi B, Yang M, Wang X et al (2019) ASTER: an attentional scene text recognizer with flexiblerectification. IEEE Trans Pattern Anal Mach Intell 41(9):2035–2048. https://doi.org/10.1109/TPAMI.2018.2848939
Zhan F, Lu S (2019) ESIR: end-to-end scene text recognition via iterative image rectification. In: CVPR, pp 2054–2063. https://doi.org/10.1109/CVPR.2019.00216
Zhang Y, Nie S, Liu W et al (2019) Sequence-to-sequence domain adaptation network for robust text image recognition. In: Proceedings of IEEE/CVF conference on computer vision and pattern recognition, pp 2735–2744. https://doi.org/10.1109/CVPR.2019.00285
Wan Z, Zhang J, Zhang L et al (2020) On vocabulary reliance in scene text recognition. in: Proceedings of IEEE/CVF conference on computer vision and pattern recognition, pp 11422–11431. https://doi.org/10.1109/CVPR42600.2020.01144
Yu D, Li X, Zhang C et al (2020) Towards accurate scene text recognition with semantic reasoning networks. In: Proceedings of IEEE/CVF conference on computer vision and pattern recognition, pp 12110–12119. https://doi.org/10.1109/CVPR42600.2020.01213
Qiao Z, Zhou Y, Yang D et al (2020) SEED: semantics enhanced encoder-decoder framework forscene text recognition. In: 2020 IEEE/CVF conference on computer vision and pattern recognition, pp 13525–13534. https://doi.org/10.1109/CVPR42600.2020.01354
Zhang H, Yao Q, Yang M et al (2020) AutoSTR: efficient backbone search for scene text recognition. In: Proceedings of European conference on computer vision, pp 751–767. https://doi.org/10.1007/978-3-030-58586-0_44
Liu Z, Li Y, Ren F, Goh W L, Yu H (2018) SqueezedText: a real-time scene text recognition by binary convolutional encoder-decoder network. In: Proceedings of association for the advancement of artificial intelligence, pp 7194–7201
Li B, Tang X, Qi X et al (2020) Hamming OCR: a locality sensitive hashing neural network for scene text recognition. arXiv:2009.10874
Risnumawan A, Shivakumara P, Chan CS et al (2014) A robust arbitrary text detection system for natural scene images. Expert Syst Appl 41(18):8027–8048. https://doi.org/10.1016/j.eswa.2014.07.008
Lin T Y, Piotr D, Ross G, He K M, Bharath H, Serge B (2017) Feature pyramid networks for object detection. In: Proceedings of conference on computer vision and pattern recognition, pp 2117–2125. https://doi.org/10.1109/CVPR.2017.106
He KM, Zhang XY, Ren SQ, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the ieee conference on computer vision and pattern recognition, pp 770–778
Cao Y, Xu J, Lin S, Wei F, Hu H (2019) GCNet: non-local networks meet squeeze-excitation networks and beyond. In: Proceedings of international conference on computer vision workshop, pp 1971–1980. https://doi.org/10.1109/ICCVW.2019.00246
Mishra A, Alahari K, Jawahar C V (2012) Scene text recognition using higher order language priors. In: Proceedings of British machine vision conference, pp 1–11. https://doi.org/10.5244/C.26.127
Wang K, Babenko B, Belongie SJ (2011) End-to-end scene text recognition. In: Proceedings of the ICCV, pp 1457–1464
Karatzas D, Shafait F, Uchida S, Iwamura M, Bigorda GL, Mestre SR, Mas J, Mota DF, Almazan JA et al (2013) ICDAR 2013 robust reading competition. In: ICDAR, pp 1484–1493. https://doi.org/10.1109/ICDAR.2013.221
Lucas SM, Panaretos A, Sosa L, Tang A, Wong S, Young R (2003) ICDAR 2003 robust reading competitions. In: ICDAR, pp 682–687
Karatzas D, Gomez-Bigorda L, Nicolaou A, Ghosh S, Bagdanov A, Iwamura M, Matas J, NeumannL, Chandrasekhar V R et al (2015) ICDAR 2015 competition on robust reading. In: ICDAR, pp 1156–1160. https://doi.org/10.1109/ICDAR.2015.7333942
Phan T Q, Shivakumara P, Tian S et al (2013) Recognizing text with perspective distortion in natural scenes. In: 2013 IEEE international conference on computer vision, pp 569–576. https://doi.org/10.1109/ICCV.2013.76
Gupta A, Vedaldi A, Zisserman A (2016) Synthetic data for text localisation in natural images. In: Proceedings of computer vision and pattern recognition, pp 2315–2324. https://doi.org/10.1109/CVPR.2016.254
Jaderberg M, Simonyan K, Vedaldi A, Zisserman A (2014) Synthetic data and artificial neural networks for natural scene text recognition. In: Proceedings of advances in neural information processing systems workshop
Kingma DP, Ba J (2015) Adam: a method for stochastic optimization. In: Proceeding of international conference for learning representations
Luo C, Jin L, Sun Z (2019) MORAN: a multi-object rectified attention network for scene text recognition. Patt Recogn 90:109–118. https://doi.org/10.1016/j.patcog.2019.01.020
Yang M, Guan Y, Liao M, He X, Bian K, Bai S, Yao C, Bai X (2019) Symmetry constrained rectification network for scene text recognition. In: Proceedings of IEEE international conference on computer vision, pp 9147–9156. https://doi.org/10.1109/ICCV.2019.00924
Wang TW, Zhu YZ, Jin LW, Luo CJ, Chen XX, Wu YQ, Wang QY, Cai MX (2020) Decoupled attention network for text recognition. In: proceeding of the Association for the Advance of Artificial Intelligence, pp 12216–12224. https://doi.org/10.1609/aaai.v34i07.6903
Wang YZ, Lian ZH (2020) Exploring font-independent features for scene text recognition. In: European conference on computer vision, pp 1900–1920. https://doi.org/10.1145/3394171.3413592
Yang L, Wang P, Li H, Li Z, Zhang Y (2020) A holistic representation guided attention network for scene text recognition. Neurocomputing 2020:67–75. https://doi.org/10.1016/j.neucom.2020.07.010
Wang C, Liu CL (2021) Multi-branch guided attention network for irregular text recognition. Neurocomputing 425:278–289. https://doi.org/10.1016/j.neucom.2020.04.129
Ma X, He K, Zhang D et al (2021) PIEED: position information enhanced encoder-decoder framework for scene text recognition. Appl Intell 51(10):6698–6707. https://doi.org/10.1007/s10489-021-02219-3
Acknowledgements
We gratefully acknowledge the support of DONGPU Software Co., Ltd with the providing of the NVIDIA GPU used for this research.
Funding
We declare that we have no financial and personal relationships with other people or organizations that can inappropriately influence our work, and there is no professional or other personal interest of any nature or kind in any product, service and/or company that could be construed as influencing the position presented in, or the review of, the manuscript entitled, “Scene Text Recognition via Context Modeling for Low-quality Image in Logistics Industry”.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflicts of interest
The authors declare that they have no conflicts of interest to this work.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Heng, H., Li, P., Guan, T. et al. Scene text recognition via context modeling for low-quality image in logistics industry. Complex Intell. Syst. 9, 3229–3248 (2023). https://doi.org/10.1007/s40747-022-00916-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40747-022-00916-1