Giter VIP home page Giter VIP logo

iot's Introduction

Occupancy Monitoring System in Smart Building

Please deploy the backend server and synthetic data generator separately to two different server.

You can find our backend server on http://3.133.122.194:8000, and synthetic data generator on https://pacific-temple-42851.herokuapp.com/

Architecture

Architecture

Report

Our first draft of the report is available here.

Demo

Click for video (University login required)

Important files in the synthetic data generator

  • synthetic-data-generator/proj/urls.py: Contains all API settings
  • synthetic-data-generator/hello/data_generator.py: Contains the code that generate the synthetic data for the location of each person in a day and sensor data in second granularity
  • synthetic-data-generator/hello/views.py: Contains all functions that process the requests

Important files in the frontend gui

  • frontend-gui/main.py: Main file for whole gui program
  • frontend-gui/lpanel.py: Contains all UI elements for left panel
  • frontend-gui/rpanel.py: Contains all UI elements for right panel

Important files in the backend server

  • The scripts used for registering a new user: backend-server/scripts/register_user_client.py
  • The scripts used for on-permise cameras: backend-server/scripts/camera_client.py
  • Other files under the backend-server/scripts/ directory are used for fetching data from sensor devices
  • We follow the common Django practice to put all the files related to our app in backend-server/sensors/ and their names are self-explained.
  • The database scheme is auto-generated with Django data model, so the scheme can be checked from backend-server/sensors/models.py .

iot's People

Contributors

dependabot[bot] avatar kulbear avatar raymundo1 avatar skyu0221 avatar

Watchers

 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.