aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/tobii_stream_aruco_aoi_display.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/utils/tobii_stream_aruco_aoi_display.py b/src/argaze/utils/tobii_stream_aruco_aoi_display.py
index dbe1c5f..15f1fde 100644
--- a/src/argaze/utils/tobii_stream_aruco_aoi_display.py
+++ b/src/argaze/utils/tobii_stream_aruco_aoi_display.py
@@ -182,7 +182,7 @@ def main():
# When head is moving, ArUco tracking could return bad pose estimation and so bad AOI scene projection
if head_moving:
- ts_aois_scenes[round(video_ts_ms)] = AOIFeatures.EmptyAOIScene()
+ ts_aois_scenes[round(video_ts_ms)] = AOIScene2D.AOI2DScene()
raise UserWarning('Head is moving')
@@ -197,7 +197,7 @@ def main():
# When no marker is detected, no AOI scene projection can't be done
if aruco_tracker.tracked_markers_number == 0:
- ts_aois_scenes[round(video_ts_ms)] = AOIFeatures.EmptyAOIScene()
+ ts_aois_scenes[round(video_ts_ms)] = AOIScene2D.AOI2DScene()
raise UserWarning('No marker detected')