Skip to content

The Smart Garbage Detection System is designed to improve waste management efficiency using Artificial Intelligence and IoT. It detects garbage, tracks waste collection, and ensures timely cleaning via a mobile application integrated with smart dustbins.

Garbage-Detector/garbage-detector-backend

Repository files navigation

Smart Garbage Detection System - स्वच्छता साथी

Overview

The Smart Garbage Detection System is designed to improve waste management efficiency using Artificial Intelligence and IoT. It detects garbage, tracks waste collection, and ensures timely cleaning via a mobile application integrated with smart dustbins.

Features

  • AI-based garbage detection
  • Mobile application with user, cleaner, and admin roles
  • Smart dustbin tracking with real-time data
  • Incentivized user participation
  • Efficient waste management monitoring

Components

1. Mobile Application

The mobile application is categorized into three sections:

  • User Section: Users can upload pictures of garbage locations.
  • Cleaner Section: Cleaners receive assigned locations and confirm clean-up with images.
  • Admin Section: Admins monitor and analyze waste collection activities.

2. Smart Dustbins

Smart dustbins are equipped with IoT sensors that:

  • Measure and report fill levels in real-time.
  • Send data to the mobile application for optimized cleaning routes.

3. Backend System

  • Built with Node.js, Express.js, and MongoDB.
  • Manages user authentication, image uploads, and smart dustbin tracking.

Technologies Used

  • Frontend: Flutter
  • Backend: Node.js, Express.js, MongoDB
  • Hardware: ESP8266 NodeMCU, Ultrasonic sensors, Wi-Fi module
  • AI/ML: Garbage detection model for verifying image content

Installation & Setup

Prerequisites

Ensure you have the following installed:

  • Node.js
  • MongoDB
  • Flutter
  • Arduino IDE (for ESP8266 programming)

Steps to Run

  1. Clone the repository:
    git clone https://github.com/your-repo/smart-garbage-detection.git
    cd smart-garbage-detection
  2. Install backend dependencies:
    cd backend
    npm install
    npm start
  3. Setup MongoDB:
    • Start MongoDB service and configure the database.
  4. Run the Flutter app:
    cd frontend
    flutter pub get
    flutter run
  5. Deploy smart dustbin hardware:
    • Upload the ESP8266 NodeMCU code.
    • Connect the IoT sensors to the database.

How It Works

  1. Users capture and upload images of garbage locations.
  2. Cleaners access assigned areas and upload clean-up confirmation images.
  3. Admins oversee operations and generate performance reports.
  4. Smart dustbins update their fill levels in real-time for optimized collection.

Contribution

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-name
  3. Commit changes: git commit -m "Add new feature"
  4. Push to the branch: git push origin feature-name
  5. Open a pull request.

About

The Smart Garbage Detection System is designed to improve waste management efficiency using Artificial Intelligence and IoT. It detects garbage, tracks waste collection, and ensures timely cleaning via a mobile application integrated with smart dustbins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published