CommunityImagegithub.com

yejinlei/pdf-ocr-skill

A PDF OCR skill with four-engine support, capable of extracting Chinese and English text from scanned PDF and image files.

What is pdf-ocr-skill?

This skill provides a powerful PDF OCR (Optical Character Recognition) solution for developers using AI agent platforms like Claude Code, Cursor, or Codex. It supports four different OCR engines, allowing flexible and accurate text extraction from scanned PDFs (also known as 'scanned' or 'image-based' PDFs) and common image file formats (e.g., PNG, JPG). The skill is particularly useful for processing documents that do not contain selectable text, such as old books, contracts, or faxed materials. By leveraging multiple engines, it can handle a wide variety of document quality levels and multilingual text (Chinese and English). The skill is designed to be invoked via a simple API or agent tool call, returning the extracted text for further processing or analysis. It works by first detecting the file type and then applying an appropriate OCR pipeline (e.g., using Tesseract, PaddleOCR, or cloud-based services) with pre-processing steps like deskewing, thresholding, and layout analysis. This makes it an essential tool for document digitization workflows in AI-powered development environments.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/yejinlei/pdf-ocr-skill/tree/main/skills/pdf-ocr-skill

Installed? Explore more Image skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does pdf-ocr-skill do?

A PDF OCR skill with four-engine support, capable of extracting Chinese and English text from scanned PDF files and image files.

Related Skills