nowfound

AI · August 2, 2023

Using LLama2 to Correct OCR Errors

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

Using LLama2 to Correct OCR Errors launched on August 2, 2023 with 54 votes, #1,364 of 3,871 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 3 years on.

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 · 5 September 2026

Originality

82/100

Original. More original than 82% of products launched in 2023.

Similar products before it
1
in the archive on its launch day
See similar products ↓
Similar products since
2
launched after it
See similar products ↓

crowded fieldone of a kind

The score compares the words of this launch with every earlier launch in the archive: the fewer close matches on launch day, the higher the score. It says how new the idea was, not how good the product is. Similar products counted on November 30, 2026. See the similar products →This week’s most original launches →

Forecast

88%

chance that this product’s website is still online in November 2031. Typical launch of 2023 gets 87%.

1 year
97%
typical 96%
3 years
94%
typical 94%
5 years
88%
typical 87%
  • Using LLama2 to Correct OCR Errors
  • Typical launch of 2023

Launch signals stronger than 70% of the archiveweakest → strongest

Made on November 29, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →

From the sources

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

In the maker’s words, at launch

I've been disappointed by the very poor quality of results that I generally get when trying to run OCR on older scanned documents, especially ones that are typewritten or otherwise have unusual or irregular typography. I recently had the idea of using Llama2 to use common sense reasoning and subject level expertise…

Pricing, as stated on its site

Free — Free and open source

checked November 2026 · prices change

  • LLM-aided OCR2024 · github.com · ▲479

    LLM-aided OCR is a tool that corrects errors produced by Tesseract OCR using large language models.

  • Tesseract.js2016 · github.com · ▲727

    Pure Javascript OCR for more than 100 Languages 📖🎉🖥

  • Screenshot Reader by Docsumo2021 · docsumo.com · ▲140

    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 performance in real-world document processing tasks, especially with complex layouts and low-quality scans. Key Findings: Accuracy: Docsumo's OCR demonstrated higher precision in text extraction across various document types, including invoices and bank statements. Layout Preservation: Our technology maintained the original structure of documents more effectively, ensuring better usability of extracted…

  • PDF to MD by LLMs2024 · github.com · ▲191

    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.

  • Qwen-2.5-32B is now the best open source OCR2025 · github.com · ▲211

    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 include the new models. We evaluated 1,000 documents for JSON extraction accuracy. Major takeaways: - Qwen 2.5 VL (72b and 32b) are by far the most impressive. Both landed right around 75% accuracy (equivalent to GPT-4o’s performance). Qwen 72b was only 0.4% above 32b. Within the margin of error. - Both Qwen models passed mistral-ocr (72.2%), which is specifically trained for OCR. - Gemma-3…

  • BetterOCR combines and corrects multiple OCR2023 · github.com · ▲63

    🔍 Better text detection by combining multiple OCR engines (EasyOCR, Tesseract, and Pororo) with 🧠 LLM.

More ai this month

the category →

Is Using LLama2 to Correct OCR Errors yours? Feature it on the home page: $19, or free with the badge →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, August 2023

the whole month →