Webcam-to-webpage python script written over 2017's Xmas vacation for the purpose of checking in on my cat.
catpic.py | ||
page.htm | ||
README | ||
requirements.txt |
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.