aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2023-07-28 22:20:26 +0200
committerThéo de la Hogue2023-07-28 22:20:26 +0200
commitb753744b7aa4b815c3170d7d7620702db971e394 (patch)
tree0d9ad399fd1f5dce794bf59f49c8f83c80dea6d6 /src
parent98f3096bd4b5bf90123e5d7ef084eeba9320bcca (diff)
downloadargaze-b753744b7aa4b815c3170d7d7620702db971e394.zip
argaze-b753744b7aa4b815c3170d7d7620702db971e394.tar.gz
argaze-b753744b7aa4b815c3170d7d7620702db971e394.tar.bz2
argaze-b753744b7aa4b815c3170d7d7620702db971e394.tar.xz
Setting expected aoi in both case.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/ArFeatures.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py
index a67ffe9..6727928 100644
--- a/src/argaze/ArFeatures.py
+++ b/src/argaze/ArFeatures.py
@@ -255,16 +255,15 @@ class ArFrame():
try:
new_aoi_scan_path_data = frame_data.pop('aoi_scan_path')
+ new_aoi_scan_path_data['expected_aois'] = list(new_aoi_2d_scene.keys())
new_aoi_scan_path = GazeFeatures.AOIScanPath(**new_aoi_scan_path_data)
except KeyError:
new_aoi_scan_path_data = {}
+ new_aoi_scan_path_data['expected_aois'] = list(new_aoi_2d_scene.keys())
new_aoi_scan_path = None
- # Append expected AOI to AOI scan path data
- new_aoi_scan_path_data['expected_aois'] = list(new_aoi_2d_scene.keys())
-
# Load AOI scan path analyzers
new_aoi_scan_path_analyzers = {}