Skip to content

v1.4.0 — AI curved-page dewarping (on-device)

Choose a tag to compare

@github-actions github-actions released this 20 Jun 01:34

ClearPDF Local v1.4.0 — AI curved-page dewarping (on-device)

Neural curved-page flattening — the vFlat-style "왜곡 보정". A photographed curved book page can be flattened into a fronto-parallel document, fully on-device, no INTERNET.

What's new

  • Flatten curved page (AI): a new action on each scanned page. Photograph an open, curved book and tap Flatten — bent text lines and the bowed spine are straightened into a flat page (which also makes OCR cleaner).

Technical

  • DewarpEngine runs the bundled UVDoc model (UVDoc_infer.onnx, ~31.7 MB) via ONNX Runtime Mobile (onnxruntime-android 1.26.0). The model returns the rectified image directly — its internal grid_sample runs under ONNX Runtime, so no TFLite is needed. arm64 .so verified 16KB-aligned for Android 15.
  • Pipeline: dewarp the raw photo, then re-apply the page's enhancement mode; the flattened image is cached so mode switches don't re-run the model.
  • Verified on a real Android 15 tablet: UVDoc loads + runs at ~275 ms and visibly flattens a curved book page.

Honest limits

  • Works well on gentle/moderate book curl (as tested). Extreme curvature, the gutter/spine, and poor lighting may still fall short of a polished commercial scanner.

Size

The bundled model + ONNX Runtime native libs make this build substantially larger (the per-device install grows by tens of MB). This is the cost of a fully-offline neural model.

Install

Download ClearPDFLocal-v1.4.0-vc6.apk below and sideload it (built & signed by CI). Requires Android 7.0 (API 24)+.