save data from the kinect
Hi, im running ROS electric on Ubuntu 10.10 and I want to know how I can save depth and/or RGB image from the kinect?!
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi, im running ROS electric on Ubuntu 10.10 and I want to know how I can save depth and/or RGB image from the kinect?!
The kinect publishes Image messages on a variety of topics; start by using rostopic list
to see which ones.
Then, you'll need to subscribe to them. If you just want to save a few images, the image_view
program (rosrun image_view image_view
) will show you what a single camera is seeing, and you can click to save a frame.
For more-general work, you should either record a bagfile (see rosbag
), or write yourself a subscriber node that collects messages and writes them out. See the image_transport
and cv_bridge
packages; those will come in handy.
You can use rosbag and record the data as from any other message.
Asked: 2011-11-10 03:07:07 -0500
Seen: 1,062 times
Last updated: Nov 10 '11
could not find executable file
Running openni_camera and an additional external USB camera
Get RGB pixel coordinate in depth cloud
How to convert pointcloud2 to separate depth and rgb image messages
camera_calibration package not detected and cannot locate rosdep definition for sensor_msgs
rviz keeps displaying initial pose
"right_arm_base_link" passed to lookupTransform argument target_frame does not exist.