Cursive Scene Text Analysis by Deep Convolutional Linear Pyramids

Saad Bin Ahmed, Saeeda Naz, Muhammad Imran Razzak, Rubiyah Yusof

Introduction

Recognizing Arabic text in natural scenes—such as street signs, storefronts, or advertisements—presents a significant challenge for computer vision. Unlike printed Latin text, Arabic script is inherently cursive, characterized by context-sensitive character shapes and complex ligatures where letters are physically connected. These features make traditional explicit segmentation (dividing an image into individual characters) nearly impossible. Furthermore, environmental factors like varying illumination, motion blur, and cluttered backgrounds further complicate the task.

This paper proposes a robust framework to address these hurdles by combining Linear Spatial Pyramids for multi-resolution feature extraction with Multi-Dimensional Long Short-Term Memory (MDLSTM) networks for sequence learning.

Methodology

The proposed system follows a multi-stage pipeline designed to enhance text features before classification, avoiding the need for error-prone character segmentation.

The proposed system architecture, illustrating the flow from input image to sequence learning classification.

Linear Spatial Pyramids

The process begins by decomposing the input image into a 6-level pyramid (Level 0 to Level 5). Each level represents the image at a progressively lower resolution, ranging from 1/2 to 1/32 of the original size. This multi-scale approach ensures the model captures both fine-grained character details and broader structural context.

The Filter Pack

To isolate text from noisy backgrounds, each pyramid level is processed through a "filter pack" of empirically selected kernels. This stage treats text localization as a texture-recognition problem.

  • Gaussian Blurs: Used for noise reduction at different scales.
  • Laplacian Kernels: Employed for isotropic edge detection.
  • Sobel-x and Sobel-y: Capture directional gradients to highlight vertical and horizontal strokes.
  • Sharpening Kernels: Enhance text boundaries against the background.
Visual output of the various filters applied in the filter pack, including blurs, sharpening, Sobel, and Laplacian kernels.

Implicit Segmentation via MDLSTM

The processed images are fed into an MDLSTM network. Unlike standard 1D LSTMs, MDLSTMs scan 2D images, allowing the network to learn character recognition within its visual context. This enables implicit segmentation, where the model identifies characters without requiring predefined boundaries between them.

Experimental Setup and Results

The framework was evaluated using the EASTR-42k dataset, a bilingual (Arabic and English) collection of scene text captured in unconstrained environments. The Arabic portion consists of approximately 8,915 textlines and 10,593 words.

Key Insights

  • Resolution Sensitivity: Experimental results showed that accuracy is highly dependent on resolution. The highest performance was achieved at "py-1" (the largest pyramid level), indicating that high-resolution spatial information is critical for resolving complex Arabic ligatures.
  • Model Complexity: The authors found that an MDLSTM with 100 hidden units provided an optimal balance between representational power and computational efficiency, preventing overfitting while capturing the script's complexity.

Performance Benchmarks

The proposed technique achieved a state-of-the-art 83.0% accuracy on Arabic scene text. This performance significantly exceeds previous benchmarks, such as those by Sonia Y. et al. (55.03%) and Cong Y. et al. (75.0%). While some metrics vary by configuration, the system consistently maintains an F-measure between 0.78 and 0.83.

Conclusion and Future Directions

The combination of multi-resolution pyramids and deep sequence learning offers a powerful solution for cursive scene text recognition. Future work will focus on feature fusion—integrating spatial and statistical features into a hybrid vector—and incorporating Scale Invariant Feature Transform (SIFT) points to improve robustness against extreme perspective distortions and varying distances.

Summary updated

BibTeX
@inproceedings{ahmed2018cursive,
  author = {Saad Bin Ahmed and Saeeda Naz and Muhammad Imran Razzak and Rubiyah Yusof},
  title = {{Cursive Scene Text Analysis by Deep Convolutional Linear Pyramids}},
  booktitle = {ICONIP},
  year = {2018},
  url = {https://openreview.net/forum?id=TqcWVJUNAu},
}
Figure