Opencv循环顺序读取图片:
1 for (int i = 0; i <= 19; i++) 2 { 3 Mat InputImage; 4 string filename = "./bird4/bird_" + to_string(i) + ".bmp"; 5 InputImage=imread("filename",1); 6 } 7