A gesture recognition API's primary task is to interpret human gestures through mathematical algorithms. Gestures can originate from any bodily motion or state but commonly originate from the face or hand.