Forums > Jitter

tracking dat from cv.jit.touches

March 25, 2014 | 6:18 pm

hi,

I’ve looked through forum and might have missed it -

I want to track the coordinates of the separate blobs from cv.jit.touches simultaneously. I see the lists from touch, drag and release only display latest blob (i.e. blob 5 of 5), how do I keep tracking dat from the other earlier created blobs – (i.e. 1-4).

I need each blob as it’s created to control audio parameters, so need to keep tracking the coordinates of them all simultaneously.

thanks

drew


March 26, 2014 | 12:31 am

This is what cv.jit.touches should actually do.. have you tried connecting the "drag" output to [print] object? What do you get?


March 26, 2014 | 1:23 am

first number of the lists is the index (which blob), counting upwards from 0.
make a route object (route 0 1 2 3 4 5…) to get x y rad for indexed blobs


March 26, 2014 | 3:23 pm

thanks guys, thought it’d be something relatively simple, just couldn’t find/figure it –

ta


Viewing 4 posts - 1 through 4 (of 4 total)