26 lines
746 B
Markdown
26 lines
746 B
Markdown
|
|
---
|
||
|
|
convoy: improve-scan-card-detection
|
||
|
|
brief_number: 2
|
||
|
|
depends_on: [1]
|
||
|
|
recommended_model: composer-2.5-fast
|
||
|
|
model_tier: fast
|
||
|
|
files:
|
||
|
|
- lib/scanner-card-identify.js
|
||
|
|
- lib/use-camera-scanner.js
|
||
|
|
- components/scanner/ScannerCamera.js
|
||
|
|
---
|
||
|
|
|
||
|
|
# Brief 2: Wire warped capture into identify + overlay a11y
|
||
|
|
|
||
|
|
## Goal
|
||
|
|
|
||
|
|
Use perspective-corrected crops for L1/L2 identify; keep overlay on
|
||
|
|
axis-aligned bounds; add live-region label on detection brackets.
|
||
|
|
|
||
|
|
## Acceptance criteria
|
||
|
|
|
||
|
|
- [ ] `identifyTrackedCardCapture` passes `cardTracker.corners` to capture
|
||
|
|
- [ ] `captureCardRegionFromVideo` warps when corners present, else fallback
|
||
|
|
- [ ] `use-camera-scanner.js` comment no longer claims OpenCV
|
||
|
|
- [ ] `DetectionFrame` exposes `role="status"` + `aria-label`
|