I have a problem with Hidden Markov Models. I'm writing an app in C# on Kinect for gesture recognition (simple gestures as swipes, waves, circles etc.). I wrote a system for gesture recording, after that I created a feature extractor that counts velocities between points and I also count orientations (the angle between pairs of points) - I think it's a simple vector quantization method, because I created a codebook with codewords 1-18. Codewords are angles' intervals every 20 degrees (e.g. angle 12dg is a codeword-1, 45dg = codeword-3 etc.).
Now I guess I need to create a HMM and use some Forward-Backward algorithm for learning. Then some Bayes classification method and finish.
My questions:
- Am I wrong in my steps?
- How to create a HMM? Could anyone describe how it should look like programatically?
- How to perform LIVE gesture matching for tests?