This commit is contained in:
Konstantin Matskevich
2014-01-24 13:37:19 +04:00
parent 450ea3131f
commit 07778e1760
6 changed files with 33 additions and 124 deletions

View File

@@ -269,7 +269,7 @@ void App::handleKey(char key)
case 'm':
case 'M':
ocl::setUseOpenCL(!cv::ocl::useOpenCL());
cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL" : "CPU") << " mode\n";
cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL enabled" : "CPU") << " mode\n";
break;
case 'g':
case 'G':