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

How to Record the RGB and Depth image of Kinect by Openni? [closed]

asked 2015-01-07 20:56:45 -0500

tanghz gravatar image

updated 2015-01-07 20:57:54 -0500

Hi, sorry to disturb everyone. I am new to ROS or Kinect. But my tutor asked me to record the RGB and Depth image through Openni, and he told me not to use the ROS topic. As he wants to get some pure data.

I have been searching for few days, however, I have no idea till now. Could you tell me what should I need to do, or to learn?

Sorry for my poor English, Thanks again !!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by tanghz
close date 2015-01-19 07:16:42.220580

1 Answer

Sort by ยป oldest newest most voted

answered 2015-01-12 07:45:13 -0500

tanghz gravatar image

updated 2015-01-12 07:46:37 -0500

To my excitement, I have solved this problem.

First, install the OpenNI and SenorKinect. Well, I tried many versions and at last I found the right one that I could use."Download them from here!" I am using a Ubuntu12.04 desktop. While I was trying other versions, I always get the error: "no device connected!", that is really strange! I searched many methods, but none solved my problem. Then I was told that maybe because of the inappropriate. So I tried many diferent versions driver, and at last, I got the working one!

Then, using the OpenNi get the Kinect depth and RGB data, and using the OpenCV to save them. For starters, like me, the writing of makefile is really a challenging work!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-01-07 20:56:45 -0500

Seen: 866 times

Last updated: Jan 12 '15