ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi Phelipe!
To count the number of detections from the HOG detector use:
int num_detected_persons = detected_person.size();
To count the number of detections from the HAAR detector use:
int num_detected_faces = detected_faces.size();
An alternative for the kinect which I would recommended trying out is the ground-based RGBD detection in the PCL by Matteo Munaro