1 | initial version |
It is the same issue as this question. The BTV SuperResolution algorithm was oriented for small input videos.
As for your questions:
Yes, your code is correct. The only issue - check if (result.empty())
before imshow
.
The first call of nextFrame
method takes long time, because algorithm initialize inner frame queue. It will process temporalAreaRadius + 1
(5 for default parameters) frames from input source. So, first call is ~5x slower than next calls.
It was oriented for small input size (e.g. video with small resolution or small part from the input video). And real-time processing could be achieved only on small input.