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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Rashid, Umar, Arshad, Muhammad Arslan, Ahmad, Ghulam, Anjum, Muhammad Zeeshan, Khan, Rizwan, Akmal, Muhammad
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918193209016320
author Rashid, Umar
Arshad, Muhammad Arslan
Ahmad, Ghulam
Anjum, Muhammad Zeeshan
Khan, Rizwan
Akmal, Muhammad
author_facet Rashid, Umar
Arshad, Muhammad Arslan
Ahmad, Ghulam
Anjum, Muhammad Zeeshan
Khan, Rizwan
Akmal, Muhammad
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2511_06087
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Hybrid CNN-ViT Framework for Motion-Blurred Scene Text Restoration
Rashid, Umar
Arshad, Muhammad Arslan
Ahmad, Ghulam
Anjum, Muhammad Zeeshan
Khan, Rizwan
Akmal, Muhammad
Computer Vision and Pattern Recognition
Artificial Intelligence
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.
title Hybrid CNN-ViT Framework for Motion-Blurred Scene Text Restoration
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2511.06087