We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › extracting an image from live video capture
Page Index Toggle Pages: 1
extracting an image from live video capture (Read 1039 times)
extracting an image from live video capture
May 26th, 2005, 7:40pm
 
Hi! I'm new to processing and would appreciate any help or suggestions regarding live video montage.  I would like to know:

Is it possible to to extract a person from its background live  in processing using a videocamera and a monochrome screen (with diffused lighting)?  

If yes, can this effect be smoothly combined with other effects (ie. a different video background)?

Thanks!
Re: extracting an image from live video capture
Reply #1 - May 27th, 2005, 12:22pm
 
I don't see why not, you should be able to get the current video frame, and run some code to make every pixel more than 90% blue 100% transparent, so that when you draw the image to screen, anything that was blue is now transparent, and so anything you already drew will stay there.
Re: extracting an image from live video capture
Reply #2 - May 31st, 2005, 11:19am
 
Yes it is possible and I did it already... with the latest versions depends on the render engine you want to use, in fact on OPENGL there are still issues.

chr
Page Index Toggle Pages: 1