aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2022-11-21 17:00:05 +0100
committerThéo de la Hogue2022-11-21 17:00:05 +0100
commit7da2d04b3ab6496704139a1270834308795557a4 (patch)
treedbde146d2ab505e456a4563374b5232f41683ba0 /src
parent6bdd59c7269b40206c714914198b28e6f7d214d5 (diff)
downloadargaze-7da2d04b3ab6496704139a1270834308795557a4.zip
argaze-7da2d04b3ab6496704139a1270834308795557a4.tar.gz
argaze-7da2d04b3ab6496704139a1270834308795557a4.tar.bz2
argaze-7da2d04b3ab6496704139a1270834308795557a4.tar.xz
No more AOIFeatures.EmptyAOIScene
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')