I have a file with about 200-300 images and I want to perform some functions on them all but I don’t want to have to go to the trouble of having to type out
CvLoadImage(“img1.jpg”); run program than edit it to CvLoadImage(“img2.jpg”); run program ect.
There are no order to the names of the files there called random things.
Basically I want my program to access the folder they will be in, select each image one at a time, and run it once for the lot of them.
What function or libry should I look at to help with this?
Is there one that can count the amount of files in a folder and select there names and pop it into a variable so I can do something along the lines like thisCode:Loop till end of folder{ a=name of file.jpg; CvLoadImage(a); }



LinkBack URL
About LinkBacks




