From 06b9db6a710f9e43ce91112b09d2915075a749ba Mon Sep 17 00:00:00 2001 From: Maksim Shabunin Date: Wed, 10 Jul 2024 11:06:25 +0300 Subject: [PATCH] imgproc: reduce template sizes in templMatch test --- modules/imgproc/test/test_templmatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/test/test_templmatch.cpp b/modules/imgproc/test/test_templmatch.cpp index 880e0d71e7..a10f44ce0f 100644 --- a/modules/imgproc/test/test_templmatch.cpp +++ b/modules/imgproc/test/test_templmatch.cpp @@ -318,7 +318,7 @@ TEST_P(matchTemplate_Modes, accuracy) SCOPED_TRACE(cv::format("iteration %d", ITER)); const Size imgSize(rng.uniform(128, 320), rng.uniform(128, 240)); - const Size templSize(rng.uniform(1, 100), rng.uniform(1, 100)); + const Size templSize(rng.uniform(1, 30), rng.uniform(1, 30)); Mat img(imgSize, data_type, Scalar::all(0)); Mat templ(templSize, data_type, Scalar::all(0)); cvtest::randUni(rng, img, Scalar::all(0), Scalar::all(255));