aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2023-04-24 17:35:13 +0200
committerThéo de la Hogue2023-04-24 17:35:13 +0200
commit8feb3ebbe35ccea9620bdcc1dbe93386d5339718 (patch)
treec856208626905d9ccbc66e461f48affde4e8b8e4 /src
parent7181f1587cd4d78c34d4dba740f1a5b7b2a5856c (diff)
downloadargaze-8feb3ebbe35ccea9620bdcc1dbe93386d5339718.zip
argaze-8feb3ebbe35ccea9620bdcc1dbe93386d5339718.tar.gz
argaze-8feb3ebbe35ccea9620bdcc1dbe93386d5339718.tar.bz2
argaze-8feb3ebbe35ccea9620bdcc1dbe93386d5339718.tar.xz
Casting to AreaOfInterest.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/AreaOfInterest/AOIFeatures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/AreaOfInterest/AOIFeatures.py b/src/argaze/AreaOfInterest/AOIFeatures.py
index ce132b3..669db72 100644
--- a/src/argaze/AreaOfInterest/AOIFeatures.py
+++ b/src/argaze/AreaOfInterest/AOIFeatures.py
@@ -214,7 +214,7 @@ class AOIScene():
if areas is not None:
for name, area in areas.items():
- self[name] = area
+ self[name] = AreaOfInterest(area)
def __getitem__(self, name) -> AreaOfInterest:
"""Get an AOI from the scene."""