The Wayback Machine - https://web.archive.org/web/20200602213252/https://github.com/Hironsan/BossSensor
Skip to content
Hide screen when boss is approaching.
Python
Branch: master
Clone or download

Latest commit

Latest commit d06d7ee Oct 31, 2018

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data replace image Sep 20, 2016
resource_for_readme replace image for readme Sep 21, 2016
tests add tests directory Sep 13, 2016
.gitignore Initial commit Jul 4, 2016
LICENSE Initial commit Jul 4, 2016
README.md Cleaned up readme Jan 25, 2017
boss_input.py fix integrated system Sep 14, 2016
boss_train.py fix predict() function error about image_dim_ordering Jan 13, 2017
camera_reader.py update requirements.txt Sep 21, 2016
image_show.py fix integrated system Sep 14, 2016
requirements.txt Update requirements. Oct 31, 2018
s_pycharm.jpg use pyqt for showing image Sep 13, 2016

README.md

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

You can’t perform that action at this time.