varutasu
28bdd6aa5b
Fix scanner multi-card flow, frame overlay, and rate limits. ( #166 )
...
Allow consecutive scans without refresh by resetting trackers and counting vision rate limits once per card. Add a fixed card guide, widen detection bounds, and correct object-cover overlay math.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 18:48:05 -05:00
varutasu
c52891a6b2
feat(scanner): perspective warp card detection (Phase 2) ( #158 )
...
Add quad corner refinement and homography warp for rectified identify
crops; wire warped capture through identifyTrackedCardCapture with
validation and axis-aligned fallback; add detection frame a11y labels.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 20:31:45 -05:00
varutasu
0b4f419f49
Scanner identify upgrade — Phase 1 hot path ( #156 )
...
* docs(convoy): seed scanner identify upgrade epic and sub-convoys
Baseline scan_attempts telemetry and three-phase plan for faster, more
accurate card identification without touching scanner chrome.
Co-authored-by: Cursor <cursoragent@cursor.com>
* feat(scanner): tighten Layer-1 identify hot path (Phase 1)
Cut verify hold-still gates, OCR collector numbers on Layer 1, request
structured Gemini JSON, and skip automatic L2 refine when L1 opens the
printing picker. Includes convoy UX/architecture briefs and unit tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 20:21:20 -05:00
varutasu
986daaa1f2
refactor(scanner): extract camera lifecycle hook (Brief 4) ( #71 )
...
Move stream start/stop, detection intervals, and tracked-card polling
into lib/use-camera-scanner.js. CameraScanner keeps identification UI
and disambiguation wiring only.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 15:44:56 -05:00
varutasu
a6813ef764
refactor(scanner): extract card detection and tracking lib (Brief 2) ( #69 )
...
Move OpenCV shape detection, coordinate conversion, overlap checks,
and tracked-card merge logic from CameraScanner into lib/scanner-card-detection.js
with unit tests for the pure helpers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 12:52:40 -05:00