replaced sanity check condition for stitching perf test

pull/2679/head
Alexander Alekhin 11 years ago
parent e8d3ebecc7
commit 71f871fafd
  1. 7
      modules/stitching/perf/perf_stich.cpp

@ -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)

Loading…
Cancel
Save