๐ŸŒ PopSpot: AI-Powered Crowdsourced Mapping

๐Ÿš€ Inspiration

In many communities, reporting local events or concernsโ€”whether a pothole, a public gathering, or an infrastructure issueโ€”is inefficient and lacks visibility. People rely on word-of-mouth, social media, or outdated reporting systems, making it difficult to track and address important occurrences.

We wanted to create a real-time, AI-powered crowdsourced mapping platform that enables users to effortlessly report events and visualize them on an interactive map with unique AI-generated icons. Our goal was to empower communities, promote engagement, and enhance local awareness using Generative AI.

๐ŸŒŽ What It Does

PopSpot is a community-driven mapping platform that allows users to report local events, issues, or incidents via text or speech-to-text. The platform:

  1. Extracts Key Details โ€“ Uses OpenAIโ€™s API to identify the event type and location from user input.
  2. Generates Unique Icons โ€“ Creates a one of a kind SVG-based AI-generated icon with context for visualization.
  3. Maps Events in Real-Time โ€“ Places icons on OpenStreetMap at the detected location.
  4. Reuses Icons for Similar Events โ€“ If a similar event is reported, the existing icon is reused for better clarity.

Whether it's a street festival, a road hazard, or a local protest, PopSpot helps communities stay informed, take action, and foster civic engagement.

๐Ÿ—๏ธ How We Built It

We combined AI, real-time geolocation, and an intuitive UI using the following tech stack:

๐Ÿ”น Tech Stack:

  • Frontend: React, Vite, TailwindCSS for a sleek, responsive UI.
  • Backend: Flask to handle API requests.
  • Database: MongoDB Atlas for scalable event storage.
  • AI Integration: OpenAI API for event detail extraction & SVG icon generation.
  • Speech-to-Text: React Speech-to-Text for hands-free event reporting.
  • Geolocation & Mapping: OpenStreetMap API for dynamic event visualization.

๐Ÿ”น Workflow:

  1. User Reports an Event โ€“ Via voice command.
  2. AI Analyzes & Extracts Data โ€“ OpenAI API determines the event type & location.
  3. Custom AI-Generated Icon โ€“ OpenAI API creates a unique SVG icon.
  4. Event Gets Mapped โ€“ OpenStreetMap API visualizes the event in real-time.
  5. Reusability of Icons โ€“ If a similar event is reported, we reuse the existing icon for consistency.

โšก Challenges We Ran Into

  • Extracting precise location data from free-voice input on the client accurately was tricky.
  • Ensuring meaningful, reusable SVG icon generation in real-time.
  • Maintaining smooth real-time updates while handling multiple user reports.
  • Optimizing speech-to-text for accurate and user-friendly reporting.

๐Ÿ† Accomplishments That Weโ€™re Proud Of

โœ… Successfully integrating GenAI for SVG icon generation.
โœ… Implementing real-time mapping with OpenStreetMap.
โœ… Developing a user-friendly and accessible interface.
โœ… Making the platform scalable for large-scale community use.
โœ… Reusing event icons to maintain map clarity and avoid clutter.

๐Ÿ“š What We Learned

  • The power of AI in urban engagement โ€“ Using GenAI for visual data representation.
  • How to optimize real-time geospatial updates for a seamless experience.
  • Enhancing accessibility with speech-to-text integration.
  • Crowdsourcing insights can drive social impact when done effectively.

๐Ÿš€ Whatโ€™s Next for PopSpot

๐Ÿ”น AI-powered trend analysis โ€“ Identifying event patterns over time.
๐Ÿ”น Mobile app integration for on-the-go event reporting.
๐Ÿ”น Collaboration with city services to resolve issues efficiently.
๐Ÿ”น Gamification & rewards for encouraging civic participation.

PopSpot: Where AI meets community, one event at a time.

Built With

Share this project:

Updates