Promote to production: Image OCR + Receipt Scanner - #45
Merged
Conversation
PP-OCR pipeline on ONNX Runtime Web (WebGPU/WASM), single image + PDF input, review-&-adjust preprocessing, reason-specific errors. Structured receipt parsing, multi-language, and batch deferred to later phases.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…rors ppu-paddle-ocr@6.2.0 (PP-OCRv5 on ONNX Runtime Web, WebGPU/WASM). SDK boundary isolated to ocr.engine.ts; ocr.lib holds tested logic (caching, row-grouped text assembly, OcrError reasons). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Single image + PDF input, review-&-adjust (rotate/cleanup/threshold), on-device inference, reason-specific errors with retry. Crop UI + box overlay deferred. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Heuristic parser over OCR text+box layout; pluggable ReceiptKeywords (English now, language-extensible); 'Parse as receipt' toggle + dedicated Receipt Scanner tool; editable fields, JSON/CSV export. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
parseReceipt over OCR text+box layout (merchant/date/currency/subtotal/tax/total); pluggable ReceiptKeywords (English now, language-extensible); receiptToJson/Csv. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Extract shared OcrWorkbench from ImageOcr (behavior-preserving); editable ReceiptFields with JSON/CSV/copy export; new image-receipt-scanner tool. Parsed data memoized per OCR result so edits survive re-renders. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feat: Image → Text (OCR) + Receipt Scanner (on-device)
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
goodwebtools | 50fc2c0 | Jul 30 2026, 05:04 PM |
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.
Promotes the on-device Image → Text (OCR) tool and Receipt Scanner (+ Parse-as-receipt mode) to production.
Everything runs client-side; only the OCR model is fetched (CDN, cached). 469 tests pass, lint clean, build green on develop.
Merging triggers the production Cloudflare deploy (goodwebtools.com).