[Algorithms] Re: Motion tracking from a live video source
Brought to you by:
vexxed72
From: Juhana S. <ko...@ni...> - 2005-10-11 17:22:26
|
>From: Aras Pranckevicius <ne...@gm...> > >PiAgQXQgdGhlIG1vbWVudCwgSSdtIHRyeWluZyB0byBmaWd1cmUgb3V0IGEgY291cGxlIG9mIHRo >aW5ncyByZWxhdGluZyB0bwo+IHdlYmNhbSBtb3Rpb24gdHJhY2tpbmcuCgpJZiB5b3UgY2FuIHNv [ Reposting the coded message in plain ascii. Juhana ] > At the moment, I'm trying to figure out a couple of things relating to > webcam motion tracking. If you can somehow segment "foreground" (moving object) and "background" (the rest), then you've got a black&white image. From there, quite many approaches exist; quite easy is MHI (motion history images) - basically, just fade out the foreground along time, so you have fading out "motion trails". Then compute image gradients of that. Of course, all this assumes you've got background extraction working, which is hard :) Anyway, I suggest taking a look at OpenCV library - it has lots of vision-related algorithms already implemented: http://sourceforge.net/projects/opencvlibrary It won't solve your problem immediately, but at least can provide some building blocks. -- Aras 'NeARAZ' Pranckevicius http://nesnausk.org/nearaz | http://nearaz.blogspot.copad: fix the code |