About
## Challenges we ran into
**Inconsistent GeoJSON ward data.** Ward-boundary files name the ward-number field differently across publishers (ward_no, WARDNO, etc.), silently breaking auto-detection. Fixed with inspectWardGeojson.js to inspect the real property names, plus a fallback candidate list.
**Ward polygons only cover Kolkata.** Citizens elsewhere in West Bengal got ward: null. Added a Nominatim reverse-geocoding fallback for locality/district/state — respecting its 1 req/sec limit and required User-Agent, and made it best-effort so a slow API never blocks a complaint.
**Merging two independently-built AI services.** The vision classifier (Flask) and chatbot (FastAPI) were built separately. Kept aiService.js's existing mock response shape as the contract, so swapping in the real HTTP call needed zero changes downstream.
**Model detects more than the UI supports.** The vision model's issue vocabulary is far larger than the app's five categories. Solved with a many-to-one category_mapper.py, while still preserving the model's raw label for later use.
## The problem it solves
Reporting a civic issue in Indian cities today means either a clunky government portal nobody finishes, or a WhatsApp photo to a local councillor that goes nowhere — untracked, unrouted, and unaccountable. NagarDrishti AI fixes the two biggest failure points: citizens not knowing who to report to, and authorities not knowing an issue exists.
**For citizens:**
- Snap a photo — AI auto-detects the issue type (pothole, garbage, streetlight, waterlogging, dumping, fire/smoke, exposed wiring), severity, and priority, and drafts a description.
- Location auto-matches to the correct KMC ward (or locality/district for outside Kolkata) — no guessing who's responsible.
- Track any complaint by ID, or ask the AI assistant (Nagrik Mitra) civic questions.
**For admins:**
- Issues auto-route to the right ward admin (falling back to state/super admin) — no manual triage.
- Instant in-app + SMS notification the moment a matching complaint lands.
- Live dashboard: totals, status breakdown, category breakdown, and ward-by-ward hotspots — automatically scoped to each admin's jurisdiction.
**Net effect:** turns unstructured complaint photos into structured, prioritized, department-tagged, routed, and notified data — so urgent hazards get seen faster, citizens get a real paper trail, and administrators get city-wide visibility instead of a pile of unread tickets.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.









