aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2022-05-09 15:37:43 +0200
committerThéo de la Hogue2022-05-09 15:37:43 +0200
commit9767464dedbcf66aeb9dc8757a007bd36c69c6c1 (patch)
tree33f19745b32abf575563fdaeb1e51a6423e0d139
parentac014fa73e9fc9ecb85e90268524fe4314ad6cd3 (diff)
downloadargaze-9767464dedbcf66aeb9dc8757a007bd36c69c6c1.zip
argaze-9767464dedbcf66aeb9dc8757a007bd36c69c6c1.tar.gz
argaze-9767464dedbcf66aeb9dc8757a007bd36c69c6c1.tar.bz2
argaze-9767464dedbcf66aeb9dc8757a007bd36c69c6c1.tar.xz
Removing draw line feature.
-rw-r--r--src/argaze/utils/export_tobii_segment_aruco_visual_scan.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py b/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py
index f8092c0..52103fe 100644
--- a/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py
+++ b/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py
@@ -121,8 +121,6 @@ def main():
for name, aoi in aoi2D_visu_scene.items():
aoi.draw(visu_frame, (0, 0, 0))
- draw_line = False
-
# Video and data replay loop
try:
@@ -183,14 +181,6 @@ def main():
visu_gaze_pixel = aoi2D_visu_scene[ref_aoi].looked_pixel(look_at)
cv.circle(visu_frame, visu_gaze_pixel, 4, (0, 0, 255), -1)
- if draw_line:
-
- # draw line
- cv.line(visu_frame, last_visu_gaze_pixel, visu_gaze_pixel, (0, 0, 255), 1)
-
- last_visu_gaze_pixel = visu_gaze_pixel
- draw_line = True
-
# Close window using 'Esc' key
if cv.waitKey(1) == 27:
break