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 & HelpPrograms › [webcam] capture shape and expand
Page Index Toggle Pages: 1
[webcam] capture shape and expand? (Read 1102 times)
[webcam] capture shape and expand?
Nov 8th, 2009, 11:08am
 
Hi, I am doing a project using a webcam.

I want to capture the black silhouette from the white background

and draw the outline of something on top of the video.

Then I want the black silhouette to expand to the outline that is drawn. (fill the outline)

I made it possible to draw on top of the video.  Is there code that I can use to capture the silhouette and expand it to the outline that I draw?

Re: [webcam] capture shape and expand?
Reply #1 - Nov 8th, 2009, 11:41am
 
you can use one of the blob detection libraries vailable. one would be
http://s373.net/code/flob/flob.html
but also openCV http://ubaa.net/shared/processing/opencv/opencv_blobs.html
got it...
Page Index Toggle Pages: 1