I'm developing an application for the Kinect for my final year university project, and I have a requirement to develop a number of gesture recognition algorithms. I'd appreciate some advice on this.
My initial algorithm is detecting the users hand moving closer towards the kinect, within a certain time frame. For now i'll say this is an arbitrary 500ms.
My idea is as follows:
- Record z-axis position every 100ms and store in List.
- Each time a new position is recorded, check the z-position for each of the previous 4 positions in the List.
- If the z position has varied by the required distance between any of those individually or collectively, fire off a gesture recognised event.
- If gesture recognised, clear List, and start again.
This is the first time that I have tried anything like this, and would like some advise on my initial naive implementation.
Thanks.

