andrewssobral / simple_vehicle_counting

Vehicle Detection, Tracking and Counting
496 stars 246 forks source link

Multiple tracking of vehicle issue #8

Open Abhimaurya opened 8 years ago

Abhimaurya commented 8 years ago

hello sir..thanks for your source code .It is working properly ,but how will we detect multiple vehicle at same time when it's pass a horizontal line?? ...plz modified the source code..

ibndias commented 8 years ago

There's a bottleneck at the cvtrack module, it can only track one object at the same time. We should modify it to able to track multiple vehicle or for multiple lane application.

andrewssobral commented 8 years ago

Hi @Abhimaurya and @superderon, Yes the vehicle counting algorithm uses a simple tracker called CvBlob, and it is not robust for multiple tracking purpose. Some nice algorithms for multiple tracking are Multiple Hypothesis Tracking and Particle Filter. I will try to replace the CvBlob for a more robust tracking algorithm in the future. Please let me updated if you have some advances in this direction. Best, Andrews