Ask Your Question

save data from the kinect

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

updated 2014-04-20 14:05:24 -0500

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

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

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

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

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

edit flag offensive delete link more


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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]


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

Seen: 571 times

Last updated: Nov 10 '11