diff options
Diffstat (limited to 'src/argaze.test/ArScene.py')
-rw-r--r-- | src/argaze.test/ArScene.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/argaze.test/ArScene.py b/src/argaze.test/ArScene.py index 449530b..5180c12 100644 --- a/src/argaze.test/ArScene.py +++ b/src/argaze.test/ArScene.py @@ -31,10 +31,10 @@ class TestArSceneClass(unittest.TestCase): self.assertIsNone(numpy.testing.assert_array_equal(ar_scene.aruco_camera.K, [[1.0, 0.0, 1.0], [0.0, 1.0, 1.0], [0.0, 0.0, 1.0]])) self.assertIsNone(numpy.testing.assert_array_equal(ar_scene.aruco_camera.D, [-1.0, -0.5, 0.0, 0.5, 1.0])) - # Check ArUco tracker - self.assertEqual(ar_scene.aruco_tracker.tracking_data.cornerRefinementMethod, 3) - self.assertEqual(ar_scene.aruco_tracker.tracking_data.aprilTagQuadSigma, 2) - self.assertEqual(ar_scene.aruco_tracker.tracking_data.aprilTagDeglitch, 1) + # Check ArUco detecter + self.assertEqual(ar_scene.aruco_detector.detection_parameters.cornerRefinementMethod, 3) + self.assertEqual(ar_scene.aruco_detector.detection_parameters.aprilTagQuadSigma, 2) + self.assertEqual(ar_scene.aruco_detector.detection_parameters.aprilTagDeglitch, 1) # Check ArUco scene self.assertEqual(ar_scene.angle_tolerance, 1.0) |