Imread many image of type Mat
Hello , With my program I can read an image. Now I have many images in my database. How can I do read the image loop! (the type of image is Mat) Please! thank you
int main()
{
vector<Mat> frames;
char filename[100] ;
for (int i=1;i<4;i++){
sprintf(filename,"/home/user/Bureau/Nouveau dossier/sobel-test/uEyeImg000%d.tif",i);
Mat frame=imread(filename);
frames.push_back(frame);
}
waitKey(0);
return 0 ;
}