How to detect two close objects?

asked 2014-09-20 03:00:09 -0500

robasp gravatar image

updated 2014-09-20 03:01:17 -0500

Im currently using OpenCV's

absdiff function.
threshold function.
blur function.
to perform vehicle detection using background subtraction.

I have two concerns,

I have used background subtraction, but when two vehicles are very close to each other or one partially blocked by another, they are detected as one (because the find countours method is not too intelligent?) How can I solve this?

I chose background subtraction because Haar based classifier showed too many false positives in a video & MOG needs a static frame. Is there any method better than background subtraction?

to summarize,

How to detect close objects? If backround subtraction isn't good , then what is another option? TIA

edit retag flag offensive close merge delete