Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

image segmentation

  • Loading branch information...
commit 6990ca9c8fff371991a6ccce63cdf727aceeae74 1 parent d1ec248
I Heart Robotics authored
View
1  ihr_demos/ihr_opencv/CMakeLists.txt
@@ -30,3 +30,4 @@ set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
#target_link_libraries(example ${PROJECT_NAME})
rosbuild_add_executable(ihr_demo_hsv src/ihr_demo_hsv.cpp)
+rosbuild_add_executable(ihr_demo_segment src/ihr_demo_segment.cpp)
View
4 ihr_demos/ihr_opencv/launch/demo_segment.launch
@@ -0,0 +1,4 @@
+<launch>
+ <node pkg="rosbag" type="rosbag" name="rosbag" args="play $(find ihr_demo_bags)/bags/two_oranges.bag"/>
+ <node name="demo" pkg="ihr_opencv" type="ihr_demo_segment" respawn="false" output="screen" />
+</launch>
View
11 ihr_demos/ihr_opencv/launch/live_segment.launch
@@ -0,0 +1,11 @@
+<launch>
+ <node name="usb_cam" pkg="usb_cam" type="usb_cam_node" output="screen" >
+ <param name="video_device" value="/dev/video0" />
+ <param name="image_width" value="320" />
+ <param name="image_height" value="240" />
+ <param name="pixel_format" value="mjpeg" />
+ <param name="camera_frame_id" value="usb_cam" />
+ <param name="io_method" value="mmap"/>
+ </node>
+ <node name="demo" pkg="ihr_opencv" type="ihr_demo_segment" output="screen" />
+</launch>
Please sign in to comment.
Something went wrong with that request. Please try again.