The presence agent for Zeus. This detects user presence by listening for sound and doing motion detection and face detection.
- node v0.10
- bunyan for pretty printing logs.
- Python 2 installed and on your path
Clone the repo, cd
into it and run npm install
.
$ node index.js --logfile presence.log 2>&1 | bunyan
presence
uses the Open CV library to do motion detection and face detection from your webcam's stream. This is quite CPU intensive at the moment.presence
also listens on the microphone stream for sound above a certain threshold. This may cause issues with other applications trying to use your mic.