Ask Your Question
0

save data from the kinect

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

bassim gravatar image

updated 2014-04-20 14:05:24 -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
4

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 ( 2011-11-10 10:20:51 -0600 )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]

Stats

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

Seen: 584 times

Last updated: Nov 10 '11