๐ŸŒ CleanWatch AI

An AI-powered smart city platform that helps citizens report garbage and enables municipalities to identify sanitation problems using multimodal AI and cloud infrastructure.

๐ŸŒ Inspiration

Urban waste management remains a persistent challenge in many cities. Garbage often accumulates in public areas because citizens do not have an easy way to report issues, and municipal authorities lack real-time visibility of sanitation problems.

The inspiration behind CleanWatch AI was to build a simple yet powerful platform where citizens can report garbage by taking a photo, and AI automatically analyzes the image to determine the severity and type of waste.

By combining multimodal AI with cloud infrastructure, the goal is to transform raw images into actionable insights that help municipalities maintain cleaner cities.


โš™๏ธ What it does

CleanWatch AI enables citizens to:

๐Ÿ”น Capture an image of garbage using a mobile or web browser ๐Ÿ”น Submit a complaint with location data ๐Ÿ”น Automatically analyze the image using AI

The system then generates:

๐Ÿง  Waste type classification ๐Ÿ“Š Severity level ๐Ÿ“ Description of the issue ๐Ÿงน Recommended cleanup action

All complaints are visualized on an interactive map showing:

๐Ÿ“ Garbage locations ๐Ÿ”ฅ Heatmaps of waste concentration ๐Ÿ“Š Top garbage hotspots

This allows municipal authorities to prioritize cleanup operations efficiently.


๐Ÿ›  How we built it

The application is built using a serverless architecture on AWS, enabling scalability, reliability, and cost efficiency.


๐Ÿ’ป Frontend

The web interface is built using React and hosted on:

โ˜๏ธ Amazon S3 ๐ŸŒ Amazon CloudFront (for global content delivery)

Users can capture images directly from their device camera and submit complaints.


๐Ÿ”— Backend API

The application communicates with backend services using:

๐Ÿšช Amazon API Gateway

This acts as the entry point for processing complaint submissions.


๐Ÿค– AI Analysis

Images are analyzed using:

๐Ÿง  Amazon Bedrock โšก Powered by Amazon Nova 2 Lite

The AI model performs multimodal understanding, extracting structured insights from waste images.


๐Ÿ—„ Data Storage

Complaint data and results are stored in:

๐Ÿ“Š Amazon DynamoDB

Images and related assets are stored in:

๐Ÿ—‚ Amazon S3


๐Ÿ“Š Visualization

The platform displays data through:

๐Ÿ—บ Interactive complaint map ๐Ÿ”ฅ Heatmap visualization ๐Ÿ“ Garbage hotspot rankings

These insights help city administrators quickly identify high-priority waste areas.


๐Ÿ“ Mathematical Insight

Garbage hotspots can be identified using spatial clustering principles.

The density of complaints in a region can be estimated using:

[ Density = {NumberofComplaints}/{Area} ]

Where:

๐Ÿ“ˆ Higher density indicates a garbage hotspot ๐Ÿšจ Areas with high density require urgent cleanup actions


๐Ÿšง Challenges we ran into

During development, several technical challenges were encountered:

๐Ÿ“ท 1. Camera Access in Web Browsers

Accessing the device camera required handling permissions and ensuring compatibility across mobile and desktop browsers.

๐Ÿ—บ 2. Map Marker Rendering

After deployment, map markers initially failed to appear due to missing Leaflet assets in the production build.

โ˜๏ธ 3. CloudFront Cache Issues

Updates deployed to Amazon S3 were not immediately visible due to CloudFront caching, requiring manual cache invalidation.

๐Ÿค– 4. AI Prompt Engineering

Generating structured results from the AI model required carefully designed prompts to ensure consistent outputs such as:

  • Severity levels
  • Waste type
  • Recommended cleanup actions

๐Ÿ† Accomplishments that we're proud of

One of the biggest accomplishments of this project was successfully building a complete AI-powered smart city application using a simple and scalable serverless architecture.

CleanWatch AI demonstrates how modern cloud technologies and foundation models can transform a simple citizen report into actionable environmental insights.

๐Ÿค– Multimodal AI Integration

By using Amazon Nova 2 Lite through Amazon Bedrock, the system can analyze waste images and automatically generate structured outputs such as:

๐Ÿ“Š Waste type โš ๏ธ Severity level ๐Ÿ“ Issue description ๐Ÿงน Recommended cleanup actions

๐Ÿ—บ Geospatial Intelligence

Another major accomplishment was implementing geospatial visualization.

Complaints submitted by users are displayed on an interactive map featuring:

๐Ÿ”ฅ Heatmaps ๐Ÿ“ Garbage hotspots ๐Ÿ“Š Waste concentration analysis

This helps municipal authorities make data-driven decisions.

โ˜๏ธ Serverless Cloud Architecture

The system is built using AWS services including:

  • Amazon S3
  • Amazon CloudFront
  • Amazon API Gateway
  • Amazon DynamoDB

This architecture ensures:

โœ” Scalability โœ” Cost efficiency โœ” Easy deployment

Finally, we are proud that a relatively small amount of code can create a meaningful AI-driven smart city solution.


๐Ÿ“š What we learned

This project provided valuable insights into:

๐Ÿง  Building serverless AI applications ๐Ÿค– Integrating multimodal foundation models into real-world workflows ๐Ÿ™ Designing smart city solutions using Amazon Nova 2 Lite ๐Ÿ“Š Visualizing geospatial data with heatmaps and hotspot analysis

It also demonstrated how modern cloud services enable powerful applications to be built with relatively small amounts of code.


๐Ÿš€ What's next for CleanWatch AI

Future enhancements could include:

๐Ÿ“ฑ Mobile application for faster citizen reporting ๐Ÿ”ฎ AI-based prediction of garbage hotspots ๐Ÿ› Integration with municipal task management systems ๐Ÿ“ข Automated alerts for sanitation teams

These improvements could make CleanWatch AI an even more impactful smart city solution.


๐Ÿ”— Project Details

๐Ÿ’ป GitHub Repository

https://github.com/jayesh-sonawane/cleanwatch-ai

๐ŸŒ Live Application

https://d3o7zmc325a69i.cloudfront.net/

Login credentials:

๐Ÿ‘ค Username: test ๐Ÿ”‘ Password: test


๐ŸŽฅ YouTube Demo

https://www.youtube.com/watch?v=0wF8XO7kXVk


๐Ÿ’ก Final Thoughts

CleanWatch AI demonstrates how multimodal AI models combined with cloud infrastructure can empower citizens and municipalities to build cleaner, smarter cities.

With technologies like Amazon Nova and Amazon Bedrock, it is now possible to transform simple images into powerful insights that improve urban environments.


โšก #Amazon Nova Powered Smart City Solution

Built With

Share this project:

Updates