Latest / Productivity

llm_aided_ocr

github.com · Open source · Active

Uses LLMs to correct Tesseract OCR errors and format scanned PDFs

Visit github.com ↗Share

  • ai assist
  • llama2
  • tesseract
  • ocr correction
  • tesseract llm
  • scanned pdf to markdown
  • ocr text cleanup
Stars
3k
Forks
215
Open issues
0
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

llm_aided_ocr improves Tesseract OCR output by sending chunks of text to a language model that corrects errors and adds markdown formatting. It works with local models or API providers and handles scanned PDFs, which suits anyone digitizing long documents such as books.

Repository description on GitHub: “Enhances Tesseract OCR output using LLMs (local or API) for error correction, smart chunking, and markdown formatting of scanned PDFs”

What it does

  • Corrects Tesseract OCR errors using a local or API-hosted LLM
  • Converts PDFs to page images and outputs Markdown formatting
  • Optional suppression of headers and page numbers
  • Supports OpenAI and Anthropic APIs as well as local models

Good for

  • Digitize a scanned book PDF into corrected Markdown
  • Compare raw OCR output with the LLM-corrected text

Suits: People digitizing long scanned documents such as books.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw llm_aided_ocr on , when eigenvalue posted it to Show HN. GitHub listed no published releases for Dicklesworthstone/llm_aided_ocr when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 479 points, 172 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 479 points, 172 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: Dicklesworthstone/llm_aided_ocr
  2. Found: eigenvalue posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was llm_aided_ocr released?
No dated release record is available. Kip found it on Show HN on 9 Aug 2024.
Is llm_aided_ocr open source?
Its source is public on GitHub at Dicklesworthstone/llm_aided_ocr; check the repository for licence terms.
Is llm_aided_ocr free?
It is open source, so the code is free to read and run; check the licence for terms.
Is llm_aided_ocr still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryDicklesworthstone/llm_aided_ocr
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-41203306. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Productivity

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.