From e6ab12e30ec1dc069bdecf5816675945c4b56035 Mon Sep 17 00:00:00 2001 From: Prohurtz <48768484+RedHawk989@users.noreply.github.com> Date: Mon, 22 Jul 2024 11:00:33 -0500 Subject: [PATCH] feat: leap velocity blink avg tweak --- EyeTrackApp/leap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EyeTrackApp/leap.py b/EyeTrackApp/leap.py index 138d737..251c96e 100644 --- a/EyeTrackApp/leap.py +++ b/EyeTrackApp/leap.py @@ -309,7 +309,7 @@ class LEAP_C(object): print(self.total_velocity_new) self.total_velocity_avg = (self.total_velocity_new + self.total_velocity_old) / 2 self.total_velocity_old = self.total_velocity_new - if self.total_velocity_avg > 1.7: + if self.total_velocity_avg > 1.5: per = 0.0 # this should be tuned, i could make this auto calib based on min from a list of per values.