MATLAB: Counting people by face detection

Computer Vision ToolboxImage Processing Toolboxpeople countingpeople detectiontracking

Hello,
So far I have detected the faces with a bounding box around people faces. I was looking for a way to count the number of boxes appeared in the video as to return the number of people. Is there anyway to do this? Thank you.

Best Answer

How did you do it? If you did it with bwlabel or beconncomp, you can get it from the return argument(s). If you used the Computer Vision System Toolbox example, I'm sure it's one of the returned properties.
Related Question