aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/ArUcoMarker
diff options
context:
space:
mode:
authorThéo de la Hogue2024-07-15 09:44:00 +0200
committerThéo de la Hogue2024-07-15 09:44:00 +0200
commitac5ce6be824b227240b41e011fb0883ce588e381 (patch)
tree08fc73d63d97dfc3449b114456448aa8fdfab1b8 /src/argaze.test/ArUcoMarker
parent9b26d80f806f0718c9fd0ecc6a5b2f24252c28dd (diff)
downloadargaze-ac5ce6be824b227240b41e011fb0883ce588e381.zip
argaze-ac5ce6be824b227240b41e011fb0883ce588e381.tar.gz
argaze-ac5ce6be824b227240b41e011fb0883ce588e381.tar.bz2
argaze-ac5ce6be824b227240b41e011fb0883ce588e381.tar.xz
Removing angle_tolerance and distance_tolerance attributes as they are useless now.
Diffstat (limited to 'src/argaze.test/ArUcoMarker')
-rw-r--r--src/argaze.test/ArUcoMarker/ArUcoCamera.py4
-rw-r--r--src/argaze.test/ArUcoMarker/utils/aruco_camera.json8
2 files changed, 2 insertions, 10 deletions
diff --git a/src/argaze.test/ArUcoMarker/ArUcoCamera.py b/src/argaze.test/ArUcoMarker/ArUcoCamera.py
index 76b567e..0777beb 100644
--- a/src/argaze.test/ArUcoMarker/ArUcoCamera.py
+++ b/src/argaze.test/ArUcoMarker/ArUcoCamera.py
@@ -71,10 +71,6 @@ class TestArUcoCameraClass(unittest.TestCase):
self.assertEqual(len(ar_scene.layers.items()), 1)
self.assertEqual(len(ar_scene.layers["Main"].aoi_scene), 1)
self.assertEqual(ar_scene.layers["Main"].aoi_scene['Test'].points_number, 4)
-
- # Check ArScene
- self.assertEqual(ar_scene.angle_tolerance, 1.0)
- self.assertEqual(ar_scene.distance_tolerance, 2.0)
if __name__ == '__main__':
diff --git a/src/argaze.test/ArUcoMarker/utils/aruco_camera.json b/src/argaze.test/ArUcoMarker/utils/aruco_camera.json
index 980dc9f..7217c0e 100644
--- a/src/argaze.test/ArUcoMarker/utils/aruco_camera.json
+++ b/src/argaze.test/ArUcoMarker/utils/aruco_camera.json
@@ -63,9 +63,7 @@
"Main" : {
"aoi_scene": "aoi_3d.obj"
}
- },
- "angle_tolerance": 1.0,
- "distance_tolerance": 2.0
+ }
},
"TestSceneB" : {
"aruco_markers_group": {
@@ -87,9 +85,7 @@
"Main" : {
"aoi_scene": "aoi_3d.obj"
}
- },
- "angle_tolerance": 1.0,
- "distance_tolerance": 2.0
+ }
}
},
"layers": {