File tree Expand file tree Collapse file tree 9 files changed +113
-0
lines changed Expand file tree Collapse file tree 9 files changed +113
-0
lines changed Original file line number Diff line number Diff line change 77[submodule "image_recognition_color_extractor/docs "]
88 path = image_recognition_color_extractor/docs
99 url = https://github.com/tue-robotics/tue_documentation_python.git
10+ [submodule "image_recognition_footwear/docs "]
11+ path = image_recognition_footwear/docs
12+ url = https://github.com/tue-robotics/tue_documentation_python.git
13+ branch = master
1014[submodule "image_recognition_openface/docs "]
1115 path = image_recognition_openface/docs
1216 url = https://github.com/tue-robotics/tue_documentation_python.git
Original file line number Diff line number Diff line change 1515 <exec_depend >image_recognition_age_gender</exec_depend >
1616 <exec_depend >image_recognition_analysis</exec_depend >
1717 <exec_depend >image_recognition_color_extractor</exec_depend >
18+ <exec_depend >image_recognition_footwear</exec_depend >
1819 <exec_depend >image_recognition_msgs</exec_depend >
1920 <exec_depend >image_recognition_openface</exec_depend >
2021 <exec_depend >image_recognition_openpose</exec_depend >
Original file line number Diff line number Diff line change 1+ cmake_minimum_required (VERSION 3.0.2)
2+ project (image_recognition_footwear)
3+
4+ find_package (catkin REQUIRED)
5+
6+ catkin_python_setup()
7+
8+ catkin_package()
9+
10+ #install(PROGRAMS
11+ #scripts/footwear_node
12+ #scripts/get_footwear
13+ #DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
14+ #)
15+
16+ if (CATKIN_ENABLE_TESTING)
17+ find_package (catkin_lint_cmake REQUIRED)
18+ catkin_add_catkin_lint_test()
19+ endif ()
Original file line number Diff line number Diff line change 1+ # image_recognition_footwear
2+
3+ Package to detect footwear in an image
4+
5+ ## Installation
6+
7+ See < https://github.com/tue-robotics/image_recognition > for installation instructions.
8+
9+ ## ROS Node (footwear_node)
10+
11+ ``` bash
12+ rosrun image_recognition_footwear footwear_node
13+ ```
14+
15+ Run the image_recognition_rqt test gui (< https://github.com/tue-robotics/image_recognition_rqt > )
16+
17+ ``` bash
18+ rosrun image_recognition_rqt test_gui
19+ ```
20+
21+ 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.
22+
23+ ## Scripts
24+
25+ ### Get footwear (get_footwear)
26+
27+ Get whether there are shoes or socks in the image:
28+
29+ ``` bash
30+ rosrun image_recognition_footwear get_footwear ` rospack find image_recognition_footwear` /doc/shoes.png
31+ rosrun image_recognition_footwear get_footwear ` rospack find image_recognition_footwear` /doc/socks.png
32+ ```
33+
34+ ![ Shoes] ( doc/shoes.png )
35+ ![ Socks] ( doc/socks.png )
36+
37+ Output:
38+
39+ ``` yaml
40+ Colors : ['light blue'] # ToDo adapt
41+ ` ` `
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <?xml-model
3+ href =" http://download.ros.org/schema/package_format3.xsd"
4+ schematypens =" http://www.w3.org/2001/XMLSchema" ?>
5+ <package format =" 3" >
6+ <name >image_recognition_footwear</name >
7+ <version >0.0.5</version >
8+ <description >The image_recognition_footwear package</description >
9+
10+ <
author email =
" [email protected] " >Gustavo Cordova</
author >
11+ <
maintainer email =
" [email protected] " >Gustavo Cordova</
maintainer >
12+
13+ <license >MIT</license >
14+
15+ <buildtool_depend >catkin</buildtool_depend >
16+
17+ <buildtool_depend >python3-setuptools</buildtool_depend >
18+
19+ <exec_depend >cv_bridge</exec_depend >
20+ <exec_depend >image_recognition_msgs</exec_depend >
21+ <exec_depend >python3-numpy</exec_depend >
22+ <exec_depend >python3-opencv</exec_depend >
23+ <exec_depend >rospy</exec_depend >
24+
25+ <test_depend >catkin_lint_cmake</test_depend >
26+
27+ <doc_depend >python3-sphinx</doc_depend >
28+ <doc_depend >python-sphinx-autoapi-pip</doc_depend >
29+ <doc_depend >python-sphinx-rtd-theme-pip</doc_depend >
30+ <doc_depend >python3-yaml</doc_depend >
31+
32+ <export >
33+ <rosdoc config =" rosdoc.yaml" />
34+ </export >
35+ </package >
Original file line number Diff line number Diff line change 1+ - builder : sphinx
2+ sphinx_root_dir : docs
3+ name : Python API
Original file line number Diff line number Diff line change 1+ from setuptools import setup
2+ from catkin_pkg .python_setup import generate_distutils_setup
3+
4+ d = generate_distutils_setup (
5+ packages = ['image_recognition_footwear' ],
6+ package_dir = {'' : 'src' }
7+ )
8+
9+ setup (** d )
You can’t perform that action at this time.
0 commit comments