The invention discloses a walking race video foul action automatic detection method based on 2D
human body posture
estimation, and belongs to the technical field of crossing of
computer vision and sports science, and the method specifically comprises the steps: constructing and training a video 2D
human body posture
estimation network based on space-time self-attention; comprising a picture
human body posture
estimation network, a joint feature embedding module and a time-space self-attention Transform network embedded with
time sequence block moving operation in sequence. Classifying a walking race video
data set through an expert, inputting the classified walking race video
data set into the trained video 2D human
body posture estimation network, outputting
joint point estimation two-dimensional coordinates, and inputting the
joint point estimation two-dimensional coordinates and the calculated included angle between the
joint point estimation two-dimensional coordinates and the left
knee joint and the
right knee joint into a
logistic regression model for training to obtain the
logistic regression model for different foul actions for automatic foul action detection. According to the method, rich
time information between video frames is fused by utilizing a space-time self-attention mechanism, more accurate human body two-dimensional coordinates are acquired, the walking race foul actions are learned in combination with the
logistic regression model, automatic detection and classification of the walking race foul actions are realized, and the detection accuracy is relatively high.