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

Capture for Kinect Camera

asked 2011-07-26 10:25:08 -0500

robwa gravatar image

updated 2016-10-24 09:02:18 -0500

ngrennan gravatar image

Thanks, that I have done, now I want to save the images I have listened to from to video using the video writer class,

VideoCapture cap(0); // open the default camera

However, I don't want to use the default camera (webcam), instead the kinect camera. I have tried -1, but still won't work. So, If someone has opened a capture using KINECT camera, that would be great if they shared with me how they did it. many thanks

edit retag flag offensive close merge delete

Comments

You might want to rewrite/reformat your post. It's a bit difficult to read.
Asomerville gravatar image Asomerville  ( 2011-07-26 15:49:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-08-05 02:33:20 -0500

DiogoCorrea gravatar image

Hi, to open the kinect camera with OpenCV you need to use this:

VideoCapture capture( CV_CAP_OPENNI );

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-07-26 10:25:08 -0500

Seen: 1,043 times

Last updated: Aug 05 '11