How venkatasivachari/license-plate-recognition-system works
This is a prototype vehicle-security and Indian license-plate recognition system: a browser camera submits frames for staged detection, OCR, and validation, while the Node API and Supabase make and record access decisions. The operations dashboard presents detections, visits, alerts, and customer records. The README documents the camera-to-service workflow and authorization boundaries; source-index imports and excerpts support the internal calls shown. Some API and dashboard behavior is unsampled, so those connections are limited to documented or visible relationships.
Main entry points: ai_service.py Frame inference API · main.jsx Operations dashboard · server.js Node API · lprs_runtime.py Consensus runtime
Components 17
Recognition pipeline
- Browser camera
frontend/src/main.jsx - Frame inference API
src/ai_service.py - Vehicle detection
src/vehicle_detection.py - Plate localization
src/plate_detection.py - Plate OCR
src/ocr.py - Plate validation
src/plate_validator.py - Consensus runtime
src/lprs_runtime.py - Standalone clients
src/live_lprs.py
Access and events
- Backend access client
src/backend_access.py - Node API
backend/src/server.js - Event handling
backend/src/accessEvent.js - Supabase records
backend/src/supabase.js
Operations dashboard
- Operations dashboard
frontend/src/main.jsx - Dashboard data service
frontend/src/services/localStorageService.js - Visit formatting
frontend/src/services/visitFormatting.js - Theme controller
frontend/src/theme.js
Other components
- Operator
Connections 17
- Operator → Browser camera: captures frames
README.md - Browser camera → Frame inference API: submits frames
README.md - Frame inference API → Vehicle detection: detects vehicles
src/ai_service.py - Frame inference API → Plate localization: locates plates
src/ai_service.py - Frame inference API → Plate OCR: reads crops
src/ai_service.py - Frame inference API → Plate validation: validates text
src/ai_service.py - Frame inference API → Consensus runtime: builds consensus
src/ai_service.py - Consensus runtime → Plate validation: checks plates
src/lprs_runtime.py - Standalone clients → Backend access client: requests decisions
src/live_lprs.py - Backend access client → Node API: posts access events
README.md - Node API → Event handling: uses event helpers
backend/src/server.js - Node API → Supabase records: reads and writes
backend/src/server.js - Operator → Operations dashboard: reviews activity
frontend/src/main.jsx - Operations dashboard → Dashboard data service: loads and updates
frontend/src/main.jsx - Dashboard data service → Node API: calls endpoints
frontend/src/services/localStorageService.js - Operations dashboard → Visit formatting: formats visits
frontend/src/main.jsx - Operations dashboard → Theme controller: sets appearance
frontend/src/main.jsx