Hidden Markov Model based gesture recognition on low-cost, low-power Tangible User Interfaces