Areapulse
A Smart civic-issue tracking and resolution system
Created on 23rd May 2026
•
Areapulse
A Smart civic-issue tracking and resolution system
The problem Areapulse solves
Urban civic issues — potholes, garbage overflow, broken streetlights, water leaks — go unreported or unresolved for weeks because reporting is friction-heavy and there's no accountability loop between citizens and government authorities.
AreaPulse fixes this with a full-stack civic intelligence platform:
- AR Camera Scanner — Point your phone at any civic issue; Groq Llama-4 Vision auto-detects, classifies, and draws a bounding box over it in real time
- WhatsApp Bot — Send a photo to our Twilio number; AI files the report with zero app install required
- Live Map — FR24-style real-time map of all issues across Delhi with severity markers, SLA timers, and crowd escalation
- Government Dashboard — Officers see only their department's issues, sorted by SLA breach urgency, with one-click status updates and automatic WhatsApp pings to citizens
- AI Complaint Drafting — Groq generates formal complaint letters to the right Delhi authority (MCD, DJB, PWD, BSES) in English or Hindi
- Spam & Duplicate Detection — AI filters joke/test submissions; geographic radius deduplication merges nearby reports automatically
- Public Stats — Anonymous resolution rates, SLA breach rates, and department performance visible to all citizens
Challenges we ran into
-
AR bounding box accuracy — Llama-4-Scout returns normalized 0-100 bbox coordinates, but mapping these onto a live video canvas with correct aspect ratio took significant trial and error, especially on phones with different aspect ratios.
-
Groq JSON reliability — Vision models occasionally return malformed JSON or wrap output in markdown fences. We built a multi-stage extractor (direct parse → strip fences → regex fallback) to handle every case gracefully.
-
WhatsApp media download — Twilio CDN requires HTTP Basic Auth to download message attachments; standard
urllibwithout auth returns 401 silently. Switched torequestswith explicitauth=(SID, TOKEN)to fix this. -
Camera access on mobile — iOS Safari requires HTTPS strictly; plain HTTP silently blocks
getUserMedia. We had to document ngrok tunneling for local phone testing and ensure Render deploys used HTTPS.
Technologies used