samples: use findFile() in "cpp"

This commit is contained in:
Alexander Alekhin
2018-10-31 15:48:56 +03:00
committed by Alexander Alekhin
parent 2fa9bd221d
commit c4c31f5bba
52 changed files with 359 additions and 286 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ int main(int argc, char** argv)
if (input.empty())
cap.open(0);
else
cap.open(input);
cap.open(samples::findFileOrKeep(input));
if( !cap.isOpened() )
{