I’m very much in the beginning of using vvvv. Though I have basic knowledge and will ;) And now I’m looking for a helpful hand.
To project two different videos during night time, outside. 1st vid is actually a still photo and when someone comes close to the space 2nd video appears and when person goes away 2vid smoothly changes to the 1st one.
I need a help to figure out what technique to detect people is the best one.This is what I thought:
Of course time is not my friend this time so I just googl’ed and read a lot about different possibilities but it would be nice to hear experienced people’s opinions and then put all the effort to make it.
P.S. I’ve tried to play with openTSPS but I didn’t manage even to capture a video…
If you can put the it in a high/wide position, a security camera could do the trick. They have infra red lights on most.
Use a video capture card (less than £60) at the PC end. In vvvv you can subtract the background with something like ‘Framebuf’ ((… u7 freeframe plugins)) and then use the contour node to get the position data of your person.
With a ‘hittest’ you can choose where the switch proximity is.
If space is tight though, try the Arduino with an ultrasonic proximity sensor. Alas, I haven’t used on myself, but they don’t look to hard to program.
PS, be careful about isolating the interaction. If there are lots of people moving around in the view of either sensor, its gonna muck up your tracking.
you need to play the 2 video files , check out the codec faq of vvvv regarding video playback
a blending node to fade
and for the trigger, if the installation its as simple as that, buy a cheap usb mouse, or keyboard, get 2 wires from any key, or the middle click of the mouse and connect that to the output of this http://www.asihome.com/images/dsc-bv300.png
( some of them already have a rele inside, so theres no more electronic needed , check that, you dont want to send 12v to your usb!! )
and, well, adjust the sensor and a ADSR node value and thats it