diff --git a/components/rgbd-sources/src/stereovideo.cpp b/components/rgbd-sources/src/stereovideo.cpp index edcd5078a7381f8065ce076c0bb00d10e85668bc..ad8fafa4371f03c52a37c6ed05c2e725bd317d4b 100644 --- a/components/rgbd-sources/src/stereovideo.cpp +++ b/components/rgbd-sources/src/stereovideo.cpp @@ -128,8 +128,8 @@ bool StereoVideoSource::grab(int n, int b) { calib_->rectifyStereo(left_, right_, stream_); disp_->compute(left_, right_, disp_tmp_, stream_); disparityToDepth(disp_tmp_, depth_tmp_, calib_->getQ(), stream_); - //left_.download(rgb_, stream_); - rgb_ = lsrc_->cachedLeft(); + left_.download(rgb_, stream_); + //rgb_ = lsrc_->cachedLeft(); depth_tmp_.download(depth_, stream_); stream_.waitForCompletion();