GithubHelp home page GithubHelp logo

oaabaali2896 / ecoview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eco-view/ecoview

0.0 0.0 0.0 240 KB

:recycle: cloud-connected smart recycling

Home Page: http://ecoview.app

License: MIT License

Python 68.74% HTML 31.26%

ecoview's Introduction

♻️ ecoview ♻️

Cloud-based recycling module with object classification

Screen Shot 2019-03-10 at 6 48 19 AM

UB Electrical Engineering Capstone Design, Spring 2019

  • Software Lead: Michael Lawrenson
  • Image Acquisition Lead: Osama Abaali
  • Peripherals Lead: Lee Yanting
  • Microcontroller Lead: Justin Struzik

Overview

Abstract

Raspberry Pi integrated with a compartmentalized recycling station, capable of monitoring deposits in individual totes, measuring the height of tote contents, and relaying this information to our web app via our API. In addition, the user can capture a photo of their recycleable and provide a categorical assignment by examining the symbol located on the underside. This resulting collection of crowdsourced images is aggregated and used as training data for our convolution neural network, or CNN.

Architecture

Content height is measured with ultrasonic sensors, which measure the time needed to echo a trigger signal. Deposits are registed by means of continuosly monitored infrared break beams. At regular time intervals, collected information stored in-memory is used to construct an API request, syncronizing the web app with the physical system. Image files are stored in a heirarchy such that directory names are the ground-truth classification labels.

Setup

There are 3 main program branches:

  • Firmware, run locally on the Pi
  • Web app, run in a Docker container
  • Image Analysis, eventually to be performed with Google Colaboratory

Stack

Website

  • Framework: Flask
  • Styling: Bootstrap
  • Graphics: Chartist.js

Database

  • MySQL

Image Processing

  • Tensorflow

Communication

  • restful API: ecoview.stateData(), ecoview.processData()

Quick Start

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Real-world deployement performed with Docker.

Installing

Clone the repository to a local directory

  git clone https://github.com/eco-view/ecoview.git

Dependencies

Make sure you have all the required python modules

  pip3 install -r requirements.txt

Initialize SQL database

  mysql.server start

Start the flask server

  python3 app.py

By default, the server will run on port 8080

  http://localhost:8080/

Deployment

docker build ecoview:latest .
docker run -d -p 8080:8080 ecoview:latest
echo 'Running [ecoview] @ http://localhost:8080

Built With

Contributing

no outside contribution

Versioning

ecoview:latest

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • much love to the folks at StackOverflow

ecoview's People

Contributors

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