Image-Text-to-Text
Transformers
Safetensors
paddleocr_vl
vox-jot
ocr
mirror
conversational
custom_code
Instructions to use IrieDinamik/ocr-mirror-paddleocr-vl-1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IrieDinamik/ocr-mirror-paddleocr-vl-1.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="IrieDinamik/ocr-mirror-paddleocr-vl-1.5", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("IrieDinamik/ocr-mirror-paddleocr-vl-1.5", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("IrieDinamik/ocr-mirror-paddleocr-vl-1.5", trust_remote_code=True, device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use IrieDinamik/ocr-mirror-paddleocr-vl-1.5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "IrieDinamik/ocr-mirror-paddleocr-vl-1.5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IrieDinamik/ocr-mirror-paddleocr-vl-1.5", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/IrieDinamik/ocr-mirror-paddleocr-vl-1.5
- SGLang
How to use IrieDinamik/ocr-mirror-paddleocr-vl-1.5 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "IrieDinamik/ocr-mirror-paddleocr-vl-1.5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IrieDinamik/ocr-mirror-paddleocr-vl-1.5", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "IrieDinamik/ocr-mirror-paddleocr-vl-1.5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IrieDinamik/ocr-mirror-paddleocr-vl-1.5", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use IrieDinamik/ocr-mirror-paddleocr-vl-1.5 with Docker Model Runner:
docker model run hf.co/IrieDinamik/ocr-mirror-paddleocr-vl-1.5
Update Vox Jot license and upstream notices for paddleocr-vl-1.5
Browse files
README.md
CHANGED
|
@@ -1,363 +1,27 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
-
|
| 4 |
tags:
|
| 5 |
-
-
|
| 6 |
-
- PaddleOCR
|
| 7 |
-
- PaddlePaddle
|
| 8 |
-
- image-to-text
|
| 9 |
- ocr
|
| 10 |
-
-
|
| 11 |
-
- layout
|
| 12 |
-
- table
|
| 13 |
-
- formula
|
| 14 |
-
- chart
|
| 15 |
-
- seal
|
| 16 |
-
- spotting
|
| 17 |
-
base_model: baidu/ERNIE-4.5-0.3B-Paddle
|
| 18 |
-
language:
|
| 19 |
-
- en
|
| 20 |
-
- zh
|
| 21 |
-
- multilingual
|
| 22 |
-
library_name: PaddleOCR
|
| 23 |
---
|
| 24 |
-
<div align="center">
|
| 25 |
|
|
|
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
| 34 |
-
[](https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.5)
|
| 35 |
-
[](https://modelscope.cn/models/PaddlePaddle/PaddleOCR-VL-1.5)
|
| 36 |
-
[](https://huggingface.co/spaces/PaddlePaddle/PaddleOCR-VL-1.5_Online_Demo)
|
| 37 |
-
[](https://modelscope.cn/studios/PaddlePaddle/PaddleOCR-VL-1.5_Online_Demo/summary)
|
| 38 |
-
[](https://discord.gg/JPmZXDsEEK)
|
| 39 |
-
[](https://x.com/PaddlePaddle)
|
| 40 |
-
[](./LICENSE)
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
|
|
|
|
|
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
-
|
| 48 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/paddleocr-vl-1.5_metrics.png" width="800"/>
|
| 49 |
-
</div>
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
## Introduction
|
| 54 |
-
|
| 55 |
-
**PaddleOCR-VL-1.5 is an advanced next-generation model of PaddleOCR-VL, achieving a new state-of-the-art accuracy of 94.5% on OmniDocBench v1.5.** To rigorously evaluate robustness against real-world physical distortions—including scanning artifacts, skew, warping, screen photography, and illumination—we propose the Real5-OmniDocBench benchmark. Experimental results demonstrate that this enhanced model attains SOTA performance on the newly curated benchmark. Furthermore, we extend the model’s capabilities by incorporating seal recognition and text spotting tasks, while remaining a 0.9B ultra-compact VLM with high efficiency.
|
| 56 |
-
|
| 57 |
-
### **Key Capabilities of PaddleOCR-VL-1.5**
|
| 58 |
-
|
| 59 |
-
1. With a **parameter size of 0.9B**, PaddleOCR-VL-1.5 **achieves 94.5% accuracy on OmniDocBench v1.5**, surpassing the previous SOTA model PaddleOCR-VL. Significant improvements are observed in **table, formula, and text recognition.**
|
| 60 |
-
|
| 61 |
-
2. **It introduces an innovative approach to document parsing by supporting irregular-shaped localization**, enabling accurate polygonal detection under skewed and warped document conditions. Evaluations across five real-world scenarios—scanning, skew, warping, screen-photography, and illumination—demonstrate superior performance over mainstream open-source and proprietary models.
|
| 62 |
-
|
| 63 |
-
3. The model introduces **text spotting (text-line localization and recognition)**, along with **seal recognition**, with all corresponding metrics **setting new SOTA results** in their respective tasks.
|
| 64 |
-
|
| 65 |
-
4. PaddleOCR-VL-1.5 further strengthens its capability in **specialized scenarios and multilingual recognition.** Recognition performance is improved for **rare characters, ancient texts, multilingual tables, underlines, and checkboxes,** and language coverage is extended to include **China's Tibetan script and Bengali.**
|
| 66 |
-
|
| 67 |
-
5. The model supports **automatic cross-page table merging** and **cross-page paragraph heading recognition**, effectively mitigating content fragmentation issues in **long-document parsing.**
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
### **Model Architecture**
|
| 71 |
-
|
| 72 |
-
<div align="center">
|
| 73 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/PaddleOCR-VL-1.5.png" width="800"/>
|
| 74 |
-
</div>
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
## News
|
| 78 |
-
|
| 79 |
-
* ```2026.03.06``` 🚀 Support llama.cpp inference for the VLM component in PaddleOCR-VL-1.5. Click [here](https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.5-GGUF) for details.
|
| 80 |
-
* ```2026.01.29``` 🚀 We release [PaddleOCR-VL-1.5](https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.5), —a Multi-Task 0.9B VLM for Robust In-the-Wild Document Parsing.
|
| 81 |
-
|
| 82 |
-
## Usage
|
| 83 |
-
|
| 84 |
-
### Install Dependencies
|
| 85 |
-
|
| 86 |
-
Install [PaddlePaddle](https://www.paddlepaddle.org.cn/install/quick) and [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR):
|
| 87 |
-
|
| 88 |
-
```bash
|
| 89 |
-
# The following command installs the PaddlePaddle version for CUDA 12.6. For other CUDA versions and the CPU version, please refer to https://www.paddlepaddle.org.cn/en/install/quick?docurl=/documentation/docs/en/develop/install/pip/linux-pip_en.html
|
| 90 |
-
python -m pip install paddlepaddle-gpu==3.2.1 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
|
| 91 |
-
python -m pip install -U "paddleocr[doc-parser]"
|
| 92 |
-
```
|
| 93 |
-
|
| 94 |
-
> **Please ensure that you install PaddlePaddle framework version 3.2.1 or above, along with the special version of safetensors.** For macOS users, please use Docker to set up the environment.
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
### Basic Usage
|
| 98 |
-
|
| 99 |
-
CLI usage:
|
| 100 |
-
|
| 101 |
-
```bash
|
| 102 |
-
paddleocr doc_parser -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png
|
| 103 |
-
```
|
| 104 |
-
|
| 105 |
-
Python API usage:
|
| 106 |
-
|
| 107 |
-
```python
|
| 108 |
-
from paddleocr import PaddleOCRVL
|
| 109 |
-
pipeline = PaddleOCRVL()
|
| 110 |
-
output = pipeline.predict("https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png")
|
| 111 |
-
for res in output:
|
| 112 |
-
res.print()
|
| 113 |
-
res.save_to_json(save_path="output")
|
| 114 |
-
res.save_to_markdown(save_path="output")
|
| 115 |
-
```
|
| 116 |
-
|
| 117 |
-
### Accelerate VLM Inference via Optimized Inference Servers
|
| 118 |
-
|
| 119 |
-
1. Start the VLM inference server:
|
| 120 |
-
|
| 121 |
-
You can start the vLLM inference service using one of two methods:
|
| 122 |
-
- Method 1: PaddleOCR method
|
| 123 |
-
|
| 124 |
-
```bash
|
| 125 |
-
docker run \
|
| 126 |
-
--rm \
|
| 127 |
-
--gpus all \
|
| 128 |
-
--network host \
|
| 129 |
-
ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleocr-genai-vllm-server:latest-nvidia-gpu \
|
| 130 |
-
paddleocr genai_server --model_name PaddleOCR-VL-1.5-0.9B --host 0.0.0.0 --port 8080 --backend vllm
|
| 131 |
-
```
|
| 132 |
-
- Method 2: vLLM method
|
| 133 |
-
|
| 134 |
-
[vLLM: PaddleOCR-VL Usage Guide](https://docs.vllm.ai/projects/recipes/en/latest/PaddlePaddle/PaddleOCR-VL.html)
|
| 135 |
-
|
| 136 |
-
2. Call the PaddleOCR CLI or Python API:
|
| 137 |
-
```bash
|
| 138 |
-
paddleocr doc_parser \
|
| 139 |
-
-i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png \
|
| 140 |
-
--vl_rec_backend vllm-server \
|
| 141 |
-
--vl_rec_server_url http://127.0.0.1:8080/v1
|
| 142 |
-
```
|
| 143 |
-
```python
|
| 144 |
-
from paddleocr import PaddleOCRVL
|
| 145 |
-
pipeline = PaddleOCRVL(vl_rec_backend="vllm-server", vl_rec_server_url="http://127.0.0.1:8080/v1")
|
| 146 |
-
output = pipeline.predict("https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png")
|
| 147 |
-
for res in output:
|
| 148 |
-
res.print()
|
| 149 |
-
res.save_to_json(save_path="output")
|
| 150 |
-
res.save_to_markdown(save_path="output")
|
| 151 |
-
```
|
| 152 |
-
|
| 153 |
-
**For more usage details and parameter explanations, see the [documentation](https://www.paddleocr.ai/latest/en/version3.x/pipeline_usage/PaddleOCR-VL.html).**
|
| 154 |
-
## PaddleOCR-VL-1.5-0.9B Usage with transformers
|
| 155 |
-
|
| 156 |
-
Currently, the PaddleOCR-VL-1.5-0.9B model facilitates seamless inference via the `transformers` library, supporting **comprehensive text spotting** and the recognition of complex elements including formulas, tables, charts, and seals. Below is a simple script we provide to support inference using the PaddleOCR-VL-1.5-0.9B model with `transformers`.
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
> [!NOTE]
|
| 160 |
-
> Note: We currently recommend using the official method for inference, as it is faster and supports page-level document parsing. The example code below only supports element-level recognition and text spotting.
|
| 161 |
-
|
| 162 |
-
```shell
|
| 163 |
-
# ensure the transformers v5 is installed
|
| 164 |
-
python -m pip install "transformers>=5.0.0"
|
| 165 |
-
```
|
| 166 |
-
|
| 167 |
-
```python
|
| 168 |
-
from PIL import Image
|
| 169 |
-
import torch
|
| 170 |
-
from transformers import AutoProcessor, AutoModelForImageTextToText
|
| 171 |
-
|
| 172 |
-
# ---- Settings ----
|
| 173 |
-
model_path = "PaddlePaddle/PaddleOCR-VL-1.5"
|
| 174 |
-
image_path = "test.png"
|
| 175 |
-
task = "ocr" # Options: 'ocr' | 'table' | 'chart' | 'formula' | 'spotting' | 'seal'
|
| 176 |
-
# ------------------
|
| 177 |
-
|
| 178 |
-
# ---- Image Preprocessing For Spotting ----
|
| 179 |
-
image = Image.open(image_path).convert("RGB")
|
| 180 |
-
orig_w, orig_h = image.size
|
| 181 |
-
spotting_upscale_threshold = 1500
|
| 182 |
-
|
| 183 |
-
if task == "spotting" and orig_w < spotting_upscale_threshold and orig_h < spotting_upscale_threshold:
|
| 184 |
-
process_w, process_h = orig_w * 2, orig_h * 2
|
| 185 |
-
try:
|
| 186 |
-
resample_filter = Image.Resampling.LANCZOS
|
| 187 |
-
except AttributeError:
|
| 188 |
-
resample_filter = Image.LANCZOS
|
| 189 |
-
image = image.resize((process_w, process_h), resample_filter)
|
| 190 |
-
|
| 191 |
-
# Set max_pixels: use 1605632 for spotting, otherwise use default ~1M pixels
|
| 192 |
-
max_pixels = 2048 * 28 * 28 if task == "spotting" else 1280 * 28 * 28
|
| 193 |
-
# ---------------------------
|
| 194 |
-
|
| 195 |
-
# -------- Inference --------
|
| 196 |
-
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 197 |
-
PROMPTS = {
|
| 198 |
-
"ocr": "OCR:",
|
| 199 |
-
"table": "Table Recognition:",
|
| 200 |
-
"formula": "Formula Recognition:",
|
| 201 |
-
"chart": "Chart Recognition:",
|
| 202 |
-
"spotting": "Spotting:",
|
| 203 |
-
"seal": "Seal Recognition:",
|
| 204 |
-
}
|
| 205 |
-
|
| 206 |
-
model = AutoModelForImageTextToText.from_pretrained(model_path, torch_dtype=torch.bfloat16).to(DEVICE).eval()
|
| 207 |
-
processor = AutoProcessor.from_pretrained(model_path)
|
| 208 |
-
|
| 209 |
-
messages = [
|
| 210 |
-
{
|
| 211 |
-
"role": "user",
|
| 212 |
-
"content": [
|
| 213 |
-
{"type": "image", "image": image},
|
| 214 |
-
{"type": "text", "text": PROMPTS[task]},
|
| 215 |
-
]
|
| 216 |
-
}
|
| 217 |
-
]
|
| 218 |
-
inputs = processor.apply_chat_template(
|
| 219 |
-
messages,
|
| 220 |
-
add_generation_prompt=True,
|
| 221 |
-
tokenize=True,
|
| 222 |
-
return_dict=True,
|
| 223 |
-
return_tensors="pt",
|
| 224 |
-
images_kwargs={"size": {"shortest_edge": processor.image_processor.min_pixels, "longest_edge": max_pixels}},
|
| 225 |
-
).to(model.device)
|
| 226 |
-
|
| 227 |
-
outputs = model.generate(**inputs, max_new_tokens=512)
|
| 228 |
-
result = processor.decode(outputs[0][inputs["input_ids"].shape[-1]:-1])
|
| 229 |
-
print(result)
|
| 230 |
-
# ---------------------------
|
| 231 |
-
```
|
| 232 |
-
|
| 233 |
-
<details>
|
| 234 |
-
<summary>👉 Click to expand: Use flash-attn to boost performance and reduce memory usage</summary>
|
| 235 |
-
|
| 236 |
-
```shell
|
| 237 |
-
# ensure the flash-attn2 is installed
|
| 238 |
-
pip install flash-attn --no-build-isolation
|
| 239 |
-
```
|
| 240 |
-
|
| 241 |
-
```python
|
| 242 |
-
model = AutoModelForImageTextToText.from_pretrained(model_path, torch_dtype=torch.bfloat16, attn_implementation="flash_attention_2").to(DEVICE).eval()
|
| 243 |
-
```
|
| 244 |
-
|
| 245 |
-
</details>
|
| 246 |
-
|
| 247 |
-
## Performance
|
| 248 |
-
|
| 249 |
-
### Document Parsing
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
#### 1. OmniDocBench v1.5
|
| 253 |
-
|
| 254 |
-
##### PaddleOCR-VL-1.5 achieves SOTA performance for overall, text, formula, tables and reading order on OmniDocBench v1.5
|
| 255 |
-
|
| 256 |
-
<div align="center">
|
| 257 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/omnidocbenchv1.5_metrics.png" width="800"/>
|
| 258 |
-
</div>
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
> **Notes:**
|
| 262 |
-
> - Performance metrics are cited from the [OmniDocBench official leaderboard](https://opendatalab.com/omnidocbench), except for Gemini-3 Pro, Qwen3-VL-235B-A22B-Instruct and our model, which were evaluated independently.
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
#### 2. Real5-OmniDocBench
|
| 266 |
-
|
| 267 |
-
##### Across all five diverse and challenging scenarios—scanning, warping, screen-photography, illumination, and skew—PaddleOCR-VL-1.5 consistently sets new SOTA records
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
<div align="center">
|
| 271 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/real5-omnidocbench_metrics.png" width="800"/>
|
| 272 |
-
</div>
|
| 273 |
-
|
| 274 |
-
> **Notes:**
|
| 275 |
-
> - Real5-OmniDocBench is a brand-new benchmark oriented toward real-world scenarios, which we constructed based on the OmniDocBench v1.5 dataset. The dataset comprises five distinct scenarios: Scanning, Warping, Screen-photography, Illumination, and Skew. For further details, please refer to [Real5-OmniDocBench](https://huggingface.co/datasets/PaddlePaddle/Real5-OmniDocBench).
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
### Inference Performance
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
<div align="center">
|
| 282 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/inference_performance.png" width="800"/>
|
| 283 |
-
</div>
|
| 284 |
-
|
| 285 |
-
> **Notes:**
|
| 286 |
-
> - End-to-End Inference Performance Comparison on OmniDocBench v1.5. PDF documents were processed in batches of 512 on a single NVIDIA A100 GPU. The reported end-to-end runtime includes both PDF rendering and Markdown generation. All methods rely on their built-in PDF parsing modules and default DPI settings to reflect out-of-the-box performance.
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
## Visualization
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
### Real-word Document Parsing
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
#### Illumination
|
| 296 |
-
|
| 297 |
-
<div align="center">
|
| 298 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/light.jpg" width="800"/>
|
| 299 |
-
</div>
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
#### Skew
|
| 303 |
-
|
| 304 |
-
<div align="center">
|
| 305 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/skew.jpg" width="800"/>
|
| 306 |
-
</div>
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
#### Screen Photography
|
| 310 |
-
|
| 311 |
-
<div align="center">
|
| 312 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/screen.jpg" width="800"/>
|
| 313 |
-
</div>
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
#### Scanning
|
| 317 |
-
|
| 318 |
-
<div align="center">
|
| 319 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/scaning.jpg" width="800"/>
|
| 320 |
-
</div>
|
| 321 |
-
|
| 322 |
-
#### Warping
|
| 323 |
-
|
| 324 |
-
<div align="center">
|
| 325 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/curving.jpg" width="800"/>
|
| 326 |
-
</div>
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
### Text Spotting
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
<div align="center">
|
| 333 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/spotting.jpg" width="800"/>
|
| 334 |
-
</div>
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
### Seal Recognition
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
<div align="center">
|
| 341 |
-
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/seal.jpg" width="800"/>
|
| 342 |
-
</div>
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
## Acknowledgments
|
| 346 |
-
|
| 347 |
-
We would like to thank [PaddleFormers](https://github.com/PaddlePaddle/PaddleFormers), [Keye](https://github.com/Kwai-Keye/Keye), [MinerU](https://github.com/opendatalab/MinerU), [OmniDocBench](https://github.com/opendatalab/OmniDocBench) for providing valuable code, model weights and benchmarks. We also appreciate everyone's contribution to this open-source project!
|
| 348 |
-
|
| 349 |
-
## Citation
|
| 350 |
-
|
| 351 |
-
If you find PaddleOCR-VL-1.5 helpful, feel free to give us a star and citation.
|
| 352 |
-
|
| 353 |
-
```bibtex
|
| 354 |
-
@misc{cui2026paddleocrvl15multitask09bvlm,
|
| 355 |
-
title={PaddleOCR-VL-1.5: Towards a Multi-Task 0.9B VLM for Robust In-the-Wild Document Parsing},
|
| 356 |
-
author={Cheng Cui and Ting Sun and Suyin Liang and Tingquan Gao and Zelun Zhang and Jiaxuan Liu and Xueqing Wang and Changda Zhou and Hongen Liu and Manhui Lin and Yue Zhang and Yubo Zhang and Yi Liu and Dianhai Yu and Yanjun Ma},
|
| 357 |
-
year={2026},
|
| 358 |
-
eprint={2601.21957},
|
| 359 |
-
archivePrefix={arXiv},
|
| 360 |
-
primaryClass={cs.CV},
|
| 361 |
-
url={https://arxiv.org/abs/2601.21957},
|
| 362 |
-
}
|
| 363 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
| 3 |
+
library_name: transformers
|
| 4 |
tags:
|
| 5 |
+
- vox-jot
|
|
|
|
|
|
|
|
|
|
| 6 |
- ocr
|
| 7 |
+
- mirror
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
|
|
|
| 9 |
|
| 10 |
+
# Vox Jot OCR Mirror: paddleocr-vl-1.5
|
| 11 |
|
| 12 |
+
This repository is an app-managed mirror for Vox Jot. It preserves upstream lineage so the desktop app can download OCR model files anonymously and reproducibly.
|
| 13 |
|
| 14 |
+
## Upstream Sources
|
| 15 |
|
| 16 |
+
- [PaddlePaddle/PaddleOCR-VL-1.5](https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.5)
|
| 17 |
|
| 18 |
+
## License And Attribution
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
+
- Upstream license: Apache-2.0
|
| 21 |
+
- Attribution: original model authors and upstream repositories listed above.
|
| 22 |
+
- Vox Jot changes: mirrored and repackaged for app-managed download; no model training changes are implied by this mirror.
|
| 23 |
+
- Notices: upstream README, LICENSE, NOTICE, and COPYING files found during staging are preserved under `upstream-notices/`.
|
| 24 |
|
| 25 |
+
## Notes
|
| 26 |
|
| 27 |
+
PaddleOCR-VL 1.5 (0.9B VLM).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VOX_JOT_UPSTREAM.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"catalog_id": "paddleocr-vl-1.5",
|
| 3 |
+
"mirror_repo": "IrieDinamik/ocr-mirror-paddleocr-vl-1.5",
|
| 4 |
+
"license_label": "Apache-2.0",
|
| 5 |
+
"upstream_sources": [
|
| 6 |
+
{
|
| 7 |
+
"type": "huggingface_model",
|
| 8 |
+
"id": "PaddlePaddle/PaddleOCR-VL-1.5",
|
| 9 |
+
"url": "https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.5"
|
| 10 |
+
}
|
| 11 |
+
],
|
| 12 |
+
"notes": "PaddleOCR-VL 1.5 (0.9B VLM).",
|
| 13 |
+
"notice": "Vox Jot mirrors these OCR assets for app-managed installation. Preserve upstream LICENSE, NOTICE, COPYING, and README/model-card files when redistributing."
|
| 14 |
+
}
|
upstream-notices/PaddlePaddle__PaddleOCR-VL-1.5/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved.
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
upstream-notices/PaddlePaddle__PaddleOCR-VL-1.5/README.md
ADDED
|
@@ -0,0 +1,363 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pipeline_tag: image-text-to-text
|
| 4 |
+
tags:
|
| 5 |
+
- ERNIE4.5
|
| 6 |
+
- PaddleOCR
|
| 7 |
+
- PaddlePaddle
|
| 8 |
+
- image-to-text
|
| 9 |
+
- ocr
|
| 10 |
+
- document-parse
|
| 11 |
+
- layout
|
| 12 |
+
- table
|
| 13 |
+
- formula
|
| 14 |
+
- chart
|
| 15 |
+
- seal
|
| 16 |
+
- spotting
|
| 17 |
+
base_model: baidu/ERNIE-4.5-0.3B-Paddle
|
| 18 |
+
language:
|
| 19 |
+
- en
|
| 20 |
+
- zh
|
| 21 |
+
- multilingual
|
| 22 |
+
library_name: PaddleOCR
|
| 23 |
+
---
|
| 24 |
+
<div align="center">
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
<h1 align="center">
|
| 28 |
+
|
| 29 |
+
PaddleOCR-VL-1.5: Towards a Multi-Task 0.9B VLM for Robust In-the-Wild Document Parsing
|
| 30 |
+
|
| 31 |
+
</h1>
|
| 32 |
+
|
| 33 |
+
[](https://github.com/PaddlePaddle/PaddleOCR)
|
| 34 |
+
[](https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.5)
|
| 35 |
+
[](https://modelscope.cn/models/PaddlePaddle/PaddleOCR-VL-1.5)
|
| 36 |
+
[](https://huggingface.co/spaces/PaddlePaddle/PaddleOCR-VL-1.5_Online_Demo)
|
| 37 |
+
[](https://modelscope.cn/studios/PaddlePaddle/PaddleOCR-VL-1.5_Online_Demo/summary)
|
| 38 |
+
[](https://discord.gg/JPmZXDsEEK)
|
| 39 |
+
[](https://x.com/PaddlePaddle)
|
| 40 |
+
[](./LICENSE)
|
| 41 |
+
|
| 42 |
+
**🔥 [Official Website](https://www.paddleocr.com)**
|
| 43 |
+
**📝 [Technical Report](https://arxiv.org/abs/2601.21957)**
|
| 44 |
+
|
| 45 |
+
</div>
|
| 46 |
+
|
| 47 |
+
<div align="center">
|
| 48 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/paddleocr-vl-1.5_metrics.png" width="800"/>
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
## Introduction
|
| 54 |
+
|
| 55 |
+
**PaddleOCR-VL-1.5 is an advanced next-generation model of PaddleOCR-VL, achieving a new state-of-the-art accuracy of 94.5% on OmniDocBench v1.5.** To rigorously evaluate robustness against real-world physical distortions—including scanning artifacts, skew, warping, screen photography, and illumination—we propose the Real5-OmniDocBench benchmark. Experimental results demonstrate that this enhanced model attains SOTA performance on the newly curated benchmark. Furthermore, we extend the model’s capabilities by incorporating seal recognition and text spotting tasks, while remaining a 0.9B ultra-compact VLM with high efficiency.
|
| 56 |
+
|
| 57 |
+
### **Key Capabilities of PaddleOCR-VL-1.5**
|
| 58 |
+
|
| 59 |
+
1. With a **parameter size of 0.9B**, PaddleOCR-VL-1.5 **achieves 94.5% accuracy on OmniDocBench v1.5**, surpassing the previous SOTA model PaddleOCR-VL. Significant improvements are observed in **table, formula, and text recognition.**
|
| 60 |
+
|
| 61 |
+
2. **It introduces an innovative approach to document parsing by supporting irregular-shaped localization**, enabling accurate polygonal detection under skewed and warped document conditions. Evaluations across five real-world scenarios—scanning, skew, warping, screen-photography, and illumination—demonstrate superior performance over mainstream open-source and proprietary models.
|
| 62 |
+
|
| 63 |
+
3. The model introduces **text spotting (text-line localization and recognition)**, along with **seal recognition**, with all corresponding metrics **setting new SOTA results** in their respective tasks.
|
| 64 |
+
|
| 65 |
+
4. PaddleOCR-VL-1.5 further strengthens its capability in **specialized scenarios and multilingual recognition.** Recognition performance is improved for **rare characters, ancient texts, multilingual tables, underlines, and checkboxes,** and language coverage is extended to include **China's Tibetan script and Bengali.**
|
| 66 |
+
|
| 67 |
+
5. The model supports **automatic cross-page table merging** and **cross-page paragraph heading recognition**, effectively mitigating content fragmentation issues in **long-document parsing.**
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
### **Model Architecture**
|
| 71 |
+
|
| 72 |
+
<div align="center">
|
| 73 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/PaddleOCR-VL-1.5.png" width="800"/>
|
| 74 |
+
</div>
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
## News
|
| 78 |
+
|
| 79 |
+
* ```2026.03.06``` 🚀 Support llama.cpp inference for the VLM component in PaddleOCR-VL-1.5. Click [here](https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.5-GGUF) for details.
|
| 80 |
+
* ```2026.01.29``` 🚀 We release [PaddleOCR-VL-1.5](https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.5), —a Multi-Task 0.9B VLM for Robust In-the-Wild Document Parsing.
|
| 81 |
+
|
| 82 |
+
## Usage
|
| 83 |
+
|
| 84 |
+
### Install Dependencies
|
| 85 |
+
|
| 86 |
+
Install [PaddlePaddle](https://www.paddlepaddle.org.cn/install/quick) and [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR):
|
| 87 |
+
|
| 88 |
+
```bash
|
| 89 |
+
# The following command installs the PaddlePaddle version for CUDA 12.6. For other CUDA versions and the CPU version, please refer to https://www.paddlepaddle.org.cn/en/install/quick?docurl=/documentation/docs/en/develop/install/pip/linux-pip_en.html
|
| 90 |
+
python -m pip install paddlepaddle-gpu==3.2.1 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
|
| 91 |
+
python -m pip install -U "paddleocr[doc-parser]"
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
> **Please ensure that you install PaddlePaddle framework version 3.2.1 or above, along with the special version of safetensors.** For macOS users, please use Docker to set up the environment.
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
### Basic Usage
|
| 98 |
+
|
| 99 |
+
CLI usage:
|
| 100 |
+
|
| 101 |
+
```bash
|
| 102 |
+
paddleocr doc_parser -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
Python API usage:
|
| 106 |
+
|
| 107 |
+
```python
|
| 108 |
+
from paddleocr import PaddleOCRVL
|
| 109 |
+
pipeline = PaddleOCRVL()
|
| 110 |
+
output = pipeline.predict("https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png")
|
| 111 |
+
for res in output:
|
| 112 |
+
res.print()
|
| 113 |
+
res.save_to_json(save_path="output")
|
| 114 |
+
res.save_to_markdown(save_path="output")
|
| 115 |
+
```
|
| 116 |
+
|
| 117 |
+
### Accelerate VLM Inference via Optimized Inference Servers
|
| 118 |
+
|
| 119 |
+
1. Start the VLM inference server:
|
| 120 |
+
|
| 121 |
+
You can start the vLLM inference service using one of two methods:
|
| 122 |
+
- Method 1: PaddleOCR method
|
| 123 |
+
|
| 124 |
+
```bash
|
| 125 |
+
docker run \
|
| 126 |
+
--rm \
|
| 127 |
+
--gpus all \
|
| 128 |
+
--network host \
|
| 129 |
+
ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleocr-genai-vllm-server:latest-nvidia-gpu \
|
| 130 |
+
paddleocr genai_server --model_name PaddleOCR-VL-1.5-0.9B --host 0.0.0.0 --port 8080 --backend vllm
|
| 131 |
+
```
|
| 132 |
+
- Method 2: vLLM method
|
| 133 |
+
|
| 134 |
+
[vLLM: PaddleOCR-VL Usage Guide](https://docs.vllm.ai/projects/recipes/en/latest/PaddlePaddle/PaddleOCR-VL.html)
|
| 135 |
+
|
| 136 |
+
2. Call the PaddleOCR CLI or Python API:
|
| 137 |
+
```bash
|
| 138 |
+
paddleocr doc_parser \
|
| 139 |
+
-i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png \
|
| 140 |
+
--vl_rec_backend vllm-server \
|
| 141 |
+
--vl_rec_server_url http://127.0.0.1:8080/v1
|
| 142 |
+
```
|
| 143 |
+
```python
|
| 144 |
+
from paddleocr import PaddleOCRVL
|
| 145 |
+
pipeline = PaddleOCRVL(vl_rec_backend="vllm-server", vl_rec_server_url="http://127.0.0.1:8080/v1")
|
| 146 |
+
output = pipeline.predict("https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png")
|
| 147 |
+
for res in output:
|
| 148 |
+
res.print()
|
| 149 |
+
res.save_to_json(save_path="output")
|
| 150 |
+
res.save_to_markdown(save_path="output")
|
| 151 |
+
```
|
| 152 |
+
|
| 153 |
+
**For more usage details and parameter explanations, see the [documentation](https://www.paddleocr.ai/latest/en/version3.x/pipeline_usage/PaddleOCR-VL.html).**
|
| 154 |
+
## PaddleOCR-VL-1.5-0.9B Usage with transformers
|
| 155 |
+
|
| 156 |
+
Currently, the PaddleOCR-VL-1.5-0.9B model facilitates seamless inference via the `transformers` library, supporting **comprehensive text spotting** and the recognition of complex elements including formulas, tables, charts, and seals. Below is a simple script we provide to support inference using the PaddleOCR-VL-1.5-0.9B model with `transformers`.
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
> [!NOTE]
|
| 160 |
+
> Note: We currently recommend using the official method for inference, as it is faster and supports page-level document parsing. The example code below only supports element-level recognition and text spotting.
|
| 161 |
+
|
| 162 |
+
```shell
|
| 163 |
+
# ensure the transformers v5 is installed
|
| 164 |
+
python -m pip install "transformers>=5.0.0"
|
| 165 |
+
```
|
| 166 |
+
|
| 167 |
+
```python
|
| 168 |
+
from PIL import Image
|
| 169 |
+
import torch
|
| 170 |
+
from transformers import AutoProcessor, AutoModelForImageTextToText
|
| 171 |
+
|
| 172 |
+
# ---- Settings ----
|
| 173 |
+
model_path = "PaddlePaddle/PaddleOCR-VL-1.5"
|
| 174 |
+
image_path = "test.png"
|
| 175 |
+
task = "ocr" # Options: 'ocr' | 'table' | 'chart' | 'formula' | 'spotting' | 'seal'
|
| 176 |
+
# ------------------
|
| 177 |
+
|
| 178 |
+
# ---- Image Preprocessing For Spotting ----
|
| 179 |
+
image = Image.open(image_path).convert("RGB")
|
| 180 |
+
orig_w, orig_h = image.size
|
| 181 |
+
spotting_upscale_threshold = 1500
|
| 182 |
+
|
| 183 |
+
if task == "spotting" and orig_w < spotting_upscale_threshold and orig_h < spotting_upscale_threshold:
|
| 184 |
+
process_w, process_h = orig_w * 2, orig_h * 2
|
| 185 |
+
try:
|
| 186 |
+
resample_filter = Image.Resampling.LANCZOS
|
| 187 |
+
except AttributeError:
|
| 188 |
+
resample_filter = Image.LANCZOS
|
| 189 |
+
image = image.resize((process_w, process_h), resample_filter)
|
| 190 |
+
|
| 191 |
+
# Set max_pixels: use 1605632 for spotting, otherwise use default ~1M pixels
|
| 192 |
+
max_pixels = 2048 * 28 * 28 if task == "spotting" else 1280 * 28 * 28
|
| 193 |
+
# ---------------------------
|
| 194 |
+
|
| 195 |
+
# -------- Inference --------
|
| 196 |
+
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 197 |
+
PROMPTS = {
|
| 198 |
+
"ocr": "OCR:",
|
| 199 |
+
"table": "Table Recognition:",
|
| 200 |
+
"formula": "Formula Recognition:",
|
| 201 |
+
"chart": "Chart Recognition:",
|
| 202 |
+
"spotting": "Spotting:",
|
| 203 |
+
"seal": "Seal Recognition:",
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
model = AutoModelForImageTextToText.from_pretrained(model_path, torch_dtype=torch.bfloat16).to(DEVICE).eval()
|
| 207 |
+
processor = AutoProcessor.from_pretrained(model_path)
|
| 208 |
+
|
| 209 |
+
messages = [
|
| 210 |
+
{
|
| 211 |
+
"role": "user",
|
| 212 |
+
"content": [
|
| 213 |
+
{"type": "image", "image": image},
|
| 214 |
+
{"type": "text", "text": PROMPTS[task]},
|
| 215 |
+
]
|
| 216 |
+
}
|
| 217 |
+
]
|
| 218 |
+
inputs = processor.apply_chat_template(
|
| 219 |
+
messages,
|
| 220 |
+
add_generation_prompt=True,
|
| 221 |
+
tokenize=True,
|
| 222 |
+
return_dict=True,
|
| 223 |
+
return_tensors="pt",
|
| 224 |
+
images_kwargs={"size": {"shortest_edge": processor.image_processor.min_pixels, "longest_edge": max_pixels}},
|
| 225 |
+
).to(model.device)
|
| 226 |
+
|
| 227 |
+
outputs = model.generate(**inputs, max_new_tokens=512)
|
| 228 |
+
result = processor.decode(outputs[0][inputs["input_ids"].shape[-1]:-1])
|
| 229 |
+
print(result)
|
| 230 |
+
# ---------------------------
|
| 231 |
+
```
|
| 232 |
+
|
| 233 |
+
<details>
|
| 234 |
+
<summary>👉 Click to expand: Use flash-attn to boost performance and reduce memory usage</summary>
|
| 235 |
+
|
| 236 |
+
```shell
|
| 237 |
+
# ensure the flash-attn2 is installed
|
| 238 |
+
pip install flash-attn --no-build-isolation
|
| 239 |
+
```
|
| 240 |
+
|
| 241 |
+
```python
|
| 242 |
+
model = AutoModelForImageTextToText.from_pretrained(model_path, torch_dtype=torch.bfloat16, attn_implementation="flash_attention_2").to(DEVICE).eval()
|
| 243 |
+
```
|
| 244 |
+
|
| 245 |
+
</details>
|
| 246 |
+
|
| 247 |
+
## Performance
|
| 248 |
+
|
| 249 |
+
### Document Parsing
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
#### 1. OmniDocBench v1.5
|
| 253 |
+
|
| 254 |
+
##### PaddleOCR-VL-1.5 achieves SOTA performance for overall, text, formula, tables and reading order on OmniDocBench v1.5
|
| 255 |
+
|
| 256 |
+
<div align="center">
|
| 257 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/omnidocbenchv1.5_metrics.png" width="800"/>
|
| 258 |
+
</div>
|
| 259 |
+
|
| 260 |
+
|
| 261 |
+
> **Notes:**
|
| 262 |
+
> - Performance metrics are cited from the [OmniDocBench official leaderboard](https://opendatalab.com/omnidocbench), except for Gemini-3 Pro, Qwen3-VL-235B-A22B-Instruct and our model, which were evaluated independently.
|
| 263 |
+
|
| 264 |
+
|
| 265 |
+
#### 2. Real5-OmniDocBench
|
| 266 |
+
|
| 267 |
+
##### Across all five diverse and challenging scenarios—scanning, warping, screen-photography, illumination, and skew—PaddleOCR-VL-1.5 consistently sets new SOTA records
|
| 268 |
+
|
| 269 |
+
|
| 270 |
+
<div align="center">
|
| 271 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/real5-omnidocbench_metrics.png" width="800"/>
|
| 272 |
+
</div>
|
| 273 |
+
|
| 274 |
+
> **Notes:**
|
| 275 |
+
> - Real5-OmniDocBench is a brand-new benchmark oriented toward real-world scenarios, which we constructed based on the OmniDocBench v1.5 dataset. The dataset comprises five distinct scenarios: Scanning, Warping, Screen-photography, Illumination, and Skew. For further details, please refer to [Real5-OmniDocBench](https://huggingface.co/datasets/PaddlePaddle/Real5-OmniDocBench).
|
| 276 |
+
|
| 277 |
+
|
| 278 |
+
### Inference Performance
|
| 279 |
+
|
| 280 |
+
|
| 281 |
+
<div align="center">
|
| 282 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/inference_performance.png" width="800"/>
|
| 283 |
+
</div>
|
| 284 |
+
|
| 285 |
+
> **Notes:**
|
| 286 |
+
> - End-to-End Inference Performance Comparison on OmniDocBench v1.5. PDF documents were processed in batches of 512 on a single NVIDIA A100 GPU. The reported end-to-end runtime includes both PDF rendering and Markdown generation. All methods rely on their built-in PDF parsing modules and default DPI settings to reflect out-of-the-box performance.
|
| 287 |
+
|
| 288 |
+
|
| 289 |
+
## Visualization
|
| 290 |
+
|
| 291 |
+
|
| 292 |
+
### Real-word Document Parsing
|
| 293 |
+
|
| 294 |
+
|
| 295 |
+
#### Illumination
|
| 296 |
+
|
| 297 |
+
<div align="center">
|
| 298 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/light.jpg" width="800"/>
|
| 299 |
+
</div>
|
| 300 |
+
|
| 301 |
+
|
| 302 |
+
#### Skew
|
| 303 |
+
|
| 304 |
+
<div align="center">
|
| 305 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/skew.jpg" width="800"/>
|
| 306 |
+
</div>
|
| 307 |
+
|
| 308 |
+
|
| 309 |
+
#### Screen Photography
|
| 310 |
+
|
| 311 |
+
<div align="center">
|
| 312 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/screen.jpg" width="800"/>
|
| 313 |
+
</div>
|
| 314 |
+
|
| 315 |
+
|
| 316 |
+
#### Scanning
|
| 317 |
+
|
| 318 |
+
<div align="center">
|
| 319 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/scaning.jpg" width="800"/>
|
| 320 |
+
</div>
|
| 321 |
+
|
| 322 |
+
#### Warping
|
| 323 |
+
|
| 324 |
+
<div align="center">
|
| 325 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/curving.jpg" width="800"/>
|
| 326 |
+
</div>
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
### Text Spotting
|
| 330 |
+
|
| 331 |
+
|
| 332 |
+
<div align="center">
|
| 333 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/spotting.jpg" width="800"/>
|
| 334 |
+
</div>
|
| 335 |
+
|
| 336 |
+
|
| 337 |
+
### Seal Recognition
|
| 338 |
+
|
| 339 |
+
|
| 340 |
+
<div align="center">
|
| 341 |
+
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr_vl_1_5/seal.jpg" width="800"/>
|
| 342 |
+
</div>
|
| 343 |
+
|
| 344 |
+
|
| 345 |
+
## Acknowledgments
|
| 346 |
+
|
| 347 |
+
We would like to thank [PaddleFormers](https://github.com/PaddlePaddle/PaddleFormers), [Keye](https://github.com/Kwai-Keye/Keye), [MinerU](https://github.com/opendatalab/MinerU), [OmniDocBench](https://github.com/opendatalab/OmniDocBench) for providing valuable code, model weights and benchmarks. We also appreciate everyone's contribution to this open-source project!
|
| 348 |
+
|
| 349 |
+
## Citation
|
| 350 |
+
|
| 351 |
+
If you find PaddleOCR-VL-1.5 helpful, feel free to give us a star and citation.
|
| 352 |
+
|
| 353 |
+
```bibtex
|
| 354 |
+
@misc{cui2026paddleocrvl15multitask09bvlm,
|
| 355 |
+
title={PaddleOCR-VL-1.5: Towards a Multi-Task 0.9B VLM for Robust In-the-Wild Document Parsing},
|
| 356 |
+
author={Cheng Cui and Ting Sun and Suyin Liang and Tingquan Gao and Zelun Zhang and Jiaxuan Liu and Xueqing Wang and Changda Zhou and Hongen Liu and Manhui Lin and Yue Zhang and Yubo Zhang and Yi Liu and Dianhai Yu and Yanjun Ma},
|
| 357 |
+
year={2026},
|
| 358 |
+
eprint={2601.21957},
|
| 359 |
+
archivePrefix={arXiv},
|
| 360 |
+
primaryClass={cs.CV},
|
| 361 |
+
url={https://arxiv.org/abs/2601.21957},
|
| 362 |
+
}
|
| 363 |
+
```
|