Hi,
I am getting this error when using:
function uploadPicture(canvas) {
var dataURL = canvas.toDataURL("image/jpeg", 1.0);
$.ajax({
type: "POST",
url: "webcam_capture.php",
data: {
imgBase64: dataUrl
}
}).done(function(msg) {
console.log('saved');
alert("Picture Saved: "+msg);
// Do Any thing you want
});
}
What library do I need to make it work ?