emon_core 0.3.0-preview.8
emon_core: ^0.3.0-preview.8 copied to clipboard
Dart API over the emon C library (PDF and image to semantic HTML/JSON), with engine adapters, model packs and build hooks.
0.3.0-preview.8 #
hooksandcode_assetsare now^2.0.0and>=1.1.0 <3.0.0:flutter pub addresolves on Flutter 3.44 (which pinsmeta1.18.0) without ametaoverride (issue #1).- The web backend: the same API on Dart web and Flutter web, over emon's wasm build and the JS SDK (
WebAssets);bb dart-webtests it in headless Chrome. - Several photos as one document:
EmonInput.images([...])(upload order is authoritative), and thecaptureoption (auto,scan,photos) for seam matching and clipped lines. - Packs:
onPackNeededrequests name each file's SHA-256, size and ordered URLs (the emon-packs mirror, the GitHubpacksrelease, then your ownpackMirrors); per-pack status (missing,queued,downloading,verifying,ready,failed) andpacks.summary()/summaryChangesfor app UIs; a default loader that keeps only the latest revision of each pack. - Where two or more engines read a page and disagree, the model says so (
ocr-readings:disagreeby default,all,off), andocr-compose(keep, the default, orvote) decides whether the calibrated composition changes the page. - OCR adapters register by role; the legacy
emon_ppocr_*_v1native exports are gone. - The native bundles carry a reduced ONNX Runtime on mobile (iOS and Android PP-OCR adapters are about half the size).
0.3.0-preview.1 #
- First preview.