# Using LLama2 to Correct OCR Errors

> This tool improves OCR accuracy on older scanned documents by combining Tesseract OCR with Llama2 AI.

Page: https://nowfound.app/launch/using-llama2-to-correct-ocr-errors

- Launched: 2023-08-02
- Launch-day votes: 54, 10 comments; #1,364 of 3,871 launches that month (top 35%)
- Website: [github.com](https://github.com/Dicklesworthstone/llama2_aided_tesseract), online when checked 2026-09-16
- Category: [AI](https://nowfound.app/c/ai.md)
- Pricing: Free. Free and open source (checked 2026-11-21 on its site)
- Forecast: 88% chance its website is still online in November 2031 (97% in November 2027, 94% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2023: 87%. [Method](https://nowfound.app/forecast.md)
- Originality: 82/100 (original). More original than 82% of products launched in 2023. On its launch day the archive already held 1 similar product; 2 products like it have launched since.

## In plain words

This tool improves OCR accuracy on older scanned documents by combining Tesseract OCR with Llama2 AI. The script extracts text from PDFs, then uses Llama2 to correct transcription errors and format output as markdown, mimicking a human proofreader's expertise. It's designed for anyone frustrated with poor OCR results on typewritten or irregularly-formatted historical documents. The approach leverages modern Python libraries to make the process practical and accessible.

_Written by AI from its launch page and website, 2026-09-05._

## What it does, from its own words

Enhances Tesseract OCR output using LLMs (local or API) for error correction, smart chunking, and markdown formatting of scanned PDFs - Dicklesworthstone/llm\_aided\_ocr

## Does a similar job

- [LLM-aided OCR](https://nowfound.app/launch/llm-aided-ocr-correcting-tesseract-ocr-errors-with-llms): LLM-aided OCR is a tool that corrects errors produced by Tesseract OCR using large language models. (2024-08-09, 479 votes, free, forecast: 95% online in 2031, github.com)
- [Tesseract.js](https://nowfound.app/launch/tesseract-js-pure-javascript-ocr-for-60-languages): Pure Javascript OCR for more than 100 Languages 📖🎉🖥 (2016-10-12, 727 votes, free, forecast: 93% online in 2031, github.com)
- [Screenshot Reader by Docsumo](https://nowfound.app/launch/screenshot-reader-by-docsumo): We recently conducted an in-depth benchmark comparing Docsumo's proprietary OCR technology against Mistral OCR and Landing AI's Agentic Document Extraction. Our objective was to evaluate their perfor… (2021-05-12, 140 votes, free tier, forecast: 92% online in 2031, docsumo.com)
- [PDF to MD by LLMs](https://nowfound.app/launch/pdf-to-md-by-llms-extract-text-tables-image-descriptives-by): PDF to MD by LLMs is a Python API service that converts PDF documents into structured Markdown format using GPT-4o for optical character recognition. (2024-09-22, 191 votes, free, forecast: 94% online in 2031, github.com)
- [Qwen-2.5-32B is now the best open source OCR](https://nowfound.app/launch/qwen-2-5-32b-is-now-the-best-open-source-ocr-model): Last week was big for open source LLMs. We got: - Qwen 2.5 VL (72b and 32b) - Gemma-3 (27b) - DeepSeek-v3-0324 And a couple weeks ago we got the new mistral-ocr model. We updated our OCR benchmark to… (2025-04-01, 211 votes, free, forecast: 95% online in 2031, github.com)
- [BetterOCR combines and corrects multiple OCR](https://nowfound.app/launch/betterocr-combines-and-corrects-multiple-ocr-engines-with-an): 🔍 Better text detection by combining multiple OCR engines (EasyOCR, Tesseract, and Pororo) with 🧠 LLM. (2023-10-28, 63 votes, free, forecast: 93% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/using-llama2-to-correct-ocr-errors.md

## For the maker of Using LLama2 to Correct OCR Errors

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/using-llama2-to-correct-ocr-errors
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/using-llama2-to-correct-ocr-errors"><img src="https://nowfound.app/badge/using-llama2-to-correct-ocr-errors.svg" alt="Using LLama2 to Correct OCR Errors on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=36976333)
