Skip to content

v1.1.0 — On-device document scanner (Phase 1)

Choose a tag to compare

@jeiel85 jeiel85 released this 19 Jun 06:53

ClearPDF Local v1.1.0 — Real on-device document scanner (Phase 1)

Phase 1 of the scanner-quality roadmap. The camera scanner moves from "photo → brightness tweak → PDF dump" to a real OpenCV pipeline that runs fully on-device — no INTERNET permission, no Play Services.

What's new

  • Automatic edge detection — finds the document quad (Canny + contour + largest convex 4-gon).
  • Perspective correction — deskews angled shots into flat, fronto-parallel pages.
  • Four enhancement modes per page: Auto (magic-colour illumination flattening), Color, Grayscale (CLAHE), B&W (background division + adaptive threshold).
  • The raw photo is kept, so you can switch modes without re-shooting.

Technical

  • OpenCV 4.13.0 (Apache-2.0, Maven Central); bundled arm64 .so verified 16KB-aligned for Android 15.
  • abiFilters limited to armeabi-v7a + arm64-v8a.
  • A build-time gate fails the build if android.permission.INTERNET ever appears in the merged manifest — the offline brand is enforced by CI, not review.

Install

Download ClearPDFLocal-v1.1.0-vc3.apk below and sideload it. Requires Android 7.0 (API 24)+.

Known limitations (planned for later increments)

  • Live edge-tracking overlay and auto-capture are not in this build (detection runs after capture).
  • Curved book-page flattening (3D dewarp) is a later phase.