0
$\begingroup$

Rosanswers logo

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


Originally posted by bassim on ROS Answers with karma: 1 on 2011-11-10

Post score: 0

$\endgroup$

2 Answers 2

0
$\begingroup$

Rosanswers logo

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.


Originally posted by Mac with karma: 4119 on 2011-11-10

This answer was ACCEPTED on the original site

Post score: 5

$\endgroup$
0
$\begingroup$

Rosanswers logo

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


Originally posted by dornhege with karma: 31395 on 2011-11-10

This answer was NOT ACCEPTED on the original site

Post score: 2


Original comments

Comment by Mac on 2011-11-10:
Give or take the complexities introduced by image_transport, which means that your messages may not actually be images, per se.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.