ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi Mike, hi Patrick
That works fine for me but now I have a new problem. I want to save the depth image as an video with the VideoWriter. I initialize it as follows:
cv::VideoWriter depth_writer_;
depth_writer_.open("/home/stefan/Desktop/depth_video.avi", CV_FOURCC('D','I','V','3'), 20, cv::Size(640,480),false);
if( !depth_writer_.isOpened())
ROS_ERROR("[KinectTracking::KinectTracking] DEPTH failed to open!\n");
that works as well fine with me but the output is a video where three images are shown side by side. If I use the color images and set the last parameter to true that works find.
Does anybody have an idea to solve that?
Thanks a lot
Stefan