Project import generated by Copybara.
GitOrigin-RevId: 283c1a295de0a53e47d7a94996bda0c52dcfd677
This commit is contained in:
Regular → Executable
BIN
Binary file not shown.
@@ -92,11 +92,11 @@ class SolveEpnpTest : public Test {
|
||||
const float scale = output_3d_points[0].z() / expected_3d_points_[0].z();
|
||||
for (int i = 0; i < kNumKeypoints; ++i) {
|
||||
EXPECT_NEAR(output_3d_points[i].x(), expected_3d_points_[i].x() * scale,
|
||||
1.e-6f);
|
||||
2.e-6f);
|
||||
EXPECT_NEAR(output_3d_points[i].y(), expected_3d_points_[i].y() * scale,
|
||||
1.e-6f);
|
||||
2.e-6f);
|
||||
EXPECT_NEAR(output_3d_points[i].z(), expected_3d_points_[i].z() * scale,
|
||||
1.e-6f);
|
||||
2.e-6f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user