added gpu::printCudaDeviceInfo to all samples

This commit is contained in:
Vladislav Vinogradov
2012-01-30 07:20:09 +00:00
parent ed038ef9dc
commit d38ca09738
17 changed files with 213 additions and 1 deletions

View File

@@ -109,6 +109,8 @@ int main(int argc, const char *argv[])
return cerr << "No GPU found or the library is compiled without GPU support" << endl, -1;
}
cv::gpu::printShortCudaDeviceInfo(cv::gpu::getDevice());
string cascadeName;
string inputName;
bool isInputImage = false;