Direction of hand movements
I have already implemented hand gesture recognition using OpenCv for android .
I am looking a solution for a hand direction in real-time (eg detect movement from left to right or vice versa using camera)in Android using OpenCV. I went through many links but did not find anything that was done using OpenCV Android SDK.
Hmm since you are already doing gesture recognition you know exactly where your hand is. Since you can remember where it was 3-4 frames ago you can define what movement the center point does. I think you got the solution right there. This calculation of distance and direction between two integer coordinates should be quite simple and perfectly doable in real time.
Thank you for the response , i will try to implement this idea.
What you would do in that case is basically implement a very basic Kalman tracking principle.