Inspiration
Road accidents are often caused not by reckless driving, but by poor road infrastructure. Potholes, broken surfaces, and unmarked hazards remain invisible to authorities until accidents happen.
We wanted to answer a simple question: What if roads could speak for themselves — with data, not complaints?
That idea became GPTR.
What it does
GPTR (Global Pothole & Traffic Risk) is an AI-powered civic intelligence system that detects, verifies, and analyzes road hazards in real time.
Users report hazards using a mobile-first web app. Each image is analyzed using Gemini AI computer vision to identify:
- Hazard type
- Surface condition
- Severity level
- Estimated accident probability
To prevent spam and fake reports, GPTR uses a multi-device consensus verification model. Only verified hazards appear on the public map and dashboards.
How we built it
GPTR is built as a Progressive Web App for instant access without installation.
The system pipeline:
- Mobile image capture (PWA)
- Gemini AI vision analysis
- Secure verification workflow
- Firebase-backed real-time storage
- Live hazard map and public dashboards
- Auto-escalation via open civic APIs
The architecture is designed for scalability and real-world deployment.
Challenges we ran into
The biggest challenges were:
- Preventing fake or duplicate reports
- Designing trust without central moderation
- Converting unstructured images into structured civic data
We solved this using consensus verification, geospatial rules, and AI-driven validation.
Accomplishments we're proud of
- A fully working live system, not a mockup
- Real-time AI hazard analysis
- Public-facing dashboards and APIs
- A system that can realistically be adopted by cities
What we learned
We learned how AI can move beyond chatbots into real civic infrastructure. Gemini AI proved extremely effective for fast, explainable vision analysis in real-world conditions.
What's next for GPTR
- Integration with municipal systems
- Advanced predictive risk modeling
- Government and emergency response dashboards
- City-wide and national-scale deployment
GPTR is not just a hackathon project — it is a blueprint for safer roads.
Built With
- computer-vision
- css
- firebase
- gemini-api
- google-ai
- html
- progressive-web-app
- typescript
Log in or sign up for Devpost to join the conversation.