LLM Aided OCR — AI skill for Claude Code
Enhances Tesseract OCR output using LLMs (local or API) for error correction, smart chunking, and markdown formatting of scanned PDFs.
How to install LLM Aided OCR
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Dicklesworthstone/llm_aided_ocr and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What LLM Aided OCR does
Enhances Tesseract OCR output using LLMs (local or API) for error correction, smart chunking, and markdown formatting of scanned PDFs.
Alternatives in AI
- Azure Vision Java — Image captioning, OCR, and object detection 1.8k ★
- Semble Rs — Fast, AI-agent-native code search in Rust — hybrid BM25 + semantic, Tree-sitter AST chunking, dependency & imp 210 ★
- AI Chat Exporter — Export your ChatGPT, Claude, Copilot, Gemini and Grok chat, using Tampermonkey on chrome, firefox, and other s 141 ★
README
LLM-Aided OCR Project
Introduction
The LLM-Aided OCR Project is an advanced system designed to significantly enhance the quality of Optical Character Recognition (OCR) output. By leveraging cutting-edge natural language processing techniques and large language models (LLMs), this project transforms raw OCR text into highly accurate, well-formatted, and readable documents.
Example Outputs
To see what the LLM-Aided OCR Project can do, check out these example outputs:
Features
- PDF to image conversion
- OCR using Tesseract
- Advanced error correction using LLMs (local or API-based)
- Smart text chunking for efficient processing
- Markdown formatting option
- Header and page number suppression (optional)
- Quality assessment of the final output
- Support for both local LLMs and cloud-based API providers (OpenAI, Anthropic)
- Asynchronous processing for improved performance
- Detailed logging for process tracking and debugging
- GPU acceleration for local LLM inference
Detailed Technical Overview
PDF Processing and OCR
**PDF to Image Conversion**
- Function:
convert_pdf_to_images() - Uses
pdf2imagelibrary to convert PDF pages into images - Supports processing a subset of pages with
max_pagesandskip_first_n_pagesparameters
- Function:
**OCR Processing**
- Function:
ocr_image() - Utilizes
pytesseractfor text extraction - Includes image preprocessing with
preprocess_image()function:- Converts image to grayscale
- Applies binary thresholding using Otsu's method
- Function:
Related Skills
Pdfx
Self-contained Claude Code skill for any PDF task — generate publication-quality PDFs/ebooks from Markdown (We
Nccn Skill
Convert NCCN cancer clinical practice guideline PDFs into executable Claude Code skills with semantic chunking
Wikipedia AI Agent
Wikipedia AI agent research assistant. LangChain's LangGraph's ReAct agent architecture, LLMs (OpenAI, Anthrop
Claude Code Jev Smart Router
HTTP proxy for Claude Code that selects the Claude model per request to cut cost and latency. Routes on task p
Context Window Text Chunking
Paragraph-boundary-aware text chunker for fitting long documents into LLM context windows. Optional overlap, w
G Mini Agent
G-Mini Agent 🖥️👁️🗣️ Asistente IA open-source que VE tu pantalla, HACE CLIC automático y HABLA en tiempo rea
Related Agents
Observer
Visual analysis specialist. Interprets images, screenshots, PDFs, and diagrams; extracts exact text via OCR (n
Kio Be AI
AI/ML & RAG Specialist (Nia Zhang). Production RAG architectures, hybrid search, chunking strategies, embeddin
Brain Ingest Engineer
Ingestion engineer — harvest connectors (Jira, Confluence, git, ADO probe), canonical mappers, deterministic m