cl_ centroid tracker (Composition by dust)

Author: dust
License: (unknown)
Date: 2011.02.28
Compatibility: 10.6
Categories:
Required plugins:
(none)

centroid tracker for open cl. with variable resolution.

PreviewAttachmentSize
dust_centroid.qtz24.79 KB

dust's picture
Re: cl_ centroid tracker (Composition by dust)

with kinect.

PreviewAttachmentSize
dust_centroid_kinect.qtz35.48 KB

offonoll's picture
Re: cl_ centroid tracker (Composition by dust)

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

Any ideas??

dust's picture
Re: cl_ centroid tracker (Composition by dust)

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.

dust's picture
Re: cl_ centroid tracker (Composition by dust)

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.

PreviewAttachmentSize
kinectBlob.zip15.35 KB
dust_blob_k.qtz14.88 KB