add detections vector initialization in tests

This commit is contained in:
marina.kolpakova
2012-09-24 17:59:44 +04:00
parent 08b4e780de
commit 1bf85996b3
2 changed files with 2 additions and 2 deletions

View File

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