Foreground and Text-lines Aware Document Image Rectification

Heng Li, Xiangping Wu, Qingcai Chen, Qianjin Xiang
2/14/2026

Abstract

This paper aims at the distorted document image rectification problem, the objective to eliminate the geometric distortion in the document images and realize document intelligence. Improving the readability of distorted documents is crucial to effectively extract information from deformed images. According to our observations, the foreground and text-line of the original warped image can represent the deformation tendency. However, previous distorted image rectification methods pay little attention to the readability of the warped paper. In this paper, we focus on the foreground and text-line regions of distorted paper and proposes a global and local fusion method to improve the rectification effect of distorted images and enhance the readability of document images. We introduce cross attention to capture the features of the foreground and text-lines in the warped document and effectively fuse them. The proposed method is evaluated quantitatively and qualitatively on the public DocUNet benchmark and DIR300 Dataset, which achieve state-of-the-art performances. Experimental analysis shows the proposed method can well perform overall geometric rectification of distorted images and effectively improve document readability (using the metrics of Character Error Rate and Edit Distance). The code is available at https://github.com/xiaomore/Document-Image-Dewarping.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{li2026foreground,
  title  = {Foreground and Text-lines Aware Document Image Rectification},
  author = {Heng Li and Xiangping Wu and Qingcai Chen and Qianjin Xiang},
  year   = {2026},
  doi    = {10.1109/ICCV51070.2023.01793},
  url    = {https://doi.org/10.1109/ICCV51070.2023.01793},
  journal = {ICCV 2023 2023}
}

Discussion