Hello and thanks always.
This question has been asked several times on the internet it seems but none of the replies work so I come here dedicated only to opencv.
I want to open a series of images stored on a file (or what they call a "sequence of files")
I read in the opencv documentation (and also on several forums) to use video capture as:
Parameters:
filename – name of the opened video file (eg. video.avi) or image sequence (eg. img_%02d.jpg, which will read samples like img_00.jpg, img_01.jpg, img_02.jpg, ...)
This however doesnt work. My files don't get recognized.
Let me give you the format of the names of my files.
so I tried "s640_%03d_%01d@%01d.jpg"
Do this "%0x" thing really work? Do I have to use escape characters? I have tried putting \ or like this
Or if not How can I read a sequence of files in a folder???
Thanks a thousand