Ask Your Question

Revision history [back]

Counting HaarCascade Detections for Vehicle Detection

Hi All

So I'm making use of the EmguCV Wrapper, and I have implemented a HaarCascade method to detect vehicles as the enter "X" premises. My question is, how do I count these vehicles without having duplicate detections affect the count result?

Eg. Frame 1 detects "2 Vehicles", therefore the count is 2. Frame 2 detects "3 Vehicles (1 new, 2 from the previous frame)", now then count is 5, even though it should be 3.

How should I go about doing this? Any suggestions?

Thanks in advance!