this is my first question on Stack Overflow. What I want is take a snapshot from a background with html5 Webcam and javascript. Than take a second Photo with a Portrait/Person and the same background. than cut out the background and replace it with a stored picture (e.g. an ocean), and than save that picture on the harddrive. Any hint is appreciated.
edit: here this is made with processing, I want this made with html5 javascript and maybe additional js-libraries: http://www.learningprocessing.com/examples/chapter-16/example-16-12/