Say Cheese is a small library that makes it easier to integrate webcams into your website or app, using the recent
getUserMedia API. It opens up a whole range of opportunities for web developers, provided their users run modern and up to date browsers (sorry Safari, IE).
One such opportunity is working with the user's webcam stream on the server side. This could be as simple as sending a single frame (what SayCheese calls a
snapshot), or pushing the entire stream itself with, say, websockets. I'll start simple and show how you can send a 'snapshot' to the server via AJAX, and then do something interesting with it.