arrow
Return

Layout-aware Single-image Document Flattening

delete2023-11-02
delete2
PRE
AI
P
Pu Li
全卫泽 cover
全卫泽 (Weize Quan)
J
Jianwei Guo *
严冬明 cover
严冬明 (Dong‐Ming Yan)
DOI:10.1145/3627818delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Single image rectification of document deformation is a challenging task. Although some recent deep learning-based methods have attempted to solve this problem, they cannot achieve satisfactory results when dealing with document images with complex deformations. In this article, we propose a new efficient framework for document flattening. Our main insight is that most layout primitives in a document have rectangular outline shapes, making unwarping local layout primitives essentially homogeneous with unwarping the entire document. The former task is clearly more straightforward to solve than the latter due to the more consistent texture and relatively smooth deformation. On this basis, we propose a layout-aware deep model working in a divide-and-conquer manner. First, we employ a transformer-based segmentation module to obtain the layout information of the input document. Then a new regression module is applied to predict the global and local UV maps. Finally, we design an effective merging algorithm to correct the global prediction with local details. Both quantitative and qualitative experimental results demonstrate that our framework achieves favorable performance against state-of-the-art-methods. In addition, the current publicly available document flattening datasets have limited 3D paper shapes without layout annotation and also lack a general geometric correction metric. Therefore, we build a new-large-scale synthetic dataset by utilizing a fully automatic rendering method to generate deformed documents with diverse shapes and exact layout segmentation labels. We also propose a newgeometric correction metric based on our paired document UV maps. Code and dataset will be released at https://github.com/BunnySoCrazy/LA-DocFlatten
Keywords:
Document image rectification
document layout analysis
deep neural networks
geometric models

Journal

ACM Transactions on Graphics cover
ACM Transactions on Graphics
IF:
9.5
Papers:
4.8K
Citations:
3.6W

Organization

C
chinese academy of sciences
Scholars:
56.7W
Papers: 45.0W
Citations: 704
Cited Papers

Cited Papers

Thermal Fluctuations and Dynamic Modeling of a dAFM Cantilever
err2019-02-25
err0
PREAI
errElena Pierro; Francesco Bottiglione; Giuseppe Carbone
errShare
errSave
errShare
errSave
Geometric rectification of document images using adversarial gated unwarping network
err2020-12-01
err18
PREAI
errLiu, Xiyan; Meng, Gaofeng; Fan, Bin; Xiang, Shiming; Pan, Chunhong
errShare
errSave
errShare
errSave
Goal-Oriented Rectification of Camera-Based Document Images
err2011-04-01
err64
PREAI
errStamatopoulos, Nikolaos; Gatos, Basilis; Pratikakis, Ioannis; Perantonis, Stavros J.
errShare
errSave
Approaches to stream solute load estimation for solutes with varying dynamics from five diverse small watersheds
err2016-06-17
err0
errOAAI
errBrent T. Aulenbach; Douglas A. Burns; James B. Shanley; Ruth D. Yanai; Kikang Bae; Adam D. Wild; Yang Yang; Dong Yi
errShare
errSave
researcher View more