Description
llm_aided_ocr is a tool that improves the output of Tesseract OCR by sending the raw text through a large language model. The raw text from a scanned PDF often contains errors and layout noise, and the project uses an LLM to correct those errors, split the text into smart chunks for efficient processing, and format the result as Markdown. The README describes the pipeline: the PDF is converted to images, Tesseract performs OCR, the LLM corrects the text, and a quality assessment is made of the final output. Headers and page numbers can optionally be suppressed. The model can be a local LLM or a cloud API such as OpenAI or Anthropic, and processing is asynchronous, with detailed logging of each step. The README links example outputs showing the original PDF, the raw OCR output and the corrected Markdown. The project is on GitHub.…
Highlights
- PDF to image and Tesseract OCR
- LLM error correction of OCR text
- Smart chunking for long documents
- Markdown output with optional header suppression
- Local or cloud LLMs such as OpenAI and Anthropic
Ratings & Reviews
No ratings yet
Be the first to rate LLM Aided OCR.
People also visit
LLM Aided OCR FAQ
What does llm_aided_ocr do?
It runs Tesseract OCR on a scanned PDF, then uses an LLM to correct errors and produce readable Markdown.
Can I use a local model?
Yes. The README says the LLM step can use a local model or a cloud API provider such as OpenAI or Anthropic.
Can I remove headers and page numbers?
Yes. Header and page number suppression is optional.
Is there a way to check the quality?
The README lists a quality assessment of the final output.
Are there examples?
Yes. The README links an original PDF, its raw OCR output and the LLM-corrected Markdown.
What are the best LLM Aided OCR alternatives?
Popular alternatives to LLM Aided OCR include BetterOCR, TurboOCR and API LLM OCR. See all LLM Aided OCR alternatives




