paddleocr-doc-parsing

Send images or PDFs to PaddleOCR's API and return structured layout results.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/xongtao/openclaw-backup --skill paddleocr-doc-parsing-xongtao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paddleocr-doc-parsing
Source: https://github.com/xongtao/openclaw-backup/tree/main/skills/paddleocr-doc-parsing-v2
Command: npx skills add https://github.com/xongtao/openclaw-backup --skill paddleocr-doc-parsing-xongtao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, base64, jq, python3, requests, and includes scripts (resource) components.

What problem does it solve?

OCR of documents is time-consuming and error-prone when done manually. PaddleOCR's document parsing automates extraction of text and layout information from images and PDFs, reducing manual effort and improving consistency.

Core Features & Use Cases

  • Sync and Async modes for images and PDFs
  • URL and local file input with structured output
  • Markdown-format results that preserve layout and text
  • Error handling and environment-variable configuration for secure automation

Quick Start

Run the paddleocr_parse.sh script with a local file or a URL to obtain the parsed Markdown output.

Frequently Asked Questions about paddleocr-doc-parsing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate document parsing with PaddleOCR to extract text and layout?

Automating document parsing with PaddleOCR involves sending images or PDFs to the API to extract structured text and layout. This Skill returns markdown-format results that preserve layout, reducing manual effort and improving consistency.

Does this document parsing workflow support both small images and large PDFs?

Yes, this document parsing workflow supports both small and large files. It provides synchronous modes for quick image parsing and asynchronous workflows for processing large PDFs, handling URL or local file inputs seamlessly.

What environment variables do I need to configure for PaddleOCR API integration?

To integrate with the PaddleOCR API, you must configure the PADDLEOCR_ACCESS_TOKEN and PADDLEOCR_API_URL environment variables. Enforcing these variables ensures secure automation and proper API authentication for your parsing tasks.

Can I parse documents from a URL instead of uploading local files?

Yes, you can parse documents from a URL instead of using local files. The parsing script accepts both local files and remote URLs as input, sending them to PaddleOCR and returning structured layout results.

How does the OCR tool handle extraction errors and retries during processing?

The OCR tool handles extraction errors and retries automatically during processing. It manages error handling and result extraction into a consistent JSON structure, ensuring reliable output even when processing large batches of files.

What is the output format for extracted text and layout from images and PDFs?

The output format for extracted text and layout from images and PDFs is Markdown. This format preserves the original document layout and text structure, returning results in a consistent JSON structure for easy integration.