replaced sanity check condition for stitching perf test

This commit is contained in:
Alexander Alekhin 2014-04-30 18:01:25 +04:00
parent e8d3ebecc7
commit 71f871fafd

View File

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