Webcam Capture

Recommend this page to a friend!

      Expert JS Camera Capture  >  All threads  >  Webcam Capture  >  (Un) Subscribe thread alerts  
Subject:Webcam Capture
Summary:Use web cam to capture photos
Messages:2
Author:Michael Turnbull
Date:2015-07-08 21:55:23
 

  1. Webcam Capture   Reply   Report abuse  
Picture of Michael Turnbull Michael Turnbull - 2015-07-08 21:55:23
Does this package allow a webcam to be used to capture JPG photos. I currently have a Membership system where we take a photo of a new Member when they register. The current system uses flash. It would be great to use JS. Thanks?

  2. Re: Webcam Capture   Reply   Report abuse  
Picture of Andras Toth Andras Toth - 2015-07-09 09:46:57 - In reply to message 1 from Michael Turnbull
Hello Michael,

I have published a new version.
I have added two new features:
- Capture images form the video stream with parameters (file type, quality),
- Capture images form the video stream with parameters and download immediately (file name, file type, quality)
Example to jpeg:
cam.captureToImage(type, quality); //return dataurl
cam.downloadCapturedImage(filename, type, quality);
//download image immediately
filename: 'download.jpg'
filetype: 'image/jpeg'
quality: 1.0

If I know correctly, browsers currently is not support flash using javascript.