Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

PaddleOCR

$ paddleocr Official Low Risk
PaddlePaddle · AI & Media · Apache-2.0 · macos / linux / windows

PaddleOCR (paddleocr) provides a CLI for multilingual OCR, document orientation classification, unwarping, and remote OCR API invocation (paddleocr api). While highly capable across Chinese, English, and 80+ languages, it requires the PaddlePaddle framework and emits verbose framework logs alongside stdout results.

FCRS-1.0 Score
70 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
pip install paddleocr
CLI vs MCP Decision CLI Preferred vs MCP

paddleocr processes local images and PDFs with local PaddlePaddle weights, avoiding remote file uploads unless paddleocr api is explicitly called.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

Supports headless paddleocr ocr -i <path> execution, but lacks a universal clean --json stdout flag and mixes framework/C++ logs with output.

  • Non-interactive subcommands (paddleocr ocr, paddleocr api)
  • Verbose PaddlePaddle initialization logs on stdout/stderr; no clean --json flag
Trust & Safety 18 / 25

Local paddleocr ocr keeps documents offline, while remote API calls are isolated to paddleocr api with explicit --token.

  • Local OCR by default; remote inference isolated in paddleocr api
Setup & Portability 9 / 15

Requires installing paddlepaddle alongside paddleocr and downloads model weights on first execution; ARM/macOS wheels can require extra care.

  • Separate paddlepaddle framework dependency and model downloads
Utility & Efficiency 12 / 15

Top-tier CJK and multilingual OCR accuracy with orientation classification, unwarping, and PP-Structure pipelines.

  • Supports orientation, unwarping, and --paddlex_config overrides
Maintenance & Lineage 8 / 10

Official PaddlePaddle repository (PaddlePaddle/PaddleOCR) under Apache-2.0 with huge community adoption.

  • Official PaddlePaddle/PaddleOCR repo under Apache-2.0
Docs & Verifiability 7 / 10

Extensive docs at paddleocr.ai, though CLI flags shifted significantly between v2.x and v3.x.

  • Updated v3.x CLI documentation at paddleocr.ai

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

Local paddleocr ocr requires no auth (caches models in ~/.paddleocr); paddleocr api accepts --token and --base_url.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Apache-2.0 open-source CLI; local inference is free, while hosted API calls via paddleocr api depend on the chosen service.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# PaddleOCR CLI (paddleocr) Agent Rules
- Prefer local `paddleocr ocr -i <file>` over `paddleocr api` unless the user explicitly configures a remote `--base_url` and `--token`.
- Expect framework initialization logs on stdout/stderr during first run and model download.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run local OCR on an image file
paddleocr ocr -i ./image.png --use_doc_orientation_classify False

Detects and recognizes text lines in ./image.png using local PaddleOCR models.

Controlled Writes & Previews

Run document OCR with unwarping enabled
paddleocr ocr -i ./scan.png --use_doc_unwarping True

Applies geometric perspective unwarping and extracts text from skewed document photos.

Strengths for Agents

  • + Industry-leading accuracy for Chinese, bilingual CJK/English, and distorted document photos.
  • + Permissive Apache-2.0 license with zero commercial revenue caps.

Caveats & Pitfalls

  • ! Verbose framework logs and lack of a clean --json stdout flag complicate direct agent parsing.
  • ! Requires paddlepaddle framework installation and first-run model downloads.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI