Webcam-to-webpage python script written over 2017's Xmas vacation for the purpose of checking in on my cat.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Dave Pedu 5617c368b7 Initial commit 2 years ago
README Initial commit 2 years ago
catpic.py Initial commit 2 years ago
page.htm Initial commit 2 years ago
requirements.txt Initial commit 2 years ago

README

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.