๐ 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
- amazon-bedrock
- amazon-dynamodb
- amazon-nova
- amazon-nova2-lite
- amazon-web-services
- api-gateway
- aws-lambda
- cloudfront
- javascript
- leaflet.js
- opencv
- python
- react
- rest-apis
Log in or sign up for Devpost to join the conversation.