I want to save an image that is recently captured using the WebCam. I'm using Webcam.js, it returns an image in a string format. I want to save this image inside the local directory.
// Capure and save Image
var data = Webcam.snap(function (data_uri) {
console.log('Image Save',typeof data_uri)
});
there is a nice (deprecated) wordpress plugin WP_Snapcam which is based on webcam.js, here the code for saving the photo on server in PHP/JS: hier