Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

fastmonkeys/coffee-watch

Repository files navigation

Coffee-watch

Coffee-watch is a tool that downloads images of coffee maker from a webcam, processes the images and lists the current coffee level to a webserver. Image processing is done using OpenCV and the project only aims to support the coffee maker at our office.

Instructions:

  • Step 0: Install OpenCV

  • Step 1: Setup + start the server:

pip install -r requirements.txt
createdb coffee_watch
export DATABASE_URI=postgresql://localhost/coffee_watch
python server.py -create
python server.py

Step 2: Start image_downloader

export DATABASE_URI=...
export CAMERA_USERNAME=...
export CAMERA_PASSWORD=...
export CAMERA_IMAGE_URL=...
python image_downloader.py

Debug images can be found in debug_output folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •