Ask Your Question
0

Super resolution processing of the first frame goes infinite time

asked 2013-07-03 09:42:22 -0500

Netuimeni gravatar image

updated 2013-07-03 09:43:11 -0500

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?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2013-07-03 10:50:14 -0500

Vladislav Vinogradov gravatar image

The first call of nextFrame method takes long time, because algorithm initialize inner frame queue (it reads and process several frames from input source).

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2013-07-03 09:42:22 -0500

Seen: 513 times

Last updated: Jul 03 '13