Gesture recognition system with finite state machine control of cursor detector and dynamic gesture detectorпатент