aboutsummaryrefslogtreecommitdiff
path: root/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py')
-rw-r--r--src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py b/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py
index 41bd7b5..654a46d 100644
--- a/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py
+++ b/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py
@@ -137,7 +137,11 @@ def main():
continue
# Draw focus area
- cv.circle(video_frame.matrix, (int(video_frame.width/2), int(video_frame.height/2)), int(video_frame.width/3), (255, 150, 150), 1)
+ cv.circle(video_frame.matrix, (int(video_frame.width/2), int(video_frame.height/2)), int(video_frame.width/3), (255, 150, 150), 1)
+
+ # Draw focus area center
+ cv.line(video_frame.matrix, (int(video_frame.width/2) - 50, int(video_frame.height/2)), (int(video_frame.width/2) + 50, int(video_frame.height/2)), (255, 150, 150), 1)
+ cv.line(video_frame.matrix, (int(video_frame.width/2), int(video_frame.height/2) - 50), (int(video_frame.width/2), int(video_frame.height/2) + 50), (255, 150, 150), 1)
# Project 3D scenes related to each aruco markers
if aruco_tracker.get_markers_number():