Need help to create a photobooth
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();
ctx.drawImage(img,0,0); // img of canvas
Is this possible? Thank you!