From 71f871fafde115d1caa79c02f49675fefaae6067 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 30 Apr 2014 18:01:25 +0400 Subject: [PATCH] replaced sanity check condition for stitching perf test --- modules/stitching/perf/perf_stich.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/stitching/perf/perf_stich.cpp b/modules/stitching/perf/perf_stich.cpp index 8cf89651fe..1a37472e98 100644 --- a/modules/stitching/perf/perf_stich.cpp +++ b/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)