Wednesday, May 13, 2015

Save RGB image using RGBD sensor and ROS

1.
$roscore
2.
$roslaunch openni_launch openni.launch
or
$roslaunch openni2_launch openni2.launch (Depending on the driver that your sensor uses.)
3.
$rosrun image_view image_view image:=/camera/rgb/image_rect_color

A tiny window pops up showing the scene in view. Right click on it to save the image.

No comments:

Post a Comment