Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i think you "if" check should be
if cy >= 75: counter=counter+1;

Why dont you use the haar cascade to detect face which will return you a rectangle per person instead of detecting contours....