diff --git a/modules/stitching/perf/perf_matchers.cpp b/modules/stitching/perf/perf_matchers.cpp index 28e19c85f3..378d92a8dc 100644 --- a/modules/stitching/perf/perf_matchers.cpp +++ b/modules/stitching/perf/perf_matchers.cpp @@ -288,7 +288,7 @@ PERF_TEST_P( matchVector, affineBestOf2NearestVectorFeatures, testing::Combine( if (pairwise_matches[i].src_img_idx < 0) continue; - EXPECT_TRUE(pairwise_matches[i].matches.size() > 400); + EXPECT_GT(pairwise_matches[i].matches.size(), (size_t)300); EXPECT_FALSE(pairwise_matches[i].H.empty()); ++matches_count; }