Learning From Documents in the Wild to Improve Document Unwarping
Ke Ma, Sagnik Das, Zhixin Shu, Dimitris Samaras
Abstract
Document image unwarping is important for document digitization and analysis. The state-of-the-art approach relies on purely synthetic data to train deep networks for unwarping. As a result, the trained networks have generalization limitations when testing on real-world images, often yielding unsatisfying results. In this work, we propose to improve document unwarping performance by incorporating real-world images in training. We collected Document-in-the-Wild (DIW) dataset contains 5000 captured document images with large diversities in content, shape, and capturing environment. We annotate the boundaries of all DIW images and use them for weakly supervised learning. We propose a novel network architecture, PaperEdge, to train with a hybrid of synthetic and real document images. Additionally, we identify and analyze the flaws of popular evaluation metrics, e.g., MS-SSIM and Local Distortion (LD), for document unwarping and propose a more robust and reliable error metric called Aligned Distortion (AD). Training with a combination of synthetic and real-world document images, we demonstrate state-of-the-art performance on popular benchmarks with comprehensive quantitative evaluations and ablation studies. Code and data are available at https://github.com/cvlab-stonybrook/PaperEdge.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f5043358-787c-4ec8-ab8d-dcdf42141d3fCited by top-tier papers8
- Foreground and Text-lines Aware Document Image RectificationHeng Li, Xiangping Wu, Qingcai Chen, Qianjin XiangICCV 2023 · 21 citations
- Towards Unified Multi-granularity Text Detection with Interactive AttentionXingyu Wan, Chengquan Zhang, Pengyuan Lyu, Sen Fan et al.ICML 2024 · 4 citations
- ForCenNet: Foreground-Centric Network for Document Image RectificationPeng Cai, Qiang Li, Kaicheng Yang, Dong Guo et al.ICCV 2025 · 1 citation
- Uni-DocDiff: A Unified Document Restoration Model Based on DiffusionFangmin Zhao, Weichao Zeng, Zhenhang Li, Dongbao Yang et al.ACM MM 2025 · 1 citation
- DocRes: A Generalist Model Toward Unifying Document Image Restoration TasksJiaxin Zhang, Dezhi Peng, Chongyu Liu, Peirong Zhang et al.CVPR 2024
Builds on5
- DewarpNet: Single-Image Document Unwarping With Stacked 3D and 2D Regression NetworksSagnik Das, Ke Ma, Zhixin Shu, Dimitris Samaras et al.ICCV 2019 · 97 citations
- DocTr: Document Image Transformer for Geometric Unwarping and Illumination CorrectionHao Feng, Yuechen Wang, Wengang Zhou, Jiajun Deng et al.ACM MM 2021 · 66 citations
- End-to-end Piece-wise Unwarping of Document ImagesSagnik Das, Kunwar Yashraj Singh, Jon Wu, Erhan Bas et al.ICCV 2021 · 41 citations
- Fourier Document Restoration for Robust Document Dewarping and RecognitionChuhui Xue, Zichen Tian, Fangneng Zhan, Shijian Lu et al.CVPR 2022 · 37 citations
- ProAlignNet: Unsupervised Learning for Progressively Aligning Noisy ContoursV. S. R. Veeravasarapu, Abhishek Goel, Deepak Mittal, Maneesh Kumar SinghCVPR 2020
Related papers
- Axis-Aligned Document DewarpingChaoyun Wang, I-Chao Shen, Takeo Igarashi, Caigui JiangAAAI 2026
- Document Registration: Towards Automated Labeling of Pixel-Level Alignment Between Warped-Flat DocumentsWeiguang Zhang, Qiufeng Wang, Kaizhu Huang, Xiaowei Huang et al.ACM MM 2024 · 1 citation
- Revisiting Document Image Dewarping by Grid RegularizationXiangwei Jiang, Rujiao Long, Nan Xue, Zhibo Yang et al.CVPR 2022 · 39 citations
- D2Dewarp: Dual Dimensions Geometric Representation Learning Based Document Image DewarpingHeng Li, Xiangping Wu, Qingcai ChenCVPR 2026
- RDLNet: A Novel and Accurate Real-world Document Localization MethodYaqiang Wu, Zhen Xu, Yong Duan, Yanlai Wu et al.ACM MM 2024 · 6 citations
