Page 1 of 1

Detect moving object

Posted: Sat Jun 08, 2019 2:22 pm
by JeanJean
HI,

I want to detect all moving objects on my image.
For example counting the cars passing by. Also I do want to get the biggest moving object.
In which direction should I look, should I go for the blob detection, but I don't want to use colors for thresholds ?

Regards,

Jan

Re: Detect moving object

Posted: Sat Jun 08, 2019 2:27 pm
by kwagyeman
Frame differencing followed by find_blobs() will work for what you want to do. However, shadows and other things will trip you up. Try frame differencing out followed by blob detection for quick results however.

Re: Detect moving object

Posted: Tue Jun 11, 2019 4:09 pm
by kwiley
I like optical flow for applications like this. Unlike frame differencing, OF will actually give you the direction and speed of the moving objects in addition to their mere detection. OF is built into the OpenMV APIs I believe. Just dig through the examples some.