GithubHelp home page GithubHelp logo

pedram26 / wastezero Goto Github PK

View Code? Open in Web Editor NEW
20.0 5.0 6.0 2.58 MB

Uses Deep Learning to Sort Wastes into their Corresponding Trash Categories

License: Apache License 2.0

Python 100.00%
deep-learning machine-learning waste-sort microsoft-computer-vision rapidapi

wastezero's Introduction

wasteZero

Uses Image Recognition to Sort Wastes into their Corresponding Categories

Inspiration

Waste sorting is a process that has been around for centuries. The goal is to divide wastes into different categories in order to reduce waste and improve recycling and composting to have a cleaner and livable environment for present and future generations. However, a lot of people have been struggling to distinguish between different categories of sorting that their city has provided for them in public. This confusion has caused people to put their trash into whatever category which can result in endangering the environment. Personally, I always have difficulty in knowing which trash bin I'm supposed to put my trash in. To solve this dilemma, I have made this project that recognizes your waste and sorts it into its corresponding category. I was inspired by the "Zero Waste by 2020" that UC Berkeley has been working on and I hope this project can help this process.

What it does

Using this application, you can upload an image of your trash object on your phone or laptop and then the program tells you whether your waste should go into Compost, Recycle, or Landfill category based on the texture of the item.

How I built it

I used the Microsoft Computer Vision API's deep learning algorithms with the use of rapidAPI to recognize the image of the trash. I trained the API so that it can recognize the texture of the objects so I can use it to sort them into their categories. After the program recognizes an image, I used the image tags to go through a large data base of possible waste items and then sorted them accordingly.

Challenges I ran into

This was my first time to use an Image Recognition API and to train an API, so I repeatedly ran into different challenges. I had difficulty in getting the API to work and implement it into my program. Training the API was even harder because the image recognition APIs are usually not good at recognizing the texture of an item; therefore I had to use a lot of pictures to come close to a decent amount of accuracy. Another challenge I ran into was implementing my back-end platform into some sort of front-end application. But going through web, I came across kivy which is a Cross-platform Python Framework for NUI Development and I was able to implement my program into it.

Accomplishments that I'm proud of

I'm proud that I was able to work by myself and to make a working application that has a great potential of saving our planet by having a cleaner and waste-free environment that the future generation can live on. I have always been a strong advocate of environment, so I'm proud that I was able to use my knowledge to help the society I live in and across the world by reducing the waste and cleaning the environment.

What I learned

I learned a lot during this project. I learned how to use json files. I learned how to use an image recognition API and train it. I learned how to implement my python project into a front-end application.

What's next for wasteZero

I'm planning to improve wasteZero so that it can recognize a group of items in one image and tell the user which trash goes to which trash bin category. I'm planning to improve the accuracy of the image recognition. I'd also like to get my project into the app store.

wastezero's People

Contributors

pedram26 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.