Tracking x, y coordinate with cv.jit.blob and drawing
First I want to thank all of the people who post their helpful patches. I have been fiercely borrowing from you!
I’ve attached my work thus far along with a very short video clip from the interface I am working with. Now that I have the x, y coordinates of the light blobs, I would like to use that information to draw light trails. I was trying to use the lcd object but can not figure out how to draw based on the data rather than the mouse coordinates.
Any suggestions would be appreciated.
The end goal is to recreate the look of a multi sensor touch display that lights up when someone touches the surface and then has light trails that follow the movement of the fingers.
Thank you in advance!
i’m just getting started with the jitter bit of max and i’ve been doing some tracking stuff myself using the jit.findbounds obj, but that’s very limited, so i’ve been around trying to decipher how to use the cv.jit library with no results… i’ve had a very hard time trying to get the x,y coordinates from the blobs the cv.jit tracks… and then i came across your post.
so far i’ve only been able to get the coordinates of the very first blob, not the others… do u have any suggestions as to what i could do to get the x,y for each additional blob found?? it’d be of great great help!
i know your post it’s somewhat old, and u’ve probably solved ur light trails problem. in case u haven’t or u just wanna check out a different solution, why not leave the drawing bit to processing?… there’s an excellent external – maxlink – that can send data to processing in many different ways, so then it can be interpreted and transformed in drawings. processing is great for drawing and it’s very easy to get started… 2-5 days tops to be able to draw amazing stuff based on info coming elsewhere.
mmmm ok… =)
thank you in advance too!
Btw, this forum is for Jitter C development. Moving to standard Jitter forum.