Repository navigation
Conversation
dlymonkai
force-pushed
the
feat/MN-848/ocr
branch
from
September 14, 2026 07:38
94d720f to
96e97b7
Compare
dlymonkai
force-pushed
the
feat/MN-848/ocr
branch
2 times, most recently
from
September 17, 2026 14:03
f93650c to
b425653
Compare
Add new @monkvision/ml-web package providing a browser-based OCR engine built on ONNX Runtime Web for VIN and odometer text detection. - useOcr hook: ONNX model loading, frame inference, text consistency check - ocr.worker.ts: Web Worker for non-blocking ONNX inference - ocr.utils.ts: image pre-processing and character post-processing - Full unit test suite covering the hook and utilities - Jest, ESLint, and TypeScript build configs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Integrate @monkvision/ml-web into PhotoCapture for real-time OCR scanning with a confirm/edit/fallback flow. - PhotoCaptureHUDOcrOverlay: live camera overlay with text detection - PhotoCaptureHUDOcrConfirmModal: confirm / reject / edit detected text - usePhotoCaptureOcrConfirm: state machine for the full confirm flow - ocrTypes.ts: shared types (OcrMode, OcrState, etc.) - ISO 3779 VIN format validation and retry-limit logic - Fallback shutter mode when OCR times out (ocrTimeoutMs) - odometerUnit prop in LiveConfig / PhotoCaptureProps for default unit - i18n keys (photo.hud.ocr.*) added to all 18 locale JSON files - Unit tests for all new components, hooks, and utilities Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Wire OCR into the demo app and resolve bundle/alias issues introduced by the new @monkvision/ml-web package. - vite.config.ts: resolve.alias pointing @monkvision/* to src/ for live hot-reload without rebuilding SDK packages - Exclude JSEP WASM, ml-web, and VideoTutorial/assets.ts from bundler - Inline env vars as static JSON to fix dynamic process.env access - Exclude SDK packages from the React compiler to prevent white screen - local-config.json: add OCR model URLs to demo configuration - PhotoCapturePage: forward ocrConfig prop to PhotoCapture - common-ui-web: add IconVerticalPositionVariant to barrel export - inspection-review: fix useMonkTheme deep-path import to barrel - .gitignore: add ONNX model cache dirs - yarn.lock: update Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Show a km/miles dropdown inline with the detected value so the user can correct the unit before confirming. The selected unit is sent to onConfirm instead of the static defaultMileageUnit fallback, and resets to the sight's default unit when the active sight changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
dlymonkai
force-pushed
the
feat/MN-848/ocr
branch
from
October 6, 2026 08:29
962544e to
815b3d2
Compare
This branch has not been deployed
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.
Overview
Jira Ticket Reference : MN-848
Checklist before requesting a review