Coder Social home page Coder Social logo

garbage-classification's Introduction

garbage-classification

Author: Xinming Wang, Yufeng Xing

Goal

  • Boundary detection
  • Garbage type classification

Every minute, at least 15 tonnes of plastic waste leak into the ocean. How to reduce and recycle the garbage is a meaningful topic. If we could use deep learning methods to detect and classify garbage in an image, we might be able to clean up the waste more efficiently.

Dataset

TACO is an open image dataset of waste in the wild. It contains photos of garbage taken in various environments.

Dataset Overview:

  • 1500 images
  • 4784 annotations
  • 60 sub-categories & 28 super-categories
Dataset Overview data by category data by super category
Image Image Image

Model

We tried both RetinaNet and MoblieNetV2 as our models.

  • RetinaNet

RetinaNet is one of the best one-stage object detection models that has proven to work well with dense and small scale objects.

We fine-tuned the pre-trained RetinaNet to perform the boundary detection on our data.

  • MobileNetV2

MobileNetV2 is a small, low-latency, low-power model parameterized to meet the resource constraints of a variety of use cases (mobile phone, for example). It can be built upon for classification, detection, embedding and segmentation similar to how other popular large scale models.

We fine-tuned the MobileNetV2 to perform both boundary detection and garbage classfication on our data.

  • ViT

The model is based on the ViT model, which is short for the Vision Transformer. It was introduced in the paper An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale, which was introduced in June 2021 by a team of researchers at Google Brain.

Result

Our models are able to detect the garbage from different environments and classify the garbage. However, some of the categories do not exist in pre-built model, so we did a mapping to make it fit. Plus, our model is slow, so it was hard to tune hyperparameters. To improve, we may think about including more garbage class types, performing more accurate boundary detection, and do some model-level improvement.

References

dataset: http://tacodataset.org/

garbage-classification's People

Contributors

ming2010 avatar sadamingh avatar

Watchers

 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.