This is a simple little camera based movement detector. Specially designed to detect if the 42 coffee machine are free.
It's based on scam.42.fr (so you can't use it outside of 42). And OpenCV library for movement detection.
- Add SystemTray(OSX top bar) monitoring.
- python3
- pip
- virtualenv
# Git clone the project
git clone https://github.com/avallete/42-CanITakeCoffee.git; cd CanIMakeCofee
make
To run the SystemTray Monitoring:
source venv/bin/activate; python coffee_monitor -st &
To run the Terminal Monitoring:
source venv/bin/activate; python coffee_monitor
Copyright © 2016 Valleteau Andrew avallete@student.42.fr
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar.
See the license.txt file for more details.