A complete smart parking monitoring system with live CCTV analysis, real-time occupancy detection (green/red overlays), motion alerts, and prediction charts.
- Backend Service โ Python FastAPI + OpenCV for parking space detection
- Frontend Dashboard โ Next.js 16 + TypeScript + Tailwind CSS 4 + shadcn/ui + Recharts
- Live URL โ https://smart-parking.codewords.run
- ๐น Multi-camera support โ 3 demo cameras + add your own CCTV feeds
- ๐ข/๐ด Green/Red overlays โ OpenCV edge detection + pixel variance
- ๐ Parking stats โ Total/Occupied/Available/Occupancy %
- โก Motion detection โ Frame differencing with alert log
- ๐ Occupancy trend chart โ Recharts area chart
- ๐ Auto-refresh โ 10s/15s/30s/60s polling intervals
- ๐ฎ Prediction panel โ Low/Moderate/High/Near-full demand
- ๐ฑ Space map grid โ Individual space status visualization
backend/
โโโ smart_parking_analyzer.py # OpenCV parking analyzer (FastAPI service)
frontend/
โโโ app/page.tsx # Main dashboard page
โโโ app/api/analyze/route.ts # API route to backend
โโโ components/ # shadcn/ui components
- Open smart-parking.codewords.run
- Select a camera tab
- Click "Analyze Now" to run analysis
- Toggle "Auto" for continuous monitoring
- Add custom camera URLs via the input at top
| Component | Technology |
|---|---|
| Backend | Python 3.11, FastAPI, OpenCV, NumPy |
| Frontend | Next.js 16, TypeScript, Tailwind CSS 4 |
| Components | shadcn/ui, Framer Motion, Recharts |
| Platform | CodeWords by Agemo |
MIT