aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/ArFeatures.py8
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoCamera.py4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py
index 599b81f..6170f47 100644
--- a/src/argaze/ArFeatures.py
+++ b/src/argaze/ArFeatures.py
@@ -1477,7 +1477,7 @@ class ArCamera(ArFrame):
yield self, super().look(timestamp, gaze_position)
# Lock camera frame exploitation
- super().acquire()
+ self.acquire()
# Project gaze position into each scene frames if possible
for scene_frame in self.scene_frames:
@@ -1505,7 +1505,7 @@ class ArCamera(ArFrame):
pass
# Unlock camera frame exploitation
- super().release()
+ self.release()
def map(self):
"""Project camera frame background into scene frames background.
@@ -1515,7 +1515,7 @@ class ArCamera(ArFrame):
"""
# Lock camera frame exploitation
- super().acquire()
+ self.acquire()
# Project camera frame background into each scene frame if possible
for frame in self.scene_frames:
@@ -1539,7 +1539,7 @@ class ArCamera(ArFrame):
pass
# Unlock camera frame exploitation
- super().release()
+ self.release()
def to_json(self, json_filepath):
"""Save camera to .json file."""
diff --git a/src/argaze/ArUcoMarkers/ArUcoCamera.py b/src/argaze/ArUcoMarkers/ArUcoCamera.py
index 1cf0896..251a081 100644
--- a/src/argaze/ArUcoMarkers/ArUcoCamera.py
+++ b/src/argaze/ArUcoMarkers/ArUcoCamera.py
@@ -155,7 +155,7 @@ class ArUcoCamera(ArFeatures.ArCamera):
detection_time = self.aruco_detector.detect_markers(image)
# Lock camera frame exploitation
- super().acquire()
+ self.acquire()
# Store projection execution start date
projection_start = time.perf_counter()
@@ -212,7 +212,7 @@ class ArUcoCamera(ArFeatures.ArCamera):
projection_time = (time.perf_counter() - projection_start) * 1e3
# Unlock camera frame exploitation
- super().release()
+ self.release()
# Return detection time, projection time and exceptions
return detection_time, projection_time, exceptions