GithubHelp home page GithubHelp logo

smart-trashcan's Introduction

smart-trashcan

As a user, by introducing empty aluminum cans to the smart trash can, you will get digital points to redeem in online stores. Get your points from the trashcan to your NFC card. Then, read the NFC card with your smartphone and get the points into your account.

This project includes the software that would run on the trash can. The android app is not included in this repo.

With computer vision, the trash can will identify the brand of the can. This information will be valuable to stakeholders to know the consumer's patterns.

This prototype uses a simple color filter to identify the brand. This is the central part of the idea, and it needs to be further improved.

Demo video

Watch the Video

Dependencies:

  • Adafruit_PN532 library
  • OpenCV3
  • Android companion App, developed with app inventor.

Physical devices:

  • NXP NFC chip PN532 breakout board, using SPI interface
  • Raspberry pi 3
  • Raspberry pi camera module v2
  • MiFare NFC tag
  • Android Smartphone with companion app

Usage

Enter the virtual env of opencv

bash

source ~/.profile

workon cv

Filter the image and detect the brand

python ProcessImage.py -i photos/<image.png>

A number associated with the brand will be written to BrandIndex.txt

exit

Exit the virtual env of opencv

Place the user's NFC card over the module.

python pite_nfc_write.py

Now, your card will have a value written.

Read your card with your phone app and the points will be transfered to your account.

smart-trashcan's People

Contributors

danibyay avatar

Stargazers

 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.