added getDescriptors support into gpu HOG, also added commented test for this feature

This commit is contained in:
Alexey Spizhevoy
2010-11-18 09:22:23 +00:00
parent 515bdfa71e
commit 11c0c5bf85
5 changed files with 221 additions and 81 deletions

View File

@@ -225,7 +225,11 @@ void App::RunOpencvGui()
vc >> frame;
}
else
{
frame = imread(settings.src);
if (frame.empty())
throw exception(string("Can't open image file: " + settings.src).c_str());
}
Mat img_aux, img, img_to_show;
gpu::GpuMat gpu_img;