Home | History | Annotate | Download | only in cpp

Lines Matching full:inputname

54     String inputName;
93 inputName = argv[i];
105 if( inputName.empty() || (isdigit(inputName.c_str()[0]) && inputName.c_str()[1] == '\0') )
107 int c = inputName.empty() ? 0 : inputName.c_str()[0] - '0';
113 if( inputName.empty() )
114 inputName = "../data/lena.jpg";
115 image = imread( inputName, 1 ).getUMat(ACCESS_READ);
118 if(!capture.open( inputName ))
119 cout << "Could not read " << inputName << endl;
142 cout << "Detecting face(s) in " << inputName << endl;
148 else if( !inputName.empty() )
152 FILE* f = fopen( inputName.c_str(), "rt" );