Increased the acceptable error margin for perf testing
authorPaul Shin <pshin@nvidia.com>
Tue, 16 Oct 2018 03:03:39 +0000 (20:03 -0700)
committerPaul Shin <pshin@nvidia.com>
Tue, 16 Oct 2018 03:03:39 +0000 (20:03 -0700)
- 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

index 505fe59..28e19c8 100644 (file)
@@ -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(