From 6d08d04293010555df2f444615dfcd70db661edb Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Tue, 22 May 2012 18:59:26 +0000 Subject: [PATCH] compilation --- modules/gpu/perf/perf_objdetect.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/gpu/perf/perf_objdetect.cpp b/modules/gpu/perf/perf_objdetect.cpp index 9819123e7..aa1efd9c8 100644 --- a/modules/gpu/perf/perf_objdetect.cpp +++ b/modules/gpu/perf/perf_objdetect.cpp @@ -24,15 +24,14 @@ GPU_PERF_TEST_1(HOG, cv::gpu::DeviceInfo) INSTANTIATE_TEST_CASE_P(ObjDetect, HOG, ALL_DEVICES); -CV_FLAGS(DftFlags, 0, cv::DFT_INVERSE, cv::DFT_SCALE, cv::DFT_ROWS, cv::DFT_COMPLEX_OUTPUT, cv::DFT_REAL_OUTPUT) -GPU_PERF_TEST_1(HaarClassifier, cv::gpu::DeviceInfo, DftFlags) +GPU_PERF_TEST_1(HaarClassifier, cv::gpu::DeviceInfo) { cv::gpu::DeviceInfo devInfo = GetParam(); cv::gpu::setDevice(devInfo.deviceID()); cv::Mat img_host = readImage("gpu/haarcascade/group_1_640x480_VGA.pgm", cv::IMREAD_GRAYSCALE); - + cv::gpu::CascadeClassifier_GPU cascade; if (!cascade.load("haarcascade_frontalface_alt.xml")) @@ -40,10 +39,10 @@ GPU_PERF_TEST_1(HaarClassifier, cv::gpu::DeviceInfo, DftFlags) cv::gpu::GpuMat img(img_host); cv::gpu::GpuMat objects_buffer(1, 100, cv::DataType::type); - + TEST_CYCLE() { - cascade.detectMultiScale(img, objects_buffer); + cascade.detectMultiScale(img, objects_buffer); } }