Captured image → VIN OCR → NHTSA decode → form population
Review/correct UI before auto-populating fields
User Flow
1. User clicks camera icon next to VIN field
2. CameraCapture opens with VIN aspect-ratio guide
3. User captures photo, optionally crops
4. Loading state: "Extracting VIN..."
5. OCR returns VIN → call existing NHTSA decode
6. Review modal shows:
- Extracted VIN with confidence indicator
- Decoded vehicle info (year, make, model, etc.)
- Comparison with any existing form values
7. User confirms → form fields populated
8. User can edit any field before final save
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Overview
Integrate camera capture and VIN OCR into the VehicleForm, including the review/correct UI before saving.
Parent Issue: #12 (OCR-powered smart capture)
Priority: P1 - VIN OCR
Dependencies: Camera Capture Component, VIN Photo OCR Pipeline
Scope
VehicleForm Enhancement
User Flow
Review/Correct UI
Confidence Indicators
Mobile Design
Component Structure
useVinOcr Hook
API Integration
Acceptance Criteria
Technical Notes
vehiclesApi.decodeVin()- no changes neededOut of Scope