Opencv循环顺序读取图片

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         

 

posted @ 2022-04-07 11:12  量子与太极  阅读(326)  评论(0编辑  收藏  举报