Skip to main content
. 2020 Apr 8;20(7):2106. doi: 10.3390/s20072106
Algorithm 1
If(Hand is not empty)
 {
  If (
   sqrt (pow (frame. rotation Angle (last frame, x), 2)+
      pow (frame. rotation Angle (last frame, y), 2)+
      pow (frame. rotation Angle (last frame, z), 2))
      >threshold1
     or
     fingertip. velocity > threshold2
   )
    Start collecting dynamic hand gestures
  Else
    Stop collecting dynamic hand gestures
 }
Else
  Stop collecting dynamic hand gestures