cs.CVNov 24, 2026

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

Authors: Zihan Huang, Junle Liu, Zhonghao Ye, Yuyi Zhang, Peirong Zhang, Hanlin Li, Yongxin Shi, Lianwen Jin

Organizations: South China University of Technology

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. 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.

Figures & tables

Explore similar work

CardsList
  1. DocDUR-Net: Degradation-Aware Unified Document Image Restoration

    Nov 25, 2026Haowei Xu, Peirong Zhang, Xuhan Zheng +1Image RestorationDegradation-Aware Image Restoration

  2. ENet-GP: Unified Document Image Restoration

    Sep 27, 2026Sujal Burad, Aakanksha, A. N. Rajagopalan +1Image Corruption RobustnessImage Restoration

  3. DocPure: Prompt-Free Unified Document Restoration via Degradation-Aware Structure-Guided Wavelet Modulation

    Aug 10, 2026Lingming Su, Wanglong Lu, Tao Wang +4Image DeblurringAll-in-One Image Restoration