diff options
author | Théo de la Hogue | 2023-02-15 18:16:54 +0100 |
---|---|---|
committer | Théo de la Hogue | 2023-02-15 18:16:54 +0100 |
commit | 9ce64a6c47156fe28e484633e2c8932c682fbf85 (patch) | |
tree | f291d9edb63e46775bd01836ccf464daeb422851 /src/argaze.test/ArScene.py | |
parent | 70145ed6af27153e76dcb695d5116c6cd194b004 (diff) | |
download | argaze-9ce64a6c47156fe28e484633e2c8932c682fbf85.zip argaze-9ce64a6c47156fe28e484633e2c8932c682fbf85.tar.gz argaze-9ce64a6c47156fe28e484633e2c8932c682fbf85.tar.bz2 argaze-9ce64a6c47156fe28e484633e2c8932c682fbf85.tar.xz |
Major rewrite to allow multi ArScene managements with new ArFeatures.
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) |