GithubHelp home page GithubHelp logo

sctsui / cs293b-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gwynethallwright/cs293b-project

0.0 1.0 0.0 48.83 MB

Gwyneth, Sabrina and Swaroop's project for CS293B Spring 2020 at UCSB.

Python 60.09% Shell 6.51% Jupyter Notebook 33.40%

cs293b-project's Introduction

Edible Campus Human Recognition Project

We use TensorFlow to classify videos from UCSB's Edible Campus program with the aim of determining whether humans are present at the garden or not. We envision that our solution might be implemented to guard against theft or vandalism.

Scripts Usage

Monitoring Script

  • Overview and usage:
    • Bash script for use on IoT device.
    • Extra requirements: sudo apt-get inotify-tools.
    • Usage: monitor.sh [DIR] to monitor a directory.
    • Executes Python classification script when a file with a .mkv extension is placed in DIR.
    • When a human is detected, an email is sent to the account specified in detect_human_monitor.py.
  • Download the pre-trained model:
  • Modify variables in detect_human_monitor.py:
    • threshold - percent of human within a frame.
    • humanCountThreshold - number of frames in the video that should contain humans.
    • videos_path - directory path which contains the videos.
    • model_path - should point to the downloaded and extracted model from above step.

Video Transfer Script

  • Overview and usage:
    • Simulates the arrival of videos on the IoT device.
    • A new video arrives every five seconds.
    • Usage: add_videos.sh [DIR] to add videos to DIR.
    • DIR should be the same directory specified in the monitoring script's command line argument.
  • Modify variables in add_videos.sh:
    • contains_humans_dir - directory path for videos manually classified as containing humans.
    • human_less_dir - directory path for videos manually classified as not containing humans.

Team Members

Gwyneth Allwright, Swaroop Rao and Sabrina Tsui. This is our project for CS293B Cloud Computing (Spring 2020) at UCSB.

cs293b-project's People

Contributors

swaroo avatar sctsui avatar

Watchers

James Cloos 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.