int main(int argc,unsigned char* argv[]) //读取图片
{
char* filename_path= "G://work//20140704150740113//";
numPlates=2000;
string filename="";
for(int i=0;i<numPlates;i++)
{
stringstream ss(stringstream::in | stringstream::out);
ss<<i;
filename=ss.str();
ss.str("");
ss<< filename_path<<i<<".jpg";
string str;
str=ss.str();
input_image0=imread(str.c_str(),1);//ss.str()
if(input_image0.data)
{
imshow("input",input_image0);
waitkey(0);
}
}
return 0;
}