I have written program for detecting cars in the video. If two cars found simultaneously my program is counting for only one or some times it do not count. is there any way to solve this problem? Does background subtraction help to solve this problem?