Let's launch the start_tracking.launch file from face_tracker_pkg using the following command:
$ roslaunch face_tracker_pkg start_tracking.launch
Note that you should connect your webcam to your PC.
If everything works fine, you will get output like the following; the first one is the original image, and the second one is the face-detected image:
Face-detected image
We have not enabled Dynamixel now; this node will just find the face and publish the centroid values to a topic called /face_centroid.
So, the first part of the project is done—what's next? It's the control part, right? Yes, so next, we are going to discuss the second package, face_tracker_control.