Sending openCV blob info via OSC

Hi,
I am trying to associate each blob found by a contourFinder to a Synth in Supercollider. I would like OF to send info continuously about each blob, but I would like SC to be able to know when info about a blob belongs to a blob that persists or when a new blob is created. To make it clear, when a blob is found, a Synth is created, but when the blob changes size, the size is sent via OSC to Supercollider, where it is mapped to some musical parameter.
So, summarizing, how can I send OSC about blobs that inform whether a blob persists or when a new blob is created?
Hope I made sense
Thanks
Uri

you need to track the blobs, the contourFinder just does blob detection, what you need is to do blob tracking, that means to assign an id to each blob and don’t loose it if the blob remains.

there’s some code for blob trackers in the forum, like:

http://forum.openframeworks.cc/t/ofcvblobtracker/717/0

ccv is also a blobtracker and sends osc/tuio already. although i think it doesn’t send blobs but fingers, so no size:

http://ccv.nuigroup.com/

Hola Arturo,
Thanks for the reply. In the post you linked me to there are many different links, and it seems that most of them are outdated or full of errors. Would you be so kind as to refer me to some app that does blob tracking that works?
Thanks
Uri

don’t know for sure of nothing that works on 0061, for blob tracking, unless someone else knows of something you’ll need to search a little bit, and perhaps try to adapt some of that code for 0061.

Hi,
It doesn’t need to be 0061, any previous is OK too…
Thanks
Uri