Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Superresolution: how to process only particular sampled frames

$
0
0
Hi I have hours-long video and I want to enlarge some frames (of my own choosing) of the video by using super resolution. I'm not interested in processing all the frames (and it'd too slow to process all of them). How can I achieve this? Note: I've tried the following approach but it doesn't work. Ptr srobj = createSuperResolution_BTVL1(); Ptr frameSource = createFrameSource_Video("video.mpg"); srobj->setInput(frameSource); for(;;) { if(certain frames) { // if certain frame numbers, skip the frame frameSource->nextFrame(someMatfile); continue; } // perform super resolution srobj->nextFrame(frame_super); } Thanks.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>