Skip to content
Snippets Groups Projects
Commit 72a73007 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

comment

parent 10c82ec2
No related branches found
No related tags found
2 merge requests!105CUDA optical flow smoothing,!103feature/frame class
Pipeline #13244 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment