Blob Tracking with VVVV

How to setup a VVVV to Processing via OSC testing environment-

vvvv is a toolkit for real time video synthesis. It is designed to facilitate the handling of large media environments with physical interfaces, real-time motion graphics, audio and video that can interact with many users simultaneously. vvvv uses a visual programming interface. Therefore it provides a graphical programming language for easy prototyping and development.

In this tutorial we will go through the steps of what you need and where to get it, as well as how to run and start testing this solution for yourself. Many thanks to Jens Wunderling for making this tutorial possible.

1. Download VVVV (for blob detection) from (requires DirectX 9.0c)

2. Download processing (for visualization) from: (requires Java Runtime Environment)

3. Download Java OSC protocol library (for communication between VVVV and processing) from:

4. Download Jens Wunderling’s patch for VVVV and processing sources from his site: (Note: backgroundsupression.fx must be downloaded and put into your VVVV effects folder, also your graphics board, must support Pixelshader 2.0) If not get the old patch here:

5. Extract all the downloaded zip files. Extract the to your “processing root dir"/libraries

6. Now load VVVV and by pressing Ctrl+O select patch from file named vvvv2processing_blobtracker_backsubtract_new.v4p

7. Next step is to play with this opened patch.

a) “Right Click” on Video In on/off button (middle square) Now you should see video stream from directshow videoIn - Note the source and format of
video input should be configured dependant of your camera.

b) To turn on blobtracking “Right Click” on “blocktracking on/off” square (now you see detected blobs)

c) You can change Threshold by “Right Clicking” on Threshold bar and dragging it Up and Down (just play with it, to see what effect it does)

Now VVVV is searching for blobs and sending OSC messages about detected blobs to localhost 9000 by UDP. Leave VVVV opened.

8. Next step to configure processing to see final picture.

a) Start processing

b) Open processing sketch by pressing Ctrl+O , and select the file from named: vvvv_blobtracker/vvvv_blobtracker.pde

c) Click Run on quick bar. (if it errors on “framerate” please replace with “frameRate")

d) Drawing detected blobs function is in on line 118, function public void draw(PGraphics g)


Thanks, I was really looking for something like this to get some more experience with vvvv.
I’ll look into it lateron

1. will the sample above work without a webcam?
2. Where to start processing 8 a)?

got answer for no. 2
It meant the Processing Program from

Question no 1? Anybody?

I got my webcam, that damn IR filter can’t be removed. It does not work without a webcam. So buy one!

Hey guys..
I’m trying to load this.. and i’m getting error:
he import “oscP5/OscIn” is not valid, since it does not name a type in a package.

any advice?


OK, Fixed it…

How should i place the camera?
below a transparent material??

I’m getting the following error in processing.

File C:\Users\ilk\AppData\Local\Temp\build5082963519982507449.tmp\ is missing

Does it sth to do with java version? I downloaded the laest version but it didn’t solve my problem.

Leave a response

Click here to register an account.