diff options
author | Théo de la Hogue | 2022-11-21 17:00:05 +0100 |
---|---|---|
committer | Théo de la Hogue | 2022-11-21 17:00:05 +0100 |
commit | 7da2d04b3ab6496704139a1270834308795557a4 (patch) | |
tree | dbde146d2ab505e456a4563374b5232f41683ba0 /src | |
parent | 6bdd59c7269b40206c714914198b28e6f7d214d5 (diff) | |
download | argaze-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.py | 4 |
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') |