diff --git a/modules/imgproc/perf/perf_matchTemplate.cpp b/modules/imgproc/perf/perf_matchTemplate.cpp index 0c727d5a48..a89435b535 100644 --- a/modules/imgproc/perf/perf_matchTemplate.cpp +++ b/modules/imgproc/perf/perf_matchTemplate.cpp @@ -33,7 +33,8 @@ PERF_TEST_P(ImgSize_TmplSize_Method, matchTemplateSmall, declare .in(img, WARMUP_RNG) .in(tmpl, WARMUP_RNG) - .out(result); + .out(result) + .time(30); TEST_CYCLE() matchTemplate(img, tmpl, result, method); @@ -66,7 +67,8 @@ PERF_TEST_P(ImgSize_TmplSize_Method, matchTemplateBig, declare .in(img, WARMUP_RNG) .in(tmpl, WARMUP_RNG) - .out(result); + .out(result) + .time(30); TEST_CYCLE() matchTemplate(img, tmpl, result, method); diff --git a/modules/video/perf/perf_tvl1optflow.cpp b/modules/video/perf/perf_tvl1optflow.cpp index ad90915128..36f16d9943 100644 --- a/modules/video/perf/perf_tvl1optflow.cpp +++ b/modules/video/perf/perf_tvl1optflow.cpp @@ -13,7 +13,7 @@ pair impair(const char* im1, const char* im2) PERF_TEST_P(ImagePair, OpticalFlowDual_TVL1, testing::Values(impair("cv/optflow/RubberWhale1.png", "cv/optflow/RubberWhale2.png"))) { - declare.time(40); + declare.time(260); Mat frame1 = imread(getDataPath(GetParam().first), IMREAD_GRAYSCALE); Mat frame2 = imread(getDataPath(GetParam().second), IMREAD_GRAYSCALE);