From 703e8ca71f4675fc9c536edf7d2124eb29e39873 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 21 Nov 2022 17:03:48 +0100 Subject: Replacing looked by contains_point. --- src/argaze/utils/tobii_segment_aruco_aoi_edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/argaze/utils/tobii_segment_aruco_aoi_edit.py b/src/argaze/utils/tobii_segment_aruco_aoi_edit.py index 2fc1e2b..278d3ae 100644 --- a/src/argaze/utils/tobii_segment_aruco_aoi_edit.py +++ b/src/argaze/utils/tobii_segment_aruco_aoi_edit.py @@ -227,7 +227,7 @@ def main(): marker_aoi = marker.corners.reshape(4, 2).view(AOIFeatures.AreaOfInterest) - if marker_aoi.looked(left_click): + if marker_aoi.contains_point(left_click): selected_marker_id = marker_id -- cgit v1.1