LaunchKit · 2026
Back to Skills

paddleocr-doc-parsing

Parse documents using PaddleOCR's API.

27
3.7k downloads
by @bobholamovic

Setup & Installation

openclaw skills install @bobholamovic/paddleocr-doc-parsing

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install paddleocr-doc-parsing

Version History

v2.0.7Mar 14, 2026 - Version note by skill developer:

- Added installation instructions for required Python dependencies in the usage guide. - Included optional installation step for document optimization and PDF splitting support. - No changes to API, features, or workflow.

What This Skill Does

Extracts structured content from PDFs and images via a PaddleOCR API endpoint. Handles text, tables, formulas, charts, and multi-column layouts in a single call. The agent runs a Python script against the API and presents results based on what the user asks for.

Unlike basic OCR tools, it preserves full document structure including tables, formulas, reading order, and layout across complex multi-column and mixed-content documents.

When to use it

  • Pulling all tables from an invoice PDF
  • Extracting LaTeX formulas from a research paper
  • Parsing multi-column magazine or newspaper layouts
  • Getting structured data out of scanned financial reports
  • Reading figures and charts from technical documents

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Extract all the tables from this financial report PDF

AGENT
  1. 1Runs python scripts/vl_caller.py --file-path "financial_report.pdf" --pretty
  2. 2Reads the saved JSON result from the temp directory path printed to stderr
  3. 3Locates table data in result[n].prunedResult and result[n].markdown fields
  4. 4Displays all tables in full without truncating or summarizing
OUTPUT

All tables from the document rendered in structured markdown, with the full raw JSON saved to a temp file for reference

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

PADDLEOCR_DOC_PARSING_API_URL environment variable (full endpoint URL from a PaddleOCR-compatible service)PADDLEOCR_ACCESS_TOKEN environment variable (API access token from the same service)