Cv.jit.blobs.centroids help

james's icon

i was wondering has anyone found a way of extracting the co-ordinates generated by the cv.jit.blobs.centroids object as it would be very helpful in tracking multiple objects within an enviornment, if i could possible extract the numbers of blobs found the co-ordinates and the areas its probably something silly but i can't work out nor do i know which object i cna used to extract this information

Ad.'s icon

jit.unpack is you friend !
And if you want a float data, have a look at jit.spill.

Ad.

icu222much's icon

I'm looking for a way to do exactly this, but I am new to MaxMSP/Jitter. Can you describe how you attach jit.unpack to cv.jit.blobs.centriods?

I tried adding the jit.unpack to the left outlet of cv.jit.blobs.centroids, and connected jit.pwindow to each of the jit.unpack outlets, but nothing is happening.