nangua1995 / BossSensor

Hide screen when boss is approaching.

Home Page:http://ahogrammer.com/2016/11/15/deep-learning-enables-you-to-hide-screen-when-your-boss-is-approaching/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BossSensor

Hide your screen when your boss is approaching.

Demo

The boss stands up. He is approaching.

standup

When he is approaching, the program fetches face images and classifies the image.

approaching

If the image is classified as the Boss, it will monitor changes.

editor

Requirements

  • WebCamera
  • Python3.5
  • OSX
  • Anaconda
  • Lots of images of your boss and other person image

Put images into data/boss and data/other.

Usage

First, Train boss image.

$ python boss_train.py

Second, start BossSensor.

$ python camera_reader.py

Install

Install OpenCV, PyQt4, Anaconda.

conda create -n venv python=3.5
source activate venv
conda install -c https://conda.anaconda.org/menpo opencv3
conda install -c conda-forge tensorflow
pip install -r requirements.txt

Change Keras backend from Theano to TensorFlow.

Licence

MIT

Author

Hironsan

About

Hide screen when boss is approaching.

http://ahogrammer.com/2016/11/15/deep-learning-enables-you-to-hide-screen-when-your-boss-is-approaching/

License:MIT License


Languages

Language:Python 100.0%