aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2024-01-17 13:28:05 +0100
committerThéo de la Hogue2024-01-17 13:28:05 +0100
commit7d76d3b9728696fa8c98a3336a9d0642db7476b7 (patch)
tree29d9433825ea35c81845c203a58986a925fc839b /src
parent983047f35c778c041bea67d4ceeab26f99269143 (diff)
downloadargaze-7d76d3b9728696fa8c98a3336a9d0642db7476b7.zip
argaze-7d76d3b9728696fa8c98a3336a9d0642db7476b7.tar.gz
argaze-7d76d3b9728696fa8c98a3336a9d0642db7476b7.tar.bz2
argaze-7d76d3b9728696fa8c98a3336a9d0642db7476b7.tar.xz
Including aruco detection into camera frame exploitation.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoCamera.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/argaze/ArUcoMarkers/ArUcoCamera.py b/src/argaze/ArUcoMarkers/ArUcoCamera.py
index a86f411..6afce03 100644
--- a/src/argaze/ArUcoMarkers/ArUcoCamera.py
+++ b/src/argaze/ArUcoMarkers/ArUcoCamera.py
@@ -154,12 +154,12 @@ class ArUcoCamera(ArFeatures.ArCamera):
exception: dictionary with exception raised per scene.
"""
- # Detect aruco markers
- detection_time = self.aruco_detector.detect_markers(image)
-
# Lock camera frame exploitation
self.acquire()
+ # Detect aruco markers
+ detection_time = self.aruco_detector.detect_markers(image)
+
# Store projection execution start date
projection_start = time.perf_counter()