Repository navigation
v1.8.9 — OCR on oversized scan pages: bounded render size, memory-safe concurrency
Fixed
- Scan pages from phone-scanner apps rendered at up to 8400 x 11200 px. All OCR and vision paths now go through one renderer with a 16 MP budget (
PDFMUX_MAX_RENDER_PIXELS). Normal pages are unchanged. A 4-page phone scan: 37.6 s → 4.3 s. - A page that ran out of memory during parallel OCR came back empty. It is now retried on its own.
Added
PDFMUX_OCR_WORKERS(default 4). Set it to 1 on hosts with less than 2 GB of memory: peak drops from ~1.6 GB to ~1.3 GB.
Full notes: CHANGELOG.md. PR #57.