diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-10 04:12:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-10 04:12:50 +0200 |
commit | 6135655fd9cb97d61ed03c65b3130eac9d7ccc11 (patch) | |
tree | d485260d2f5c3d084953feeddfe2d34aa79f777d /tracker-tobii-eyex/head-tracking.cpp | |
parent | 47986eb95ab38bb2dd4d8dc05bba04c323ed280e (diff) |
tracker/tobii-eyex: working (?) prototype
Diffstat (limited to 'tracker-tobii-eyex/head-tracking.cpp')
-rw-r--r-- | tracker-tobii-eyex/head-tracking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-tobii-eyex/head-tracking.cpp b/tracker-tobii-eyex/head-tracking.cpp index 8973293d..77394f11 100644 --- a/tracker-tobii-eyex/head-tracking.cpp +++ b/tracker-tobii-eyex/head-tracking.cpp @@ -5,7 +5,7 @@ real tobii_eyex_tracker::gain(real x) { // simple sigmoid - x = clamp(x * 12 - 6, -6, 6); + x = clamp(x * 6, -6, 6); x = 1 / (1 + exp(-x)); x = x * 2 - 1; return clamp(x, -1, 1); |