jeudi 2 avril 2020

Find the next image with OpenCV c++

I have a sequence of images which are collected and named this way :

1st image: "9199-1-001-200.033"

2nd image: "9199-1-002-200.066"

305-th image: "9199-1-305-210.066"

In bold is the number of the image and after is the timestamp and they are the only two parts changing for each image.

Is there a way for me have a loop which increases the index of the image and understands loads the next filename regardless of the timestamp in c++ ?

Thanks in advance!

Aucun commentaire:

Enregistrer un commentaire