Giter VIP home page Giter VIP logo

detritusai's Introduction

DetritusAI

MakeUofT2020 - A novel solution for smart city urban waste collection. DetritusAI aims to help improve urban waste collection through two main ways. First, IoT enabled garbage and recycling containers have are outfitted with a camera that classifies objects as either waste or recycling. After the classification, the appropriate container (garbgage or recycling) will automatically open and prompt the user to dispose of their waste in the selected container. Each container is outfitted with time-of-flight sensors which are used to detect how full each garbage can is. This information is sent over Solace PubSub+ Platform which is picked up by our ReactJS frontend. The second part of this project utilizes this information to perform route optimization to help optimize the garbage collection routes based on how full each waste container is as well as the distance between full waste containers. We then provide drivers with turn-by-turn directions to help direct drivers on the optimal route for garbage collection.

Github Organization

DetritusAI, DetritusAI2, and DetritusAI-Obj contain the source code for the NodeMCU microcontrollers used in this project. The microcontroller handled the capacity of each garbage can using time-of-flight sensor, the motors used to open and close the garbage and recycling containers, and utilized Solace PubSub+ Cloud Message Brokering platform as the middleware for all communication.

.py files contain the image classification algorithm.

detritusai folder contains the source code for the ReactJS frontend.

Inspiration

The issue of waste management is something that many people view as trivial yet is one of the fundamental factors that will decide the liveability of the world. Yet even in Canada, a developed country, only 9% of plastics are recycled, meaning that the equivalent of 24 CN towers of recyclable plastic enters our landfills each year. In developing nations, this is an even more serious issue that can have profound impacts on quality of life.

How we built it

When users place an object near the garbage can, a time of flight sensor detects the object and triggers an image classification algorithm that identifies the category of the waste. A message is sent via Solace, which instructs the garbage can to open the appropriate lid.

Within the garbage cans, the time of flight sensors continuously determines the capacity of the bin and communicates that information via Solace to the client-side application.

Using the Google Directions API, the optimal route for garbage collection is determined by factoring in traffic, distance, and the capacity of each bin. An optimal route is displayed on the dashboard, along with turn by turn directions.

Awards

Winner of Best use of Solace PubSub+ Platform.
Winner of Best use of Google Cloud Platform.

detritusai's People

Contributors

maxonezhou avatar unchosen-name avatar patrickpli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.