Skip to content

Commit 653bca8

Browse files
committed
samples: gpu: super_resolution: disable simple optical flow
The cv::superres::createOptFlow_Simple() function along with the simple optical flow class implementation is currently commented out in the superres module's code, so comment it out in the example as well.
1 parent f739990 commit 653bca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/gpu/super_resolution.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ static Ptr<DenseOpticalFlowExt> createOptFlow(const string& name, bool useGpu)
3535
else
3636
return createOptFlow_Farneback();
3737
}
38-
else if (name == "simple")
39-
return createOptFlow_Simple();
38+
/*else if (name == "simple")
39+
return createOptFlow_Simple();*/
4040
else if (name == "tvl1")
4141
{
4242
if (useGpu)

0 commit comments

Comments
 (0)