PaddleOCR-OpenVINO

9 downloads 0 likes on ModelScope updated

Model card

PaddleOCR OpenVINO 模型 / PaddleOCR OpenVINO Models

中文 | English


中文说明

将 PaddleOCR PP-OCRv4/v5 模型转换为 OpenVINO IR 格式(.xml + .bin)。 支持在 Intel NPU / CPU / GPU 上进行本地推理,无需联网。

模型列表

模型 任务 类型 大小
PP-OCRv5_server_det_ov 文字检测 服务端 ~47 MB
PP-OCRv5_server_rec_ov 文字识别 服务端 ~79 MB
PP-OCRv5_mobile_det_ov 文字检测 移动端 ~3 MB
PP-OCRv5_mobile_rec_ov 文字识别 移动端 ~11 MB
PP-OCRv4_server_det_ov 文字检测 服务端 ~57 MB
PP-OCRv4_server_rec_ov 文字识别 服务端 ~45 MB
PP-OCRv4_mobile_det_ov 文字检测 移动端 ~3 MB
PP-OCRv4_mobile_rec_ov 文字识别 移动端 ~8 MB

文件结构

inference.xml          — 动态 shape 模型拓扑(CPU/GPU)
inference.bin          — 模型权重(CPU 与 NPU 共用)
inference.yml          — PaddleX 配置文件
inference_960.xml      — NPU 检测静态拓扑(960px)
inference_320/480/640/800/1280.xml  — NPU 识别静态拓扑(按宽度分档)

CPU/GPU 加载 inference.xml + inference.bin; NPU 加载 inference_960.xml + inference.bin(检测)或 inference_NNN.xml + inference.bin(识别)。 两者共用同一份 .bin 权重,无冗余文件。

使用方式

模型由 local-ocr-npu Cursor Skill 在首次运行时自动下载,无需手动操作。

scripts\run.ps1 "C:\路径\图片.jpg"

English

PaddleOCR PP-OCRv4/v5 models converted to OpenVINO IR format (.xml + .bin). Supports Intel NPU / CPU / GPU local inference via the PaddleOCR-OpenVINO C++ runtime.

Models

Model Task Backbone Size
PP-OCRv5_server_det_ov Text Detection Server ~47 MB
PP-OCRv5_server_rec_ov Text Recognition Server ~79 MB
PP-OCRv5_mobile_det_ov Text Detection Mobile ~3 MB
PP-OCRv5_mobile_rec_ov Text Recognition Mobile ~11 MB
PP-OCRv4_server_det_ov Text Detection Server ~57 MB
PP-OCRv4_server_rec_ov Text Recognition Server ~45 MB
PP-OCRv4_mobile_det_ov Text Detection Mobile ~3 MB
PP-OCRv4_mobile_rec_ov Text Recognition Mobile ~8 MB

File Structure

inference.xml          — Dynamic-shape topology (CPU/GPU)
inference.bin          — Model weights  ← shared by CPU and NPU
inference.yml          — PaddleX configuration
inference_960.xml      — Static-shape topology for NPU detection (960 px)
inference_320/480/640/800/1280.xml  — Static-shape topologies for NPU recognition

CPU/GPU: inference.xml + inference.bin. NPU det: inference_960.xml + inference.bin. NPU rec: inference_NNN.xml + inference.bin (width bucket chosen at runtime). No redundant .bin files — saves ~200 MB vs previous versions.

Usage

Auto-downloaded on first run by the local-ocr-npu Cursor Skill.

scripts\run.ps1 "C:\path\to\image.jpg"

HuggingFace mirror: https://huggingface.co/Fiona1019/PaddleOCR-OpenVINO