A table tennis action rationality evaluation method and system based on single-channel video

By acquiring ping-pong video streams using a single-channel camera device and utilizing human keypoint detection and explicit logical rule tree judgment, the problems of automatic slicing and specific feature extraction of ping-pong movements under single-channel video were solved. This enabled action evaluation and structured teaching guidance without ball recognition, reducing costs and expanding the applicable environment.

CN123142125APending Publication Date: 2026-11-20周靖梁
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611440826.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-16
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies struggle to automatically slice table tennis movements under single-channel video conditions, lack specialized geometric feature extraction and interpretable rule-based judgment, cannot evaluate bare-handed swing movements in the absence of ball recognition, and have high deployment costs and limited applicability.

Method used

The video stream is acquired by a single-channel camera device, and the skeletal key points are extracted using a human key point detection model. The swing phase is automatically identified and table tennis-specific spatial geometric parameters are constructed. An explicit logical rule tree with preset kinematic thresholds is used for judgment, and structured teaching suggestions are output.

Benefits of technology

It enables automatic slicing without the need for sphere recognition, provides interpretable prescriptive scoring and error correction guidance, reduces deployment costs, expands the applicable environment, and supports multi-shot continuous evaluation and cross-individual comparability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The application discloses a table tennis action rationality evaluation method and system based on single-channel video. The human body skeleton key point time sequence coordinates are extracted from the single-channel video. Without ball recognition, the starting frame of the stroke, the proxy hitting instant frame and the follow-up stroke end frame are recognized based on the wrist joint motion characteristics of the holding paddle side. The proxy hitting instant frame is the conversion time when the stroke acceleration is converted into the follow-up stroke deceleration, which replaces the real ball hitting time in the no-ball scene. The ball hitting cycle is divided into two layers. The first layer is the paddle leading stage and the paddle swinging stage. The second layer divides the paddle swinging stage into the stroke sub-stage and the follow-up stroke sub-stage. The paddle leading turning waist amplitude, the elbow joint angle at the ball hitting instant and the follow-up stroke paddle height normalized by the height are calculated respectively. The scores are deducted by the explicit rule tree, and the comprehensive scores and structured teaching suggestions are output. After the slow motion video is converted into the equivalent frame rate, the real action time axis is analyzed. The application realizes the interpretable, quantifiable and cross-individual comparable single-channel action standardization evaluation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer vision and sports teaching assistance technology, specifically relating to a method, system, electronic device, and computer-readable storage medium for automatically slicing, extracting specific geometric features, determining interpretable rules, and providing quantitative guidance output for table tennis technical movements based on a single video stream. Background Technology

[0002] In table tennis training, the correctness of movements directly affects the quality of shots and the risk of injury. Traditionally, this relies on coaches' on-site observation, which is difficult to quantify and compare. With the widespread use of mobile phone photography, the demand for vision-based motion analysis is increasing.

[0003] The existing technical solutions have the following shortcomings:

[0004] 1. Relying on black-box statistics or deep learning classifiers to directly output "standard / non-standard" makes it difficult for coaches and trainees to understand the judgment criteria and to map them to specific error correction actions.

[0005] 2. It lacks a feature system that is tied to the specific stage of table tennis. It only provides the joint angle curves for the entire process and does not structure key nodes such as the backswing, waist rotation, hitting frame, follow-through, and return of the racket.

[0006] 3. Action clips rely on manual editing, and continuous multi-ball training videos are difficult to evaluate automatically.

[0007] 4. Professional acquisition solutions such as laboratory optical motion capture are costly to deploy and are not suitable for single-channel portable daily training.

[0008] 5. The solution that relies on ball / racket contact detection to calibrate the hitting frame fails in scenarios with high ball speed, motion blur, occlusion, or freehand swings (without ball), and cannot cover a large number of air swing error correction needs.

[0009] The disclosed technologies related to this invention also include: computer vision-based analysis of table tennis or ball sports movements, human posture estimation and joint angle calculation, and rule- or model-driven motion quality evaluation (for example, some published patents approach the problem from the perspectives of table area segmentation and ball / racket trajectory). Such solutions either focus on ball detection and landing point or on general posture presentation, and rarely integrate "slicing the moment of hitting the ball without ball detection agent + two-layer segmentation of the hitting cycle (backswing / swing, swing including hitting and follow-through) specific geometric features + explicit rule tree scoring and teaching mapping" into a single-path evaluation closed loop that can cover freehand swings.

[0010] Therefore, there is a need for a method that can automatically slice and extract specific interpretable features under single-channel video conditions without relying on ball recognition, and use rule trees to determine compliance and output structured teaching suggestions, while covering both ball training and freehand swing training. Summary of the Invention

[0011] Technical problems to be solved

[0012] Under single-path vision conditions, even without ball recognition, it can automatically complete action time sequence slices (including freehand swings), construct feature matrices corresponding to the key points of table tennis techniques, and provide interpretable normative scores and textual guidance through an explicit logical rule tree composed of preset kinematic thresholds.

[0013] Technical solution

[0014] In a first aspect, the present invention provides a method for evaluating the rationality of table tennis movements based on single-channel video, comprising the following steps:

[0015] Step S1: Acquire the video stream of the trainee's table tennis movement through a single-channel camera device, and extract the temporal coordinate sequence of human skeletal key points in each frame of the video stream using a human key point detection model; wherein, the human skeletal key points include at least the wrist joint key points on the racket-holding side.

[0016] Step S2: Based on the temporal motion characteristics of the key points of the wrist joint on the racket side, without the need for ball recognition, the swing start frame, the proxy hit moment frame, and the follow-through end frame are automatically identified, and the action segments of a hitting cycle are completed accordingly. The hitting cycle is divided into two main segments at the first level: the backswing phase and the swing phase. The swing phase is further divided into the swing sub-phase and the follow-through sub-phase at the second level. The proxy hit moment frame corresponds to the transition moment from swing acceleration to follow-through deceleration, and is used to replace the actual ball contact moment in scenarios where there is no ball or no ball detection.

[0017] Step S3: For the sliced ​​action segments, calculate the table tennis-specific spatial geometric parameters during the movement process and construct the feature matrix;

[0018] Step S4: Input the feature matrix into the preset table tennis-specific technical action compliance rule tree engine. The rule tree engine uses explicit logical conditions composed of preset table tennis kinematic thresholds to make step-by-step judgments on the specific spatial geometric parameters and triggers the corresponding deduction logic for technical actions that do not meet the corresponding threshold conditions.

[0019] Step S5: Based on the judgment result of the rule tree engine and the weight of each deduction, calculate the comprehensive standardization score of the current technical action, and automatically match and output the corresponding structured teaching guidance suggestions for the specific rule logic that triggers the deduction.

[0020] Further, as a preferred embodiment, in step S2: the velocity vector time sequence and the magnitude of the resultant velocity v(t) of the wrist joint displacement on the racket-holding side are calculated, and the rate of change of the resultant velocity a_v(t) = dv / dt (i.e., the derivative of the magnitude of the resultant velocity with respect to time, which is different from the vector acceleration defined by the derivative of the velocity vector) are defined; a signed velocity component u(t) in the main swing direction is defined; the zero-crossing point of a_v(t) changing from positive to negative (the resultant velocity changes from increasing to decreasing) is used as the instant frame of the proxy hit, or the peak time of v(t) is used to determine the instant frame of the proxy hit; the zero-crossing point of u(t) (in both directions) is used as the main criterion for the start frame of the swing and the end frame of the follow-through, and the local minimum or below a preset threshold of v(t) is used as an auxiliary criterion; wherein, the start frame of the swing is the nearest zero-crossing point of u(t) or near-zero point of the resultant velocity before the proxy hit, and the end frame of the follow-through is the nearest u(t) after the proxy hit. The velocity is near zero or the combined velocity is close to zero. In continuous multi-cycle movements, the follow-through end frame of this cycle and the backswing start frame of the next cycle are the same boundary frame or adjacent boundary frames. The determination of the proxy hitting moment frame does not depend on the ball detection result.

[0021] Further, as a preferred implementation: During the backswing phase, a parameter θ1 representing the torso rotation amplitude is calculated based on the geometric relationship of key points in the human skeleton. θ1 is taken as the extreme value, average value, or representative value within a preset time window before the moment of the proxy shot, where the angle between the lines connecting the two shoulders and the two hips is the extreme value or average value. If θ1 is lower than a preset waist rotation threshold, the corresponding deduction logic is triggered. At the moment of the proxy shot, a parameter θ2 representing the arm opening is calculated. θ2 is the elbow joint angle formed by key points of the shoulder joint, elbow joint, and wrist joint, with the elbow joint as the apex, and its value ranges from 0° to 180°. If θ2 exceeds a preset legal range, the corresponding deduction logic is triggered. During the follow-through phase, a height-normalized follow-through height parameter H1 is calculated. H1 is the dimensionless ratio obtained by dividing the vertical height difference Δh between the wrist joint and shoulder joint in the follow-through frame or the last window of the follow-through phase by the trainee's height H_body, or by the equivalent height obtained from body dimensional parameters such as shoulder width according to a preset conversion relationship. If H1 If the height is below the preset normalized height threshold, the corresponding deduction logic will be triggered.

[0022] Furthermore, as a preferred embodiment, the rule tree engine also includes differentiated threshold branches for forehand and backhand shots: configuring judgment thresholds and deduction weights corresponding to each specific spatial geometric parameter for forehand and backhand shots respectively; and selecting the corresponding branch before or during step S4 based on action feature recognition or the shot type specified by the user.

[0023] Furthermore, as a preferred embodiment, the feature matrix also includes kinetic chain timing features: peak times of hip-related angular velocity, peak times of shoulder-related angular velocity, peak times of elbow-related angular velocity, and peak times of wrist linear velocity; the rule tree engine further includes kinetic chain timing rule determination: if the peak times do not satisfy the timing relationship of appearing sequentially from proximal to distal, it is determined as an abnormal kinetic chain transmission and a deduction logic is triggered.

[0024] Further, as a preferred implementation: when the video stream is played at a normal speed, the playback frame rate f_play is taken as the analysis frame rate f_an; when the video stream is a slow-motion video or a high frame rate shot segment played in slow motion, the time stretching coefficient k is obtained (k≥1; if the playback multiplier r is known, then k=1 / r), the equivalent frame rate f_eff = f_play × k is calculated based on the playback frame rate f_play, and f_eff is taken as the analysis frame rate f_an; the temporal slice in step S2, the time-related feature quantity in step S3, and the determination of temporal dependence in the rule tree are all based on the real action time axis corresponding to the equivalent frame rate; when f_an is lower than the preset frame rate threshold, the weight of the rule branch dependent on fine temporal sequence is reduced or marked as low confidence, while the geometric rule determination result based on the specific spatial geometric parameters is still retained.

[0025] Secondly, this invention provides a system for evaluating the rationality of table tennis movements based on single-channel video, comprising: a video acquisition and skeletal point extraction module, used to acquire a video stream of table tennis movements through a single-channel camera device and extract the temporal coordinate sequence of key human skeletal points, wherein the key human skeletal points include at least the wrist joint key point on the racket-holding side; and a temporal motion slicing module, used to automatically identify the swing start frame, the proxy hit moment frame, and the follow-through end frame based on the temporal motion characteristics of the wrist joint key point on the racket-holding side, without the need for ball recognition, and to divide the backswing phase and swing phase according to a first level, and to divide the swing phase into a swing sub-phase and a follow-through sub-phase according to a second level. The process includes: a follow-up swing phase; where the proxy hit frame corresponds to the transition moment from swing acceleration to follow-up deceleration, used to replace the actual ball contact moment in scenarios without a ball or without ball detection; a feature matrix construction module, used to calculate table tennis-specific spatial geometric parameters and construct a feature matrix based on the geometric relationships of key points of the human skeleton in the corresponding phase; a specific rule tree engine module, used to use explicit logical conditions composed of preset table tennis kinematic thresholds to progressively determine the specific spatial geometric parameters and trigger deduction logic; and a scoring and guidance output module, used to calculate a comprehensive standardization score based on the determination results and deduction weights, and output structured teaching guidance suggestions corresponding to the reasons for deduction.

[0026] Furthermore, as a preferred embodiment, the system also includes an annotated video generation module, used to overlay skeletons and key quantities onto the original video, or to perform skeleton reconstruction rendering based on 3D skeletal key points in privacy mode (without relying on skinned human parametric models and without using original video pixels), and to overlay stage division, key geometric quantities and deduction reason visualization information.

[0027] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described in the first aspect.

[0028] Fourthly, the present invention provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described in the first aspect.

[0029] Beneficial effects

[0030] 1. High interpretability: It adopts explicit threshold logic judgment, and intermediate quantities can be aligned with error correction semantics (insufficient waist turn, abnormal frame / elbow angle, failure to retract the hand, etc.), instead of only outputting black box category labels; each intermediate quantity in the judgment chain (θ1, θ2, H1, stage timestamp) can be presented to the coach for review separately, with verifiable technical effects.

[0031] 2. Closed-loop teaching: Deduction rules are mapped one-to-one with text instructions, directly serving error correction; trigger rule codes are bound to the instruction knowledge base, and the output is a structured, machine-readable field, which is convenient for training reports and progress tracking systems to consume directly.

[0032] 3. Portable and cost-controllable: It can be implemented with just one camera device, without the need for multi-target calibration, ball table area calibration, or optical motion capture equipment. The deployment cost and usage threshold are significantly lower than those of laboratory-level solutions.

[0033] 4. Automatic slicing: Reduces manual editing costs and supports continuous evaluation of multiple shots; continuous multi-cycle actions are connected end to end of boundary frames to form a cycle sequence, which can evaluate the entire training video cycle by cycle.

[0034] 5. Compatible with slow-motion instructional videos: The equivalent frame rate is converted by a time stretching factor and evaluated on the real action timeline to avoid exaggeration of stage duration and timing misjudgment caused by slow motion; confidence gating is used for low frame rate input to ensure that the timing fidelity of the evaluation results is controllable.

[0035] 6. Evaluation without ball handling (covering barehanded swings): The moment of the surrogate shot is determined by the change in the rate of change of the wrist velocity (or by the peak moment of the velocity). Standardized analysis can be completed in scenarios where ball handling is difficult or barehanded swings (air swings). The applicability is expanded from training with a ball to classrooms, corridors, homes and other environments without tables or balls, thus broadening the teaching coverage.

[0036] 7. Cross-individual comparability: Geometric quantities such as racket height are normalized to dimensionless ratios by height (or equivalent height converted from body scale parameters such as shoulder width), eliminating the problem of incomparability of absolute height between trainees of different heights, and making the threshold determination statistically comparable across individuals. Detailed Implementation

[0037] Example 1: Overall Method

[0038] S1 Video Stream Acquisition and Skeleton Point Extraction

[0039] The process of a trainee hitting the ball is filmed using a single-channel camera device such as a smartphone, action camera, or fixed camera, resulting in video stream V (see single-channel acquisition and skeletal keypoints). Figure 2 For each frame, human keypoint detection is performed to obtain keypoints including at least both shoulders, the shoulder / elbow / wrist on the holding side, and both hips. Human keypoint detection can be implemented using existing keypoint detection models or tools, including but not limited to deep learning-based human pose estimation networks; the core innovation of this invention is not in the keypoint detection model itself, but in the subsequent temporal action slicing, specialized feature matrix construction, and rule tree evaluation stages.

[0040] Three-dimensional coordinates can be obtained either by directly outputting three-dimensional points from the model and calibrating them using height / shoulder width scales, or by performing a segment-length rigid three-dimensional inverse kinematics solution (weak perspective lifting) on ​​two-dimensional points. One feasible segment-length rigid constraint three-dimensional inverse kinematics solution procedure is as follows:

[0041] 1. Using the pelvis or the midpoint between the two hips as the root, organize the joints into parent-child skeletal segments according to the human kinematic tree (such as hip-knee-ankle, shoulder-elbow-wrist, etc.);

[0042] 2. Assign a target length L_bone to each bone segment based on the user's height or the population's statistical proportion (segment length rigid prior).

[0043] 3. Under the weak perspective assumption, minimize the error between the projection of the 3D point and the observed 2D point, and penalize the deviation of the distance between adjacent joint points relative to L_bone;

[0044] 4. Solve the metric three-dimensional coordinates frame by frame or in short time windows, and then place the origin at the pelvis or the midpoint of the two feet, with the vertical axis pointing upwards, to facilitate the calculation of the height difference Δh and the relative height normalized H1.

[0045] The above constraints can also be achieved using an equivalent analytical / optimized weak perspective lifting algorithm.

[0046] S2 Automatic Slicing of Timing Action Phases (Two-Layer Segmentation of the Shooting Cycle)

[0047] First, the definition of segmentation is given (see...). Figure 3 A single hitting cycle employs a two-layer structure:

[0048] Shot Cycle ├──

First Layer

First Layer

Second Layer

Second Layer

[0049] Boundary relationships: The start frame of the swing and the end frame of the backswing are the same frame; in continuous multi-ball / multi-segment air swings, the end frame of the swing in this cycle and the start frame of the backswing in the next cycle are the same boundary frame or adjacent boundary frames, thus forming a cycle sequence by connecting the beginning and end, supporting batch evaluation of continuous multi-shot videos cycle by cycle.

[0050] Kinematic conventions (classical point mass kinematics; symbols are agreed upon first):

[0051] • Wrist position vector r(t), velocity vector v = dr / dt, resultant velocity (speed) v = |v |;

[0052] The rate of change of the resultant velocity, a_v = dv / dt (the derivative of the velocity with respect to time). Note: a_v is not equal to the vector acceleration a. = dv / dt; while moving along the trajectory, a_v = a • v̂ (tangential acceleration scalar). In the following text, "acceleration / deceleration" refers to v increasing / decreasing, i.e., the sign of a_v;

[0053] • The unit vector ê of the main swing direction (which can be estimated from the principal component of the motion or the shoulder → hitting direction), with a signed velocity component u = v ·ê.

[0054] keyframe Physical meaning Strict characteristics (current physics) Agent's shot The swing speed changes from increasing to decreasing. a_v changes from positive to negative; the moment when v reaches its maximum value under a smooth single-peaked rate curve (at which point v is maximum and generally non-zero). Swing start frame (=backswing end) The reciprocating motion reverses in the main direction, transitioning into a forward swing. Main criterion: u(t) crosses zero (signed velocity reverses direction); in approximately one-dimensional round trip (lateral velocity is negligible), this corresponds to v≈0. Follow-through frame (=end of swing) The forward movement ends, then reverses or stops. Similarly, it is characterized by u crossing zero / v≈0, rather than by a_v changing signs.

[0055] Key points to clarify:

[0056] 1. Do not mistake "continuous turning of v" in three-dimensional curvilinear motion as the start / end of a swing—the speed of circular motion can be constant while the direction is constantly changing; this invention refers to the zero-crossing (reverse direction) of the signed velocity on the reciprocating axis.

[0057] 2. v=0 and u=0: Generally not equivalent in three dimensions; however, in a curved swing, u=0 while v≠0. For materials, u crossing zero is the primary criterion, and v≈0 is the near-zero threshold for one-dimensional idealization and engineering.

[0058] 3. The proxy shot is an a_v sign change / v peak, which is a different physical event from the zero crossing of u at both ends, and cannot be used interchangeably.

[0059] Keyframe detection (without sphere recognition):

[0060] 1. Calculate v (t), v(t), a_v(t)=dv / dt, u(t)=v ·ê (can be smoothed);

[0061] 2. Frame of the moment of the proxy hit: determined by the zero-crossing point where a_v changes from positive to negative; or determined by the peak time of v(t) (under a smooth single-peak velocity curve, the zero-crossing point where a_v changes from positive to negative is the peak time of v; when there are secondary fluctuations, the maximum peak can be taken).

[0062] 3. Swing start frame: the nearest u crossing zero (or v near zero local minimum) before the agent hits the ball;

[0063] 4. Follow-through frame (swing end frame): The nearest u to zero (or v to zero) after the proxy shot; it connects to the start of the next backswing after multiple consecutive cycles; window end degeneracy can be used when a single cycle window is truncated;

[0064] 5. Lead-in frame: The starting point of the analysis window or the end frame of the previous cycle.

[0065] Engineering approximation: Under noise, strict zero crossings are replaced by |u|<ε, v<ε, or local minima. The dominant characteristic of the hammer stage is a_v>0 (rate increases), and as the dominant characteristic of the hammer stage becomes a_v<0 and v approaches zero, secondary fluctuations do not change the above-mentioned primary criterion layering.

[0066] The same logic applies to training with a ball (without relying on ball retrieval) and swinging without a racket. Real ball contact is also affected by the impulse of the ball's impact; the aforementioned proxy shot is a kinematic approximation under conditions without ball retrieval, allowing for deviations from the actual moment of ball contact.

[0067] S3 Feature Matrix Construction

[0068] For the geometric definition of each action segment (θ1, θ2, H1), see [link to definition]. Figure 4 ):

[0069] 1. θ1 (torso rotation amplitude): Define the shoulder line vector Ls = P_r_shoulder − P_l_shoulder and the hip line vector Lh = P_r_hip − P_l_hip. Calculate the angle between the projections of the two vectors onto the horizontal plane, or the angle between the two vectors. During the lead-in phase, take the maximum rotation amplitude or the angle representing the frame as θ1.

[0070] 2. θ2 (arm opening angle): At the moment of the surrogate strike, with the elbow as the vertex, the angle between the vectors elbow→shoulder and elbow→wrist is taken as the elbow joint angle θ2, which is conventionally set to 0°–180° (without supplementary angles to avoid double values ​​for the same configuration). Excessive flexion or extension beyond [β1, β2] is considered an abnormal frame / elbow angle at the moment of strike.

[0071] 3. H1 (Relative Height Normalized Follow-Through and Finish Height): At the end of the follow-through frame or the final stage of the follow-through sub-phase, first calculate the vertical height difference Δh = z_wrist − z_shoulder between the wrist joint and the shoulder joint on the racket side. Then divide this by the trainee's height H_body (which can be input by the user or estimated proportionally based on the body's length / shoulder width) to obtain the dimensionless quantity H1 = Δh / H_body. Using relative height normalization eliminates the incomparability of absolute heights between trainees of different heights. If H1 does not reach the preset threshold γ, the finish is considered insufficient.

[0072] Combine θ1, θ2, H1, and optional auxiliary quantities to form the feature matrix F (or feature vector).

[0073] S4 Specialized Rule Tree Engine

[0074] The rule tree is explicit logic, and the judgment conditions are composed of preset kinematic thresholds (see the judgment and deduction process). Figure 5 Compared to black-box classifiers that only output category labels, intermediate values ​​are interpretable and can be mapped to teaching suggestions. Example:

[0075] Rule A: If θ1 < α → judge it as "pure arm force, insufficient waist compensation", deduct points wA;

[0076] Rule B: If θ2 ∉ [β1, β2] → determine "abnormal frame / elbow angle at the moment of impact", deduct points wB;

[0077] Rule C: If H1 < γ → judge it as "forehand topspin / loop without retraction", and deduct points wC.

[0078] The thresholds α, β1, β2, γ and their weights can be preset from kinesiology literature and coaching experience, and support forehand and backhand branches (see Example 2). γ is a dimensionless threshold relative to height (e.g., forehand follow-through requires H1 to be no less than a certain proportion).

[0079] Taking a forehand stroke as an example, a feasible setting for each threshold is as follows: α is in the range of 25°–40° (the specific value can be determined by the coach), [β1, β2] are set with upper and lower limits according to the norm of the elbow joint angle in a forehand stroke, γ is 0.05–0.15 (dimensionless ratio), the deduction weights are wA=15, wB=20, wC=15, and the base score S0=100. The above values ​​are merely exemplary settings and do not constitute a limitation on the scope of protection of the claims.

[0080] S5 Overall Scoring and Guidance Output

[0081] Let the base score be S0 (e.g., 100 points), and the comprehensive score be S = S0 − Σ wi (accumulated only for triggering items, with a lower limit that can be set). Encode each triggering rule with Rid, and query the corresponding text from the guidance knowledge base, for example:

[0082] •A → "Increase waist rotation during the backswing phase to allow for a more complete twist of the hip and shoulder line, avoiding relying solely on arm power";

[0083] •B → "Adjust the elbow angle at the moment of impact, correct abnormal frame / elbow angle at the moment of impact, and maintain a stable hitting configuration";

[0084] •C → "Continue to send the racket upwards and forwards with the follow-through, increasing the racket height after normalization relative to height, and preventing the racket head from dropping too early after hitting the ball."

[0085] Output structured results: score, list of triggering rules, list of suggestions, and optional stage timestamps. The guidance knowledge base is a mapping table from rule encoding to teaching text, which can be pre-stored locally or updated by the server; the scoring can use a percentage system or other scoring systems, and the choice of scoring system does not affect the judgment logic itself.

[0086] Example 2: Forehand / Backhand Differentiation Threshold

[0087] Example settings for the forehand: α is 25°–40° (for more complete waist rotation); [β1, β2] can be approximately 90°–150° (calibrated according to the norm of elbow joint angle when hitting the ball with the forehand); γ is 0.05–0.15; the deduction weights can be wA=15, wB=20, wC=15.

[0088] Example settings for backhand: α can be relaxed to 15°–35°, or replaced with a threshold for the relative twisting of the shoulder and hip; [β1, β2] can be approximately 70°–140° (the elbow angle norm for backhand configurations often differs from that forehand, and should be based on the coach's calibration); γ can be 0.03–0.12; the deduction weight can be relatively reduced for waist rotation and increased for elbow and wrist related items (e.g., wA=10, wB=20, wC=15).

[0089] The type of shot can be specified by the user or selected from a rule branch after a coarse classification based on motion characteristics. One feasible method for coarse classification is to determine forehand / backhand based on the relative positions of key points on the racket-holding side of the shoulder, elbow, and hip before and after the moment of the agent's shot (such as the lateral position of the wrist joint relative to the body's midline, and the relative relationship between the hip-shoulder line and the swing direction), or the user can specify it directly when submitting the task. The above values ​​are for illustrative purposes only and do not constitute a limitation on the scope of protection.

[0090] Example 3: Feature Expansion – Power Chain Timing (Optional Incorporation into Rule Tree)

[0091] Add the peak times of hip / shoulder / elbow angular velocity and wrist velocity to the feature matrix, and add rule D: if the proximal to distal order is not satisfied, the kinetic chain is judged as abnormal and points are deducted. When the analyzed frame rate f_an (the playback frame rate at normal speed and the equivalent frame rate when slowing down, see terminology explanation) is lower than the preset threshold (e.g., 60 fps), rule D is downweighted or marked as low confidence, while the geometric judgments of rules A / B / C remain valid.

[0092] The method for extracting the peak angular velocity moments is as follows: The time derivative of the angle time sequence of the relevant lines connecting the shoulder, hip, and elbow joints is calculated to obtain the angular velocity sequence. The peak moment within each stage (or the full swing stage) is then taken. The peak moment of the wrist linear velocity is taken as the peak moment of v(t) within the swing stage. The four peak moments are sorted by time. If the sequence of hip → shoulder → elbow → wrist is satisfied (adjacent items are allowed to arrive simultaneously within a preset tolerance), the kinetic chain transmission is considered normal; otherwise, it is considered abnormal and points are deducted according to rule D.

[0093] Example 4: Slow-motion video analysis

[0094] In teaching and competition replays, it's common to see videos that are "shot at a high frame rate and then played back in slow motion": the playback frame rate f_play in the container metadata is low (e.g., 30 fps), but the frame time is stretched, and the temporal resolution of the actual action is higher than the playback frame rate (see equivalent frame rate conversion). Figure 7 If the frame sequence number is directly converted to milliseconds using f_play, the stage duration and peak interval will be exaggerated, resulting in distortion of the rule tree timing determination.

[0095] In this embodiment:

[0096] 1. Obtain the time stretch factor k (also known as the slow motion stretch ratio): This can be directly input by the user, or calculated from the playback ratio r commonly used by the player (k=1 / r), or identified by video metadata / title markers; for normal speed videos, r=1 and k=1; for slow motion, r<1 and k>1 (for example, playback ratio r=0.25, i.e., quarter speed, corresponds to k=4).

[0097] 2. Calculate the equivalent frame rate f_eff = f_play × k (equivalent to f_eff = f_play / r);

[0098] 3. The wrist speed difference, inflection point and peak time in step S2, as well as the time-dependent features and rules (including optional rule D), shall all be converted to the actual action time using f_eff: t_ms = frame number × 1000 / f_eff;

[0099] 4. Parameters related to the sampling rate, such as the filter cutoff frequency, are also adaptively set according to f_eff;

[0100] 5. When f_eff is not lower than the preset frame rate threshold, time-series rules are allowed to be output along the high-confidence path; when f_eff is still insufficient, low-confidence gating is applied, and geometric rules A / B / C are unaffected.

[0101] Therefore, slow-motion instructional videos can be correctly interpreted as standardized assessments on the actual action timeline, rather than being misjudged as "the action being abnormally stretched".

[0102] Example 5: System Implementation (see...) Figure 6 )

[0103] See Figure 6 The system includes:

[0104] • 201 Video Acquisition and Skeletal Point Extraction Module: Acquires a single video stream and outputs the temporal 3D coordinates of key human skeletal points;

[0105] • 202 Timing Action Slicing Module: Identifies the swing start frame, the proxy hit moment frame, and the follow-through end frame, and divides the backswing phase and swing phase into two layers (the swing phase includes the hit / follow-through phase).

[0106] • 203 Feature Matrix Construction Module: Calculates specific spatial geometric parameters such as θ1, θ2, and H1;

[0107] • 204 Specialized Rule Tree Engine Module: Explicitly determines and deducts points based on preset kinematic thresholds using logical logic;

[0108] • 205 Scoring and Guidance Output Module: Overall Score and Structured Teaching Suggestions;

[0109] • 206 Annotated Video Generation Module (Optional): Visualization of Original Overlay or Privacy Skeleton Reconstruction;

[0110] •207 Slow Motion Analysis Module (Optional): Receives the time stretching factor k (or converts k=1 / r from the playback magnification r), calculates f_eff and provides it to 202 / 204 for calculation according to the actual motion timeline.

[0111] The system can be deployed on local terminals, edge devices, or cloud servers. After a single video stream is uploaded, it automatically completes S1–S5 and returns structured results and guidance documents. Modules 201–205 constitute the basic configuration of the system; modules 206 and 207 are optional configurations that can be tailored to the deployment environment without affecting the operation of the basic evaluation process.

[0112] In an optional privacy-preserving implementation, the annotation results are not output as raw video pixels, but rather as skeleton reconstruction rendering based on the recovered 3D skeletal key points (virtual camera projection). Skinned human parametric models (such as SMPL-like models) are not used, thus avoiding reliance on third-party human model authorization and reducing the risk of portrait exposure. Quantitative evaluation (feature matrix and rule tree) is decoupled from the presentation method, and the privacy switch does not affect the scoring logic.

[0113] Example 6: Correspondence with Product Pipeline (Implementation Reference)

[0114] In one implementation, key human body point extraction and 3D coordinate acquisition, action phases based on wrist movement features, specific geometric parameter calculation, rule diagnosis and suggestion output are sequentially linked; the stage threshold determination in the rule tree corresponds to geometric checks such as waist rotation, hitting elbow frame, follow-through height, etc., and can be performed in parallel with the kinetic chain timing diagnosis; if the input is slow-motion video, the equivalent frame rate is first converted before entering the timing link, and finally summarized into a comprehensive standardization score.

[0115] Example 7: Evaluation of bare-handed racket swing (reverse swing)

[0116] Trainees perform continuous air swings following the principles of forehand or backhand techniques without a ball, with single-channel camera capturing the action from the front or oblique front. The system extracts skeletal points and wrist speed timings according to Example 1, using each a_v positive → negative zero crossing (or the peak wrist speed moment) as a proxy hitting moment slice, calculating θ1, θ2, and H1, and providing scoring and error correction suggestions via a rule tree. Because it does not rely on a ball, it can complete motion framework training feedback in environments without a table or ball, such as classrooms, corridors, and homes. The instruction manual clearly states that there may be a discrepancy between the proxy hitting moment and the actual ball contact moment; the evaluation focuses on the standardization of technical movements rather than the landing point / spin result.

[0117] Industrial applicability

[0118] This invention allows for the collection and evaluation of data on swings with or without a ball in a regular sports hall using a single mobile phone. It can also be used for motion frame correction in a ballless environment, and has industrial application value for teaching assistance and training feedback.

[0119] Terminology Explanation

[0120] the term meaning Single-channel visual video stream A video stream formed by continuous shooting from a single camera device Rule Tree Engine A set of decision logic consisting of explicit condition nodes and branches Statistical black box model Models that only output categories / scores and fail to provide intermediate criteria aligned with the semantics of specific technologies (comparative terminology used in the specification; independent claims use the affirmative expression of "explicit logical conditions / rule trees"). Structured Teaching Guidelines Error correction suggestion text that is bound to rule encoding and is machine-readable and field-based. Relative height normalization Divide length-type geometric quantities by the trainee's height (or equivalent height obtained from body dimensional parameters such as shoulder width according to a preset conversion relationship) to obtain a dimensionless ratio for cross-individual comparisons. Abnormal frame / elbow angle at the moment of impact <![CDATA[The racket-holding side shoulder-elbow-wrist configuration at the moment of proxy hitting (characterized by elbow angle θ2) exceeds the preset legal interval]]> Playback frame rate f_play The playback-side frame rate given by the video container / decoder Playback rate r Commonly used relative constant speed magnifications in the player interface: slow motion r<1, constant speed r=1, fast motion r>1 (the timing conversion in this invention is mainly for slow motion). Time stretching factor k Also known as slow motion stretch ratio; the stretch factor relative to the actual motion time, satisfying k=1 / r; k>1 for slow motion, k=1 for normal speed (opposite to the playback ratio, do not confuse with r). Equivalent frame rate f_eff f_play × k (= f_play / r) is used to map frame sequence numbers to actual action times. Analyze frame rate f_an Frame rate used for timing reliability and time conversion: f_an = f_play at normal speed; f_an = f_eff at slow motion. Striking Cycle A complete action unit of a single hit or swing, the first layer includes the backswing phase and the swing phase. Initiation phase Backswing start frame → Swing start frame (Swing start frame = Backswing end frame) Swing phase Swing start frame → follow-through end frame; the second layer is further divided into the swing phase and the follow-through phase. Swing phase Swing start frame → Proxy hit moment frame Following the wave stage Agent hit moment frame → follow-through end frame The rate of change of the resultant velocity a_v a_v = dv / dt, the derivative of velocity with respect to time; ≠ vector acceleration dv / dt Signed velocity u Wrist speed projection in the main swing direction; u crossing zero indicates forward and reverse directions. Swing start frame u crosses zero (main); in approximately one-dimensional form, v≈0; = end of backswing; swing begins. End frame of the swing u crosses zero (main); in approximately one-dimensional time, v≈0; = end frame of the swing. Agent's shot a_v positive → negative; the peak value of v (maximum velocity, non-zero) under a smooth single-peak velocity curve; kinematic approximation of contact without ball detection. Privacy skeleton reconstruction Annotated images are generated based on 3D skeleton keypoint projection, without using original video pixels and without relying on skinned human parametric models. Swinging the racket without a racket (air swing) Swing practice without the ball; a standardized assessment can still be completed at the moment of the proxy hit. Attached Figure Description

[0121] Figure 1 Here is the overall flowchart of the method;

[0122] Figure 2 A schematic diagram of single-channel acquisition and skeletal key points;

[0123] Figure 3 This is a diagram illustrating the two-stage segmentation of the hitting cycle (backswing / swing; swing / follow-through).

[0124] Figure 4 A schematic diagram defining the geometric parameters θ1, θ2, and H1;

[0125] Figure 5 This is a diagram illustrating the specific rule tree for determining and deducting points.

[0126] Figure 6 System structure block diagram (attached figures 201–207);

[0127] Figure 7 This is a schematic diagram illustrating the equivalent frame rate conversion and the actual timeline analysis of slow-motion video.

Claims

1. A method for evaluating the rationality of table tennis movements based on single-channel video, characterized in that, Includes the following steps: Step S1: Video stream acquisition and skeletal point extraction. A video stream of the trainee's table tennis movement is acquired through a single-channel camera device. The human key point detection model is used to extract the temporal coordinate sequence of human skeletal key points in each frame of the video stream. The human skeletal key points include at least the wrist joint key points on the racket-holding side. Step S2: Automatic segmentation of the timing action phase. Based on the temporal motion characteristics of the key points of the wrist joint on the racket side, the system automatically identifies the swing start frame, the proxy hit moment frame, and the follow-through end frame without requiring ball recognition, and completes the action segmentation of a hitting cycle accordingly. The hitting cycle is divided into two main segments at the first level: the backswing phase and the swing phase. The swing phase is further divided into the swing sub-phase and the follow-through sub-phase at the second level. The proxy hit moment frame corresponds to the transition moment from swing acceleration to follow-through deceleration, and is used to replace the actual ball contact moment in scenarios where there is no ball or no ball detection. Step S3: Constructing the feature matrix of table tennis-specific technical movement rules. For the sliced ​​movement segments, calculate the table tennis-specific spatial geometric parameters during the movement process and construct the feature matrix. Step S4: Based on the rationality decision evaluation of the special rule tree, the feature matrix is ​​input into the preset table tennis special technical action compliance rule tree engine. The rule tree engine uses explicit logical conditions composed of preset table tennis kinematic thresholds to judge the special spatial geometric parameters step by step, and triggers the corresponding deduction logic for technical actions that do not meet the corresponding threshold conditions. Step S5: Comprehensive scoring and quantitative guidance output. Based on the judgment results of the rule tree engine and the weight of each deduction, the comprehensive standardization score of the current technical action is calculated, and the corresponding structured teaching guidance suggestions are automatically matched and output for the specific rule logic that triggers the deduction.

2. The method according to claim 1, characterized in that, In step S2: Calculate the velocity vector time sequence and the resultant velocity magnitude v(t) = |velocity vector| for the wrist joint displacement on the racket side, and define the rate of change of resultant velocity a_v(t) = dv / dt (i.e., the derivative of the resultant velocity magnitude with respect to time, which is different from the vector acceleration defined by the derivative of the velocity vector); and define the signed velocity component u(t) in the main swing direction. The zero-crossing point where a_v(t) changes from positive to negative (the resultant velocity changes from increasing to decreasing) is taken as the instant frame of the proxy shot, or the peak time of v(t) is used to determine the instant frame of the proxy shot; The zero-crossing of u(t) (round trip and reverse) is used as the main criterion for the swing start frame (i.e., the end frame of the backswing and the start of the swing phase) and the follow-through end frame (i.e., the end of the swing phase), and the local minimum of v(t) or below a preset threshold is used as an auxiliary criterion for the determination; wherein, the swing start frame is the nearest u(t) zero-crossing point or the near-zero point of the resultant velocity before the proxy hit, and the follow-through end frame is the nearest u(t) zero-crossing point or the near-zero point of the resultant velocity after the proxy hit; In a series of consecutive cycles, the follow-through end frame of the current cycle and the lead-in start frame of the next cycle are the same boundary frame or adjacent boundary frames. The determination of the instant frame at which the agent hits the ball does not depend on the ball detection result.

3. The method according to claim 1 or 2, characterized in that: During the backswing phase, the parameter θ1, which represents the waist rotation amplitude of the torso, is calculated based on the geometric relationship of key points of the human skeleton. θ1 is taken as the extreme value, average value, or representative value within a preset time window before the moment of the proxy shot, of the angle between the line connecting the two shoulders and the line connecting the two hips during the backswing phase. If θ1 is lower than the preset waist rotation threshold, the corresponding deduction logic is triggered. At the moment of the agent's shot, the parameter θ2, which represents the degree of arm opening, is calculated. θ2 is the elbow joint angle formed by the key points of the shoulder joint, elbow joint, and wrist joint with the elbow joint as the apex, and the value ranges from 0° to 180°. If θ2 exceeds the preset legal range, the corresponding deduction logic is triggered. During the follow-through phase, the normalized follow-through height parameter H1 is calculated. H1 is the dimensionless ratio obtained by dividing the vertical height difference Δh between the wrist joint and the shoulder joint in the end frame of the follow-through phase or the end window of the follow-through phase by the trainee's height H_body, or by the equivalent height obtained from body dimensional parameters such as shoulder width according to a preset conversion relationship, i.e., H1 = Δh / H_body. If H1 is lower than the preset normalized height threshold, the corresponding deduction logic is triggered.

4. The method according to claim 1, characterized in that, The rule tree engine also includes differentiated threshold branches for forehand and backhand shots: for forehand and backhand shots, the judgment thresholds and deduction weights corresponding to each specific spatial geometric parameter are configured; Before or during step S4, the corresponding branch is selected based on the action feature recognition or the user-specified shot type.

5. The method according to claim 1, characterized in that, The feature matrix also includes kinetic chain timing features: peak moments of hip-related angular velocity, peak moments of shoulder-related angular velocity, peak moments of elbow-related angular velocity, and peak moments of wrist linear velocity; the rule tree engine further includes kinetic chain timing rule determination: if the peak moments do not satisfy the timing relationship of appearing sequentially from proximal to distal, it is determined as an abnormal kinetic chain transmission and a deduction logic is triggered.

6. The method according to claim 1, characterized in that: When the video stream is played at a normal speed, the playback frame rate f_play is taken as the analysis frame rate f_an; when the video stream is a slow-motion video or a high frame rate shot segment played in slow motion, the time stretching coefficient k is obtained (k≥1; if the playback multiplier r is known, then k=1 / r), the equivalent frame rate f_eff = f_play × k is calculated based on the playback frame rate f_play, and f_eff is taken as the analysis frame rate f_an; The timing slice in step S2, the time-related feature quantities in step S3, and the timing-dependent determination in the rule tree are all based on the real action timeline corresponding to the equivalent frame rate, so that the timestamp and peak interval reflect the real action time rather than the slow-motion playback time. When f_an is lower than the preset frame rate threshold, the weight of rule branches that depend on fine timing is reduced or marked as low confidence, while the geometric rule determination results based on the specific spatial geometric parameters are still retained; when f_an is not lower than the preset frame rate threshold, rule branches that depend on fine timing are allowed to be output according to the high confidence path.

7. A system for evaluating the rationality of table tennis movements based on single-channel video, characterized in that, include: The video acquisition and skeleton point extraction module is used to acquire a video stream of table tennis movement through a single-channel camera device and extract the temporal coordinate sequence of key human skeleton points. The key human skeleton points include at least the wrist joint key points on the racket-holding side. The timing motion slicing module is used to automatically identify the swing start frame, the proxy hit moment frame, and the follow-through end frame based on the temporal motion characteristics of the key points of the wrist joint on the racket side, without the need for ball recognition. It further divides the backswing phase and the swing phase into a first level and the swing phase into a swing sub-phase and a follow-through phase into a second level. The proxy hit moment frame corresponds to the transition moment from swing acceleration to follow-through deceleration, and is used to replace the actual ball contact moment in scenarios where there is no ball or no ball detection. The feature matrix construction module is used to calculate the spatial geometric parameters of table tennis from the geometric relationships of key points of the human skeleton at the corresponding stage and construct the feature matrix. The specialized rule tree engine module is used to use explicit logical conditions composed of preset table tennis kinematic thresholds to determine the specialized spatial geometric parameters step by step and trigger the deduction logic. The scoring and guidance output module is used to calculate the comprehensive standardization score based on the judgment result and the deduction weight, and output structured teaching guidance suggestions corresponding to the reasons for the deduction.

8. The system according to claim 7, characterized in that, It also includes a labeled video generation module, which is used to overlay skeletons and key quantities on the original video, or to perform skeleton reconstruction rendering based on 3D skeletal key points in privacy mode (without relying on skinned human parametric models and without using original video pixels), and to overlay stage division, key geometric quantities and deduction reason visualization information.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method according to any one of claims 1 to 6.