Gesture spotting from continuous hand motion