Webcam-to-webpage python script written over 2017's Xmas vacation for the purpose of checking in on my cat.
Go to file
2017-12-29 09:50:38 -08:00
catpic.py Initial commit 2017-12-29 09:50:38 -08:00
page.htm Initial commit 2017-12-29 09:50:38 -08:00
README Initial commit 2017-12-29 09:50:38 -08:00
requirements.txt Initial commit 2017-12-29 09:50:38 -08:00

Catpic

1) Create ./images/ directory
2) Install the python modules mentioned in requirements.txt
3) Install "imagesnap" (available from Homebrew) and Imagemagick (we need the "convert" command for jpegs)
4) Run `python3 catpic.py`
5) Browse to http://127.0.0.1:3000/

The application uses a websocket to push new frames to clients. The initial frame is loaded from /latest.jpg.