mzucker/page_dewarp
Text page dewarping using a "cubic sheet" model 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: 3675
- days_rel: n/a
- days_push: 1280
- n_releases_24m: 0
Adoption not part of the score
1526 stars · 243 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python command-line tool that dewarps photos of curled or warped book pages using a cubic sheet optimization model, flattening them into readable images. It also performs adaptive thresholding to produce clean, binarized document images.
Use cases
- straighten photos of curled book pages
- dewarp scanned documents automatically
- flatten warped text in images for OCR
- convert photos of handwritten homework into clean PDFs
- preprocess archival document photos for digitization
- binarize page images to remove shadows and noise
When to choose
- you have photos of pages with significant curl or perspective warp
- you want a simple scriptable CLI for batch dewarping images
- you need cleaner input images to improve downstream OCR accuracy
- you prefer a lightweight, dependency-minimal tool over full document scanning suites
When to avoid
- you need a GUI or interactive correction of dewarping results
- you need PDF output, multi-page management, or full scanning workflows built in
- you need actively developed software with frequent updates and support
- your images are already flat scans that only need deskewing
Facets
cli-tool · maturity maintenance
image-processing computer-vision ocr pdf computer-vision image-processing pdf files python cli cross-platform document-dewarping page-flattening opencv document-scanning thresholding
2 sources
- readme: https://github.com/mzucker/page_dewarp · fetched 2026-08-28 · 940857d42884
- homepage: https://mzucker.github.io/2016/08/15/page-dewarping.html · fetched 2026-08-29 · 7de721656955
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mzucker/page_dewarp | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="mzucker/page_dewarp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem