ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

save data from the kinect

asked 2011-11-10 03:07:07 -0600

bassim gravatar image

updated 2016-10-24 08:59:54 -0600

ngrennan gravatar image

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?!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
5

answered 2011-11-10 03:13:18 -0600

Mac gravatar image

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.

edit flag offensive delete link more
2

answered 2011-11-10 03:13:41 -0600

dornhege gravatar image

You can use rosbag and record the data as from any other message.

edit flag offensive delete link more

Comments

Give or take the complexities introduced by image_transport, which means that your messages may not actually be images, per se.
Mac gravatar image Mac  ( 2011-11-10 10:20:51 -0600 )edit

Question Tools

Stats

Asked: 2011-11-10 03:07:07 -0600

Seen: 1,092 times

Last updated: Nov 10 '11