fix data paths in performance test

This commit is contained in:
marina.kolpakova 2012-09-21 19:42:19 +04:00
parent 0691dc554f
commit 1cf7a46f3a

View File

@ -102,7 +102,7 @@ PERF_TEST_P(SoftCascade, detect, Values<pair_string>(make_pair("cv/cascadeandhog
cv::gpu::GpuMat colored(cpu); cv::gpu::GpuMat colored(cpu);
cv::gpu::SoftCascade cascade; cv::gpu::SoftCascade cascade;
ASSERT_TRUE(cascade.load(GetParam().first)); ASSERT_TRUE(cascade.load(perf::TestBase::getDataPath(GetParam().first)));
cv::gpu::GpuMat rois, objectBoxes; cv::gpu::GpuMat rois, objectBoxes;
cascade.detectMultiScale(colored, rois, objectBoxes); cascade.detectMultiScale(colored, rois, objectBoxes);