Package to detect footwear in an image
See https://github.com/tue-robotics/image_recognition for installation instructions.
rosrun image_recognition_footwear footwear_node
Run the image_recognition_rqt test gui (https://github.com/tue-robotics/image_recognition_rqt)
rosrun image_recognition_rqt test_gui
Configure the service you want to call with the gear-wheel in the top-right corner of the screen. If everything is set-up, draw a rectangle in the image around the region you would like to extract the color from.
Get whether there are shoes or socks in the image:
rosrun image_recognition_footwear get_footwear `rospack find image_recognition_footwear`/doc/shoes.png
rosrun image_recognition_footwear get_footwear `rospack find image_recognition_footwear`/doc/socks.png
Output:
Colors: ['light blue'] # ToDo adapt