Introduction
While Optical Character Recognition (OCR) has reached high levels of maturity for scanned documents, Scene Text Recognition (STR) remains a significant challenge. STR involves identifying text within natural environments—such as street signs or storefronts—where images are often degraded by blur, variable lighting, and perspective distortion. Arabic script presents additional complexities due to its cursive nature, position-dependent character shapes, and reliance on small diacritical marks. This research addresses these challenges by proposing a Convolutional Neural Network (CNN) framework specifically optimized for isolated Arabic characters extracted from scene images.
Methodology
The proposed approach utilizes a deep learning architecture to learn hierarchical features directly from raw pixel data, bypassing the limitations of traditional hand-crafted features.
Preprocessing and Data Augmentation
To prepare the data for the CNN, images are converted to grayscale and resized to a standard $50 \times 50$ pixel resolution. A critical component of the pipeline is data augmentation. To account for the geometric distortions common in scene text, the researchers generate five different orientations for each character image, increasing the robustness of the model to slanted or skewed text.
Architecture Optimization
The study explores several hyperparameter configurations to identify the optimal setup for Arabic script. Key variables included:
- Filter Size: Comparing $3 \times 3$ and $5 \times 5$ kernels.
- Stride: Testing strides of 1 and 2.
- Learning Rate: Evaluating the impact of $0.005$ versus $0.5$.
The network employs Rectified Linear Units (ReLU) for non-linearity and Max Pooling layers to ensure translational invariance.
Datasets and Segmentation
Due to the scarcity of large-scale public datasets for Arabic scene text, the authors developed a custom dataset derived from the EAST (English-Arabic Scene Text) dataset.
Characters were manually segmented to create a dataset of 27 character classes. Through data augmentation, the final dataset comprised 2,700 samples (100 per class), with 2,450 used for training and 250 for testing. This segmentation step is crucial as it transforms the complex cursive script into discrete units suitable for classification.
Key Results and Discussion
The experimental results highlight the importance of high-resolution feature extraction for Arabic script.
- Filter Size Impact: The most significant finding was that $3 \times 3$ filters outperformed $5 \times 5$ filters. Because Arabic characters are often distinguished by minute details like single dots, smaller filters are more effective at capturing these high-frequency features than larger, coarser kernels.
- Model Convergence: The model showed high sensitivity to the learning rate. A lower rate of $0.005$ allowed for stable convergence, whereas a higher rate of $0.5$ led to suboptimal weight updates and higher error rates.
- Performance Comparison: The best-performing configuration ($3 \times 3$ filters, stride 1, learning rate $0.005$) achieved an error rate of 14.57%. This represents a substantial improvement over traditional SIFT-based methods, which reported error rates of approximately 24% for similar Arabic character recognition tasks.
Conclusion and Future Work
This research demonstrates that CNNs, when properly tuned with small filter sizes and data augmentation, are highly effective for Arabic scene character recognition. However, the current reliance on manual segmentation remains a bottleneck for real-world applications. Future research will focus on expanding the dataset and developing end-to-end models capable of recognizing full cursive words directly from scene images without the need for prior character isolation.
Summary updated