Commit 5ddf4e4e authored by marina.kolpakova's avatar marina.kolpakova

change expected values for soft cascade test according to changes in implementation

parent 9785a8ae
...@@ -245,7 +245,7 @@ GPU_TEST_P(SCascadeTestAll, detect, ...@@ -245,7 +245,7 @@ GPU_TEST_P(SCascadeTestAll, detect,
typedef cv::gpu::SCascade::Detection Detection; typedef cv::gpu::SCascade::Detection Detection;
cv::Mat detections(objectBoxes); cv::Mat detections(objectBoxes);
int a = *(detections.ptr<int>(0)); int a = *(detections.ptr<int>(0));
ASSERT_EQ(a ,2460); ASSERT_EQ(a ,2448);
} }
GPU_TEST_P(SCascadeTestAll, detectOnIntegral, GPU_TEST_P(SCascadeTestAll, detectOnIntegral,
...@@ -318,7 +318,7 @@ GPU_TEST_P(SCascadeTestAll, detectStream, ...@@ -318,7 +318,7 @@ GPU_TEST_P(SCascadeTestAll, detectStream,
typedef cv::gpu::SCascade::Detection Detection; typedef cv::gpu::SCascade::Detection Detection;
cv::Mat detections(objectBoxes); cv::Mat detections(objectBoxes);
int a = *(detections.ptr<int>(0)); int a = *(detections.ptr<int>(0));
ASSERT_EQ(a ,2460); ASSERT_EQ(a ,2448);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment