1 | initial version |
I am doing this using an image sequence instead of a VideoCapture or VideoFileSource. Basically, I created a derived ImagesSource class from IFrameSource (frame_source.hpp) and replace VideoFileSource with ImagesSource in videostab.cpp.
My derived ImagesSource class simply has the nextFrame() function read the next image file from a directory and the reset() which restart at the beginning of your image list again.