AI SeedbankHelp preserve open and free AI for humanity's future

← All models

PaddlePaddle_UVDoc

PaddlePaddle · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 2 · Leechers: 0

Observed 2026-09-05T20:48:33Z across trackers.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 library_name: PaddleOCR language:

  • en
  • zh pipeline_tag: image-to-text tags:
  • OCR
  • PaddlePaddle
  • PaddleOCR
  • doc_img_unwarping

UVDoc

Introduction

The main purpose of text image correction is to carry out geometric transformation on the image to correct the document distortion, inclination, perspective deformation and other problems in the image, so that the subsequent text recognition can be more accurate.

Model CER
UVDoc 0.179

Note: Test data set: docunet benchmark data set.

Quick Start

Installation

  1. PaddlePaddle

Please refer to the following commands to install PaddlePaddle using pip:

# for CUDA11.8
python -m pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/

# for CUDA12.6
python -m pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/

# for CPU
python -m pip install paddlepaddle==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/

For details about PaddlePaddle installation, please refer to the PaddlePaddle official website.

  1. PaddleOCR

Install the latest version of the PaddleOCR inference package from PyPI:

python -m pip install paddleocr

Model Usage

You can quickly experience the functionality with a single command:

paddleocr text_image_unwarping --model_name UVDoc -i https://cdn-uploads.huggingface.co/production/uploads/63d7b8ee07cd1aa3c49a2026/SfMVKd0xnMII5KBDV6Mfz.jpeg

You can also integrate the model inference of the TextImageUnwarping module into your project. Before running the following code, please download the sample image to your local machine.

from paddleocr import TextImageUnwarping

model = TextImageUnwarping(model_name="UVDoc")
output = model.predict("SfMVKd0xnMII5KBDV6Mfz.jpeg", batch_size=1)
for res in output:
    res.print()
    res.save_to_img(save_path="./output/")
    res.save_to_json(save_path="./output/res.json")

After running, the obtained result is as follows:

{'res': {'input_path': 'doc_test.jpg', 'page_index': None, 'doctr_img': '...'}}

The visualized image is as follows:

For details about usage command and descriptions of parameters, please refer to the Document.

Pipeline Usage

The ability of a single model is limited. But the pipeline consists of several models can provide more capacity to resolve difficult problems in real-world scenarios.

PP-StructureV3

Layout analysis is a technique used to extract structured information from document images. PP-StructureV3 includes the following six modules:

  • Layout Detection Module
  • General OCR Sub-pipeline
  • Document Image Preprocessing Sub-pipeline (Optional)
  • Table Recognition Sub-pipeline (Optional)
  • Seal Recognition Sub-pipeline (Optional)
  • Formula Recognition Sub-pipeline (Optional)

You can quickly experience the PP-StructureV3 pipeline with a single command.

paddleocr pp_structurev3 --use_doc_unwarping True -i https://cdn-uploads.huggingface.co/production/uploads/63d7b8ee07cd1aa3c49a2026/KP10tiSZfAjMuwZUSLtRp.png

You can experience the inference of the pipeline with just a few lines of code. Taking the PP-StructureV3 pipeline as an example:

from paddleocr import PPStructureV3

pipeline = PPStructureV3(use_doc_unwarping=True) # Use use_doc_unwarping to enable/disable document unwarping module
output = pipeline.predict("./KP10tiSZfAjMuwZUSLtRp.png")
for res in output:
    res.print() ## Print the structured prediction output
    res.save_to_json(save_path="output") ## Save the current image's structured result in JSON format
    res.save_to_markdown(save_path="output") ## Save the current image's result in Markdown format

For details about usage command and descriptions of parameters, please refer to the Document.

Links

PaddleOCR Repo

PaddleOCR Documentation

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:af9969e19911322890a3d2381a41f22d2d6126ec&dn=PaddlePaddle_UVDoc

Open magnet in torrent client · infohash af9969e19911322890a3d2381a41f22d2d6126ec

Files & hashes

PathSizesha1sha256
README.md4.4 KB (4,463 B)d863892812f9027aa7a2f0b93876addd14c1d58fa20104a3a6d1e4c3311e0e1b8f9913a3faf181752376f901fb3f09336dec756f
config.json1.5 KB (1,489 B)7b842aabff49b4c2993e2bfe0b131a6006bf1cad0ffdb1f399eee3eb7816fb79b1380f97f89039b955eee2e60d3f7336f6f30875
inference.json186.5 KB (190,986 B)b7014365d3fa6c3c033dd1ce6eb751e8bf4c79eb2c2bc3e0f15e782cf8f2ad411b5033d99ca504fe88648f8054a5e925ba2336e0
inference.pdiparams30.6 MB (32,054,311 B)324678098f119687b146ef69ebd0b83e5d1fe84e810488899520e0da843b9bd9769ba4949f1c81e357f0eceb12d4a7da459c3eca
inference.yml330 B (330 B)7157cf42439ba68cc2e4149def1d8961025afeb9be83d537b358f3ff87740e77e14a83ee9e9a7bb215c33d091b69e8bd5904fe39

Cite this release

Canonical URL
https://aiseedbank.org/models/PaddlePaddle_UVDoc/
Slug
PaddlePaddle_UVDoc
Infohash
af9969e19911322890a3d2381a41f22d2d6126ec
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: PaddlePaddle_UVDoc.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryPaddlePaddle/UVDoc
Revision (pinned)16c3f0ea9c2f0c6a57e24160f7eeaa7574613fa3
Fetched at2026-08-24T12:16:01Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-08-24T12:16:06Z

apache-2.030.8 MB (32,251,579 bytes)PaddleOCROCRPaddlePaddledoc_img_unwarpingimage-to-text2 languages (en, zh)