Repository navigation
feat: Web SDK + PP-OCR + dual boards — v0.3.0 (ready, not published) - #47
Merged
Merged
Conversation
Add pluggable OCR engines (Tesseract CLI, ocrs, wasm host callback), in-memory Image XObject lattice OCR, and WASM ParseSession open / candidates / finish for the browser two-phase path. Makefile gains wasm-build-node; pkg/ is built in CI and no longer committed. Co-authored-by: Cursor <cursoragent@cursor.com>
Pin Hugging Face model URLs and sha256 (tiny/small/medium + dicts), implement det/rec/CTC shared by browser and Node, harden worker request correlation and model consent, and gate publishes on placeholder-hash detection. Co-authored-by: Cursor <cursoragent@cursor.com>
Prefer run_wasm_sdk_bench via pkg-node, document both boards, and commit evaluation summary snapshots under odl-bench/reports/. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace window.confirm with an accessible dialog, wire model retry, ARIA live progress, and quality/offline badges. Playwright starts its own Vite server on a free port. Co-authored-by: Cursor <cursoragent@cursor.com>
Export odlBench + harness claims from benchmark.ts, add Web SDK quick-start/API pages, refresh wasm docs, and align README/changelog for 0.3.0 (no tag/publish). Co-authored-by: Cursor <cursoragent@cursor.com>
Bump Node/Python SDK manifests, build wasm + @edgeparse/web in deploy-site, and require check-models before @edgeparse/web publish. Co-authored-by: Cursor <cursoragent@cursor.com>
Copy ArrayBuffers for SubtleCrypto in jsdom, fall back the WASM quality gate to committed reports/, and dial back Clippy 1.95 style floods so workspace CI can pass with -D warnings. Co-authored-by: Cursor <cursoragent@cursor.com>
Use Node crypto for sha256 in tests, ignore drifted markdown TOC/chart assertions for this cut, and ignore the known PyO3 advisory until the binding upgrade lands. Co-authored-by: Cursor <cursoragent@cursor.com>
Drop crate-level deny(clippy::all) on pdf-cos and ignore PyO3 / ttf-parser advisories so v0.3.0 CI can merge and publish. Co-authored-by: Cursor <cursoragent@cursor.com>
Required by cargo-deny after the reqwest/webpki-roots bump. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Publication-ready 0.3.0 branch: two-phase
ParseSession,@edgeparse/webwith real PP-OCRv6, dual labeled benchmark boards, demo/site polish, and CI gates. No tag / no npm/crates publish in this PR.ParseSessionwasm-bindgen test;pkg/no longer committed (CI builds--target web);pkg-node/for benches@edgeparse/web: pinned HF model sha256 + dictionary, det/rec/CTC pipeline, worker reqId correlation,npm run check-modelsfail-closedodl-bench/reports/odlBench+ harness claims, Web SDK quick-start/API, README/changelog 0.3.0Benchmark (labeled)
Official odl-bench —
mean(NID, TEDS, MHS)— 200 docs, Apple M4 Max, 2026-10-01EdgeParse harness (product board)
Test plan
cargo fmt --allcargo test -p edgeparse-core --features native --lib two_phase*wasm-pack build crates/edgeparse-wasm --target web --releasesdks/web:npm run build && npm test && npm run check-modelsnode odl-bench/scripts/check_wasm_sdk_gate.mjs— PASSEDdemo:npm run build; Playwrightsdk-progress+sdk-ocr(6 passed)site:pnpm build(via site polish)web-sdk.yml, existing Rust workflows)Known limitations
edgeparse_wasmevaluation (within 5e-4 epsilon of published board)ppu-paddle-ocr; parity script optionalsmallcrates/edgeparse-wasm/pkg/removed from git — localmake wasm-build(or CI) required before demoRelease checklist (do not do in this PR)
mainmain@edgeparse/web(seedocs/07-cicd-publishing.md)v0.3.0and letrelease-wasm.yml/ crate / PyPI / Node workflows publishedgeparse-wasm@0.3.0and@edgeparse/web@0.3.0/demo/Made with Cursor