nigig-org/crates/apps/pdf
andodeki f535296b43 feat(scanner-ocr): on-device recognition behind ocr feature; gate pdf seam
nigig_doc_scanner splits the app shell (Makepad UI, nigig-core/uikit,
device location) from a new ocr feature: pure-Rust TemplateOcr
(Otsu plus 8-connected components plus embedded 5x7 templates for
0-9A-Z, confidence floor 0.80 plus runner-up margin, checked
budgets) with field suggestions and a deterministic fixture renderer
shared with downstream crates. Downstream device crates enable
nigig_doc_scanner/ocr with default-features=false (dep tree proven
free of UI/location crates). Binary requires app.

nigig-pdf-document gates its engine-free ocr seam behind an ocr
cargo feature (default on); recognition must not pull the
document/signing stack.

Verified: scanner ocr-only check plus 11 lib tests green;
pdf-document check green with default and --no-default-features;
pdf ocr tests 5/5. Pre-existing xmp.rs unused_mut warning untouched.
2026-09-25 22:41:38 +03:00
..
pdf-cos chore: sync full working tree to gitdab 2026-09-12 07:15:24 +03:00
pdf-document feat(scanner-ocr): on-device recognition behind ocr feature; gate pdf seam 2026-09-25 22:41:38 +03:00
pdf-graphics feat(pdf): image ink colorants + downsample/pixels + shading/interpreter ports 2026-09-14 09:46:52 +03:00
pdf-makepad feat(pdf): graphics/document port progress + android gates 2026-09-11 05:09:11 +03:00
tests/corpus feat(pdf): Unicode-aware search and layout-aware reading order 2026-08-19 16:12:12 +00:00