aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/AreaOfInterest/AOI2DScene.py
diff options
context:
space:
mode:
authorThéo de la Hogue2022-12-08 23:31:51 +0100
committerThéo de la Hogue2022-12-08 23:31:51 +0100
commita566491d0aacbc3a105c742608e7f15ae085f28e (patch)
treec822eedd58c9f89f3bf2f602807cf06e648b5164 /src/argaze.test/AreaOfInterest/AOI2DScene.py
parent4b1c52ed130b9be7c339b2a4bbb3621c362df5f7 (diff)
downloadargaze-a566491d0aacbc3a105c742608e7f15ae085f28e.zip
argaze-a566491d0aacbc3a105c742608e7f15ae085f28e.tar.gz
argaze-a566491d0aacbc3a105c742608e7f15ae085f28e.tar.bz2
argaze-a566491d0aacbc3a105c742608e7f15ae085f28e.tar.xz
Replacing accuracy by precision.
Diffstat (limited to 'src/argaze.test/AreaOfInterest/AOI2DScene.py')
-rw-r--r--src/argaze.test/AreaOfInterest/AOI2DScene.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/argaze.test/AreaOfInterest/AOI2DScene.py b/src/argaze.test/AreaOfInterest/AOI2DScene.py
index 35f0f17..ecd6bbb 100644
--- a/src/argaze.test/AreaOfInterest/AOI2DScene.py
+++ b/src/argaze.test/AreaOfInterest/AOI2DScene.py
@@ -84,10 +84,10 @@ class TestAOI2DSceneClass(unittest.TestCase):
aoi_2D_B = AOIFeatures.AreaOfInterest([[1, 1], [1, 2], [2, 2], [2, 1]])
aoi_2d_scene = AOI2DScene.AOI2DScene({"A": aoi_2D_A, "B": aoi_2D_B})
- gaze_position_A = GazeFeatures.GazePosition((0.5, 0.5), accuracy=0.5)
- gaze_position_B = GazeFeatures.GazePosition((1.5, 1.5), accuracy=0.5)
- gaze_position_C = GazeFeatures.GazePosition((1., 1.), accuracy=1)
- gaze_position_D = GazeFeatures.GazePosition((0.5, 1.5), accuracy=0.25)
+ gaze_position_A = GazeFeatures.GazePosition((0.5, 0.5), precision=0.5)
+ gaze_position_B = GazeFeatures.GazePosition((1.5, 1.5), precision=0.5)
+ gaze_position_C = GazeFeatures.GazePosition((1., 1.), precision=1)
+ gaze_position_D = GazeFeatures.GazePosition((0.5, 1.5), precision=0.25)
# Check circlecast results for gaze postion A
for name, aoi, looked_region, aoi_ratio, gaze_ratio in aoi_2d_scene.circlecast(gaze_position_A):