title: Capture image from camera into form or html5 canvas
body: <p>I need to capture an image from a webcam (tethered camera, etc.) into a form or html5 canvas so that I can save the image to the server. Also, I would like to be able to preview the image live in the page.</p>
  
  <p>For example, I have a browser running at a registration check in station. I would like to take a picture of the attendee currently standing in front of the table, and submit that image into the database. Then I can use that image to print the attendee's badge with their picture on it.</p>
  
  <p>I'm using rails and paperclip, though I doubt that matters.</p>
  
  <p>Anyone done this before, or have some ideas how to do it?</p>