MCPcopy
hub / github.com/Hironsan/BossSensor

github.com/Hironsan/BossSensor @main sqlite

repository ↗ · DeepWiki ↗
17 symbols 66 edges 5 files 0 documented · 0%
README

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

Core symbols most depended-on inside this repo

resize_with_pad
called by 3
boss_input.py
read
called by 2
boss_train.py
load
called by 2
boss_train.py
show_image
called by 2
image_show.py
build_model
called by 1
boss_train.py
train
called by 1
boss_train.py
save
called by 1
boss_train.py
predict
called by 1
boss_train.py

Shape

Method 9
Function 6
Class 2

Languages

Python100%

Modules by API surface

boss_train.py11 symbols
boss_input.py5 symbols
image_show.py1 symbols

Dependencies from manifests, versioned

Keras2.2.4 · 1×
PyYAML3.13 · 1×
Theano1.0.3 · 1×
h5py2.8.0 · 1×
mock2.0.0 · 1×
numpy1.15.3 · 1×
pbr5.1.0 · 1×
protobuf3.6.1 · 1×
scikit-learn0.20.0 · 1×
scipy1.1.0 · 1×
six1.11.0 · 1×
sklearn0.0 · 1×

For agents

$ claude mcp add BossSensor \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact