Front Page Posts
centroid tracker for open cl. with variable resolution.
Nice!! I have been thinking a lot how to have multi centroids and one idea is to get different colors blobs. One way you suggested in an other thread is with depth image, attach different color to a field depth, but is difficult for the closest hand will also go through the other hand depth field.
I would say if there is any way to detect closest points make a group and so a position.
Or by changing color blob for new event
i made a thread for this one as it's doing the centroid thing and the other was just graving the first edge. just got to spend some more time with this one. Thinking about grabbing the edges and making a polygon from them, that way you can test for when they cross. There some edge detection stuff floating around. I started a js patch for multiple blobs, in the other thread. Just need to modify it to work with this version.
here is a multiple blob solution using a plug to make things faster. just do a build and copy then run the patch. it outputs a structure of tracked pixels to make a blob centroid, a blob bounding box etc.. working with multiple blobs.