paddleocr-text-recognition

Extract line-level text and bounding boxes from images and PDFs via PaddleOCR API.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/wjlmrzd/OpenClaw-Wren --skill paddleocr-text-recognition-wjlmrzd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paddleocr-text-recognition
Source: https://github.com/wjlmrzd/OpenClaw-Wren/tree/main/skills/paddleocr-text-recognition
Command: npx skills add https://github.com/wjlmrzd/OpenClaw-Wren --skill paddleocr-text-recognition-wjlmrzd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Extracts line-level and full recognized text from images and PDFs when you need exact text content and bounding-box locations rather than high-level layout or table reconstruction. It addresses the common need to convert screenshots, photos, scans and single-page PDFs into editable, machine-readable text with positional data.

Core Features & Use Cases

  • Line- and box-level OCR: Returns complete recognized text plus line-level bounding boxes suitable for annotation, search, or downstream parsing.
  • Multiple inputs: Accepts file URLs, local file paths, or uploaded images (base64 payloads) and auto-detects image vs PDF where possible.
  • Robust output handling: Saves a stable JSON envelope containing a complete text field and raw provider result, and prints the saved path by default.
  • Operational tooling: Includes a smoke test to validate configuration and a CLI caller script for production use.
  • Use case: Extract text lines and coordinates from scanned invoices, screenshots, or document photos for data extraction or archival.

Quick Start

Run the ocr_caller script with a file URL or local file path after configuring PADDLEOCR_OCR_API_URL and PADDLEOCR_ACCESS_TOKEN.

Frequently Asked Questions about paddleocr-text-recognition

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

FAQPage Schema
How do I extract text and bounding boxes from screenshots and PDFs?

You can extract text and bounding boxes from screenshots and PDFs by calling the remote PaddleOCR API, which returns a JSON envelope containing the complete recognized text and raw line-level positional data.

Can I use base64 image payloads instead of file URLs for OCR text extraction?

Yes, image-to-text extraction accepts file URLs, local file paths, or base64 payloads as input, auto-detecting whether the file is an image or a single-page PDF to process the text extraction.

Does this OCR tool recover tables and document layouts from scanned pages?

No, this tool extracts line-level and full recognized text with bounding boxes from scanned pages and photos, but it does not perform high-level layout analysis or table reconstruction.

What do I need to configure before running the PaddleOCR text extraction script?

You need to set up the PADDLEOCR_OCR_API_URL and PADDLEOCR_ACCESS_TOKEN environment variables to authenticate with the remote OCR API before running the caller script for text extraction.

How are the OCR text extraction results saved after processing a document?

The tool saves a stable JSON envelope containing the complete text field and raw provider result to a temporary file, printing the saved file path by default for downstream parsing or archival.