logo       

How can I distinguish moving objects and standstill objects?: msg#00729

lib.opencv

Subject: How can I distinguish moving objects and standstill objects?

Hello, I want to distinguish moving objects and standstill objects
and I've built up 2 systems for this; one is background subtraction
to compare current frames with the initial background image and the
other is motion detection to compare consecutive frames.

If there is only one object in the images, it could be recognised if
the object is moving or standing, but I've got no idea which method
would be the best to detect any standstill object among several
objects in the scene.

I've tried cvMatchShapes to compare the background-subtracted image
and the previous-frame-subtracted image, and the result when there
was only one moving object looked very similar to the one when there
were one moving object and one standstill object, even though those
two objects have a different shape.

For another way, I kept the rectangles bounding the contours of
background-subtracted image and checked if there's any noticeable
difference between consecutive frames within those rectangles by
using cvSetImageROI. An object-bounding-rectangle contains some area
which doesn't belong to the object area, but it keeps the position
information and I thought it would be useful. Anyhow, I didn't get
any right result using this way.

I only need to if there is any standstill objects among several
objects in a scene. I don't have to identify each object. What would
be the most occurate way to do this? What I think is to find any
noticeable area which was detected by the background subtraction but
doesn't show up in the motion detection result.

Please give me any idea. I've just run into some functions which
might be useful like HaarClassifier and OpticalFlow, but they looked
too complicated to this task which may be sorted out easily.

Thank you very much in advance!





Change settings: http://www.yahoogroups.com/mygroups, select
Get Emails (get all posts)
Daily Digest (one summary email per day)
Read on the web (read posts on the web only)Or Unsubscribe by mailing
OpenCV-unsubscribe@xxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise