paddleocr-doc-parsing
Parse documents using PaddleOCR's API.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- paddleocr-doc-parsing
- homepage
- https://www.paddleocr.com
- metadata
- { "openclaw": { "os": [ "darwin", "linux" ], "emoji": "?", "requires": { "env": [ "PADDLEOCR_API_URL", "PADDLEOCR_ACCESS_TOKEN" ], "bins": [ "curl", "base64", "jq" ] } } }
- description
- Parse documents using PaddleOCR's API.
02 资源文件 2
- 参考文档_meta.json305 B
- 脚本scripts/paddleocr_parse.sh4.8 KB
03 SKILL.md 正文
PaddleOCR Document Parsing
Parse images and PDF files using PaddleOCR's API. Supports multiple document parsing algorithms with structured output.
Key Features
- Multi-format support: PDF and image files (JPG, PNG, BMP, TIFF)
- Layout analysis: Automatic detection of text blocks, tables, formulas
- Multi-language: Support for 110+ languages
- Structured output: Markdown format with preserved document structure
Setup
- Obtain credentials from the PaddleOCR official website. Click the “API” button, choose the desired algorithm (e.g., PP-Structure, PaddleOCR-VL-1.5), and copy the API URL and the access token.
- Set environment variables:
export PADDLEOCR_API_URL="https://your-endpoint-here"
export PADDLEOCR_ACCESS_TOKEN="your_access_token"
Usage Examples
Run Script
# Parse local image
{baseDir}/paddleocr_parse.sh document.jpg
# Parse local PDF file
{baseDir}/paddleocr_parse.sh -t pdf document.pdf
# Parse document from URL
{baseDir}/paddleocr_parse.sh -t pdf https://example.com/document.pdf
# Output to stdout (default)
{baseDir}/paddleocr_parse.sh document.jpg
# Save output to file
{baseDir}/paddleocr_parse.sh -o result.json document.jpg
Response Structure
{
"logId": "unique_request_id",
"errorCode": 0,
"errorMsg": "Success",
"result": {
"layoutParsingResults": [
{
"prunedResult": [...],
"markdown": {
"text": "# Document Title\n\nParagraph content...",
"images": {}
},
"outputImages": [...],
"inputImage": "http://input-image"
}
],
"dataInfo": {...}
}
}
Important Fields:
prunedResult- Contains detailed layout element information including positions, categories, etc.markdown- Stores the document content converted to Markdown format with preserved structure and formatting.
Quota Information
See official documentation: https://ai.baidu.com/ai-doc/AISTUDIO/Xmjclapam
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.