A $3 gesture recognizer: simple gesture recognition for devices equipped with 3D acceleration sensors
a tutorial on hidden markov models and selected applications .