Commit 71f871fa authored by Alexander Alekhin's avatar Alexander Alekhin

replaced sanity check condition for stitching perf test

parent e8d3ebec
......@@ -56,11 +56,10 @@ PERF_TEST_P(stitch, a123, TEST_DETECTORS)
stopTimer();
}
Mat pano_small;
if (!pano.empty())
resize(pano, pano_small, Size(320, 240), 0, 0, INTER_AREA);
EXPECT_NEAR(pano.size().width, 1182, 50);
EXPECT_NEAR(pano.size().height, 682, 30);
SANITY_CHECK(pano_small, 5);
SANITY_CHECK_NOTHING();
}
PERF_TEST_P(stitch, b12, TEST_DETECTORS)
......
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