aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/demo_gaze_features_run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/utils/demo_gaze_features_run.py b/src/argaze/utils/demo_gaze_features_run.py
index 9264707..93ced82 100644
--- a/src/argaze/utils/demo_gaze_features_run.py
+++ b/src/argaze/utils/demo_gaze_features_run.py
@@ -487,7 +487,7 @@ def main():
enable_nni_analysis = not enable_nni_analysis
# Stop calibration by pressing 'Esc' key
- if cv2.waitKey(10) == 27:
+ if key_pressed == 27:
break
# Stop calibration on 'ctrl+C' interruption