aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2023-04-12 11:16:34 +0200
committerThéo de la Hogue2023-04-12 11:16:34 +0200
commit9a6f5cbf5d1b73e92f8af2c8ccb1478214c3b62f (patch)
tree041d6cfcf361408ede4b3753dfdd7645f53a7d7f
parentceca96db817c948a7e347821feef4953ac2888cc (diff)
downloadargaze-9a6f5cbf5d1b73e92f8af2c8ccb1478214c3b62f.zip
argaze-9a6f5cbf5d1b73e92f8af2c8ccb1478214c3b62f.tar.gz
argaze-9a6f5cbf5d1b73e92f8af2c8ccb1478214c3b62f.tar.bz2
argaze-9a6f5cbf5d1b73e92f8af2c8ccb1478214c3b62f.tar.xz
Updating ArUcoMarkerDictionary loading.
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoDetector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/ArUcoMarkers/ArUcoDetector.py b/src/argaze/ArUcoMarkers/ArUcoDetector.py
index 333df7b..48a3c78 100644
--- a/src/argaze/ArUcoMarkers/ArUcoDetector.py
+++ b/src/argaze/ArUcoMarkers/ArUcoDetector.py
@@ -151,7 +151,7 @@ class ArUcoDetector():
data = json.load(configuration_file)
- new_dictionary = ArUcoMarkersDictionary.ArUcoMarkersDictionary(data.pop('dictionary'))
+ new_dictionary = ArUcoMarkersDictionary.ArUcoMarkersDictionary(**data.pop('dictionary'))
new_marker_size = data.pop('marker_size')
new_camera = ArUcoCamera.ArUcoCamera(**data.pop('camera'))
new_parameters = DetectorParameters(**data.pop('parameters'))