Taking screenshots with getUserMedia API.
This a demo of how to use getUserMedia to access your webcam and capture a screenshot by drawing a frame to a canvas element and creating a base64 string from it which we then send it over to the node server to write to a file.
https://lab.miguelmota.com/getusermedia-demo
node server/server.js
cd client/
python -m SimpleHTTPServer 9999
Navigate to demo at http://localhost:9999
MIT