AI-Powered Urban Sensing for safer Indian cities. Turning public-transport cameras into intelligent urban sensing units.
FleeVision is a Smart India Hackathon–style dashboard that uses AI (YOLOv11 + ByteTrack + OCR) to detect urban issues from public-transport dashcam feeds. It supports 8 Indian cities, 12 moving buses per city, and 5 detection categories.
REAL IMAGE/VIDEO → AI DETECTION → MARKED FRAME → CONFIDENCE → LOCATION → INCIDENT
| Category | What it detects | Example |
|---|---|---|
| 🟠 Road Defects | Potholes, waterlogging, road damage | Pothole — 94% |
| 🔵 Traffic Density | Vehicle count + per-type (car/bus/truck/motorcycle) | Very High Traffic — 87% · 37 veh |
| 🟣 Missing Signs | Faded zebra crossings, missing traffic signs, worn lane markings | Missing Zebra — 91% |
| 🟢 Pedestrians | People counting with crowd-level classification | High Crowd — 88% · 24 ppl |
| 🔴 Hit & Run | Vehicle collision + number plate OCR + tracking ID | Possible Hit & Run — 84% · #V01 · JK-01-AB-1234 |
- 8 Indian cities: 🏔️ Srinagar · 🏛️ Delhi · 🌊 Mumbai · 💻 Bengaluru · 🏖️ Chennai · 🕌 Hyderabad · 🌉 Kolkata · 🎓 Pune
- 12 buses per city, each with Front/Left/Right/Rear cameras
- Buses actually move along real city routes (animated every 1.5s)
- Distinct SVG icons: bus markers, landmark markers (train/market/hospital/etc.), incident markers
- Category filter: show All / Defects / Traffic / Signs / People / Hit & Run
- Search bar with landmark + bus suggestions
- Click bus → camera selector + latest detection thumbnail + driver details
- Click incident marker → evidence dialog with real photo
- Live Detection — simulated live feed + "Run real AI snapshot" (webcam)
- Image Detection — upload or pick from 16 real samples → auto-detection
- Video Upload — upload MP4/WebM → extract 3 frames → detect each frame
- Dashboard — 5 summary cards with severity chips, live preview, hit & run alerts
- Detection History — filterable table, click View → evidence dialog with real photo + bbox
- Analytics — bar/pie/timeline charts for all 5 categories
- Settings — GLM API key management, confidence threshold, category toggles
- Login/Signup — demo credentials:
demo@fleevision.ai/demo1234
FleeVision/
├── frontend/ # 📱 Client-side code
│ └── README.md # Components, pages, store, hooks
├── backend/ # ⚙️ Server-side code
│ └── README.md # AI engines, API routes, security
├── shared/ # 🔀 Shared types + data
│ └── README.md # Types, cities, fleet data
├── src/
│ ├── frontend/ # Frontend source (components, store, hooks)
│ ├── backend/ # Backend source (VLM engine, mock engine, security)
│ ├── lib/ # Shared source (types, cities, fleet, utils)
│ ├── app/ # Next.js routes + API endpoints
│ │ ├── page.tsx # Root route (login or dashboard)
│ │ ├── layout.tsx # Root layout (fonts, CSS, toasters)
│ │ └── api/ # 9 API route files
│ └── components/ui/ # 48 shadcn UI components
├── public/
│ └── samples/ # 23 real road/traffic photos (DEMO data)
├── scripts/ # Download + reorganization scripts
└── package.json
# Install dependencies
bun install
# Start dev server (auto-starts on port 3000)
# The dev server runs automatically in the sandbox
# Open the app
# Login with demo credentials:
# Email: demo@fleevision.ai
# Password: demo1234Without a key, the system uses the built-in z-ai VLM (GLM-5V-turbo). To use your own GLM key:
- Get a key from open.bigmodel.cn
- Open the app → Settings → AI Model Configuration
- Paste the key → Save
- All detections now route through your GLM Vision API
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router) |
| Language | TypeScript 5 |
| Styling | Tailwind CSS 4 + shadcn/ui |
| State | Zustand |
| Maps | Leaflet + OpenStreetMap |
| Charts | Recharts |
| Animations | Framer Motion |
| AI Model | GLM-5V-turbo (z-ai VLM SDK) |
| Icons | Lucide |
- Palette: Dark navy sidebar (
#0F1F3A), white main area, blue accents (#2563EB) - Category colors: Orange (defects), Blue (traffic), Purple (signs), Teal (pedestrians), Red (hit & run)
- Severity indicators: Green = safe, Orange = moderate, Red = critical
- Rounded cards with subtle shadows
- DEMO DATA badge clearly separates simulated vs real AI detections
23 real road/traffic photos included in public/samples/:
- Potholes (×3), Waterlogging (×2), Traffic (×3), Missing signs (×3), Collisions (×3), Dashcam views (×2), Pedestrians (×7)
MIT — Free for hackathon and educational use.
Built for the Smart India Hackathon — pilot deployment in Srinagar, Jammu & Kashmir.