Hi I have a question about Javascript. I want to make my own photobooth, I have found this article how to make one:
http://arstechnica.com/business/2012...ew-webcam-api/
I want to add some to it, I want to put a image file (glasses, hat, mustache) over the webcam canvas and take a picture. The result I want is a snapshot with the image file in it.
I did found some code that would be helpful but it didn't work out for me.
var ctx = bril.getContext("2d");
var img=new Image();
img.onload=function()
{
ctx.drawImage(img,0,0); // img of canvas
};
img.src='IMAGE.png';
Is this possible? Thank you!