From 1c468add2035467fe36e2d0c1bf1d008bf15a1b3 Mon Sep 17 00:00:00 2001 From: Paul Shin Date: Mon, 15 Oct 2018 20:03:39 -0700 Subject: [PATCH] Increased the acceptable error margin for perf testing - This is to accommodate the variabiilty in floating-point operations in new platforms/compilers - Specifically due to the error margin found in NVIDIA Jetson TX2 --- modules/stitching/perf/perf_matchers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stitching/perf/perf_matchers.cpp b/modules/stitching/perf/perf_matchers.cpp index 505fe59449..28e19c85f3 100644 --- a/modules/stitching/perf/perf_matchers.cpp +++ b/modules/stitching/perf/perf_matchers.cpp @@ -103,7 +103,7 @@ PERF_TEST_P( match, bestOf2Nearest, TEST_DETECTORS) Mat R (pairwise_matches.H, Range::all(), Range(0, 2)); // separate transform matrix, use lower error on rotations SANITY_CHECK(dist, 1., ERROR_ABSOLUTE); - SANITY_CHECK(R, .015, ERROR_ABSOLUTE); + SANITY_CHECK(R, .06, ERROR_ABSOLUTE); } PERF_TEST_P( matchVector, bestOf2NearestVectorFeatures, testing::Combine(