I have a folder full of images. I want to use them to compute the optical flow with OpenCV. What is a good cross-platform way to read in all the images without having to know the exact file names?
I could rename the images to 1.png, 2.png, and so on, if that helps.