opencv, avoid foreground becoming a part of background -


i developing application detecting vehicles using opencv.

i using background subtraction method, backgroundsubtractormog, , findcontours method detecting vehicles. facing couple of problems in one.

1) when vehicle stops,like in signal, becomes part of background. don't want happen.

2) when there more vehicles stopping in signal closely, foreground of vehicles joined when using findcontors function.

is there way solve problem.


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -