The invention discloses a data glove gesture recognition algorithm based on mathematical statistics, which relates to the technical field of artificial intelligence: including using the sensor.getData() method to divide the same gesture into a natural state and a stretched state to collect data Sensor angle value, save the value in two text files respectively. Read the values in the text document and store them in the arrays a1 and b1, a2 and b2, ..., a20 and b20, ai=(ai,1,ai,2,ai,3,...,ai,24) , bi=(bi,1,bi,2,bi,3,..,bi,24). The invention judges the offset degree and linear relationship between the randomly acquired gestures and the gestures in the template library by calculating the standard deviation and the correlation coefficient, and finds out the gestures most similar to the randomly acquired gestures in the template library. Through two screenings, the accuracy of the screening value is gradually improved, so that the gesture recognition is very precise. Moreover, the gesture recognition based on the data glove can eliminate the interference of the external environment.