aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/demo_gaze_analysis_run.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/argaze/utils/demo_gaze_analysis_run.py b/src/argaze/utils/demo_gaze_analysis_run.py
index bd11ad5..06e251d 100644
--- a/src/argaze/utils/demo_gaze_analysis_run.py
+++ b/src/argaze/utils/demo_gaze_analysis_run.py
@@ -50,15 +50,15 @@ def main():
# Edit millisecond timestamp
timestamp = int((time.time() - start_time) * 1e3)
- #try:
+ try:
# Project gaze position into frame
- ar_frame.look(timestamp, GazeFeatures.GazePosition((x, y)))
+ ar_frame.look(timestamp, GazeFeatures.GazePosition((x, y)))
# Catch pipeline exception
- #except Exception as e:
+ except Exception as e:
- #print('Gaze projection error:', e)
+ print('Gaze projection error:', e)
# Attach mouse callback to window
cv2.setMouseCallback(ar_frame.name, on_mouse_event)