Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

format() comes in handy there:

  for(int i=22; i<24; i++){
      cv::Mat m = cv::imread( cv::format("%d.jpg",i) );
  }