DocPristine: Content-Aware Document Appearance Enhancement under Real-World Mixed Degradations

Zihan Huang, Junle Liu, Zhonghao Ye, Yuyi Zhang, Peirong Zhang +3 more
11/24/2026
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Camera-captured documents often exhibit mixed degradations, such as highlights, shadows, and blur, that distort backgrounds and obscure text details. Document appearance enhancement (DAE) aims to mitigate these degradations and improve readability.

Show full abstract

Existing document appearance enhancement methods rely either on input-derived visual cues that can become unreliable under severe degradation or on LLM-based degradation diagnosis that lacks spatial guidance. Notably, we find that pretrained document visual encoders continue to attend to text regions in degraded documents, providing content-aware guidance. Based on this insight, we propose DocPristine, which adaptively fuses multi-layer features from a frozen document visual encoder and injects them into a pixel restoration network. To integrate these features into a pixel restoration network, DocPristine combines Adaptive Multi-Layer Feature Fusion (AMFF), Hierarchical Gated Conditioning (HGC), and Shifted-Window Cross-Attention (SWCA). Specifically, SWCA draws on structural cues from neighboring locations across window boundaries to recover fine text details.We also introduce DocACE, with a synthetic mixed-degradation training set (DocACE-Synthetic) and a real-world test set (DocACE-Real) containing manually restored ground-truth images and document parsing annotations. Comprehensive experiments across three benchmarks demonstrate that DocPristine achieves state-of-the-art appearance enhancement quality and consistently improves downstream document parsing. Code, models, and data will be publicly available.

View on arXivView PDF

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!

Similar Papers

Cite this paper

@article{huang2026docpristine,
  title  = {DocPristine: Content-Aware Document Appearance Enhancement under Real-World Mixed Degradations},
  author = {Zihan Huang and Junle Liu and Zhonghao Ye and Yuyi Zhang and Peirong Zhang and Hanlin Li and Yongxin Shi and Lianwen Jin},
  year   = {2026},
  eprint = {2611.32176},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.32176v1}
}

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

Discussion