Robust gesture recognition by using image motion and data compression