aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/ArUcoMarkers/ArUcoScene.py
diff options
context:
space:
mode:
authorThéo de la Hogue2024-03-11 17:18:42 +0100
committerThéo de la Hogue2024-03-11 17:18:42 +0100
commit6ebb4b5e418a0a69fce423eccfa35bcbb6502b70 (patch)
tree2da61e83bb619e5441c1b00bb8f0259c0474d608 /src/argaze.test/ArUcoMarkers/ArUcoScene.py
parent78d2f6801e2b1c80d4685c9fb3186c205b7dc9e6 (diff)
downloadargaze-6ebb4b5e418a0a69fce423eccfa35bcbb6502b70.zip
argaze-6ebb4b5e418a0a69fce423eccfa35bcbb6502b70.tar.gz
argaze-6ebb4b5e418a0a69fce423eccfa35bcbb6502b70.tar.bz2
argaze-6ebb4b5e418a0a69fce423eccfa35bcbb6502b70.tar.xz
removing property decorator to method that was not an object property but an object status.
Diffstat (limited to 'src/argaze.test/ArUcoMarkers/ArUcoScene.py')
-rw-r--r--src/argaze.test/ArUcoMarkers/ArUcoScene.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze.test/ArUcoMarkers/ArUcoScene.py b/src/argaze.test/ArUcoMarkers/ArUcoScene.py
index 628eac5..0d7b601 100644
--- a/src/argaze.test/ArUcoMarkers/ArUcoScene.py
+++ b/src/argaze.test/ArUcoMarkers/ArUcoScene.py
@@ -39,7 +39,7 @@ class TestArUcoMarkersGroupClass(unittest.TestCase):
def setup_markers(self):
# Prepare detected markers
- self.detected_markers = {
+ self.detected_markers() = {
0: ArUcoMarker.ArUcoMarker('DICT_ARUCO_ORIGINAL', 0, 1.),
1: ArUcoMarker.ArUcoMarker('DICT_ARUCO_ORIGINAL', 1, 1.),
2: ArUcoMarker.ArUcoMarker('DICT_ARUCO_ORIGINAL', 2, 1.),
@@ -47,7 +47,7 @@ class TestArUcoMarkersGroupClass(unittest.TestCase):
}
# Prepare scene markers and remaining markers
- self.scene_markers, self.remaining_markers = self.aruco_markers_group.filter_markers(self.detected_markers)
+ self.scene_markers, self.remaining_markers = self.aruco_markers_group.filter_markers(self.detected_markers())
def test_new_from_obj(self):
"""Test ArUcoMarkersGroup creation."""