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.
Page Index Toggle Pages: 1
video tracking shadow; please help. (Read 463 times)
video tracking shadow; please help.
Nov 11th, 2009, 11:16pm
 
I'm a sculpture student trying to teach myself with the blue processing book (about 2 months in). I'm working on a project that is far advanced and out of my experience level. Here is the description

-there is to be a projector stationed at the wall opposite the room entrance, projecting a white background except for a computer-rendered animated drawing of a bug (I'm writing the code for it currently). there will be no other light source
-the bug will scurry around the white background until the second part of the program is triggered.
-there will be white object near the middle of the room with small text on it. I haven't decided what the text is yet, but the purpose of the object is to make the viewer stop walking in the space, which triggers the second program.
-a video camera is processing motion in the gallery. when the camera input detects that motion has stopped in the gallery space by tracking the contrast of shadows in the space, the bug will run offscreen and the projector will expand the shadow until the projection is blank.
-the gallery will remain blank for five minutes, at which point the program will reset.

please help. thank you
Page Index Toggle Pages: 1