1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-16 22:35:51 +08:00

Merge pull request #2224 from Nuzhny007:master

This commit is contained in:
Alexander Alekhin
2019-08-15 11:20:22 +00:00

View File

@@ -63,7 +63,7 @@ void cv::superres::SuperResolution::nextFrame(OutputArray frame)
{ {
CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION();
isUmat_ = frame.isUMat(); isUmat_ = frame.isUMat() && cv::ocl::useOpenCL();
if (firstCall_) if (firstCall_)
{ {