Add_Gesture recognition function