aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/ArUcoMarkers/ArUcoCamera.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze.test/ArUcoMarkers/ArUcoCamera.py')
-rw-r--r--src/argaze.test/ArUcoMarkers/ArUcoCamera.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze.test/ArUcoMarkers/ArUcoCamera.py b/src/argaze.test/ArUcoMarkers/ArUcoCamera.py
index 091383e..eb930ab 100644
--- a/src/argaze.test/ArUcoMarkers/ArUcoCamera.py
+++ b/src/argaze.test/ArUcoMarkers/ArUcoCamera.py
@@ -19,7 +19,7 @@ __license__ = "GPLv3"
import unittest
import os
-from argaze.ArUcoMarkers import ArUcoCamera
+import argaze
import numpy
@@ -34,7 +34,7 @@ class TestArUcoCameraClass(unittest.TestCase):
json_filepath = os.path.join(current_directory, 'utils/aruco_camera.json')
# Load test aruco camera
- with ArUcoCamera.ArUcoCamera.from_json(json_filepath) as aruco_camera:
+ with argaze.load(json_filepath) as aruco_camera:
# Check aruco camera meta data
self.assertEqual(aruco_camera.name, "TestArUcoCamera")