High-Resolution Document Shadow Removal via A Large-Scale Real-World Dataset and A Frequency-Aware Shadow Erasing Net

Zinuo Li, Xuhang Chen, Chi-Man Pun, Xiaodong Cun
8/1/2023

No official code found. Best implementation: CXH-Research/DocShadow-SD7K (210 stars, MIT, last commit 2024-06-18).

Abstract

Shadows often occur when we capture the document with casual equipment, which influences the visual quality and readability of the digital copies. Different from the algorithms for natural shadow removal, the algorithms in document shadow removal need to preserve the details of fonts and figures in high-resolution input. Previous works ignore this problem and remove the shadows via approximate attention and small datasets, which might not work in real-world situations. We handle high-resolution document shadow removal directly via a larger-scale real-world dataset and a carefully-designed frequency-aware network. As for the dataset, we acquire over 7k couples of high-resolution (2462 × 3699) images of real-world documents pairs with various samples under different lighting circumstances, which is 10 times larger than existing datasets. As for the design of the network, we decouple the high-resolution images in the frequency domain, where the low-frequency details and high-frequency boundaries can be effectively learned via the carefully designed network structure. Powered by our network and dataset, the proposed method shows a clearly better performance than previous methods in terms of visual quality and numerical results. The code, models, and dataset are available at https://github.com/CXH-Research/DocShadow-SD7K.

View on arXivView PDF

Code Implementations(1)

MIT

[ICCV 2023] A large-scale high-resolution dataset satisfies all important data features about document shadow, covers a large number of document shadow images.

21014PythonJul 16, 20232 years agoMIT
document-shadow-removaliccv2023shadow-removal

Similar Papers

Cite this paper

@article{li2023highresolution,
  title  = {High-Resolution Document Shadow Removal via A Large-Scale Real-World Dataset and A Frequency-Aware Shadow Erasing Net},
  author = {Zinuo Li and Xuhang Chen and Chi-Man Pun and Xiaodong Cun},
  year   = {2023},
  eprint = {2308.14221},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2308.14221},
  journal = {ICCV 2023 2023}
}

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

Discussion