我想保存最近使用WebCam捕获的图像。我使用的是Webcam.js,它返回字符串格式的图像。我想将此图像保存在本地目录中。
// Capure and save Image
var data = Webcam.snap(function (data_uri) {
console.log('Image Save',typeof data_uri)
});发布于 2021-04-13 17:33:03
有一个很好的(不推荐使用的)基于webcam.js的wordpress插件WP_Snapcam,这里是用PHP/JS:hier在服务器上保存照片的代码。
https://stackoverflow.com/questions/65256923
复制相似问题