/42-CanITakeCoffee

Primary LanguagePythonDo What The F*ck You Want To Public LicenseWTFPL

Can I Make Coffee ?

What is it ?:

This is a simple little camera based movement detector. Specially designed to detect if the 42 coffee machine are free.

How it works ?:

It's based on scam.42.fr (so you can't use it outside of 42). And OpenCV library for movement detection.

Demo:

Terminal output / debug infos:

coffee3

SystemTray Display

screen shot 2016-11-16 at 10 30 27 am

Changelog:

  • Add SystemTray(OSX top bar) monitoring.

Installation:

Requirements:

  • python3
  • pip
  • virtualenv

How to:

# 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

This project is deprecated and no longer maintened

License

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.