Hidden Markov model for human to computer interaction: a study on human hand gesture recognition