fixed tests for aarch64

This commit is contained in:
Ilya Lavrenov
2015-04-24 12:20:54 +03:00
parent 26e3bcb9de
commit 89e3c508d8
8 changed files with 51 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ PERF_TEST_P(orb, detect, testing::Values(ORB_IMAGES))
TEST_CYCLE() detector(frame, mask, points);
sort(points.begin(), points.end(), comparators::KeypointGreater());
SANITY_CHECK_KEYPOINTS(points);
SANITY_CHECK_KEYPOINTS(points, 1e-7, ERROR_RELATIVE);
}
PERF_TEST_P(orb, extract, testing::Values(ORB_IMAGES))
@@ -72,6 +72,6 @@ PERF_TEST_P(orb, full, testing::Values(ORB_IMAGES))
TEST_CYCLE() detector(frame, mask, points, descriptors, false);
perf::sort(points, descriptors);
SANITY_CHECK_KEYPOINTS(points);
SANITY_CHECK_KEYPOINTS(points, 1e-8, ERROR_RELATIVE);
SANITY_CHECK(descriptors);
}