Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Counting detected objects with Haar Cascade

Hello,

I'm using a Haar Cascade classifier to identify and detect faces. Now I also want to count the detected faces, but I'm having some logical problems to do it.

First I tried to add the number of the detected faces in every frame. It didn't work because the same face is added again after a new frame. Other problem is that the Cascade sometimes fails and the face is not detected. I don't want to count these instabilities or detections that happen in only one frame.

Does anybody know how to implement a reliable algorithm to count objects detected by a Haar Cascade classifier?

Any tip will be very helpful,

Thanks

Counting detected objects with Haar Cascade

Hello,

I'm using a Haar Cascade classifier to identify and detect faces. in a camera capture. Now I also want to count the detected faces, but I'm having some logical problems to do it.

First I tried to add the number of the detected faces in every frame. It didn't work because the same face is added again after a new frame. Other problem is that the Cascade sometimes fails and the face is not detected. I don't want to count these instabilities or detections that happen in only one frame.

Does anybody know how to implement a reliable algorithm to count objects detected by a Haar Cascade classifier?

Any tip will be very helpful,

Thanks