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.
This commit is contained in:
@@ -35,8 +35,8 @@ static Ptr<DenseOpticalFlowExt> createOptFlow(const string& name, bool useGpu)
|
||||
else
|
||||
return createOptFlow_Farneback();
|
||||
}
|
||||
else if (name == "simple")
|
||||
return createOptFlow_Simple();
|
||||
/*else if (name == "simple")
|
||||
return createOptFlow_Simple();*/
|
||||
else if (name == "tvl1")
|
||||
{
|
||||
if (useGpu)
|
||||
|
Reference in New Issue
Block a user