diff options
-rw-r--r-- | src/argaze/utils/demo_gaze_features_run.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/argaze/utils/demo_gaze_features_run.py b/src/argaze/utils/demo_gaze_features_run.py index f138d2c..76d683a 100644 --- a/src/argaze/utils/demo_gaze_features_run.py +++ b/src/argaze/utils/demo_gaze_features_run.py @@ -249,7 +249,8 @@ def main(): enable_heatmap_buffer = not enable_heatmap_buffer - ar_frame.heatmap.init(10 if enable_heatmap_buffer else 0) + ar_frame.heatmap.buffer = 10 if enable_heatmap_buffer else 0 + ar_frame.heatmap.clear() # Stop by pressing 'Esc' key if key_pressed == 27: |