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

Jiaxin Zhang, Canjie Luo, Lianwen Jin, Fengjun Guo, Kai Ding
7/23/2022
cs.CV

Official code: ZZZHANG-jx/Marior (27 stars, last commit 2022-08-12).

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.

View on arXivView PDF

Code Implementations(1)

ZZZHANG-jx/MariorOfficial100%

[ACM MM 2022] Marior: Margin Removal and Iterative Content Rectification for Document Dewarping in the Wild

270PythonJul 11, 20224 years ago

Similar Papers

Cite this paper

@article{zhang2022marior,
  title  = {Marior: Margin Removal and Iterative Content Rectification for Document Dewarping in the Wild},
  author = {Jiaxin Zhang and Canjie Luo and Lianwen Jin and Fengjun Guo and Kai Ding},
  year   = {2022},
  eprint = {2207.11515},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.11515v1}
}

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

Discussion