The invention belongs to the technical field of
computer vision and
action recognition, and discloses a table tennis swing
key frame recognition method and
system, and the method comprises the steps: carrying out the posture
estimation of a table tennis motion video frame by frame, extracting twelve skeleton key points including shoulders, elbows, wrists, hips, knees and ankles, and carrying out the recognition of the key frames; normalization is completed with the shoulder midpoint as a translation reference and the
shoulder width as a scaling factor, and a standardized skeleton sequence is obtained; sequentially inputting the sequence into a three-layer one-dimensional convolutional network to extract local features, adding a learnable position code after
convolution output, and then inputting a
time sequence modeling network formed by six
layers of
Transformer encoders to capture a long-
time dependency relationship; and finally, outputting five types of results of forehand shooting, forehand swing, backhand shooting, backhand swing and non-key frames through a two-layer full-connection network. The
system is composed of a
data processing module, a
feature modeling module and a
key frame recognition module, and stable recognition of table tennis swing key frames can be achieved.