/BossSensor

Hide screen when boss is approaching.

Primary LanguagePythonMIT LicenseMIT

BossSensor

Hide screen when boss is approaching.

Demo

Boss stands up. He is approaching.

standup

When he is approaching, fetch face images and classify image.

approaching

If image is classified as the Boss, monitor changes.

editor

Requirements

  • WebCamera
  • Python3.5
  • OSX
  • Anaconda
  • Many boss image 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