TrackObjects solves the problem of following and identifying objects over time and assigns a unique ID to them. Useful when you get blobs from some object detection routine that doesn’t care about IDs. Send your blobs through TrackObjects to get a stable result.

If you want to track objects other than Vector2 or Vector3 you only have to provide an implementation of the adaptive Distance node for your datatype.

Not tested in the real world!
Available as nuget:

Thoughts and prayers welcome.

See also:


I was asked about my vl port a bunch of times, so I here you go.

There are two vvvv plugin templates, one demonstrates a basic 2d case, the other demonstrates how to make a more involved Feature you want to track

This can be for example:

  • touchpoints with changing 2d position and changing blob size, where the provided touch index is stable most of the time, but fails when it is most important
  • cars, where you can track not only its position in the camera space, but maybe also its color, and whatever else you know)
  • opencv rectangles that move and resize over time

It comes with the original help patch to test against jitter, random order and frame drops. (65.7 KB)

Just to put it into context to @joreg 's patch - it will probably perform slightly slower, but it is much more stable in practice. Also, it does not rely on an actual Distance function for the feature you want to track, instead you are asked to fill out a delegate that calculates said distance (which is only a measure, of how far apart two things are from each other, not just in space, but also in appearance and other intrinsics).

In addition to that, you are also asked to provide a simple Smoothing delegate, as this smoothing is vitally important for the tracking algorithm. This is super easy most of the time, a simple Lerp should do it for most cases.


Hi vvvvolks!

having fun with gamma6, trying out VL.TrackObjects, but got that:

any suggestions?

thanks a lot!

thanks for the pointer. there is now a new version 0.0.4 of VL.TrackObjects that works with vvvv gamma 6.0