aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze.test')
-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):