0

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)
        });
SEJ
  • 31
  • 6
  • Does this answer your question? [How to save a jpg image/video captured with webcam in the local hard drive with HTML5](https://stackoverflow.com/questions/46882550/how-to-save-a-jpg-image-video-captured-with-webcam-in-the-local-hard-drive-with) – Chris Baxter Dec 11 '20 at 18:47
  • It's something different because the above question isn't related to Webcam.js – SEJ Dec 11 '20 at 19:04

1 Answers1

0

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

dubiousa
  • 21
  • 5