Skip to content

v1.3.0 — On-device OCR & searchable PDFs

Choose a tag to compare

@github-actions github-actions released this 19 Jun 08:56

ClearPDF Local v1.3.0 — On-device OCR & searchable PDFs

Offline OCR (Tesseract) plus a searchable-PDF writer (PdfBox-Android). A scan can now carry an invisible, selectable/searchable text layer — all on-device, no INTERNET, no Play Services.

What's new

  • Searchable PDF (OCR): a toggle in the scan save dialog. When on, the text is recognized on-device and added to the PDF as an invisible layer, so it's searchable, selectable, and copyable.
  • Korean + English recognition (kor+eng).
  • Graceful fallback: pages the OCR/font can't handle fall back to a plain image PDF, so saving never fails.

Technical

  • TessOcrEngine — tesseract4android 4.9.0 (JitPack; native libs verified 16KB-aligned). tessdata_fast kor+eng bundled in assets, copied to filesDir on first run.
  • SearchablePdfUseCase — PdfBox-Android 2.0.27.0; per page draws the image and lays OCR words as render-mode-3 text, using an embedded NanumGothic Type0 font (subset) for Korean coverage. Per-word try/catch.
  • Verified on a real Android 15 device: the searchable pipeline runs without crashing and produces a valid PDF with the embedded Type0 font. OCR accuracy on real text is left to real-document testing.

Size

Adds ~7.8 MB of assets (kor/eng traineddata + NanumGothic) on top of the OCR/PDF native libs — the universal APK is correspondingly larger.

Install

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