Abstract In this paper, Openpose is used to process the sports teaching video to get the coordinates data of the human body joint point positions in each frame of the video, and Kalman filter data fusion is used to establish the human skeleton model. According to the results of the division of the five major parts of the human body, after establishing the limb vectors of the human body’s torso, left arm, right arm, left leg, and right leg in three-dimensional spatial coordinates, the distances between the joints of the five human body skeletons based on the DTW posture matching algorithm were used to extract the characteristics of the sports error technical movements. From the demand of sports digital teaching, the design and implementation of sports basic movement teaching evaluation system based on the DTW posture matching algorithm, and the research and analysis of sports teaching under the background of big data. The results show that the IoU values of batting action localization in 6 segments of physical education teaching are 85.6%, 91.6%, 77.7%, 75.1%, 87.4% and 77.7%, respectively, and the average reach 82.5%, i.e., it shows that the research on action localization and recognition based on the DTW posture matching algorithm has a good performance. In the assessment of movement standardization in physical education, the maximum moment of stretching angle corresponds to the moment of hitting the ball, and its value reaches 3.79, i.e., it reflects that the evaluation system of physical education basic movement teaching can accurately determine whether the students’ movements are accurate or not, and make timely feedbacks to carry out the corrections of physical education movements. This study has the potential to enhance students’ interest and performance in sports and contribute to the advancement of digital sports teaching.