Detect moving object

OpenMV related project discussion.
JeanJean
Posts: 2
Joined: Mon May 27, 2019 7:54 am

Detect moving object

Postby JeanJean » Sat Jun 08, 2019 2:22 pm

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
User avatar
kwagyeman
Posts: 3050
Joined: Sun May 24, 2015 2:10 pm

Re: Detect moving object

Postby kwagyeman » Sat Jun 08, 2019 2:27 pm

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.
Nyamekye,
User avatar
kwiley
Posts: 105
Joined: Fri Dec 21, 2018 5:22 pm

Re: Detect moving object

Postby kwiley » Tue Jun 11, 2019 4:09 pm

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.

Return to “Project Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests