fixed gpu samples build

This commit is contained in:
Vladislav Vinogradov
2011-10-31 12:39:06 +00:00
parent 804d9b72f6
commit 11a5e78042
4 changed files with 21 additions and 11 deletions

View File

@@ -312,7 +312,7 @@ void App::run()
hogWorkBegin();
if (use_gpu)
{
gpu_img = img;
gpu_img.upload(img);
gpu_hog.detectMultiScale(gpu_img, found, hit_threshold, win_stride,
Size(0, 0), scale, gr_threshold);
}