Gesture recognition method and apparatus based on analysis of multiple candidate boundariesпатент