Dicklesworthstone/llm_aided_ocr

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

58
/ 100
Established

Processes PDFs through a multi-stage pipeline: PDF-to-image conversion, Tesseract OCR, intelligent sentence-boundary chunking with context overlap, then parallel LLM correction via OpenAI/Anthropic APIs or local GGUF models with `llama_cpp`. Includes token management with dynamic adjustment, duplicate paragraph removal, optional header/footer suppression, and built-in quality assessment comparing original OCR against final output.

2,885 stars. Actively maintained with 2 commits in the last 30 days.

No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

2,885

Forks

206

Language

Python

License

Last pushed

Mar 03, 2026

Commits (30d)

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/Dicklesworthstone/llm_aided_ocr"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.