doctra-docres-main / README.md
DaVinciCode's picture
Doctra repository url corrected
f6ae966
|
raw
history blame
1.52 kB
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.