|Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.|
Using face_contour_detector without the other packages in the portrait_bot stackDescription: This tutorial describes how to send the face_contour_detector requests without the rest of the tools in the portrait_bot stack.
Tutorial Level: BEGINNER
To build face_contour_detector just execute
$ rosdep install face_contour_detector $ rosmake face_contour_detector
Starting the services
To start the services needed just execute
$ roslaunch face_contour_detector start.launch
Sending a request
Now you can send a request to the face_contour_detector. To test this you can download these two example imageandmask.zip images.
$ rosrun face_contour_detector send_autoselect_request /path/to/a/image.png /path/to/a/mask.png
Note: The mask has to have the same width and height as the image, and can only have the colors black (marks the area of the face) and white (marks everything else) in it.