metadata
license: mit
library_name: pytorch
pipeline_tag: image-to-image
tags:
- document-image-restoration
- dewarping
- deshadowing
- deblurring
- binarization
- appearance-enhancement
- doctra
model-index:
- name: DocRes (Main Weights, docres.pkl)
results: []
DocRes Main Weights (docres.pkl)
These are the official DocRes (CVPR 2024) main weights (docres.pkl), rehosted for use in the Doctra library.
π Source
- Original repository: ZZZHANG-jx/DocRes
- Paper: DocRes: Dynamic Task-Specific Prompt for Generalist Document Image Restoration (CVPR 2024)
βοΈ License
MIT License (see LICENSE file).
Weights are redistributed under the same terms, with attribution to the original authors.
β Intended Use
The docres.pkl weights are used with the DocRes model backbone to perform generalist document image restoration tasks, including:
- π Dewarping
- π Deshadowing
- β¨ Appearance enhancement (illumination cleanup)
- π Deblurring
- β« Binarization
These weights are integrated into the Doctra library to improve preprocessing and restoration of scanned or photographed documents.
β οΈ Limitations
- Performance may not always exceed highly specialized single-task models.
- Trained on specific datasets (see source repo for details).
- Not intended for non-document natural images.