Personalized exercise prescription customization method and device based on machine guide action
Through unsupervised learning autoencoder and inverted converter with few sample learning, 3D geometric features in human body movements are extracted and identified, and the problems of large calculation overhead and large annotation data in the existing technology are solved, achieving efficient and accurate Customized exercise prescriptions.
Patent Information
- Application Number
- CN202411133672.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing converter-based human pose estimation model is expensive to process high-temporal resolution videos, and is difficult to deploy in practical applications with limited computing resources. It requires a large amount of annotation data to achieve accurate pose estimation, which limits personalization. Wide application of exercise prescriptions.
Unsupervised learning autoencoder extracts 3D geometric features and combines inverted converters with few sample learning to identify and evaluate postures through the attention mechanism of the inverted converter to generate personalized motion prescriptions, reducing 2D or 3D annotations dependency.
It realizes high-precision human posture estimation under low computational complexity and small sample data, reduces data processing volume, and provides scientific and accurate personalized exercise suggestions and health management solutions.
Smart Images

Figure CN119049649A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision technology, and in particular to a method and device for customizing personalized exercise prescriptions based on machine-guided actions. Background Art
[0002] Scoliosis is a common spinal disease that affects people's physical health. Traditional treatments include surgery, braces, and physical therapy. However, these methods often have certain limitations, such as high surgical risks, inconvenience in wearing braces, and lack of personalization in physical therapy. With the development of artificial intelligence technology, combined with traditional Chinese medicine exercise and health methods, it is possible to provide personalized exercise prescriptions for different groups of people and form closed-loop health management. When using traditional Chinese medicine exercise therapy, it is necessary to predict and evaluate the posture of the human body to ensure the accuracy of the exercise.
[0003] At present, the computational complexity of the field of video-based 3D human pose estimation is becoming increasingly large, which limits the further development of this field. In traditional transformer-based human pose estimation models, it is necessary to achieve excellent performance by processing video sequences of hundreds of frames (usually 243 frames or even 351 frames) and maintain the full-length sequence representation in all layers of the transformer. However, since the computational complexity of the self-attention mechanism in the transformer is proportional to the square of the number of tokens (i.e., the number of video frames), these models inevitably bring huge computational overhead when processing video inputs with high temporal resolution, making them difficult to be widely deployed in practical applications with limited computing resources. Although directly shortening the length of the input sequence can improve the efficiency of the transformer, doing so will reduce the temporal receptive field of the model, thereby limiting the model from capturing rich spatiotemporal information and constraining performance improvement. Therefore, when pursuing efficient design strategies, maintaining a large temporal receptive field is crucial to achieve accurate estimation. In addition, due to the similarity of actions between adjacent frames, videos often contain a lot of redundant information. In the transformer architecture, as the layers deepen, the differences between tokens become smaller and smaller, which introduces invalid calculations.
[0004] As networks become more complex, the main bottleneck of current techniques is the availability of sufficiently large training datasets, which typically require extensive annotation efforts. While such efforts may be feasible for a small number of subjects and specific actions (such as walking or running), it is impractical to cover the entire range of human body shapes, appearances, and poses. Therefore, weakly supervised methods that reduce the amount of annotations required to achieve the desired level of performance are valuable. For example, methods based on 3D skeleton joint tracking can be trained not only using actual 3D annotations, but also 2D annotations and multi-view footage. Some methods do not use 2D annotations at all, but instead exploit multi-view geometric information in sequences acquired by synchronized cameras. However, these methods still require a sufficiently good 3D training set to initialize the learning process, which limits the advantages brought by using unlabeled samples.
[0005] Therefore, there is an urgent need for a solution that can process information such as body shape, appearance, and posture, and then accurately track and evaluate human movement posture, and provide users with personalized exercise recommendations and health management plans. Summary of the invention
[0006] The purpose of the present invention is to provide a method and device for customizing personalized exercise prescriptions based on machine-guided movements, which can generate a physical examination report based on the collected human physiological data, and realize motion tracking and posture evaluation by processing and analyzing the collected human motion images, so as to generate a personalized exercise prescription that meets the individual characteristics of the user.
[0007] To achieve the above object, the present invention provides the following solutions:
[0008] A personalized exercise prescription customization device based on machine-guided movements, comprising:
[0009] A physical examination report generation module is used to obtain the physiological data of the human body based on human imaging data to obtain a physical examination report;
[0010] A motion image acquisition module, used to acquire a human motion image sequence of a user performing rehabilitation exercises;
[0011] The intelligent analysis module includes a feature extraction module and a posture tracking module. The feature extraction module is used to train the autoencoder in an unsupervised learning manner, extract the 3D geometric features in the human action image sequence through the autoencoder, and transmit the 3D geometric features to the posture tracking module in a time series; the posture tracking module is used to train the inversion transformer based on a few-sample learning method, and recognize and evaluate the posture according to the 3D geometric features through the inversion transformer's own attention mechanism, obtain the evaluation result, and predict the 3D posture of the human body;
[0012] The personalized service generation module is used to generate a personalized exercise prescription that meets the individual characteristics of the user based on the physical examination report and the evaluation results.
[0013] Furthermore, the autoencoder is composed of an encoder and a decoder, the encoder is used to obtain the human body action image sequence, and convert the input human body action image sequence into a low-dimensional latent space representation, wherein the latent space representation encodes the 3D posture, geometry, appearance and background information of the human body; the decoder is used to reconstruct the latent space representation back into images of various parts of the human body.
[0014] Furthermore, the posture tracking module adopts an inverted transformer, which includes a multi-channel attention module, a normalization module, a feedforward network, and a multi-layer perceptron network. The feedforward network is used to predict the 3D posture of the human body.
[0015] Furthermore, the loss function of the feedforward network is:
[0016]
[0017] Among them, M is the length of the time series, N is the joint points of the human skeleton, is the base 3D coordinate of the i-th node at time t, is the base 3D coordinate of the root node at time t, Predict the 3D coordinates for the i-th node at time t, is the predicted 3D coordinate of the root node at time t.
[0018] Furthermore, the autoencoder adopts a cascaded CNN structure, which includes multiple convolution blocks and pooling layers, gradually reducing the spatial dimension of the image while increasing the number of feature channels to capture multi-scale features and enhance the training image by random in-plane rotation.
[0019] Furthermore, the device also includes a voice prompt module, which is used to provide online feedback and optimize action prompts in voice according to the user's action characteristics.
[0020] Furthermore, the image acquisition module includes a plurality of cameras, and the plurality of cameras are synchronously calibrated and calibrated before use to determine the relative positions between the cameras.
[0021] Furthermore, the personalized exercise prescription includes exercise prompts, scores, intensity and duration.
[0022] The present invention also provides a method for customizing a personalized exercise prescription based on machine-guided movements. The method is divided into a screening phase and a treatment phase, and specifically includes the following steps:
[0023] S1. In the screening stage, the physical examination report generation module obtains the physiological data of the human body based on the human imaging data to obtain a physical examination report;
[0024] S2, entering the treatment phase, the motion image acquisition module acquires a sequence of human motion images of the user performing rehabilitation exercises;
[0025] S3, the intelligent analysis module starts working: the feature extraction module uses an unsupervised learning method to train the autoencoder, extracts the 3D geometric features in the human action image sequence through the autoencoder, and transmits the 3D geometric features to the posture tracking module in a time series; the posture tracking module uses a few-sample learning method to train the inversion transformer, and through the inversion transformer's own attention mechanism, recognizes and evaluates the posture according to the 3D geometric features, obtains the evaluation result, and predicts the 3D posture of the human body;
[0026] S4. Generate a personalized exercise prescription that meets the individual characteristics of the user based on the physical examination report and the evaluation results through a personalized service generation module.
[0027] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for customizing personalized exercise prescriptions based on machine-guided actions is implemented.
[0028] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects: the personalized exercise prescription customization method and device based on machine-guided action provided by the present invention can generate a physical examination report based on the collected physiological data, which can be used for scoliosis detection, etc., to prepare for the later generation of exercise prescriptions, and by processing and analyzing the collected human motion images, a personalized exercise prescription that meets the individual characteristics of the user is automatically generated according to the intelligent analysis results, and the user is guided to perform relevant exercises through the exercise prescription to prevent and correct physical health problems such as scoliosis; using artificial intelligence technology, it can provide users with scientific and accurate exercise suggestions and health management plans. The present invention uses unsupervised learning to extract 3D geometric features and designs an implicit representation L, which encodes 3D posture, shape and appearance information, and can be learned without any 2D or 3D posture annotations, avoiding the work of annotating tens of thousands of 2D or 3D postures in the prior art, and significantly reducing the workload of data processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0030] Figure 1 A structural diagram of a device for customizing personalized exercise prescriptions based on machine-guided movements of the present invention;
[0031] Figure 2 A schematic diagram of the technical route of the personalized exercise prescription platform in an embodiment of the present invention;
[0032] Figure 3 A schematic diagram of capturing a motion video sequence in an embodiment of the present invention;
[0033] Figure 4 Schematic diagram of representation learning of 3D geometric features and appearance features in an embodiment of the present invention;
[0034] Figure 5 Schematic diagram of an iTransformer model based on 3D geometric markings in an embodiment of the present invention;
[0035] Figure 6 This is a schematic diagram of 3D pose estimation performed by the iTransformer network structure in an embodiment of the present invention;
[0036] Figure 7 These are two implementations of the personalized exercise prescription customization platform in the embodiments of the present invention, where (a) represents a cabinet and (b) represents a mobile phone. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] The purpose of the present invention is to provide a method and device for customizing personalized exercise prescriptions based on machine-guided movements, which can generate a physical examination report based on the collected human physiological data, and realize motion tracking and posture evaluation by processing and analyzing the collected human motion images, thereby generating a personalized exercise prescription that meets the individual characteristics of the user.
[0039] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0040] Example 1
[0041] like Figure 1-3 As shown, an embodiment of the present invention provides a personalized exercise prescription customization device based on machine-guided movements, comprising:
[0042] A physical examination report generation module is used to obtain the physiological data of the human body based on human imaging data to obtain a physical examination report;
[0043] Based on the RGBD image of the human body, the physiological data of the human body is obtained, the key points of the spine are determined, and the Cobb angle is estimated to obtain a spinal examination report;
[0044] A motion image acquisition module, used to acquire a human motion image sequence of a user performing rehabilitation exercises;
[0045] The intelligent analysis module includes a feature extraction module and a posture tracking module. The feature extraction module is used to train the autoencoder in an unsupervised learning manner, extract the 3D geometric features in the human action image sequence through the autoencoder, and transmit the 3D geometric features to the posture tracking module in a time series; the posture tracking module is used to train the inversion transformer based on a few-sample learning method, and recognize and evaluate the posture according to the 3D geometric features through the inversion transformer's own attention mechanism, obtain the evaluation result, and predict the 3D posture of the human body;
[0046] The personalized service generation module is used to generate a personalized exercise prescription that meets the individual characteristics of the user based on the spinal physical examination report and the evaluation results.
[0047] In a further embodiment, the physical examination report generation module includes a scoliosis detection module, and the scoliosis detection module is used for scoliosis detection: based on the RGBD image of the human body, the physiological data of the human body is obtained, the key points of the spine are determined, and the Cobb angle is estimated to obtain a spinal physical examination report.
[0048] In this embodiment, the device can be designed into two stages. Taking the Eight-Section Brocade movement as an example, the personalized exercise prescription system is used to guide trainees to improve the quality of the Eight-Section Brocade movement. The technical route is as follows: Figure 2As shown. In the screening stage, the platform will use the physical examination report generation module to collect the user's physiological data information, which will provide a basis for subsequent intelligent analysis and ensure the scientificity and personalization of the exercise prescription. In the treatment stage, the user performs the Ba Duan Jin exercise, and the personalized exercise system collects the action video; then, the platform will enter the intelligent analysis process, using deep learning, data mining and pattern recognition technologies to process and analyze the collected data. This process will include action prediction functions and posture recognition and evaluation functions to evaluate the user's action status and predict their action trends, laying a solid foundation for formulating personalized exercise prescriptions. Subsequently, the platform will focus on the generation of personalized services. Based on the results of intelligent analysis, the platform will design a set of algorithms to automatically generate exercise prescriptions that meet the individual characteristics of users.
[0049] In this embodiment, the autoencoder is composed of an encoder and a decoder. The encoder is used to obtain the human body motion image sequence and convert the input human body motion image sequence (the human body motion image sequence is a multi-view image) into a low-dimensional latent space representation, in which the latent space representation encodes the 3D posture, geometry, appearance and background information of the human body; the decoder is used to reconstruct the latent space representation back into images of various parts of the human body.
[0050] In this embodiment, the posture tracking module adopts an inverted transformer, which includes a multi-channel attention module, a normalization module, a feedforward network, and a multi-layer perceptron network. The feedforward network is used to predict the 3D posture of the human body.
[0051] In this embodiment, in order to make the latent space representation L easily decoded into its various body parts, independent representations of the body 3D posture and geometry, appearance and background are learned from the image, which are called L 3D , L app and B. Encoder E has two outputs, namely L 3D , L app , the decoder D has three inputs, namely R IJ L 3D , L app and B, as shown in formula (1). Take the triplets from the motion sequence and calculate the loss function as shown in formula (2).
[0052]
[0053]
[0054] Among them, θ e is the encoder parameter, θ d are the parameters of the decoder, is the input image of the i-th camera at time t, R ijis the rotation matrix from camera i to camera j, is the apparent feature learned from the image of camera i at time instant, B j is the background information in the camera j image (generally obtained by median filtering).
[0055] Existing 3D human pose estimation techniques rely on deep networks, which require a large amount of training data. Although weakly supervised methods reduce the need for supervision by learning from 2D poses or multi-view images instead of annotations, they still require a sufficient number of 3D annotated sample sets to successfully learn. To overcome this problem, the intelligent guided motion method in the present invention is implemented by combining unsupervised learning and few-sample learning:
[0056] The first is the unsupervised learning method, which uses the autoencoder model to extract human features. The extracted features include equivariant features (3D geometric sensitive features) and invariant features (apparent features). Then, the few-shot learning method is used to input the 3D geometric features into the inverted transformer (iTransformer) in time series, such as Figure 5 As shown, the self-attention mechanism (multivariate cross-correlation analysis) can be used to evaluate the regularity of motion, and the feedforward network (FFN) can be used to analyze the correlation of the integrated time series motion, thereby achieving the goal of reducing the computational complexity and improving the prediction accuracy.
[0057] Due to some challenges encountered by the Transformer model when dealing with certain specific tasks, the performance of the Transformer will degrade when predicting sequences with large look-back windows, while the amount of computation will increase significantly. In addition, the unified embedding of each time tag fuses multiple variables with potentially misaligned timestamps and different physical measurements, which may fail to learn variable-centric representations and lead to meaningless attention maps. The present invention considers the functions of each component of the Transformer, redesigns the Transformer architecture without adjusting the basic components of the Transformer, and proposes an iTransformer that combines an inverted attention mechanism and a feedforward network. The time series trajectory of a single human skeleton joint point is embedded into the variable tag, and the variable tag is used by the attention mechanism to obtain multivariate correlations; at the same time, a nonlinear representation is learned for each variable tag through a feedforward network.
[0058] In this embodiment, an autoencoder is used for feature extraction, and an inverse transformer (iTransformer) is used for posture tracking. First, feature extraction is performed through an autoencoder, which consists of an encoder E and a decoder D. Figure 4As shown in , the encoder converts the input multi-view images into low-dimensional latent space representations, while the decoder reconstructs these latent representations back into images. This latent space not only encodes 3D geometric information, but also the appearance and background information of the human body. In order to effectively extract features from the latent space, the autoencoder adopts a cascaded CNN structure, which gradually reduces the spatial dimension of the image through multiple convolutional blocks and pooling layers, while increasing the number of feature channels to capture multi-scale features. In addition, the training images are enhanced by random in-plane rotations to improve the robustness of the model to changes in perspective. Next, the inverted transformer is applied to the sequence data of the latent space for real-time pose tracking (such as Figure 6 As shown). The inverted transformer uses its self-attention mechanism to handle long-distance dependency problems and capture posture changes at different locations in the video. The feed-forward network (FFN) is then trained to predict the 3D posture of the human body based on the latent representations in consecutive frames. The input of the inverted transformer is a series of latent representations output by the autoencoder, and the output is the key point positions corresponding to several frames. During the training process, the autoencoder is first trained unsupervised to learn the latent representation of human body geometry using multi-view images. Subsequently, the inverted transformer is supervised using a small amount of labeled data, so that it can accurately predict the 3D posture from the latent representation. The loss function is shown in formula (3). This semi-supervised learning method enables the system to achieve high-precision human posture estimation when annotated data is scarce.
[0059]
[0060] Among them, M is the length of the time series, N is the joint points of the human skeleton, is the base 3D coordinate of the i-th node at time t, is the base 3D coordinate of the root node at time t, Predict the 3D coordinates for the i-th node at time t, is the predicted 3D coordinate of the root node at time t. The root node is a joint point selected from the joint points of the human skeleton as a reference, such as the navel.
[0061] With this design, the device combines the advantages of autoencoders in unsupervised feature learning and the flexibility of inverted transformers in processing time series data, providing a powerful and robust solution for a personalized exercise prescription customization platform.
[0062] In this embodiment, the device also includes a voice prompt module, which is used to provide online feedback and optimize movement prompts in voice according to the user's movement characteristics, thereby realizing the "smart coach" function, that is, through voice feedback and optimized movement prompts, by collecting user movement characteristics and monitoring movement scores, the user's movement standardization and treatment effect are improved, thereby improving the practicality of the platform and user satisfaction.
[0063] In this embodiment, the image acquisition module includes a plurality of cameras, and the plurality of cameras are synchronously calibrated and calibrated before use to determine the relative positions between the cameras.
[0064] In this embodiment, the prescription includes multiple dimensions such as exercise prompts, scores, intensity and duration to meet the specific needs of different users.
[0065] Example 2
[0066] Based on the personalized exercise prescription customization device based on machine-guided actions described in Example 1, this embodiment provides two implementation methods of a personalized exercise prescription customization system based on machine-guided actions, such as Figure 7 As shown. Among them, the cabinet is suitable for deployment in the experience hall scene, which has abundant power, strong computing power, and complex models. The mobile phone is suitable for deployment in the mobile scene, which has low power consumption, weak computing power, and uses a lightweight model. The functions of each module are as follows:
[0067] Camera: collects motion video sequences;
[0068] Display screen: displays video sequences;
[0069] Speaker: issues language prompts;
[0070] CPU module: main control unit;
[0071] GPU module: computing acceleration;
[0072] Wifi module: communication unit;
[0073] Storage module: save motion data;
[0074] Memory module: data temporary storage unit;
[0075] Power module: power unit;
[0076] Picture in Picture: Single screen multiple display mode.
[0077] Example 3
[0078] This embodiment provides a method for customizing a personalized exercise prescription based on machine-guided movements, which is applied to the personalized exercise prescription customization device based on machine-guided movements described in Example 1. The method is divided into a screening phase and a treatment phase, and specifically includes the following steps:
[0079] S1. In the screening stage, the physical examination report generation module obtains the physiological data of the human body based on the human imaging data and obtains the physical examination report;
[0080] S2, entering the treatment phase, the motion image acquisition module acquires a sequence of human motion images of the user performing rehabilitation exercises;
[0081] S3, the intelligent analysis module starts working: the feature extraction module uses an unsupervised learning method to train the autoencoder, extracts the 3D geometric features in the human action image sequence through the autoencoder, and transmits the 3D geometric features to the posture tracking module in a time series; the posture tracking module uses a few-sample learning method to train the inversion transformer, and through the inversion transformer's own attention mechanism, recognizes and evaluates the posture according to the 3D geometric features, obtains the evaluation result, and predicts the 3D posture of the human body;
[0082] S4. Generate a personalized exercise prescription that meets the individual characteristics of the user based on the spinal examination report and the evaluation results through a personalized service generation module.
[0083] In a further embodiment, the S1, obtaining the physiological data of the human body by the physical examination report generation module according to the human imaging data to obtain the physical examination report, may specifically include: obtaining the physiological data of the human body based on the RGBD image of the human body through the scoliosis detection module, determining the key points of the spine, and estimating the Cobb angle to obtain the spinal physical examination report. On this basis, an exercise prescription for preventing and correcting scoliosis is finally generated.
[0084] This embodiment also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method for customizing personalized exercise prescriptions based on machine-guided actions.
[0085] In summary, the personalized exercise prescription customization method and device based on machine-guided movements provided by the present invention combine the advantages of autoencoders in unsupervised feature learning and the flexibility of inversion transformers in processing time series data, providing a powerful and robust solution for a personalized exercise prescription customization platform. It can generate personalized exercise prescriptions that meet the individual characteristics of the user based on the physical examination report (such as a spinal physical examination report) and the evaluation results, and provide the user with scientific and accurate exercise recommendations and health management plans.
[0086] The remaining technical features in this embodiment can be flexibly selected by those skilled in the art according to actual conditions to meet different specific practical needs. However, it is obvious to those skilled in the art that it is not necessary to adopt these specific details to implement the present invention. In other examples, in order to avoid confusing the present invention, the well-known components, structures or parts are not specifically described, which are all within the technical protection scope defined by the technical solution claimed for protection in the claims of the present invention.
[0087] Modifications and changes made by those skilled in the art that do not depart from the spirit and scope of the present invention should be within the scope of protection of the claims attached to the present invention. In the above description, a large number of specific details are set forth in order to provide a thorough understanding of the present invention. However, it is obvious to those of ordinary skill in the art that these specific details are not necessary to practice the present invention. In other examples, in order to avoid confusing the present invention, well-known technologies, such as specific construction details, operating conditions and other technical conditions, are not specifically described.
[0088] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A personalized exercise prescription customization device based on machine-guided movements, It is characterized in that include: A physical examination report generation module is used to obtain the physiological data of the human body based on human imaging data to obtain a physical examination report; A motion image acquisition module, used to acquire a human motion image sequence of a user performing rehabilitation exercises; The intelligent analysis module includes a feature extraction module and a posture tracking module, wherein the feature extraction module is used to train an autoencoder in an unsupervised learning manner, extract 3D geometric features from the human action image sequence through the autoencoder, and transmit the 3D geometric features to the posture tracking module in a time series; The posture tracking module is used to train the inverted transformer based on a few-shot learning method, and recognize and evaluate the posture according to the 3D geometric features through the inverted transformer's own attention mechanism, obtain an evaluation result, and predict the 3D posture of the human body; The personalized service generation module is used to generate a personalized exercise prescription that meets the individual characteristics of the user based on the physical examination report and the evaluation results.
2. The personalized exercise prescription customization device based on machine-guided movements according to claim 1, It is characterized in that The autoencoder consists of an encoder and a decoder. The encoder is used to obtain the human action image sequence and convert the input human action image sequence into a low-dimensional latent space representation, in which the 3D posture, geometry, appearance and background information of the human body are encoded; the decoder is used to reconstruct the latent space representation back into images of various parts of the human body.
3. The personalized exercise prescription customization device based on machine-guided movements according to claim 1, It is characterized in that The posture tracking module adopts an inverted transformer, which includes a multi-channel attention module, a normalization module, a feedforward network, and a multi-layer perceptron network. The feedforward network is used to predict the 3D posture of the human body.
4. The device for customizing personalized exercise prescriptions based on machine-guided movements according to claim 3, It is characterized in that The loss function of the feedforward network is: Among them, M is the length of the time series, N is the joint points of the human skeleton, is the base 3D coordinate of the i-th node at time t, is the base 3D coordinate of the root node at time t, Predict the 3D coordinates for the i-th node at time t, is the predicted 3D coordinate of the root node at time t.
5. The device for customizing personalized exercise prescriptions based on machine-guided movements according to claim 1, It is characterized in that The autoencoder adopts a cascaded CNN structure, which includes multiple convolution blocks and pooling layers, gradually reducing the spatial dimension of the image while increasing the number of feature channels to capture multi-scale features and enhance the training image by random in-plane rotation.
6. The personalized exercise prescription customization device based on machine-guided movements according to claim 1, It is characterized in that The device also includes a voice prompt module, which is used for providing online feedback and optimizing action prompts in voice according to the user's action characteristics.
7. The device for customizing personalized exercise prescriptions based on machine-guided movements according to claim 1, It is characterized in that The image acquisition module includes a plurality of cameras, and the plurality of cameras are synchronously calibrated and calibrated before use to determine the relative positions between the cameras.
8. The device for customizing personalized exercise prescriptions based on machine-guided movements according to claim 1, It is characterized in that The personalized exercise prescription includes exercise prompts, scores, intensity and duration.
9. A method for customizing personalized exercise prescriptions based on machine-guided movements, applied to the personalized exercise prescription customization device based on machine-guided movements described in claims 1-8, It is characterized in that The method is divided into a screening stage and a treatment stage, and specifically includes the following steps: S1. In the screening stage, the physical examination report generation module obtains the physiological data of the human body based on the human imaging data to obtain a physical examination report; S2, entering the treatment phase, the motion image acquisition module acquires a sequence of human motion images of the user performing rehabilitation exercises; S3, the intelligent analysis module starts working: the feature extraction module uses an unsupervised learning method to train the autoencoder, extracts the 3D geometric features in the human action image sequence through the autoencoder, and transmits the 3D geometric features to the posture tracking module in a time series; the posture tracking module uses a few-sample learning method to train the inversion transformer, and through the inversion transformer's own attention mechanism, recognizes and evaluates the posture according to the 3D geometric features, obtains the evaluation result, and predicts the 3D posture of the human body; S4. Generate a personalized exercise prescription that meets the individual characteristics of the user based on the physical examination report and the evaluation results through a personalized service generation module.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for customizing personalized exercise prescriptions based on machine-guided movements as described in claim 9 is implemented.
