We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Actual Blob tracking (Read 1466 times)
Actual Blob tracking
Jun 30th, 2009, 9:43am
 
Hi all, i have been stumbling around looking for a viable method of tracking blobs on either a live image or a movie file. First of all, here is come context.

I have some static camera footage of a public space with people moving around in it, and i wish to track the movement of these people. I don't mean just detect them, i wish to know their position in the current frame and the previous frame. This comparison will help me determine how long they stay in one place etc.

I have tried the BlobDetection library, as well as the openCV library, neither of which seem to index each blob, (making tracking impossible). I have looked at piping in tracked info from MaxMSP and the cv.jit library,(which does support indexing), as well as interfacing with eyesweb. But these solutions aren't ideal. It must be possible to index and track blobs as objects from an extended blob class or something, i just don't have the wherewithal to work it out.

Does anyone have any suggestions as to how this might work? or come across any methods that i have missed, other libraries etc??

Any help is greatly appreciated!  Grin
Re: Actual Blob tracking
Reply #1 - Jul 2nd, 2009, 9:01am
 
as far as i know you'll have to write your own tracking routines. it would be something like: if one frame ago blob1's centre was at x,y and blob1 was width x height and now there's a blob with the center at x+-n, y+-n of similar size, then the new blob will be called blob1.

i don't thin it's going to be a quickie to write, but i don't know of someone else's code that does the job.
Page Index Toggle Pages: 1