[英]How to save an image with Webcam.js?
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.
我正在使用 Webcam.js,它以字符串格式返回图像。 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)
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.