Lune

ACM MM2022Top-tier venue

Marior: Margin Removal and Iterative Content Rectification for Document Dewarping in the Wild

Jiaxin Zhang, Canjie Luo, Lianwen Jin, Fengjun Guo, Kai Ding

Abstract

Camera-captured document images usually suffer from perspective and geometric deformations. It is of great value to rectify them when considering poor visual aesthetics and the deteriorated performance of OCR systems. Recent learning-based methods intensively focus on the accurately cropped document image. However, this might not be sufficient for overcoming practical challenges, including document images either with large marginal regions or without margins. Due to this impracticality, users struggle to crop documents precisely when they encounter large marginal regions. Simultaneously, dewarping images without margins is still an insurmountable problem. To the best of our knowledge, there is still no complete and effective pipeline for rectifying document images in the wild. To address this issue, we propose a novel approach called Marior (Margin Removal and Iterative Content Rectification). Marior follows a progressive strategy to iteratively improve the dewarping quality and readability in a coarse-to-fine manner. Specifically, we divide the pipeline into two modules: margin removal module (MRM) and iterative content rectification module (ICRM). First, we predict the segmentation mask of the input image to remove the margin, thereby obtaining a preliminary result. Then we refine the image further by producing dense displacement flows to achieve content-aware rectification. We determine the number of refinement iterations adaptively. Experiments demonstrate the state-of-the-art performance of our method on public benchmarks. The resources are available at https://github.com/ZZZHANG-jx/Marior for further comparison.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks cites M6Doc: A Large-Scale Multi-Format, Multi-Type, Multi-Layout, Multi-Language, Multi-Annotation Category Dataset for Modern Document Layout Analysis
  • DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks cites DewarpNet: Single-Image Document Unwarping With Stacked 3D and 2D Regression Networks
  • DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks cites DocTr: Document Image Transformer for Geometric Unwarping and Illumination Correction
  • D2Dewarp: Dual Dimensions Geometric Representation Learning Based Document Image Dewarping cites DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks
  • D2Dewarp: Dual Dimensions Geometric Representation Learning Based Document Image Dewarping cites M6Doc: A Large-Scale Multi-Format, Multi-Type, Multi-Layout, Multi-Language, Multi-Annotation Category Dataset for Modern Document Layout Analysis
  • D2Dewarp: Dual Dimensions Geometric Representation Learning Based Document Image Dewarping cites DewarpNet: Single-Image Document Unwarping With Stacked 3D and 2D Regression Networks
  • D2Dewarp: Dual Dimensions Geometric Representation Learning Based Document Image Dewarping cites DocTr: Document Image Transformer for Geometric Unwarping and Illumination Correction
  • D2Dewarp: Dual Dimensions Geometric Representation Learning Based Document Image Dewarping cites DocKylin: A Large Multimodal Model for Visual Document Understanding with Efficient Visual Slimming
  • ForCenNet: Foreground-Centric Network for Document Image Rectification cites DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks
  • ForCenNet: Foreground-Centric Network for Document Image Rectification cites DewarpNet: Single-Image Document Unwarping With Stacked 3D and 2D Regression Networks
  • ForCenNet: Foreground-Centric Network for Document Image Rectification cites DocTr: Document Image Transformer for Geometric Unwarping and Illumination Correction
  • DocTr: Document Image Transformer for Geometric Unwarping and Illumination Correction cites DewarpNet: Single-Image Document Unwarping With Stacked 3D and 2D Regression Networks
  • DocKylin: A Large Multimodal Model for Visual Document Understanding with Efficient Visual Slimming cites DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks
  • DocKylin: A Large Multimodal Model for Visual Document Understanding with Efficient Visual Slimming cites M6Doc: A Large-Scale Multi-Format, Multi-Type, Multi-Layout, Multi-Language, Multi-Annotation Category Dataset for Modern Document Layout Analysis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. DocKylin: A Large Multimodal Model for Visual Document Understanding with Efficient Visual SlimmingJiaxin Zhang, Wentao Yang, Songxuan Lai, Zecheng Xie et al.AAAI 2025 · 39 citations
  2. ForCenNet: Foreground-Centric Network for Document Image RectificationPeng Cai, Qiang Li, Kaicheng Yang, Dong Guo et al.ICCV 2025 · 1 citation
  3. DocRes: A Generalist Model Toward Unifying Document Image Restoration TasksJiaxin Zhang, Dezhi Peng, Chongyu Liu, Peirong Zhang et al.CVPR 2024
  4. D2Dewarp: Dual Dimensions Geometric Representation Learning Based Document Image DewarpingHeng Li, Xiangping Wu, Qingcai ChenCVPR 2026
  5. M6Doc: A Large-Scale Multi-Format, Multi-Type, Multi-Layout, Multi-Language, Multi-Annotation Category Dataset for Modern Document Layout AnalysisHiuyi Cheng, Peirong Zhang, Sihang Wu, Jiaxin Zhang et al.CVPR 2023

Builds on3

  1. Random Erasing Data AugmentationZhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li et al.AAAI 2020 · 4,134 citations
  2. 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
  3. DocTr: Document Image Transformer for Geometric Unwarping and Illumination CorrectionHao Feng, Yuechen Wang, Wengang Zhou, Jiajun Deng et al.ACM MM 2021 · 66 citations

Related papers

  1. Revisiting Document Image Dewarping by Grid RegularizationXiangwei Jiang, Rujiao Long, Nan Xue, Zhibo Yang et al.CVPR 2022 · 39 citations
  2. Foreground and Text-lines Aware Document Image RectificationHeng Li, Xiangping Wu, Qingcai Chen, Qianjin XiangICCV 2023 · 21 citations
  3. 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
  4. DocDiff: Document Enhancement via Residual Diffusion ModelsZongyuan Yang, Baolin Liu, Yongping Xiong, Lan Yi et al.ACM MM 2023 · 55 citations
  5. End-to-end Piece-wise Unwarping of Document ImagesSagnik Das, Kunwar Yashraj Singh, Jon Wu, Erhan Bas et al.ICCV 2021 · 41 citations
Dusk over the sea between two cliffs drawn in fine vertical lines