NEXUS
A next-gen smart traffic control dashboard. Optimizes complex 4-lane intersections in real-time with AI and computer vision.
Read case studyProblem
Modern cities are choking on static traffic lights. Urban planners need dynamic systems that can "see" congestion and adapt on the fly, but combining live simulation with raw computer vision is notoriously difficult to scale.
Approach
I engineered a high-performance Express & React platform capable of digesting live WebSocket feeds. It intelligently swaps between a synthetic traffic engine and a Python-based YOLO/OpenCV microservice that tracks vehicles frame-by-frame.
architecture
- Vite/React dashboard with 2s WebSocket pulse
- Python CV microservice running YOLO & OpenCV for raw video analysis
- DataSourceManager pattern for seamless simulation vs. live-video toggling
results
- Achieved sub-2s latency for live intersection rendering
- Integrated an AI Copilot for natural-language traffic querying
- Latency
- <2s
- AI
- Copilot
- React
- Express
- Vite
- YOLO
- OpenCV
- PostgreSQL
- WebSockets
