Dreamstop needs an infrared camera to track the movements
For obvious financial problem our prototype had just a normal camera, which tracked from above.
With Durrell Bishop we developed the code in Processing language.
This code can works well with the prototype version but also into the real world.
The code uses two different Processing’s libraries: video and fullscreen.
It works in seven different steps:
- The video pre-recorded (during the day) is loaded
- One png image with transparency is loaded in front of the video
- One frame made by the camera tracking is captured
- The frame is modified to change the background pixels (the imbarcadero build) with a black pixels. The same frame is also edited to change the “moving” pixels (the people in the imbarcadero) with a trasparent pixels.
- The actual png image (step 2) is remplaced with the camera’s frame just edited (step 4)
- Now the program reads and shows in the window the video pre-recorded (in background) and the new png image
- The program repeats nonstop the steps 3-4-5-6 too faster
Here you can download a low resolution demo of the code (6MB weight).
To try the demo you have to download and install Processing onto your personal computer. Download also the fullscreen library (have look and the site and follow the instructions to install fullscreen library in Processing).
You need to have a webcam in your computer: the webcam do the movement’s tracking.
You need a webcam in your computer to tracking the movements. The demo works well, better with a white background behind (a white wall should be fine).
Dreamstop | description | videos | real world | prototype | documentation | code | problems | reflections | credits
