DocPristine: Content-Aware Document Appearance Enhancement under Real-World Mixed Degradations
Zihan Huang, Junle Liu, Zhonghao Ye, Yuyi Zhang, Peirong Zhang, Hanlin Li, Yongxin Shi, Lianwen Jin
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.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
- Comments
- 10 pages, 5 figures
Related papers
HazeFlux: Few-Step Generative Priors for Real-World Image Dehazing
Shared title terminologycs.CVYunong Liu, Danna Xue, Javier Vazquez-Corral
Which Parameters to Update? An Instance-Specific Adaptation Framework for Real-World Pansharpening
Shared title terminologycs.CVJin-Liang Xiao, Liang-Jian Deng, Yu-Xuan Zhang et al.
A Mesh to Remember: Persistent Appearance for Interactive Video Worlds
Shared title terminologycs.CVJoonghyuk Shin, Alex Trevithick, Katarína Tóthová et al.
SurgGenesis: A Generative Surgical World Model for Future-Aware Surgical Understanding
Shared title terminologycs.CVQirui Zhong, Quande Liu, Yang Chen et al.
MemAnchorWorld: A Sparse World Model with Horizon-Conditioned Memory Retrieval for Autonomous Driving
Shared title terminologycs.CVXinyang Jia, Yuqi Zhang, Jiakai Wang et al.
ICLWorld: Benchmarking In-Context Learning of Agents from Digital to Physical Worlds
Shared title terminologycs.CVQingle Liu, Jieming Li, Pei-lin Li et al.