Skip to content
Back to skills

Tesseract Ocr

ASecurity

Extract text from images and scanned PDFs via the local Tesseract binary.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 14, 2026
ai-agentsgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned June 14, 2026

npx -y skills add lordmacu/nexo-rs --skill tesseract-ocr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tesseract Ocr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tesseract Ocr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lordmacu-tesseract-ocr/badge)](https://www.skillsdirectory.com/skills/lordmacu-tesseract-ocr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Tesseract OCR
description: Extract text from images and scanned PDFs via the local Tesseract binary.
requires:
  bins:
    - tesseract
  env: []
---

# Tesseract OCR

Local, offline OCR. Wraps the `tesseract` CLI. No API key, no upload.

## Use when

- "Read the text in this screenshot / photo"
- Extracting text from scanned documents (PDF images)
- Processing receipts / handwritten notes (low confidence, but tries)
- Pre-processing an image before feeding text into `summarize` / `translate`

## Do not use when

- Digital PDFs with embedded text — use `pdf-extract` (faster, exact)
- Handwriting-heavy or complex layouts — results will be poor
- You need bounding boxes or structured output — use a vision LLM

## Tools

- `status` — Tesseract version
- `languages` — installed language packs (`eng`, `spa`, `fra`, ...)
- `ocr` — `image_path`; optional `lang` (default `eng`), `psm` (page seg mode, default 3), `oem` (engine mode, default 3)

## Language packs

Install on Debian/Ubuntu: `apt install tesseract-ocr-spa` (etc.). Check
installed with `languages`. Combine with `+`: `lang: "eng+spa"`.

## Common PSM values

| PSM | Meaning |
|-----|---------|
| 3 | Fully automatic (default) |
| 6 | Single uniform block of text |
| 7 | Single line |
| 11 | Sparse text — find as much as possible, no order |
| 13 | Raw line — single text line, no preprocessing |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.