Ask Your Question

Revision history [back]

Super resolution processing of the first frame goes infinite time

I got opencv super resolution example from “..\opencv\samples\gpu\super_resolution.cpp”. Copied, and pasted to the main of the empty project. Put my own inputVideoName and inputVideoName. Input video is 248x248 px. Program runs well until it’s getting to the line:

MEASURE_TIME(superRes->nextFrame(result));

Then just nothing happens! Processing of the first frame goes infinite time. I can’t get inside of this "nextFrame()" to figure out the problem.
How to fix this and to see a results of opencv super resolution algorithm?

Super resolution processing of the first frame goes infinite time

I got opencv super resolution example from “..\opencv\samples\gpu\super_resolution.cpp”. Copied, and pasted to the main of the empty project. Put my own inputVideoName inputVideoName and inputVideoName. inputVideoName. Input video is 248x248 px. Program runs well until it’s getting to the line:

MEASURE_TIME(superRes->nextFrame(result));

Then just nothing happens! Processing of the first frame goes infinite time. I can’t get inside of this "nextFrame()" to figure out the problem.
How to fix this and to see a results of opencv super resolution algorithm?