Permalink
Browse files

image segmentation

  • Loading branch information...
1 parent d1ec248 commit 6990ca9c8fff371991a6ccce63cdf727aceeae74 I Heart Robotics committed Jun 4, 2010
@@ -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)
@@ -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>
@@ -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>

0 comments on commit 6990ca9

Please sign in to comment.