Ball action evaluation method and device based on large model, equipment and medium
Through the large-model-based ball movement evaluation method, combined with multi-source sensor data and comparison learning mechanism, the limitations of traditional methods in terms of dynamics, complexity and individual differences are solved, and the in-depth analysis of ball movements and the generation of personalized correction solutions is achieved, improving the accuracy and pertinence of the evaluation.
Patent Information
- Application Number
- CN202510607265.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2045-05-13
AI Technical Summary
The prior art is difficult to effectively evaluate the dynamic analysis of the coordinated movement of instrument trajectories and human joints in spherical movements, and traditional methods have limitations in terms of dynamics, complexity and individual differences.
Using a spherical motion evaluation method based on a large model, data is collected through multi-source sensors, human joint motion characteristics and instrument trajectory characteristics are extracted, noise suppression and synchronization processing are performed, and action feature vector sets are generated. Then, a large model of the contrast learning mechanism is used to analyze the action quality deviation, generate comprehensive scores and key action deviation terms, and a visual correction scheme is generated through reverse kinematic optimization processing.
In-depth analysis and dynamic evaluation of ball sports movements are realized, and a highly targeted visual correction plan is generated, which improves the accuracy of the evaluation and personalized guidance ability, and meets the needs of accurate portrayal and real-time feedback of movement details in high-level competitive training.
Smart Images

Figure CN120123702A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of physical education teaching evaluation, and particularly relates to a ball motion evaluation method, device, equipment and medium based on a large model. Background Art
[0002] In the field of sports science, the standardization of ball motion is crucial for athletes' skill improvement and sports injury prevention. Traditional motion evaluation methods rely on coaches' experience observation or manual analysis of basic sensor data, and judge the motion quality through simple parameters such as speed and angle. However, ball motions are highly dynamic and complex, especially in high-speed motion scenarios, and subtle differences in joint linkages or deviations in equipment trajectories are often difficult to be effectively captured. In recent years, with the development of artificial intelligence technology, intelligent evaluation methods based on visual sensors and big data analysis have gradually become a research hotspot, aiming to provide objective and quantitative motion improvement guidance for athletes through multi-dimensional data fusion and algorithm modeling.
[0003] In the prior art, evaluation systems based on single sensors such as monocular cameras or inertial measurement units have obvious limitations: on the one hand, visual data is vulnerable to environmental light and occlusion interference, resulting in large joint positioning errors; on the other hand, traditional algorithms are difficult to extract deep-level correlation features of motions from high-dimensional time-series data, with single evaluation dimensions and lack of dynamic adaptability. In addition, most systems can only provide static scores and cannot generate targeted correction suggestions combined with individual physiological differences, resulting in the disconnection between training guidance and actual needs. Such technical defects make the existing methods difficult to meet the requirements of accurately depicting motion details and providing real-time feedback in high-level competitive training, especially unable to solve the dynamic analysis problem of the coordination between equipment trajectories and human joints. Summary of the Invention
[0004] Based on this, the purpose of the present invention is to provide a ball motion evaluation method, device, equipment and medium based on a large model that can fuse multi-source data, achieve in-depth analysis of motion features and dynamically generate visual correction schemes.
[0005] The purpose of the present invention is achieved by the following solutions: In the first aspect, the present invention provides a ball motion evaluation method based on a large model, including the following steps: S1: Collect the original motion data of trainees based on multi-source sensors, and perform time and space synchronization processing and noise data suppression processing on the collected original motion data to generate a trainee motion data set; S2: Perform separation and extraction processing on the trainee motion data set for human joint motion features and motion equipment trajectory features to generate an action feature vector set containing spatio-temporal correlation features; S3: Perform action quality deviation analysis on the action feature vector set based on a large model incorporating a contrastive learning mechanism to generate an action evaluation result containing a comprehensive score and key action deviation terms; S4: Perform inverse kinematics optimization based on the action evaluation result to generate a visual correction plan containing three-dimensional action comparison information.
[0006] In one embodiment, S1 of a ball game action evaluation method based on a large model provided by the present invention specifically includes the following steps: S11: Collect data on the trainee and the sports equipment through a multi-view optical sensor to generate three-dimensional position data of the trainee's joint points and equipment usage data containing the rotation speed and acceleration data of the sports equipment; S12: Perform spatio-temporal compensation on the missing parts of the three-dimensional position data and equipment usage data based on the rotation group interpolation compensation algorithm to generate a time-space synchronized action sequence; S13: Perform smoothing filtering on the time-space synchronized action sequence based on polynomial fitting to generate a trainee action data set with high-frequency noise removed.
[0007] In one embodiment, S2 of a ball game action evaluation method based on a large model provided by the present invention specifically includes the following steps: S21: Calculate the joint rotation angles of the trainee action data set based on inverse kinematics technology to generate a kinematic feature matrix composed of relative rotation angles of each joint; S22: Extract motion state parameters from the motion equipment trajectory data in the trainee action data set based on differential kinematics to generate an equipment trajectory feature set containing linear velocity, angular velocity, and acceleration; S23: Perform multi-modal feature fusion on the kinematic feature matrix and the equipment trajectory feature set based on the dynamic weighted fusion algorithm to generate a fused action feature vector set. The calculation formula for the action feature vector set is: ; where, is the action feature vector set, is the rotation feature vector of the k th joint in the kinematic feature matrix, is the joint contribution weight coefficient, is the equipment trajectory feature set, including linear velocity, angular velocity, and acceleration, is the equipment feature weighting coefficient, is the feature dimension concatenation operation.
[0008] In one embodiment, S3 of a ball game action evaluation method based on a large model provided by the present invention specifically includes the following steps: S31: Perform contrastive learning model construction processing based on the action feature vector set to construct a neural network model with a similarity comparison mechanism. The expression of the training objective function of the neural network model is: ; Among them, is the training objective function, is the i th sample in the action feature vector set, the pre-stored standard action template, is the deviation amount between the relative joint rotation angle and the standard angle, is the temperature coefficient for controlling the similarity distribution range, is the hyperparameter for adjusting the sparse constraint intensity, is the set of trainable parameters of the neural network model, is the number of batch samples for model training; S32: Input the action feature vector into the neural network model for gradient backpropagation processing to generate the contribution degree parameters of the influence degree of each joint on the action deviation; S33: Based on the contribution degree parameters and the pre-stored standard action template, perform similarity matching processing on the action feature vector in the neural network model to generate an action evaluation result including a comprehensive score and a key action deviation term.
[0009] In one embodiment, S32 of a ball action evaluation method based on a large model provided by the present invention specifically includes the following steps: S321: Perform gradient backpropagation calculation processing on the action feature vector at the output layer of the neural network model based on the chain rule to generate the original gradient matrix of each joint; S322: Perform temporal smoothing processing on the original gradient matrix based on the sliding window average algorithm to generate denoised gradient data. The calculation formula of the denoised gradient data is: ; Among them, is the denoised gradient data, is the window width, is the k th joint at the i th moment of the original gradient; S323: Perform normalization processing on the denoised gradient data based on the Z-score normalization algorithm to generate the contribution degree parameters. The calculation formula of the contribution degree parameters is: ; Among them, is the contribution degree parameter, is the mean value of all joint gradients, is the standard deviation.
[0010] In one embodiment, S33 of a ball game action evaluation method based on a large model provided by the present invention specifically includes the following steps: S331: Calculate the matching degree between the action feature vector and the standard action template based on the cosine similarity algorithm to generate a comprehensive score; S332: Perform anomaly detection processing on the comprehensive score based on the dynamic threshold determination technology to generate a dynamic alarm threshold; S333: Identify whether the comprehensive score is lower than the dynamic alarm threshold. If it is lower, perform anomaly joint positioning processing on the contribution parameter to generate a key action deviation term; S334: Integrate the comprehensive score and the key action deviation term to generate an action evaluation result including the comprehensive score and the key action deviation term.
[0011] In one embodiment, S4 of a ball game action evaluation method based on a large model provided by the present invention specifically includes the following steps: S41: Process the key action deviation term in the action evaluation result based on the inverse kinematics optimization algorithm to generate a joint angle correction amount; S42: Perform kinematic interpolation processing on the joint angle correction amount based on the trajectory smoothing technology to generate a continuous executable optimized action sequence; S43: Perform three-dimensional visualization processing on the optimized action sequence and the original action sequence based on the double-buffer rendering technology to generate a visualization correction scheme. The visualization correction scheme includes a comparison dual-view of the action skeleton models before and after optimization, a heat map of joint angle differences, and a dynamic marking box for key deviation parts.
[0012] In a second aspect, the present invention provides a ball game action evaluation device based on a large model. The device is configured with the following modules: A data acquisition and processing module, which is used to collect the original action data of the trainee based on multi-source sensors, and perform time and space synchronization processing and noise data suppression processing on the collected original action data to generate a trainee action data set; A spatio-temporal correlation feature module, which is used to perform separation and extraction processing on the human joint motion features and the motion equipment trajectory features in the trainee action data set to generate an action feature vector set containing spatio-temporal correlation features; An action evaluation module, which is used to perform action quality deviation analysis processing on the action feature vector set based on a large model including a contrast learning mechanism to generate an action evaluation result including a comprehensive score and a key action deviation term; A correction scheme generation module, which is used to perform inverse kinematics optimization processing based on the action evaluation result to generate a visualization correction scheme including three-dimensional action comparison information.
[0013] In a third aspect, the present application provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, any of the above-mentioned ball action evaluation methods based on a large model is implemented.
[0014] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, any of the above-mentioned ball action evaluation methods based on a large model is implemented.
[0015] In summary, the ball action evaluation method based on a large model provided by the present invention collects and preprocesses multi-source sensor data, extracts spatio-temporal correlation features from human joint movement features and instrument trajectory features, and performs noise suppression and synchronization calibration to generate a high-precision student action data set; constructs an action feature vector set based on these data, analyzes the action quality deviation using a large model with a contrastive learning mechanism, and generates an evaluation result including a comprehensive score and key deviation items; further uses an inverse kinematics optimization algorithm to deeply process the evaluation result and generate a visual correction plan including three-dimensional comparison information. This process can effectively solve the limitations of traditional action evaluation methods in terms of dynamics, complexity, and individual differences, and make full use of the feature extraction capabilities of multi-source sensor data and deep learning models. Through the analysis of a large model with a contrastive learning mechanism, the deep-level correlations between action features are mined, thereby enhancing the feature expression ability of the evaluation model. At the same time, the inverse kinematics optimization algorithm can enhance the model's ability to generate action correction plans, thereby improving the pertinence and effectiveness of correction suggestions. The visual correction plan further improves the interpretability of the evaluation result, provides intuitive action improvement guidance for athletes and coaches, helps to accurately depict action details in sports training, optimize training plans, reduce the risk of sports injuries, and improve training efficiency and competitive level.
[0016] For better understanding and implementation, the present invention will be described in detail below with reference to the accompanying drawings. Description of the Drawings
[0017] Figure 1 It is a schematic flow chart of the ball action evaluation method based on a large model provided by an embodiment of the present application; Figure 2 It is a schematic flow chart of generating an action evaluation result provided by an embodiment of the present application; Figure 3 It is a schematic flow chart of generating a contribution degree parameter provided by an embodiment of the present application; Figure 4 It is a schematic structural diagram of a ball action evaluation device based on a large model provided by another embodiment of the present application. Detailed Embodiments
[0018] To facilitate the understanding of the present invention, the present invention will be described more comprehensively below with reference to the relevant drawings. Preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the understanding of the disclosure of the invention more thorough and comprehensive.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this invention belongs. The terms used in the description of the invention herein are for the purpose of describing specific embodiments only and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the associated listed items.
[0020] In one embodiment, as Figure 1 shown, a ball motion evaluation method based on a large model is provided. In this embodiment, an example is given where this method is applied to a terminal. It can be understood that this method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps: S1: Collect the original motion data of the trainee based on multi-source sensors, and perform time and space synchronization processing and noise data suppression processing on the collected original motion data to generate a trainee motion data set.
[0021] Specifically, the system non-invasively collects the motions of the trainee through a multi-source sensor network deployed outside the body to ensure the convenience and efficiency of data acquisition. This network consists of a high-resolution binocular vision system, a depth sensor, and an inertial measurement unit (IMU). All sensors are fixed around the training ground to avoid any interference with the trainee's motions. The binocular vision system uses the principle of stereoscopic imaging to capture the three-dimensional coordinates of human joints and achieves sub-millimeter spatial accuracy through parallax calculation. The depth sensor measures the distance information between the human body and the equipment in the three-dimensional space in real time through infrared structured light technology. The inertial measurement unit is deployed near the equipment and records its six-degree-of-freedom dynamic parameters, including three-axis acceleration and three-axis angular velocity.
[0022] Preferably, the system can adopt a timestamp-based synchronization algorithm to align different modality data in the time dimension to ensure the continuity and consistency of the motion sequence. To cope with environmental light changes and occasional occlusions, the visual data is processed by adaptive histogram equalization to enhance edge features while suppressing overexposed areas. The depth data is denoised by bilateral filtering to retain edge details. The IMU data is corrected for drift using a Kalman filter, and the acceleration and angular velocity information are fused using a complementary filtering algorithm to output stable Euler angles and quaternion representations.
[0023] The system can further perform spatio-temporal domain interpolation on the occluded parts through the U-Net architecture in deep learning, and use context information to reconstruct the missing data to ensure the integrity of the action sequence. The preprocessed data is integrated into the trainee action dataset and stored in a four-dimensional tensor structure of sample × time × space × modality, where the spatial dimension includes X, Y, and Z coordinates, and the modality dimension distinguishes visual, depth, and IMU data, providing a structured input for subsequent feature extraction.
[0024] S2: Perform separate extraction processing on the human joint motion features and the motion equipment trajectory features in the trainee action dataset to generate an action feature vector set containing spatio-temporal correlation features.
[0025] Specifically, the system deeply analyzes the trainee action dataset to separately extract human joint motion features and motion equipment trajectory features. The extraction of human joint motion features is based on the three-dimensional coordinate sequence of joint points. The system first calculates kinematic parameters such as the angles, angular velocities, and angular accelerations of the joint points. These parameters are obtained from the coordinate sequence through numerical differentiation and integration methods, reflecting the dynamic changes of the human body during movement. To reduce the data dimension and highlight key features. Preferably, the system can use principal component analysis (PCA) to perform dimensionality reduction processing on the kinematic parameters and extract the most representative feature vectors.
[0026] The extraction of motion equipment trajectory features focuses on the motion path and dynamic characteristics of the equipment. The system extracts the three-dimensional coordinate sequence of the key points of the equipment from the dataset, for example, extracts the data of the center of the racket face, and calculates parameters such as the speed, acceleration, and curvature of the trajectory. These parameters can be feature-fused through a Gaussian mixture model to generate a feature vector that can characterize the motion pattern of the equipment. The Gaussian mixture model fits the data distribution through a probability density function and can effectively capture the complex features of the trajectory.
[0027] Through the dynamic time warping (DTW) algorithm, the system aligns the human joint motion features and the equipment trajectory features in the time dimension and extracts the correlation between the two in the time series. In the spatial dimension, the system calculates parameters such as the relative position, distance, and included angle between the human joint points and the equipment trajectory through a geometric transformation algorithm to generate spatial correlation features. These spatio-temporal correlation features are integrated into the action feature vector set, providing comprehensive feature input for subsequent action quality assessment.
[0028] S3: Perform action quality deviation analysis processing on the action feature vector set based on a large model containing a contrast learning mechanism to generate an action evaluation result containing a comprehensive score and key action deviation items.
[0029] Specifically, the system can use a large model with a contrastive learning mechanism to deeply analyze the action feature vector set. Contrastive learning enhances the discriminative ability of the model by constructing positive and negative sample pairs. Positive samples are extracted from the standard action database and are similar to the trainee's actions; negative samples are generated through data augmentation techniques and are significantly different from the trainee's actions. The model optimizes its parameters through a contrastive loss function (such as the InfoNCE loss), making positive samples closer and negative samples farther apart in the feature space, thereby improving the ability to distinguish action features.
[0030] The large model architecture is based on Transformer and can effectively process high-dimensional time-series data. Transformer captures the global dependencies between feature vectors through the self-attention mechanism, avoiding the gradient vanishing problem of traditional recurrent neural networks. The encoder part of the model performs multi-layer feature extraction on the input features, and the decoder part generates the action quality assessment results. During the training process, the system uses the labeled standard action dataset and the trainee action dataset to optimize the model parameters through supervised learning to ensure the accuracy and reliability of the assessment results.
[0031] The action quality assessment results include a comprehensive score and key action deviation terms. The comprehensive score is calculated through a weighted average method based on multi-dimensional indicators such as action normality, instrument trajectory accuracy, and human joint coordination. The key action deviation terms are identified through the attention mechanism. The model automatically learns the feature positions that have the greatest impact on the assessment results during the feature extraction process, and these positions correspond to the significant deviations in the trainee's actions. The system further conducts a quantitative analysis of the deviation terms to generate a detailed deviation report, which includes the position, degree, and improvement direction of the deviation.
[0032] S4: Perform inverse kinematics optimization processing based on the action assessment results to generate a visual correction plan containing three-dimensional action comparison information.
[0033] Specifically, the system performs inverse kinematics optimization according to the action assessment results to generate a corrected action posture. Inverse kinematics optimization adjusts the motion parameters of the human joint points to make the trainee's actions as close as possible to the standard actions. Specifically, the system first defines the target postures, which are extracted from the standard action database and include standard joint angles and instrument trajectories. During the optimization process, the system uses an algorithm based on gradient descent to iteratively adjust the joint point positions to minimize the difference between the trainee's actions and the target postures. To ensure that the optimization results conform to the laws of human kinematics, the system introduces human physiological constraints, such as joint range of motion and muscle strength limitations, which are obtained through previous biomechanics experiments.
[0034] Preferably, the system can generate intermediate transitional postures between the original actions and the corrected actions of the trainee through an interpolation algorithm, and construct a dynamic three-dimensional comparison model. During the generation of transitional postures, the system ensures that the posture changes at each step conform to physical laws and avoids unnatural movements. The key deviation points are automatically marked in the comparison model, and the positions and improvement directions of the deviations are intuitively displayed through color coding and arrow indication. The system further converts the comparison model into a dynamic three-dimensional display format, supporting frame-by-frame playback and real-time interaction, to help the trainee intuitively understand the action deviations and correction methods.
[0035] The output forms of the visualized correction scheme are diverse, including videos, animations, and interactive 3D models. The scheme can not only include three-dimensional action comparison information, but also generate personalized correction suggestions by combining physiological characteristics such as the height, weight, and strength level of the trainee. These suggestions are presented in the form of text descriptions and graphical annotations to ensure that the trainee can clearly understand and apply them to actual training.
[0036] In summary, the ball game action evaluation method based on a large model provided by the present invention collects and preprocesses multi-source sensor data, extracts spatio-temporal correlation features from human joint movement features and instrument trajectory features, and performs noise suppression and synchronization calibration to generate a high-precision trainee action data set; constructs an action feature vector set based on these data, uses a large model with a contrastive learning mechanism to analyze the action quality deviation, and generates an evaluation result including a comprehensive score and key deviation items; further uses an inverse kinematics optimization algorithm to deeply process the evaluation result and generate a visualized correction scheme including three-dimensional comparison information. This process can effectively solve the limitations of traditional action evaluation methods in terms of dynamics, complexity, and individual differences, and make full use of the feature extraction capabilities of multi-source sensor data and deep learning models. Through the analysis of the large model with a contrastive learning mechanism, the deep-level correlations between action features are mined, thereby enhancing the feature expression ability of the evaluation model. At the same time, the inverse kinematics optimization algorithm can enhance the model's ability to generate action correction schemes, thereby improving the pertinence and effectiveness of the correction suggestions. The visualized correction scheme further improves the interpretability of the evaluation result, provides intuitive action improvement guidance for athletes and coaches, helps to accurately depict action details in sports training, optimize training plans, reduce the risk of sports injuries, and improve training efficiency and competitive level.
[0037] In one embodiment, step S1 of the ball game action evaluation method based on a large model provided by the present invention specifically includes the following steps: S11: Collect the trainee and the sports instrument through multi-view optical sensors to generate three-dimensional position data of the trainee's joint points and instrument usage data containing the rotation speed and acceleration data of the sports instrument.
[0038] Specifically, the system performs non-contact data acquisition on trainees and sports equipment through a multi-view optical sensor network deployed outside the body, ensuring the convenience and efficiency of data acquisition. This network consists of a high-resolution binocular vision system and depth sensors, and all sensors are fixed around the training venue to avoid any interference with the trainees' movements. The binocular vision system uses the principle of stereo imaging to capture the three-dimensional position data of human joint points, achieving sub-millimeter spatial accuracy through parallax calculation. The depth sensors measure the rotational speed and acceleration data of sports equipment in real time through infrared structured light technology.
[0039] The binocular vision system captures the same scene from different angles through two cameras and calculates depth information using the parallax principle. Parallax refers to the position difference of the same object on the imaging planes of the two cameras. The greater the parallax, the closer the object. The system finds corresponding points in the left and right images through a stereo matching algorithm, calculates the parallax map, and then generates a depth map. The infrared structured light technology projects infrared light with a known pattern and measures the degree of pattern deformation to calculate depth information, which has the advantages of high precision and anti-environmental light interference. The timestamp synchronization algorithm embeds accurate timestamps in each data packet to ensure the temporal alignment of data from different sensors, usually implemented using the Network Time Protocol (NTP) or dedicated synchronization hardware.
[0040] Preferably, the system can adopt a timestamp-based synchronization algorithm to align data of different modalities in the time dimension, ensuring the continuity and consistency of the action sequence. To cope with environmental light changes and occasional occlusions, the visual data is processed by adaptive histogram equalization to enhance edge features while suppressing overexposed areas. The depth data is denoised by bilateral filtering to retain edge details. The preprocessed data is integrated into the three-dimensional position data of the trainee's joint points and the equipment usage data containing the rotational speed and acceleration data of the sports equipment, providing a structured input for subsequent processing.
[0041] S12: Perform spatio-temporal compensation processing on the missing parts of the three-dimensional position data and the equipment usage data based on the rotation group interpolation compensation algorithm to generate a time-space synchronized action sequence.
[0042] Specifically, the rotation group interpolation compensation algorithm is an interpolation method based on Lie group theory for handling the missing and compensation of rotation data. The three-dimensional rotation group (Special Orthogonal Group, SO(3)) represents all rotations in three-dimensional space, parameterized by quaternions or Euler angles. Interpolation is performed by exponential mapping on the rotation group to ensure that the interpolation results are smooth and continuous in the rotation space. This algorithm can handle the periodic and non-linear characteristics of rotation data, avoiding the errors caused by traditional linear interpolation. The spatio-temporal compensation process combines time series interpolation and spatial interpolation to ensure the consistency of data in the time and space dimensions, usually implemented using cubic spline interpolation or Bezier curves.
[0043] Specifically, the system performs spatio-temporal compensation processing on the missing parts of the three-dimensional position data and instrument usage data based on the rotation group interpolation compensation algorithm. The rotation group interpolation compensation algorithm minimizes the marker point residuals by optimizing the objective function, and accurately calculates the three-dimensional attitude angles and displacement vectors of each joint point. For missing data, the algorithm interpolates a set of uniformly spaced points, whose variations are between the maximum and minimum noise levels, to generate a noise profile. Finally, the system selects the sub-bands with an energy ratio exceeding 95% for reconstruction to generate the denoised trajectory features. Through this algorithm, the system can effectively handle data missing and noise problems, generate time-space synchronized action sequences, and provide complete and accurate data support for subsequent evaluations.
[0044] S13: Perform smoothing filtering processing based on polynomial fitting on the time-space synchronized action sequence to generate a student action data set that eliminates high-frequency noise.
[0045] Specifically, the system performs smoothing filtering processing based on polynomial fitting on the time-space synchronized action sequence to generate a student action data set that eliminates high-frequency noise. Polynomial fitting fits the data using a polynomial function of an appropriate order to remove high-frequency noise and retain the main trend. The system further optimizes the data quality using a time series denoising model based on Transformer. The Transformer encoder contains global self-attention layers and feed-forward networks, which can process the entire input sequence simultaneously to learn global dependencies. The model is trained on synthetic clean signal / noise signal pairs, using the Adam optimizer, the mean squared error (MSE) loss function, and monitoring the mean absolute error (MAE) during training. The trained model can effectively remove noise, generate a smooth and accurate student action data set, and provide high-quality input data for subsequent evaluations.
[0046] In one embodiment, step S2 of the ball game action evaluation method based on a large model provided by the present invention specifically includes the following steps: S21: Calculate and process the joint rotation angles of the trainee's motion data set based on inverse kinematics technology to generate a kinematic feature matrix composed of the relative rotation angles of each joint.
[0047] Specifically, the system uses inverse kinematics technology to calculate and process the joint rotation angles of the trainee's motion data set. Inverse kinematics is a technology for solving joint variables through known end-effector positions and postures. In this embodiment, the end effector can be a sports instrument in the trainee's hand, such as a racket or a club. The system calculates the rotation angles of each joint of the human body through the inverse kinematics algorithm according to the end position and posture of the sports instrument.
[0048] Inverse kinematics algorithms usually include closed-form solutions, numerical solutions, and screw algebra methods, etc. This system uses a numerical solution and gradually approaches the true value of the joint variables through iterative calculations. The numerical solution has strong adaptability and can handle complex kinematic models. The system first establishes a kinematic model of the human joints and represents the relationship between human joint points as a series of transformation matrices. Then, through iterative calculations, the joint variables are adjusted to make the end position and posture of the sports instrument as close as possible to the actual measured values.
[0049] Through inverse kinematics technology, the system can accurately calculate the relative rotation angles of each joint of the trainee in ball sports and integrate these angle data into a kinematic feature matrix. This matrix contains the rotation characteristics of each joint point of the human body during the movement process and provides key input data for subsequent action evaluation.
[0050] S22: Extract and process the motion state parameters of the motion instrument trajectory data in the trainee's motion data set based on differential kinematics to generate an instrument trajectory feature set containing linear velocity, angular velocity, and acceleration.
[0051] Specifically, the system uses differential kinematics to extract and process the motion state parameters of the motion instrument trajectory data in the trainee's motion data set. Differential kinematics is a discipline that studies the relationship between joint velocities and end-effector velocities. In this system, through the differential kinematics algorithm, motion state parameters such as the linear velocity, angular velocity, and acceleration of the motion instrument can be extracted.
[0052] The differential kinematics algorithm is based on the Jacobian matrix of the kinematic model, which describes the linear relationship between joint velocities and end-effector velocities. The system calculates the Jacobian matrix through numerical differentiation methods to obtain the linear velocity and angular velocity of the motion instrument. The acceleration is obtained from the velocity data through second-order differentiation or numerical integration methods.
[0053] The system processes the trajectory data of the sports equipment, extracts its motion state parameters, and integrates these parameters into the equipment trajectory feature set. This feature set contains information such as linear velocity, angular velocity, and acceleration of the sports equipment during movement, providing comprehensive input for subsequent action evaluation.
[0054] S23: Perform multi-modal feature fusion processing on the kinematic feature matrix and the equipment trajectory feature set based on the dynamic weighted fusion algorithm to generate a fused action feature vector set.
[0055] Specifically, the system uses the dynamic weighted fusion algorithm to perform multi-modal feature fusion processing on the kinematic feature matrix and the equipment trajectory feature set. The dynamic weighted fusion algorithm generates a fused action feature vector set by assigning different weights to different features and dynamically adjusting the importance of the features. The core of the dynamic weighted fusion algorithm lies in the dynamic adjustment of weights. The system automatically adjusts the weight coefficients according to the correlation and contribution degree of the features. For example, for the rotation angles of some key joints, the system will assign higher weights; for the trajectory parameters of the sports equipment, the system will also assign corresponding weights according to their impact on the action quality. The adjustment of weights can be achieved through machine learning algorithms or expert systems. The calculation formula for the action feature vector set is: ; where, is the action feature vector set, is the rotation feature vector of the k th joint in the kinematic feature matrix, is the joint contribution weight coefficient, is the equipment trajectory feature set, including linear velocity, angular velocity, and acceleration, is the equipment feature weighting coefficient, is the feature dimension splicing operation. Through the dynamic weighted fusion algorithm, the system can comprehensively consider the human joint motion features and the equipment trajectory features, generate a comprehensive action feature vector set, and provide reliable data support for subsequent action evaluation and optimization.
[0056] In one embodiment, as Figure 2 shown, S3 of a ball action evaluation method based on a large model provided by the present invention specifically includes the following steps: S31: Perform contrast learning model construction processing based on the action feature vector set to construct a neural network model including a similarity contrast mechanism.
[0057] Specifically, the system deeply analyzes the action feature vector set through a contrastive learning model to construct a neural network model with a similarity contrast mechanism. Contrastive learning is a self-supervised learning method that learns feature representations by maximizing the similarity of positive sample pairs and the difference of negative sample pairs. In this embodiment, the positive sample pair consists of the trainee's action feature vector and the standard action template, while the negative sample pair consists of the trainee's action feature vector and the action feature vectors of other trainees. This design enables the model to effectively distinguish different action features, thereby improving the accuracy of action evaluation. The expression of the training objective function of the neural network model is: ; Wherein, is the training objective function, is the i th sample in the action feature vector set, is the pre-stored standard action template, is the deviation amount of the relative joint rotation angle from the standard angle, is the temperature coefficient that controls the similarity distribution range, is the hyperparameter that adjusts the sparse constraint intensity, is the set of trainable parameters of the neural network model, is the number of batch samples for model training.
[0058] During the training process, the system optimizes the model parameters through the similarity contrast mechanism, making the positive sample pairs closer in the feature space and the negative sample pairs farther away. The similarity function usually uses cosine similarity or Euclidean distance to measure the similarity between two feature vectors. The temperature coefficient controls the range of the similarity distribution. A smaller value will make the similarity distribution more concentrated, while a larger value will make the distribution smoother. The sparse constraint term is used to prevent model overfitting and ensure the generalization ability of the model. In this way, the system can effectively learn the deep representation of action features, providing a solid foundation for subsequent action evaluation.
[0059] S32: Input the action feature vector into the neural network model for gradient backpropagation processing to generate contribution degree parameters reflecting the influence degree of each joint pair on the action deviation.
[0060] Specifically, gradient backpropagation is the core algorithm for neural network training. By calculating the gradient of the loss function with respect to the model parameters, the model parameters are updated to minimize the prediction error. In this system, gradient backpropagation is not only used to update the model parameters but also to generate contribution degree parameters, which reflect the influence degree of each joint on the action deviation. Specifically, as Figure 3As shown, the contribution parameter is obtained through the following steps: S321: Based on the chain rule for differentiation, perform gradient backpropagation calculation on the action feature vector at the output layer of the neural network model to generate the original gradient matrix for each joint.
[0061] Specifically, the chain rule for differentiation calculates the gradient of the loss function with respect to the network parameters and updates the network parameters layer by layer to make the network output closer to the true value. Specifically, the system first passes the input samples to the neural network through forward propagation to obtain the output value of the network. Then, by calculating the loss function, the difference between the output value of the network and the true value is used as the input of the loss function to obtain the error between the predicted value and the true value, and according to the value of the loss function, the gradient of each parameter with respect to the loss function is calculated layer by layer. At the same time, using the chain rule, the gradient of the previous layer is multiplied by the derivative of the activation function of the current layer with respect to the input to obtain the gradient of the current layer and pass it to the previous layer, calculating layer by layer until the input layer. Finally, the system uses the gradient descent algorithm to adjust the value of each parameter in the opposite direction of the gradient, so that the loss function gradually decreases. In this way, the system can generate the original gradient matrix for each joint, providing a basis for subsequent time series smoothing processing.
[0062] S322: Based on the moving window average algorithm, perform time series smoothing processing on the original gradient matrix to generate denoised gradient data.
[0063] Specifically, the moving window average algorithm slides a window with a fixed width over the time series data and calculates the average value of the data within the window to smooth the data and remove high-frequency noise. The calculation formula for the denoised gradient data is: ; where is the denoised gradient data, is the window width, is the k th joint's original gradient at the i th moment.
[0064] S323: Based on the Z-score normalization algorithm, perform normalization processing on the denoised gradient data to generate the contribution parameter.
[0065] Specifically, Z-score normalization converts the data into a standard normal distribution with a mean of 0 and a standard deviation of 1, making the data comparable. The calculation formula for the contribution parameter is: ; where is the contribution parameter, is the mean of all joint gradients, is the standard deviation. The Z-score normalization algorithm makes data comparable by converting it into a standard normal distribution with a mean of 0 and a standard deviation of 1. This method can effectively eliminate the dimensional differences in data and improve data comparability. In this system, the Z-score normalization algorithm is not only used for normalization processing but also for enhancing the interpretability of contribution degree parameters, making the influence degree of each joint on action deviation more intuitive. In this way, the system can generate contribution degree parameters that reflect the influence degree of each joint on action deviation, providing a scientific basis for subsequent action evaluation and optimization.
[0066] S33: Based on the contribution degree parameters and the pre-stored standard action templates, perform similarity matching processing on the action feature vectors in the neural network model to generate an action evaluation result including a comprehensive score and key action deviation items.
[0067] Specifically, similarity matching evaluates the normality of the trainee's actions by calculating the similarity between the trainee's action feature vectors and the standard action templates. Similarity calculation usually uses cosine similarity or Euclidean distance, which can effectively measure the similarity between two feature vectors; the comprehensive score is calculated by the weighted average method, and the weights are determined by the contribution degree parameters. Specifically, as Figure 2 shown, the action evaluation result is generated through the following steps: S331: Based on the cosine similarity algorithm, perform matching degree calculation processing on the action feature vectors and the standard action templates to generate a comprehensive score.
[0068] Specifically, cosine similarity is used to measure the similarity in direction between two vectors. The system first compares the trainee's action feature vectors with the pre-stored standard action templates and calculates the cosine similarity between them. The calculation formula for cosine similarity is: ; where, is the trainee's action feature vector, is the standard action template vector. The similarity value ranges from 0 to 1, and the closer the value is to 1, the closer the action is to the standard template. The system maps the similarity value to the score range from 0 to 100 to generate a comprehensive score. The mapping formula is: ; Through this method, the system can measure the similarity between the actions of the trainees and the standard actions, providing an objective scoring basis for subsequent evaluations. The cosine similarity algorithm performs well in high-dimensional spaces and is particularly suitable for measuring the similarity of feature vectors. Different from the Euclidean distance, the cosine similarity is not affected by the vector length and is more suitable for measuring the similarity of feature vectors. The similarity value ranges from -1 to 1. The closer the value is to 1, the more similar the directions are; the closer the value is to -1, the more opposite the directions are. The system converts the similarity value into a score from 0 to 100 through a linear mapping to ensure the intuitiveness and interpretability of the score.
[0069] S332: Perform anomaly detection processing on the comprehensive score based on the dynamic threshold determination technology to generate a dynamic alarm threshold.
[0070] Specifically, the dynamic threshold determination technology dynamically adjusts the alarm threshold by analyzing historical scoring data to ensure the accuracy and adaptability of anomaly detection. The system first calculates the mean of the historical scoring data and the standard deviation , and then generates a dynamic alarm threshold according to the following formula: ; where is the dynamic adjustment coefficient, which is usually determined according to the distribution of historical data and the application scenario. The system monitors the comprehensive score in real time to determine whether it is lower than the dynamic alarm threshold. If it is lower than the threshold, the anomaly detection mechanism is triggered to provide a basis for subsequent action deviation analysis.
[0071] The dynamic threshold determination technology dynamically adjusts the threshold through statistical analysis of historical data to ensure the accuracy and adaptability of anomaly detection. The mean and the standard deviation are the core statistical quantities describing the data distribution, and the dynamic adjustment coefficient controls the strictness of the threshold. This method can effectively cope with the changes in data distribution and improve the robustness of anomaly detection.
[0072] S333: Identify whether the comprehensive score is lower than the dynamic alarm threshold. If it is lower, perform anomaly joint positioning processing on the contribution degree parameter to generate a key action deviation term.
[0073] Specifically, the system identifies whether the comprehensive score is lower than the dynamic alarm threshold. If it is lower, the system performs abnormal joint positioning on the contribution parameters to generate key action deviation items. The contribution parameters reflect the influence degree of each joint on the action deviation. By analyzing these parameters, the system can accurately locate the key joints causing abnormal actions. Specifically, the system first compares the comprehensive score with the dynamic alarm threshold. If the comprehensive score is lower than the dynamic alarm threshold, the system will trigger an abnormal handling process. At this time, the system analyzes the contribution parameters and identifies the joint features with larger values. The joints corresponding to these features have the greatest influence on the action deviation and need to be focused on. The system sets a contribution threshold, screens out the joints whose contribution parameters exceed this threshold, and determines them as key action deviation items.
[0074] To further improve the accuracy of positioning, the system can combine domain knowledge and expert experience to prioritize the key joints. For example, the movement of certain joints has a decisive impact on the success rate of specific actions, and the deviations of these joints should be considered first. In this way, the system can generate key action deviation items and provide specific improvement directions for the trainees.
[0075] S334: Integrate the comprehensive score and the key action deviation items to generate an action evaluation result including the comprehensive score and the key action deviation items.
[0076] Specifically, the comprehensive score provides an overall quality assessment of the trainee's action, while the key action deviation items point out specific improvement directions. By integrating these two parts of information, the system can provide a comprehensive action evaluation result for the trainee. Specifically, the system first integrates the comprehensive score and the key action deviation items into a structured evaluation report. The evaluation report contains two main parts: one is the comprehensive score, which intuitively shows the overall quality of the trainee's action in numerical form; the other is the key action deviation items, which list in detail the joints that need to be improved and their deviation degrees in a list form. The system can also use visualization technology to mark the key action deviation items on the three-dimensional action model to help the trainee more intuitively understand the position and degree of the deviation.
[0077] In addition, the system can generate personalized training suggestions according to the severity of the key action deviation items. For example, for joints with larger deviations, the system can recommend specific training exercises or adjustment methods. In this way, the system not only provides the evaluation result but also provides scientific guidance for the trainee's subsequent training.
[0078] A ball game action evaluation method based on a large model provided above constructs a neural network model containing a similarity comparison mechanism, uses an action feature vector set for deep feature learning, and optimizes the training objective function of the model to generate an action quality evaluation result. Through the construction and optimization of the contrast learning model, this method can effectively solve the limitations of traditional action evaluation methods in feature expression and deviation analysis. Through gradient backpropagation processing, contribution degree parameters of the influence degree of each joint on the action deviation are generated, thereby improving the model's recognition ability for key action deviations. The similarity matching process combines with a standard action template to generate an evaluation result containing a comprehensive score and key action deviation items, significantly improving the objectivity and pertinence of the evaluation. Through the deep feature extraction ability of the contrast learning mechanism, this process explores the complex relationships between action features, thereby improving the feature expression ability of the evaluation model. At the same time, the gradient backpropagation algorithm can enhance the model's sensitivity to action deviations, thereby improving the reliability and stability of the evaluation results. The generation of the contribution degree parameters further improves the interpretability of the evaluation results, provides intuitive action improvement guidance for athletes and coaches, helps to accurately depict action details in sports training, optimize training plans, reduce the risk of sports injuries, and improve training efficiency and competitive level.
[0079] In one embodiment, S4 of the ball game action evaluation method based on a large model provided by the present invention specifically includes the following steps: S41: Process the key action deviation items in the action evaluation result based on the inverse kinematics optimization algorithm to generate joint angle correction amounts.
[0080] Specifically, the system uses the inverse kinematics optimization algorithm to process the key action deviation items in the action evaluation result to generate joint angle correction amounts. The inverse kinematics optimization algorithm is a technique for solving joint variables through known end-effector positions and postures. In this embodiment, the end effector can be a sports instrument in the trainee's hand, such as a racket or a club. The system uses the inverse kinematics algorithm to calculate the rotation angles of each joint of the human body based on the end position and posture of the sports instrument, and compares them with the standard action template to identify the key action deviation items.
[0081] The inverse kinematics optimization algorithm usually includes closed-form solutions, numerical solutions, and screw algebra methods, etc. In this embodiment, the system uses the numerical solution method to gradually approximate the true value of the joint variables through iterative calculations. The numerical solution method has strong adaptability and can handle complex kinematic models. The system first establishes a kinematic model of the human joints and represents the relationships between human joint points as a series of transformation matrices. Then, through iterative calculations, the joint variables are adjusted to make the end position and posture of the sports instrument as close as possible to the standard action template. This adjustment process not only optimizes the joint angles but also ensures the coherence and naturalness of the actions.
[0082] S42: Perform kinematic interpolation on the joint angle correction amount based on the trajectory smoothing technique to generate a continuous and executable optimized action sequence.
[0083] Specifically, the trajectory smoothing technique smooths the data and removes high-frequency noise by sliding a window with a fixed width over the time-series data and calculating the average value of the data within the window. In this embodiment, the system generates a smooth action trajectory on the time series through a kinematic interpolation algorithm. The kinematic interpolation algorithm gradually adjusts the joint angles by calculating the differences between adjacent joint angles, making the action sequence more coherent. The system first performs preliminary processing on the input trajectory data, such as denoising and outlier processing, to create a good starting point for interpolation. Then, according to the complexity of the trajectory and the requirements for smoothness, methods such as linear interpolation and cubic spline interpolation are selected. By optimizing the distribution of interpolation nodes and dynamically adjusting the positions of control points, the system can generate a more natural and smooth curve. Finally, through local error analysis and global error minimization, the system balances the smoothness of the curve and the fidelity to the original data to generate a continuous and executable optimized action sequence.
[0084] S43: Perform three-dimensional visualization processing on the optimized action sequence and the original action sequence based on the double-buffer rendering technique to generate a visualization correction plan, which includes a comparison dual-view of the action skeleton models before and after optimization, a heat map of joint angle differences, and a dynamic marking box for key deviation parts.
[0085] Specifically, the double-buffer rendering technique is a technique used to reduce screen tearing and improve rendering efficiency. By alternately rendering and displaying between two buffers, it ensures the smoothness and stability of the screen. The system first converts the optimized action sequence and the original action sequence into the data format of three-dimensional skeleton models. Then, the optimized action sequence and the original action sequence are respectively rendered in the double buffers to generate a comparison dual-view. The use of the double buffers ensures the efficiency of the rendering process and the stability of the screen. The system generates a heat map of joint angle differences by calculating the joint angle differences. The heat map intuitively shows the degree of deviation of the joint angles through color coding, helping trainees quickly identify key deviation parts. In addition, the system marks the key deviation parts in the three-dimensional model and highlights the joints that need to be improved through a dynamic marking box. The dynamic marking box changes with the change of the action sequence, providing real-time visual feedback. Finally, the visualization correction plan generated by the system includes a comparison dual-view of the action skeleton models before and after optimization, a heat map of joint angle differences, and a dynamic marking box for key deviation parts, providing intuitive action deviation analysis and correction guidance for trainees.
[0086] Preferably, as Figure 4 shown, the present invention provides a ball game action evaluation device 500 based on a large model, and the device is configured with the following modules: The data acquisition and processing module 510 is used to collect the original motion data of the trainee based on multi-source sensors, and perform time and space synchronization processing and noise data suppression processing on the collected original motion data to generate a trainee motion data set; The spatio-temporal correlation feature module 520 is used to perform separation and extraction processing on the human joint motion features and the motion equipment trajectory features in the trainee motion data set to generate an action feature vector set containing spatio-temporal correlation features; The action evaluation module 530 is used to perform action quality deviation analysis processing on the action feature vector set based on a large model containing a contrast learning mechanism to generate an action evaluation result containing a comprehensive score and key action deviation items; The correction scheme generation module 540 is used to perform inverse kinematics optimization processing based on the action evaluation result to generate a visual correction scheme containing three-dimensional action comparison information.
[0087] In summary, the ball game action evaluation device based on a large model provided by the present invention extracts spatio-temporal correlation features from human joint motion features and equipment trajectory features through multi-source sensor data acquisition and preprocessing, and performs noise suppression and synchronization calibration to generate a high-precision trainee motion data set; constructs an action feature vector set based on these data, analyzes the action quality deviation using a large model with a contrast learning mechanism, and generates an evaluation result containing a comprehensive score and key deviation items; further uses the inverse kinematics optimization algorithm to deeply process the evaluation result to generate a visual correction scheme containing three-dimensional comparison information. This process can effectively solve the limitations of traditional action evaluation methods in terms of dynamics, complexity, and individual differences, and make full use of the feature extraction capabilities of multi-source sensor data and deep learning models. Through the analysis of the large model with a contrast learning mechanism, the deep-level correlation between action features is mined, thereby enhancing the feature expression ability of the evaluation model. At the same time, the inverse kinematics optimization algorithm can enhance the model's ability to generate action correction schemes, thereby improving the pertinence and effectiveness of correction suggestions. The visual correction scheme further improves the interpretability of the evaluation result, provides intuitive action improvement guidance for athletes and coaches, helps to accurately depict action details in sports training, optimize training plans, reduce the risk of sports injuries, and improve training efficiency and competitive level.
[0088] Preferably, the data acquisition and processing module 510 is configured with the following units: The motion data acquisition unit is used to collect the trainee and the motion equipment through multi-view optical sensors to generate three-dimensional position data of the trainee's joint points and equipment usage data containing the rotational speed and acceleration data of the motion equipment; The spatio-temporal compensation unit is used to perform spatio-temporal compensation processing on the missing parts of the three-dimensional position data and the equipment usage data based on the rotation group interpolation compensation algorithm to generate a time-space synchronized action sequence; A data smoothing processing unit for performing smoothing filtering processing based on polynomial fitting on the time-space synchronized action sequence to generate a student action data set that eliminates high-frequency noise.
[0089] Preferably, the spatio-temporal correlation feature module 520 is configured with the following units: A kinematic feature matrix generation unit for calculating the joint rotation angles of the student action data set based on inverse kinematics technology to generate a kinematic feature matrix composed of relative rotation angles of each joint; An instrument trajectory feature set generation unit for extracting motion state parameters from the motion instrument trajectory data in the student action data set based on differential kinematics to generate an instrument trajectory feature set including linear velocity, angular velocity, and acceleration; An action feature vector set generation unit for performing multi-modal feature fusion processing on the kinematic feature matrix and the instrument trajectory feature set based on a dynamic weighted fusion algorithm to generate a fused action feature vector set.
[0090] Preferably, the action evaluation module 530 is configured with the following units: A contrast learning model construction unit for constructing a contrast learning model based on the action feature vector set and constructing a neural network model including a similarity comparison mechanism; A contribution parameter generation unit for inputting the action feature vector into the neural network model for gradient backpropagation processing to generate contribution parameters indicating the degree of influence of each joint on the action deviation; An action evaluation result generation unit for performing similarity matching processing on the action feature vector in the neural network model based on the contribution parameter and a pre-stored standard action template to generate an action evaluation result including a comprehensive score and key action deviation items.
[0091] Preferably, the contribution parameter generation unit includes an original gradient matrix generation subunit, a denoised gradient data generation subunit, and a contribution parameter generation subunit. Among them, the original gradient matrix generation subunit is used to perform gradient backpropagation calculation on the action feature vector at the output layer of the neural network model based on the chain rule to generate an original gradient matrix for each joint; the denoised gradient data generation unit is used to perform temporal smoothing processing on the original gradient matrix based on the sliding window average algorithm to generate denoised gradient data; the contribution parameter generation subunit is used to perform normalization processing on the denoised gradient data based on the Z-score normalization algorithm to generate contribution parameters.
[0092] Preferably, the action evaluation result generation unit includes a comprehensive score generation subunit, a dynamic threshold generation subunit, a deviation term generation subunit, and an evaluation result generation subunit. Among them, the comprehensive score generation unit is used to calculate the matching degree between the action feature vector and the standard action template based on the cosine similarity algorithm, and generate a comprehensive score; the dynamic threshold generation unit is used to perform anomaly detection processing on the comprehensive score based on the dynamic threshold determination technology, and generate a dynamic alarm threshold; the deviation term generation unit is used to identify whether the comprehensive score is lower than the dynamic alarm threshold. If it is lower, it performs anomaly joint positioning processing on the contribution parameter to generate a key action deviation term; the evaluation result generation unit is used to integrate the comprehensive score and the key action deviation term to generate an action evaluation result including the comprehensive score and the key action deviation term.
[0093] Preferably, the correction scheme generation module 540 is configured with the following units: The joint angle correction amount generation unit is used to process the key action deviation term in the action evaluation result based on the inverse kinematics optimization algorithm to generate a joint angle correction amount; The optimized action sequence generation unit is used to perform kinematic interpolation processing on the joint angle correction amount based on the trajectory smoothing technology to generate a continuous executable optimized action sequence; The visualization scheme generation unit is used to perform three-dimensional visualization processing on the optimized action sequence and the original action sequence based on the double-buffer rendering technology to generate a visualization correction scheme. The visualization correction scheme includes a comparison dual-view of the action skeleton models before and after optimization, a heat map of joint angle differences, and a dynamic marking box for key deviation parts.
[0094] In one embodiment, the present application also provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the above-mentioned ball action evaluation method based on a large model.
[0095] In one embodiment, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the above-mentioned ball action evaluation method based on a large model.
[0096] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0097] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial descriptions of the method embodiments. The device embodiments described above are merely illustrative. The components described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present disclosure solution. A person of ordinary skill in the art can understand and implement it without creative efforts.
[0098] As described above, the above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various changes or substitutions, and these should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A ball action evaluation method based on a large model, characterized in that: The following steps are involved: S1: collecting the original motion data of the trainee based on multi-source sensors, and performing time and space synchronization processing and noise data suppression processing on the collected original motion data to generate a trainee motion data set; S2: Separate and extract the human joint motion features and the sports equipment trajectory features of the student motion data set to generate a motion feature vector set containing spatiotemporal correlation features; S3: performing action quality deviation analysis on the action feature vector set based on a large model including a contrastive learning mechanism to generate an action evaluation result including a comprehensive score and key action deviation items; S4: Perform inverse kinematics optimization processing based on the motion evaluation results to generate a visual correction solution containing three-dimensional motion comparison information.
2. The method according to claim 1, characterized in that The S1 includes: S11: Collecting data of the trainee and the sports equipment through multi-view optical sensors to generate three-dimensional position data of the trainee's joints and equipment usage data including rotation speed and acceleration data of the sports equipment; S12: performing spatiotemporal compensation processing on the missing parts of the three-dimensional position data and the instrument use data based on a rotation group interpolation compensation algorithm to generate a time-space synchronous action sequence; S13: Performing smoothing filtering processing based on polynomial fitting on the time-space synchronous action sequence to generate a student action data set with high-frequency noise eliminated.
3. The method according to claim 1, characterized in that The S2 includes: S21: performing joint rotation angle calculation processing on the student's action data set based on inverse kinematics technology to generate a kinematic feature matrix composed of relative rotation angles of each joint; S22: extracting motion state parameters from the motion equipment trajectory data in the student's motion data set based on differential kinematics to generate a device trajectory feature set including linear velocity, angular velocity and acceleration; S23: Perform multimodal feature fusion processing on the kinematic feature matrix and the instrument trajectory feature set based on a dynamic weighted fusion algorithm to generate a fused action feature vector set. The calculation formula of the action feature vector set is: ; in, is the action feature vector set, is the kinematic characteristic matrix k The rotation feature vector of each joint, is the joint contribution weight coefficient, is the instrument trajectory feature set, including linear velocity, angular velocity and acceleration, is the device characteristic weighting coefficient, It is the feature dimension concatenation operation.
4. The method according to claim 1, characterized in that: The S3 includes: S31: Performing a comparative learning model construction process based on the action feature vector set to construct a neural network model including a similarity comparison mechanism, wherein the training objective function expression of the neural network model is: ; in, is the training objective function, is the first i samples, Pre-stored standard action templates, is the deviation of the relative rotation angle of the joint from the standard angle, To control the temperature coefficient of the similarity distribution range, To adjust the hyperparameter of the sparsity constraint strength, is the set of trainable parameters of the neural network model, The number of batches to train the model; S32: Inputting the motion feature vector into the neural network model for gradient back propagation processing to generate contribution parameters of the influence degree of each joint on the motion deviation; S33: Based on the contribution parameter and the pre-stored standard action template, the action feature vector is subjected to similarity matching processing in the neural network model to generate an action evaluation result including a comprehensive score and key action deviation items.
5. The method according to claim 4, characterized in that The S32 includes: S321: performing gradient back propagation calculation processing on the action feature vector at the output layer of the neural network model based on a chain derivation algorithm to generate an original gradient matrix of each joint; S322: Performing temporal smoothing processing on the original gradient matrix based on a sliding window average algorithm to generate denoised gradient data. The calculation formula of the denoised gradient data is: ; in, To denoise the gradient data, is the window width, For the k The joints in i The original gradient of the moment; S323: normalizing the denoised gradient data based on the Z-score normalization algorithm to generate a contribution parameter, the calculation formula of the contribution parameter is: ; in, is the contribution parameter, is the mean of all joint gradients, is the standard deviation.
6. The method according to claim 4, characterized in that The S33 includes: S331: performing matching calculation processing on the action feature vector and the standard action template based on the cosine similarity algorithm to generate a comprehensive score; S332: Performing anomaly detection processing on the comprehensive score based on a dynamic threshold determination technology to generate a dynamic alarm threshold; S333: Identify whether the comprehensive score is lower than the dynamic alarm threshold, and if so, perform abnormal joint positioning processing on the contribution parameter to generate a key action deviation item; S334: Integrate the comprehensive score and the key action deviation item to generate an action evaluation result including the comprehensive score and the key action deviation item.
7. The method according to any one of claims 1 to 6, characterized in that: The S4 includes: S41: Processing the key motion deviation items in the motion evaluation results based on an inverse kinematics optimization algorithm to generate joint angle correction values; S42: performing kinematic interpolation processing on the joint angle correction amount based on trajectory smoothing technology to generate a continuously executable optimized action sequence; S43: Based on the double-buffer rendering technology, the optimized action sequence and the original action sequence are subjected to three-dimensional visualization processing to generate a visualization correction scheme, wherein the visualization correction scheme includes a comparative dual view of the action skeleton model before and after optimization, a joint angle difference heat map, and a dynamic marking box of key deviation parts.
8. A ball action evaluation device based on a large model, characterized in that: The device comprises: A data acquisition and processing module is used to acquire the original motion data of the trainee based on multi-source sensors, and to perform time and space synchronization processing and noise data suppression processing on the acquired original motion data to generate a student motion data set; A spatiotemporal correlation feature module is used to separate and extract the human joint motion features and the sports equipment trajectory features of the student motion data set to generate a motion feature vector set containing spatiotemporal correlation features; An action evaluation module, used for performing action quality deviation analysis on the action feature vector set based on a large model including a contrastive learning mechanism, and generating an action evaluation result including a comprehensive score and key action deviation items; The correction scheme generation module is used to perform inverse kinematics optimization processing based on the action evaluation results to generate a visual correction scheme containing three-dimensional action comparison information.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Movement human abnormal behavior identification method based on template matching
CN101719216A
Pedestrian refined identification method and device based on deep learning
CN106845415A
Human gesture recognition system and method
CN107220617A
Human body action detection and positioning method based on space-time combination
CN109784269A
Shadowboxing assessment method and system based on posture recognition
CN113947810A
Cited By
Multi-modal data driven caregiver training method and device, equipment and medium
CN120580907A
Badminton action data analysis method and system in combination with big data
CN120687958A
Badminton motion data analysis methods and systems combining big data
CN120687958B
Joint cooperation quantitative analysis method and device and electronic equipment
CN121330567A
User action execution standard degree scoring system of intelligent fitness equipment
CN121600593A
