ocr

Extract text from images and PDF documents using OCR engines.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/jholhewres/goclaw-skills --skill ocr-jholhewres
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr
Source: https://github.com/jholhewres/goclaw-skills/tree/main/skills/ocr
Command: npx skills add https://github.com/jholhewres/goclaw-skills --skill ocr-jholhewres

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tesseract, imagemagick, pytesseract, pillow, pdftoppm, ocrmypdf, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of extracting text from images and scanned documents, making them searchable and editable.

Core Features & Use Cases

  • Image to Text: Convert images containing text into plain text files.
  • PDF OCR: Perform Optical Character Recognition on PDF documents to make them searchable.
  • Use Case: You have a scanned PDF of an old book. Use this skill to extract all the text so you can search for specific phrases or copy passages.

Quick Start

Use the ocr skill to extract all text from the image file 'receipt.png'.

Frequently Asked Questions about ocr

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

FAQPage Schema
How do I extract text from a scanned PDF document?

To extract text from a scanned PDF, you can apply Optical Character Recognition using Tesseract and ocrmypdf. This process converts visual text in PDF documents into searchable and editable plain text formats.

Can I use Tesseract to convert an image to text locally?

Yes, you can use Tesseract with Python libraries like pytesseract and pillow to perform local image to text extraction. This allows you to convert images containing text into plain text files without cloud APIs.

What is the best way to make scanned images searchable?

The best way to make scanned images searchable is by applying OCR engines like Tesseract or cloud-based APIs. This converts the embedded visual text into recognized digital characters that can be indexed and searched.

Does this OCR approach work with Google Cloud Vision and AWS Textract?

Yes, the OCR approach supports integration with cloud-based APIs like Google Cloud Vision, AWS Textract, and OCR.space. This allows you to extract text from images and PDFs using cloud processing alongside local Tesseract execution.

Why do I need ImageMagick and pdftoppm for PDF OCR?

ImageMagick and pdftoppm are required to preprocess scanned PDFs by converting pages into compatible images. These image files are then processed by Tesseract and pillow to accurately extract the embedded text.

What are the limitations of using Tesseract for text recognition?

Tesseract text recognition requires clear image preprocessing via tools like ImageMagick and pdftoppm to achieve accurate results. For complex layouts or low-quality scans, cloud-based APIs like Google Cloud Vision or AWS Textract may yield better extraction outcomes.