Re: Using blob tracking to draw shapes


Forums > Jitter > Using blob tracking to draw shapes
August 22, 2010 | 12:42 pm

Just giving this a bit of a nudge by way of another patch – my last post was probably too general anyway.

Basically, what I'm trying to work out is how to take a video feed, crush the colours so I'm left with only a few distinct shades of grey (so that identifying different brightnesses is easier) and loosely tracing those shapes with OpenGL.

Attached is a photoshopped image of the 'crushed colour' effect I'm expecting would make shape tracking easier. The left and right side show before and after, respectively.

What I'm really stuck on now is how to separate each shade, so that I can work with them individually.

The attached image should work with this patch…

– Pasted Max Patch, click to expand. –

[attachment=139463,997]