Skip to content
TakoAPI
Back to skills

paddleocr-doc-parsing-v2

by hiotec

Image & Video Generation
651Downloads reported by clawskills.sh
4Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Parse documents using PaddleOCR's API.

Description

What This Skill Does

Parses images and PDF files using PaddleOCR's API, extracting text and layout structure into Markdown format. Supports sync mode for quick processing and async mode for large or multi-page documents. Handles 110+ languages and detects text blocks, tables, and formulas.

Automatic layout analysis preserves document structure (headings, tables, formulas) that plain OCR tools typically flatten into raw text.

When to Use It

  • Extracting text from scanned invoices or receipts
  • Converting multi-page PDFs to structured Markdown
  • Parsing documents in non-Latin scripts
  • Processing large batches of PDFs asynchronously
  • Pulling table data out of image-based reports

Example Workflow

INPUT

User asks: extract the content of this scanned contract PDF

AGENT
  1. 1

    Checks file size to determine sync vs async mode

  2. 2

    Calls paddleocr_parse.sh with -t pdf flag on the file

  3. 3

    Polls job status if async mode is used

  4. 4

    Receives JSON response with markdown.text field

  5. 5

    Returns structured Markdown with preserved headings and tables

OUTPUT

Markdown representation of the contract with section headings and any tables intact

Requirements

  • PADDLEOCR_ACCESS_TOKEN environment variable
  • PADDLEOCR_API_URL environment variable
  • PaddleOCR account and API credentials from paddleocr.com

Installation

clawhub install hiotec/paddleocr-doc-parsing-v2

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links