Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

How to read sequentially image files in OpenCv and C++

$
0
0
Suppose I have 7 numbers of ".jpg" files in a folder. All the names are numeric that is 0.jpg, 4.jpg, 1.jpg etc. How to read the files sequentially according to there name incrementally. That is first 0.jpg then 1.jpg then 4.jpg will be read. I have tried with glob( ) function but image read is not sequentially.. #include #include #include using namespace std; using namespace cv; int main() { String folder = "*.jpg"; vector filenames; glob(folder, filenames); cout<

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>