aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2023-08-07 13:40:58 +0200
committerThéo de la Hogue2023-08-07 13:40:58 +0200
commitd3bac261370af747a0baea2d72bfa35f1621c012 (patch)
tree573bd9b75be91490b6434847b828851c2587479d /src
parent9f8b3db8493a03bbc8126de8f24d4c3f732b9047 (diff)
downloadargaze-d3bac261370af747a0baea2d72bfa35f1621c012.zip
argaze-d3bac261370af747a0baea2d72bfa35f1621c012.tar.gz
argaze-d3bac261370af747a0baea2d72bfa35f1621c012.tar.bz2
argaze-d3bac261370af747a0baea2d72bfa35f1621c012.tar.xz
Updating heatmap use.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/demo_gaze_features_run.py3
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: