aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2024-01-24 15:39:19 +0100
committerThéo de la Hogue2024-01-24 15:39:19 +0100
commitba8b4406ebde47a5a2fbdfc964c4b4335e5584f4 (patch)
treedea8c4d0b519006a383cb03f46001714c79ab9a4 /src
parent0fa1d2cdc2fa7ef58cd8f9b0eb0cec3ed713e66e (diff)
downloadargaze-ba8b4406ebde47a5a2fbdfc964c4b4335e5584f4.zip
argaze-ba8b4406ebde47a5a2fbdfc964c4b4335e5584f4.tar.gz
argaze-ba8b4406ebde47a5a2fbdfc964c4b4335e5584f4.tar.bz2
argaze-ba8b4406ebde47a5a2fbdfc964c4b4335e5584f4.tar.xz
Fixing logging for ArUcoCamera.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoCamera.py2
-rw-r--r--src/argaze/utils/demo_data/demo_aruco_markers_setup.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/argaze/ArUcoMarkers/ArUcoCamera.py b/src/argaze/ArUcoMarkers/ArUcoCamera.py
index 916c9ed..775ab40 100644
--- a/src/argaze/ArUcoMarkers/ArUcoCamera.py
+++ b/src/argaze/ArUcoMarkers/ArUcoCamera.py
@@ -154,7 +154,7 @@ class ArUcoCamera(ArFeatures.ArCamera):
with self.locker:
# Detect aruco markers
- self.aruco_detector.detect_markers(image)
+ self.aruco_detector.detect_markers(timestamp, image)
# Fill camera frame background with image
self.background = image
diff --git a/src/argaze/utils/demo_data/demo_aruco_markers_setup.json b/src/argaze/utils/demo_data/demo_aruco_markers_setup.json
index 0f930b8..36ce87b 100644
--- a/src/argaze/utils/demo_data/demo_aruco_markers_setup.json
+++ b/src/argaze/utils/demo_data/demo_aruco_markers_setup.json
@@ -112,7 +112,8 @@
"color": [0, 255, 255],
"size": 2
}
- }
+ },
+ "logging_module": "frame_logger.py"
}
},
"angle_tolerance": 15.0,