From 72a730075ece54b4db135e21b4952c8f01a599b2 Mon Sep 17 00:00:00 2001 From: Sebastian Hahta <joseha@utu.fi> Date: Thu, 29 Aug 2019 15:44:28 +0300 Subject: [PATCH] comment --- components/rgbd-sources/src/stereovideo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/rgbd-sources/src/stereovideo.cpp b/components/rgbd-sources/src/stereovideo.cpp index 721085330..b162eb90b 100644 --- a/components/rgbd-sources/src/stereovideo.cpp +++ b/components/rgbd-sources/src/stereovideo.cpp @@ -61,6 +61,8 @@ void StereoVideoSource::init(const string &file) frames_ = std::vector<StereoVideoSource::Frame>(2); // triple-buffering for optical flow #ifdef HAVE_OPTFLOW + // TODO make optional, can be calculated at later step + nvof_ = cv::cuda::NvidiaOpticalFlow_1_0::create(size.width, size.height, cv::cuda::NvidiaOpticalFlow_1_0::NV_OF_PERF_LEVEL_SLOW, true, false, false, 0); -- GitLab