/BossSensor

Hide screen when boss is approaching.

Primary LanguagePythonMIT LicenseMIT

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