mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
test: eye widen?
This commit is contained in:
parent
170bb5bb3f
commit
bc2da43cec
@ -278,6 +278,7 @@ class LEAP_C(object):
|
||||
oldper = (d - max(self.openlist)) / (min(self.openlist) - max(self.openlist))
|
||||
|
||||
per = 1 - per
|
||||
per = per - 0.2 # allow for eye widen? might require a more legit math way but this makes sense.
|
||||
per = min(per, 1.0)
|
||||
|
||||
# if per <= 0.18: # this should be tuned, i could make this auto calib based on min from a list of per values.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user