Hybrid CNN-ViT Framework for Motion-Blurred Scene Text Restoration

Umar Rashid, Muhammad Arslan Arshad, Ghulam Ahmad, Muhammad Zeeshan Anjum, Rizwan Khan +1 more
11/8/2025
cs.CVcs.AI

No official code found. Best implementation: M-ArslanArshad/hybrid-cnn-vit-deblurring-summary (0 stars, last commit 2025-11-12).

Abstract

Motion blur in scene text images severely impairs readability and hinders the reliability of computer vision tasks, including autonomous driving, document digitization, and visual information retrieval. Conventional deblurring approaches are often inadequate in handling spatially varying blur and typically fall short in modeling the long-range dependencies necessary for restoring textual clarity. To overcome these limitations, we introduce a hybrid deep learning framework that combines convolutional neural networks (CNNs) with vision transformers (ViTs), thereby leveraging both local feature extraction and global contextual reasoning. The architecture employs a CNN-based encoder-decoder to preserve structural details, while a transformer module enhances global awareness through self-attention. Training is conducted on a curated dataset derived from TextOCR, where sharp scene-text samples are paired with synthetically blurred versions generated using realistic motion-blur kernels of multiple sizes and orientations. Model optimization is guided by a composite loss that incorporates mean absolute error (MAE), squared error (MSE), perceptual similarity, and structural similarity (SSIM). Quantitative evaluations show that the proposed method attains 32.20 dB in PSNR and 0.934 in SSIM, while remaining lightweight with 2.83 million parameters and an average inference time of 61 ms. These results highlight the effectiveness and computational efficiency of the CNN-ViT hybrid design, establishing its practicality for real-world motion-blurred scene-text restoration.

View on arXivView PDF

Code Implementations(1)

Hybrid CNN-ViT model for restoring motion-blurred scene-text images using TextOCR dataset and real motion blur kernels. Research preprint: arXiv:2511.06087.

00Nov 9, 202511 months ago

Similar Papers

Cite this paper

@article{rashid2025hybrid,
  title  = {Hybrid CNN-ViT Framework for Motion-Blurred Scene Text Restoration},
  author = {Umar Rashid and Muhammad Arslan Arshad and Ghulam Ahmad and Muhammad Zeeshan Anjum and Rizwan Khan and Muhammad Akmal},
  year   = {2025},
  eprint = {2511.06087},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.06087v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.06087.svg)](https://codeofpaper.com/paper/2511.06087)

Discussion