内容创作
#image
paddleocr-doc-parsing
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as LaTeX, figures, seals, charts, headers/footers, multi-column layout and correct reading order. Trigger terms: 文档解析, 版面分析, 版面还原, 表格提取, 公式识别, 多栏排版, 扫描件结构化, 发票, 财报, 复杂 PDF, PDF转Markdown, 图表, 阅读顺序; reading order, formula, LaTeX, layout parsing, structure extraction, PP-StructureV3, PaddleOCR-VL.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=paddlepaddle-paddleocr-skills-paddleocr-doc-parsing-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name paddleocr-doc-parsing description Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as LaTeX, figures, seals, charts, headers/footers, multi-column layout and correct reading order. Trigger terms: 文档解析, 版面分析, 版面还原, 表格提取, 公式识别, 多栏排版, 扫描件结构化, 发票, 财报, 复杂 PDF, PDF转Markdown, 图表, 阅读顺序; reading order, formula, LaTeX, layout parsing, structure extraction, PP-StructureV3, PaddleOCR-VL. license Apache-2.0 metadata {"openclaw":{"requires":{"env":"[Truncated]","bins":"[Truncated]"},"primaryEnv":"PADDLEOCR_ACCESS_TOKEN","emoji":"📄","install":["[Truncated]"]}} PaddleOCR Document Parsing When to Use This Skill Use this skill for : Documents with tables (invoices, financial reports, spreadsheets) Documents with mathematical formulas (academic papers, scientific documents) Documents with charts and diagrams Multi-column layouts (newspapers, magazines, brochures) Complex document structures requiring layout analysis Usage Basic Document Parsing From URL: paddleocr api \ --model_type doc_parsing \ --file_url "https://example.com/report.pdf" From local file: paddleocr api \ --model_type doc_parsing \ --file_path "./document.pdf" Common Options # With specific model paddleocr api \ --model_type doc_parsing \ --model PP-StructureV3 \ --file_path "./report.pdf" # Disable preprocessing (faster, for flat/well-oriented images) paddleocr api \ --model_type doc_parsing \ --file_path "./document.pdf" \ --use_doc_unwarping False \ --use_doc_orientation_classify False # With page ranges paddleocr api \ --model_type doc_parsing \ --file_path "./large.pdf" \ --page_ranges "1-5,10,15-20" # Save result and resources paddleocr api \ --model_type doc_parsing \ --file_url "https://..." \ --output result.json \ --save_resources ./resources # Prettify markdown output paddleocr api \ --model_type doc_parsing \ --file_path "./document.pdf" \ --prettify_markdown True Output Format { "jobId" : "job-xxx" , "pages" : [ { "markdownText" : "# Title\n\nContent..." , "markdownImages" : { "img1" : "https://..." , "img2" : "https://..." } , "outputImages" : { "layout1" : "https://..." } } ] } Important Notes Preprocessing options : For flat, well-oriented images (screenshots, properly scanned documents), you can disable preprocessing for faster results: paddleocr api --model_type doc_parsing --file_path "./document.pdf" --use_doc_unwarping False --use_doc_orientation_classify False Keep preprocessing enabled when: The input is a photo of a curved or folded document The document has significant perspective distortion Orientation is uncertain (rotated 90/180/270 degrees) Display complete results : Always show the full extracted content to users. Do not truncate with "..." unless content exceeds 10,000 characters. When multiple pages are processed, summarize if needed but provide complete results when explicitly requested. Handle errors gracefully : When the CLI returns an error, inform the user of the specific issue rather than silently failing. Common errors: Authentication: PADDLEOCR_ACCESS_TOKEN invalid or missing Quota: API rate limit exceeded No content detected: Document may be blank or contain no extractable text CLI Reference Run paddleocr api --help for all options. For full documentation, see: PaddleOCR Official Documentation
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |