I am trying to load at each loop increment a new image from a sequence into a variable with openCV for C++.
I am running into a problem because only part of the name changes in the middle but the prefix and suffix don't.
Here is the file name : 9987-1-0001-357.033.png
Next one would be : 9987-1-0002-357.066.png
As one can see, the number of the frame changes and the timestamp.
I am trying to find a way to automatically load the next image into a variable using C++.
Is there a way to abstract the timestamp to only increment a counter on the number of the frame (9987-1-000*.png ?
Thanks a lot in advance.
Aucun commentaire:
Enregistrer un commentaire