another update to my blob tracking system in processing.
the main changes this time i made a static variable to determine the life time of the tracked blobs. this allows for the blobs to be present x frames in the space when the image doesnt capture a blob in the current frame from comparing with the previous frame (accessable under flob.settrackedBlobLifeTime( int framestolive). some more optimizing in the core calc blobs code. there are still some known quirks happening in the tracking code. i must take a deep look at it. but, for the meantime, the speed / direction calculations for each tracked blob is very nice, a nice fast alternative to compute blob heading.
the lib resides in my site’s code subsection. http://s373.net/code/flob
recent changes include:
updates001o // 20100210:
- optimizing blob coords calculations (1mult screen2world);
- optimizing setBackground;
updates001n // 20100204:
- settrackedBlobLifeTime implemented;
- fixed setMinTrackingDist;