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,042 times
Last updated: Nov 10 '11
kinect (openni): pointcloud2. Object shadow appearing in rviz?
Turtlebot / Kinect - not publishing any images?
Lower Kinect resolution for RGB/Camera using openni_launch
Local path planning with Kinect
Error while installing kinect on ros noetic
How to obtain the R and T of the kinect camera?