paddleocr-text-recognition

Extract text and positional data from images and PDFs via PaddleOCR API.

35|3|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Aidenwu0209/PaddleOCR-Skills --skill paddleocr-text-recognition-aidenwu0209
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paddleocr-text-recognition
Source: https://github.com/Aidenwu0209/PaddleOCR-Skills/tree/main/skills/paddleocr-text-recognition
Command: npx skills add https://github.com/Aidenwu0209/PaddleOCR-Skills --skill paddleocr-text-recognition-aidenwu0209

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Extracts text (with locations) from images and PDF documents using PaddleOCR.

Core Features & Use Cases

  • Text extraction with positional data from images and PDFs (including invoices, forms, and documents)
  • Returns a structured result envelope including text, page-level data, and the raw API response
  • Simple integration via a Python API and a CLI wrapper for batch or on-demand OCR tasks

Quick Start

Invoke OCR on an image or PDF by calling the Python API or the provided CLI to obtain text with layout information.

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 from an image or PDF with positional data?

You can extract text from images and PDFs by invoking the provided Python API or CLI wrapper, which communicates with the PaddleOCR API. It processes invoices, forms, and general documents, returning a structured envelope with the full text, page-level positional data, and raw API response.

Do I need an API URL and access token to perform OCR on invoices and forms?

Yes, performing OCR on invoices and forms requires setting the PADDLEOCR_OCR_API_URL and PADDLEOCR_ACCESS_TOKEN environment variables, with an optional timeout setting. These credentials authenticate your requests to the PaddleOCR API to successfully extract text and layout information.

Can I process multiple PDFs for text extraction in a batch?

Yes, you can process multiple PDFs for text extraction using the provided CLI wrapper designed for batch or on-demand OCR tasks. It returns page-wise results and full text for each document, making it simple to automate text extraction workflows across various files.

What is included in the structured envelope when extracting text from images?

The structured envelope returned when extracting text from images includes ok, text, result, and error fields. This format ensures you receive the full extracted text, detailed page-level positional data from the PaddleOCR API, and any error messages encountered during processing.

Does PaddleOCR text extraction work with Python and httpx for API communication?

Yes, PaddleOCR text extraction integrates with Python and uses the httpx dependency to handle API communication. This setup allows you to send images and PDFs to the configured PaddleOCR API URL and receive structured text and layout data in return.