paddleocr-doc-parsing-v2
bởi hiotec
Image & Video GenerationTóm tắt
Parse documents using PaddleOCR's API.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
User asks: extract the content of this scanned contract PDF
- 1
Checks file size to determine sync vs async mode
- 2
Calls paddleocr_parse.sh with -t pdf flag on the file
- 3
Polls job status if async mode is used
- 4
Receives JSON response with markdown.text field
- 5
Returns structured Markdown with preserved headings and tables
Markdown representation of the contract with section headings and any tables intact
Yêu cầu
- PADDLEOCR_ACCESS_TOKEN environment variable
- PADDLEOCR_API_URL environment variable
- PaddleOCR account and API credentials from paddleocr.com
Cài đặt
clawhub install hiotec/paddleocr-doc-parsing-v2Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.