diff options
author | Théo de la Hogue | 2023-07-28 22:20:26 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-07-28 22:20:26 +0200 |
commit | b753744b7aa4b815c3170d7d7620702db971e394 (patch) | |
tree | 0d9ad399fd1f5dce794bf59f49c8f83c80dea6d6 /src | |
parent | 98f3096bd4b5bf90123e5d7ef084eeba9320bcca (diff) | |
download | argaze-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.py | 5 |
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 = {} |