Latest / Productivity

llama2_aided_tesseract

github.com · Open source · Active

Python script that uses Llama 2 to correct Tesseract OCR output

Visit github.com ↗Share

  • tesseract
  • llama 2
  • ai assist
  • llama2
  • ocr correction
  • llm ocr
  • tesseract llm
Stars
3k
Forks
215
Open issues
0
Last commit
Found
3 years ago

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

llama2_aided_tesseract runs Tesseract OCR on a PDF and passes the text sentence by sentence to a language model, which corrects transcription errors and formats the result as Markdown. The repository says the model can be local or API-based, which suits people digitizing old typewritten documents.

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

  • Runs Tesseract OCR on PDF pages converted to images
  • Sends OCR text in chunks to an LLM to correct transcription errors
  • Outputs corrected text as Markdown with optional header and page number removal
  • Supports local LLMs or OpenAI and Anthropic APIs

Good for

  • Clean up OCR text from old typewritten scanned documents
  • Convert a scanned PDF into corrected Markdown

Suits: People digitizing old typewritten or irregular scanned documents.

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 llama2_aided_tesseract on , when eigenvalue posted it to Show HN. GitHub listed no published releases for Dicklesworthstone/llama2_aided_tesseract 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: 54 points, 10 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: 54 points, 10 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/llama2_aided_tesseract
  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 llama2_aided_tesseract released?
No dated release record is available. Kip found it on Show HN on 2 Aug 2023.
Is llama2_aided_tesseract open source?
Its source is public on GitHub at Dicklesworthstone/llama2_aided_tesseract; check the repository for licence terms.
What does llama2_aided_tesseract run on?
Command line, Self-hosted.
Is llama2_aided_tesseract free?
It is open source, so the code is free to read and run; check the licence for terms.
Is llama2_aided_tesseract 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/llama2_aided_tesseract
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-36976333. 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.