paddleocr-doc-parsing-v2
oleh hiotec
Image & Video GenerationRingkasan
Parse documents using PaddleOCR's API.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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
Persyaratan
- PADDLEOCR_ACCESS_TOKEN environment variable
- PADDLEOCR_API_URL environment variable
- PaddleOCR account and API credentials from paddleocr.com
Instalasi
clawhub install hiotec/paddleocr-doc-parsing-v2Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.