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)