mirror of
https://github.com/opencv/opencv.git
synced 2025-06-21 10:30:51 +08:00
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
This commit is contained in:
parent
24ced3d657
commit
1c468add20
@ -103,7 +103,7 @@ PERF_TEST_P( match, bestOf2Nearest, TEST_DETECTORS)
|
|||||||
Mat R (pairwise_matches.H, Range::all(), Range(0, 2));
|
Mat R (pairwise_matches.H, Range::all(), Range(0, 2));
|
||||||
// separate transform matrix, use lower error on rotations
|
// separate transform matrix, use lower error on rotations
|
||||||
SANITY_CHECK(dist, 1., ERROR_ABSOLUTE);
|
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(
|
PERF_TEST_P( matchVector, bestOf2NearestVectorFeatures, testing::Combine(
|
||||||
|
Loading…
Reference in New Issue
Block a user