Skip to main content
. 2021 Feb 6;21(4):1155. doi: 10.3390/s21041155
Algorithm 4 Algorithm for dwell time detection.
Input: data frame from Leap Motion as L
  1: set i=0
  2: while Vi≠0 do
  3:  i=i+1
  4: end while⟶ A
  5: calculate smoothing (i→n)
  6: calculate slope finding (-) and (+) ⟶B
  7: compute thresholding ⟶ suppress noise
  8: compute find zero