DocDeshadower: Frequency-Aware Transformer for Document Shadow Removal

Ziyang Zhou, Yingtie Lei, Xuhang Chen, Shenghong Luo, Wenjun Zhang +2 more
7/28/2023
cs.CV

Official code: leiyingtie/DocDeshadower (1 star, MIT, last commit 2024-07-22).

Abstract

Shadows in scanned documents pose significant challenges for document analysis and recognition tasks due to their negative impact on visual quality and readability. Current shadow removal techniques, including traditional methods and deep learning approaches, face limitations in handling varying shadow intensities and preserving document details. To address these issues, we propose DocDeshadower, a novel multi-frequency Transformer-based model built upon the Laplacian Pyramid. By decomposing the shadow image into multiple frequency bands and employing two critical modules: the Attention-Aggregation Network for low-frequency shadow removal and the Gated Multi-scale Fusion Transformer for global refinement. DocDeshadower effectively removes shadows at different scales while preserving document content. Extensive experiments demonstrate DocDeshadower's superior performance compared to state-of-the-art methods, highlighting its potential to significantly improve document shadow removal techniques. The code is available at https://github.com/leiyingtie/DocDeshadower.

View on arXivView PDF

Code Implementations(1)

MIT
10PythonMay 16, 20232 years agoMIT

Similar Papers

Cite this paper

@article{zhou2023docdeshadower,
  title  = {DocDeshadower: Frequency-Aware Transformer for Document Shadow Removal},
  author = {Ziyang Zhou and Yingtie Lei and Xuhang Chen and Shenghong Luo and Wenjun Zhang and Chi-Man Pun and Zhen Wang},
  year   = {2023},
  eprint = {2307.15318},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.15318v2}
}

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/2307.15318.svg)](https://codeofpaper.com/paper/2307.15318)

Discussion