jlsutherland/doc2text
Detect text blocks and OCR poorly scanned PDFs in bulk. Python module available via pip. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3657
- days_rel: n/a
- days_push: 2101
- n_releases_24m: 0
Adoption not part of the score
1278 stars · 101 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
doc2text is a Python library that extracts high-quality text from poorly scanned PDFs by correcting resolution, cropping, and skew before OCR. It uses OpenCV and tesseract to detect text blocks and process documents in bulk.
Use cases
- extract text from poorly scanned pdfs
- ocr scanned documents in bulk
- fix skew and resolution before ocr
- build text corpora from pdf files
- detect text blocks in scanned images
- preprocess scans for tesseract
When to choose
- you need to OCR low-quality or skewed scanned PDFs on Linux
- you want to build research text corpora from scanned documents
- you want automatic scan correction (crop, deskew, resolution) before OCR
When to avoid
- you need multi-column or table extraction support
- you need cross-platform support beyond Ubuntu Linux
- you need a stable, actively maintained library
- you only need OCR of clean, high-quality PDFs
Facets
library · maturity experimental
ocr image-processing pdf parser computer-vision pdf computer-vision files python cli ocr-preprocessing scanned-documents text-extraction bulk-processing tesseract natural-language-processing linux
2 sources
- readme: https://github.com/jlsutherland/doc2text · fetched 2026-08-28 · 475447980e1a
- registry_pypi: https://pypi.org/pypi/doc2text/json · fetched 2026-08-29 · 46580e577bef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jlsutherland/doc2text | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="jlsutherland/doc2text")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem