diff options
Diffstat (limited to 'src/argaze/utils/live_tobii_aruco_aoi_ivy_application.py')
-rw-r--r-- | src/argaze/utils/live_tobii_aruco_aoi_ivy_application.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/argaze/utils/live_tobii_aruco_aoi_ivy_application.py b/src/argaze/utils/live_tobii_aruco_aoi_ivy_application.py index 3b3b8e0..6ae7782 100644 --- a/src/argaze/utils/live_tobii_aruco_aoi_ivy_application.py +++ b/src/argaze/utils/live_tobii_aruco_aoi_ivy_application.py @@ -58,11 +58,11 @@ def main(): ref_aoi = 'Scene_Plan' # TODO: pass the reference AOI in argument - aoi3D_scene.rotation = numpy.asarray([[-numpy.pi, 0.0, 0.0]]) - aoi3D_scene.translation = numpy.asarray([[19.0, 8.0, 25.0]]) + aoi3D_scene.rotation = numpy.array([[-numpy.pi, 0.0, 0.0]]) + aoi3D_scene.translation = numpy.array([[19.0, 8.0, 25.0]]) # Edit a projection matrix for the reference frame - K0 = numpy.asarray([[visu_ratio, 0.0, visu_width/2], [0.0, visu_ratio, visu_height/2], [0.0, 0.0, 1.0]]) + K0 = numpy.array([[visu_ratio, 0.0, visu_width/2], [0.0, visu_ratio, visu_height/2], [0.0, 0.0, 1.0]]) aoi2D_visu_scene = aoi3D_scene.project(K0) |