An interactive method and system based on somatosensory capture
By deploying reflective patches in the somatosensory capture system and using stationary joints as reference points for feature reconstruction, the problem of low somatosensory capture accuracy is solved and higher-precision somatosensory interaction is achieved.
Patent Information
- Application Number
- CN202410814679.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Due to differences in bone morphology between different people, the accuracy of high-precision somatosensory capture is low.
By deploying multiple reflective patches on the target user's preset joints, collecting joint coordinate timing information, using static reference joints as reference points for feature reconstruction, generating comparison motion features, and analyzing deviation feature descriptions through the feature comparison network sub, sent to the user to correct the posture.
It reduces the impact of errors caused by individual differences and improves the accuracy of high-precision somatosensory capture.
Smart Images

Figure CN118394221B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of somatosensory capture, and in particular to an interactive method and system based on somatosensory capture. Background Art
[0002] Somatosensory interaction is one of the most popular technologies currently under development. Combining machine image recognition or sensor recognition, analyzing the user's posture, and then executing the corresponding interaction instructions based on the posture is a common application process, such as motion posture correction, real gesture recognition and other scenarios. The disadvantage is that due to the differences in bone morphology between different people, the same posture is presented differently, resulting in a low accuracy rate for high-precision somatosensory capture. Summary of the invention
[0003] The present invention aims to solve the technical problem in the prior art that the accuracy of high-precision somatosensory capture is low due to the differences in bone morphology of different people, and provides an interactive method and system based on somatosensory capture to solve the problem.
[0004] The technical solution of the present invention to solve the above technical problems is as follows:
[0005] In a first aspect, the present invention provides an interactive method based on somatosensory capture, comprising:
[0006] Collecting the target user's joint coordinate timing information through a first optical capture component, wherein the optical capture component includes a plurality of reflective patches, and the plurality of reflective patches are deployed at the target user's preset joints, and the target user's preset joints correspond to the first preset action;
[0007] The first preset action has a first reference joint, wherein the first reference joint is stationary in the first preset action;
[0008] Obtaining first reference joint coordinates of a first reference joint, performing feature reconstruction on the target user joint coordinate time series information, and generating a first comparison motion feature;
[0009] Obtaining a first reference motion feature of the first preset action;
[0010] Analyzing the first comparison motion feature and the first reference motion feature through a feature comparison network to obtain a deviation feature descriptor;
[0011] The deviation feature descriptor is sent to the user end.
[0012] In a second aspect, the present invention provides an interactive system based on somatosensory capture, comprising:
[0013] A first processing unit is used to collect the target user's joint coordinate timing information through a first optical capture component, wherein the optical capture component includes a plurality of reflective patches, and the plurality of reflective patches are deployed at the target user's preset joints, and the target user's preset joints correspond to a first preset action; the first preset action has a first reference joint, wherein the first reference joint is stationary in the first preset action;
[0014] A second processing unit is used to obtain a first reference joint coordinate of a first reference joint, perform feature reconstruction on the target user joint coordinate time series information, and generate a first comparison motion feature;
[0015] A third processing unit, configured to obtain a first reference motion feature of the first preset action;
[0016] a fourth processing unit, configured to analyze the first comparison motion feature and the first reference motion feature through a feature comparison network to obtain a deviation feature descriptor;
[0017] The first communication unit is used to send the deviation feature descriptor to the user end.
[0018] In a third aspect, the present invention provides an electronic device, comprising:
[0019] Memory for storing computer software programs;
[0020] The processor is used to read and execute the computer software program, thereby realizing the interactive method based on somatosensory capture described in the first aspect.
[0021] In a fourth aspect, the present invention provides a non-transitory computer-readable storage medium, wherein the storage medium stores a computer software program, and when the computer software program is executed by a processor, the interactive method based on somatosensory capture described in the first aspect is implemented.
[0022] The beneficial effects of the present invention are as follows: the target user's joint coordinate timing information is collected through the first optical capture component, wherein the optical capture component includes a plurality of reflective patches; the first preset action has a first reference joint, wherein the first reference joint is stationary in the first preset action; the first reference joint coordinates of the first reference joint are obtained, and the target user's joint coordinate timing information is feature reconstructed to generate a first comparison motion feature; the first reference motion feature of the first preset action is obtained; the first comparison motion feature and the first reference motion feature are analyzed through a feature comparison network to obtain a deviation feature descriptor; and the deviation feature descriptor is sent to the user end. The target user's joint coordinate timing information is reconstructed through the first reference joint, focusing on the position timing deviation of each user and its own reference joint, reducing the error impact caused by individual differences in the high-precision somatosensory interaction process, and achieving the technical effect of improving the accuracy of high-precision somatosensory capture. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of a flow chart of an interactive method based on somatosensory capture provided by the present invention;
[0024] Figure 2 A schematic diagram of the structure of an interaction based on somatosensory capture provided by the present invention;
[0025] Figure 3 A schematic diagram of the structure of an electronic device provided by the present invention;
[0026] Figure 4 A schematic diagram of the structure of a computer-readable storage medium provided by the present invention.
[0027] In the accompanying drawings, the components represented by the reference numerals are listed as follows:
[0028] First processing unit M1000, second processing unit M2000, third processing unit M3000, fourth processing unit M4000, first communication unit M5000, electronic device 500, memory 510, processor 520, computer program 511, computer readable storage medium 600, computer program 611. DETAILED DESCRIPTION
[0029] 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0030] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0031] In the description of the present invention, the term "for example" is used to mean "used as an example, illustration or explanation". Any embodiment described as "for example" in the present invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present invention. Example
[0032] like Figure 1 As shown, an embodiment of the present invention provides an interactive method based on somatosensory capture, comprising the steps of:
[0033] S10: Collecting target user joint coordinate timing information through a first optical capture component, wherein the optical capture component includes a plurality of reflective patches, and the plurality of reflective patches are deployed at preset joints of the target user, and the preset joints of the target user correspond to a first preset action; the first preset action has a first reference joint, and the first reference joint is stationary in the first preset action;
[0034] Specifically, the target user's preset joints are preset joint positions on the target user's body, which are used to install reflective patches. The first preset action is a specific action that the target user needs to perform, which includes one or more stationary reference joints, namely the first reference joints. These joints remain stationary during the action. As reference points, reflective patches are deployed on the target user's preset joints to facilitate the collection of joint positioning information.
[0035] First, the coordinate timing information of the target user's joints is collected through the first optical capture component, as follows: multiple reflective patches are deployed on the preset joints of the target user. These reflective patches reflect light signals, allowing the optical capture component to capture the position changes of the target user's joints. When the target user performs the first preset action, the optical capture component collects the position changes of the reflective patches, thereby obtaining the coordinate timing information of the target user's joints, which is set as the target user's joint coordinate timing information. The reference joint included in the first preset action remains stationary during the action, providing a stable reference point to ensure the accuracy and consistency of motion capture.
[0036] Through this method, the system can accurately collect the coordinate timing information of the target user's joints. Using multiple reflective patches can effectively capture the movement trajectory of the user's joints and improve the accuracy and stability of data collection. The reference joint remains stationary during the preset action, providing a stable reference point for the action, which helps to improve the accuracy and consistency of posture recognition, thereby solving the problem of insufficient accuracy of somatosensory interaction recognition due to individual bone differences.
[0037] S20: Obtain first reference joint coordinates of a first reference joint, perform feature reconstruction on the target user joint coordinate time series information, and generate a first comparison motion feature;
[0038] Specifically, the first reference joint coordinates refer to the positioning coordinates of the first reference joint; the first comparison motion feature is a motion feature for comparison and identification generated after feature reconstruction based on the first reference joint coordinates. Furthermore, since the motion features of different people relative to a certain joint of themselves tend to be consistent when performing fixed actions, the accuracy is higher than directly comparing the motion features of two people. Therefore, feature reconstruction is preferably a process of analyzing the relative coordinates of the target user's joint coordinate timing information based on the first reference joint coordinates, thereby generating the first comparison motion feature. These feature data can more accurately reflect the actual action of the target user, and are used for comparison and identification with preset action features.
[0039] Through this method, the system can generate accurate first-match motion features to improve the accuracy and reliability of action recognition. The first reference joint coordinates provide a stable reference point, making subsequent data processing and feature extraction more accurate. This method effectively solves the problem of insufficient accuracy of somatosensory interaction recognition due to individual skeletal differences, and is suitable for various application scenarios that require high-precision action recognition.
[0040] S30: Obtaining a first reference motion feature of the first preset action;
[0041] Specifically, the first reference motion feature refers to the result of feature reconstruction of each joint coordinate sequence of the standard action through the first reference joint coordinate. The motion feature obtained by reconstructing with the first reference joint coordinate as the reference position is a relative position feature. This is because when different people perform a fixed action, the motion features relative to a certain joint of themselves tend to be consistent, which is more accurate than directly comparing the motion features of two people.
[0042] S40: analyzing the first comparison motion feature and the first reference motion feature through a feature comparison network to obtain a deviation feature descriptor;
[0043] S50: Send the deviation feature descriptor to the user end.
[0044] Specifically, the feature comparison network is a neural network or algorithm system for comparing and analyzing different feature data. The deviation feature descriptor refers to the deviation feature descriptor used to characterize the feature attributes and feature deviation vectors that need to be corrected. Exemplarily: based on the first comparison motion feature and the first reference motion feature, such as the difference in joint coordinates at any time, the posture deviation vector can be determined; by comparing the difference in joint coordinates at different times, the first motion acceleration of the first comparison motion feature and the second motion acceleration of the first reference motion feature can be analyzed, so that the motion acceleration deviation vector can be determined. Preferably, further, the deviation features whose deviation modulus is greater than or equal to the deviation modulus threshold are screened, set as deviation feature descriptors, and sent to the user end to provide data for posture correction in the next step.
[0045] Further, the first reference joint coordinates of the first reference joint are obtained, and the target user joint coordinate time series information is feature reconstructed to generate a first comparison motion feature. Step S20 includes the following steps:
[0046] S21: extracting the joint coordinates at the first moment according to the joint coordinate timing information of the target user;
[0047] S22: Calculating a first distance deviation and a first orientation deviation between the joint coordinates at the first moment and the first reference joint;
[0048] S23: constructing a first-moment joint coordinate comparison motion feature according to the first distance deviation and the first orientation deviation, and adding the feature to the first comparison motion feature.
[0049] Specifically, the feature reconstruction process is as follows: the joint coordinates at the first moment refer to any exemplary joint coordinates randomly extracted from the target user's joint coordinate timing information. In fact, the same processing is performed on the joint coordinates at all moments. Calculate the first distance deviation and the first orientation deviation of the joint coordinates at the first moment and the first reference joint: the first distance deviation is preferably the Euclidean distance between the joint coordinates at the first moment and the first reference joint coordinates; the first orientation deviation is preferably the azimuth of the joint coordinates at the first moment in the first reference joint coordinates. The joint coordinate comparison motion feature at the first moment refers to an orientation vector constructed with the first orientation deviation as the direction and the first distance deviation as the size. The same processing is performed on the coordinates at each moment to obtain the first comparison motion feature.
[0050] Further, according to the first moment distance deviation and the first moment orientation deviation, a first moment joint coordinate comparison motion feature is constructed and added into the first moment comparison motion feature. Step S23 includes the steps of:
[0051] S231: extracting joint coordinates at a second moment according to the joint coordinate timing information of the target user;
[0052] S232: Calculating a second distance deviation and a second orientation deviation between the joint coordinates at the second moment and the joint coordinates at the first moment;
[0053] S233: Construct the first moment joint coordinate comparison motion feature according to the first distance deviation, the first orientation deviation, the second distance deviation and the second orientation deviation, and add it into the first comparison motion feature.
[0054] Specifically, the joint coordinates at the second moment refer to the joint coordinates at a single moment exemplarily extracted from the target user's joint coordinate timing information. The second distance deviation refers to the Euclidean distance between the joint coordinates at the second moment and the joint coordinates at the first moment, and the second orientation deviation refers to the azimuth of the joint coordinates at the second moment with reference to the joint coordinates at the first moment. According to the second distance deviation and the second orientation deviation, the spatial orientation vector of the joint coordinates at the second moment based on the joint coordinates at the first moment can be constructed.
[0055] The first spatial orientation vector is constructed according to the first distance deviation and the first orientation deviation, and the second spatial orientation vector is constructed according to the joint coordinates at the first moment according to the joint coordinates at the second moment, and they are all set as the first moment joint coordinate comparison motion features. Based on the first spatial orientation vector, only the coordinate deviation at a certain moment can be analyzed, while the second spatial orientation vector constructed based on two moments can analyze the motion state, such as acceleration and other parameters. This enriches the feature dimensions of the somatosensory analysis and ensures the accuracy of the somatosensory.
[0056] Further, the first comparison motion feature and the first reference motion feature are analyzed by a feature comparison network to obtain a deviation feature descriptor, and step S40 includes the following steps:
[0057] S41: comparing the first comparison motion feature with the first reference motion feature to generate a deviation vector time series matrix;
[0058] S42: Inputting the deviation vector time series matrix into the feature comparison network to obtain the deviation feature descriptor, wherein the deviation feature descriptor is used to characterize the feature attributes and feature deviation vectors that need to be corrected.
[0059] Specifically, the deviation vector timing matrix refers to the motion features of the first comparison motion features and the first reference motion features at the same time of the same joint, and the generated deviation vector matrix, preferably, any target user joint coordinate timing information, has a unique corresponding deviation vector timing matrix. The horizontal attribute of the deviation vector timing matrix is timing, and the vertical attribute is feature attribute, that is, the elements of the same column have the same time, and the elements of the same row have the same attribute. Furthermore, the feature comparison network is used to fuse all the deviation vector timing matrices and extract the feature attributes with larger posture deviation modulus. Its main function is classification, that is, the deviation vector is divided into a class whose posture deviation modulus is greater than the corresponding feature attribute feature attribute threshold, and another class whose posture deviation modulus is less than or equal to the corresponding feature attribute feature attribute threshold according to the posture deviation modulus. The feature attribute and feature deviation vector of a class whose posture deviation modulus is greater than the corresponding feature attribute feature attribute threshold are set as deviation feature descriptors to guide the subsequent step to perform posture correction.
[0060] Further, the deviation vector time series matrix is input into the feature comparison network to obtain the deviation feature descriptor, wherein the deviation feature descriptor is used to characterize the feature attributes and feature deviation vectors that need to be corrected. The previous step S42 includes the steps of:
[0061] S421: configuring feature deviation thresholds, wherein the feature deviation thresholds at least include a distance deviation threshold, an orientation deviation threshold, an acceleration deviation threshold, and an angular velocity deviation threshold;
[0062] S422: collecting action deviation vector time series matrix record data, marking the action deviation vector time series matrix record data according to the feature deviation threshold, and obtaining a deviation feature descriptor identification data set;
[0063] S423: Using the deviation feature descriptor identification data set as supervision and the action deviation vector time series matrix record data as input, a long short-term memory neural network is trained to generate the feature comparison network.
[0064] Specifically, the feature deviation threshold refers to the modulus threshold that is considered to have a large deviation for each feature attribute configuration. It includes at least a distance deviation threshold, an azimuth deviation threshold, an acceleration deviation threshold, and an angular velocity deviation threshold. Collect action deviation vector time series matrix record data, identify the action deviation vector time series matrix record data according to the feature deviation threshold, and obtain a deviation feature descriptor identification data set; use the deviation feature descriptor identification data set as supervision, use the action deviation vector time series matrix record data as input, and train a long short-term memory neural network. When the number of accurate classifications is greater than or equal to the number of convergences during the preset number of consecutive trainings, the feature comparison network is generated.
[0065] Furthermore, the first comparison motion feature is compared with the first reference motion feature to generate a deviation vector timing matrix. Step S41 includes the following steps:
[0066] S411: extracting the first moment joint coordinate comparison motion feature of the first comparison motion feature;
[0067] S412: extracting the first moment joint coordinate reference motion feature of the first reference motion feature;
[0068] S413: performing deviation analysis on the joint coordinate comparison motion feature at the first moment and the joint coordinate reference motion feature at the first moment, obtaining a first moment deviation vector array, and adding the array to the deviation vector array set;
[0069] S414: Constructing the deviation vector timing matrix according to the deviation vector array set.
[0070] Specifically, the joint coordinate comparison motion feature at the first moment refers to the joint coordinate comparison motion feature at an exemplary moment of the first comparison motion feature; the joint coordinate reference motion feature at the first moment refers to the joint coordinate reference motion feature at an exemplary moment of the first reference motion feature. Preferably, the joint coordinate comparison motion feature at the first moment and the joint coordinate reference motion feature at the first moment are compared for the same attribute feature deviation, such as distance deviation, azimuth deviation, acceleration deviation, angular velocity deviation, etc., to construct a first moment deviation vector array, the array includes multivariate data, any one element is a deviation vector of an attribute, at least including a distance deviation vector, an azimuth deviation vector, an acceleration deviation vector, and an angular velocity deviation vector. When all moments are compared, a deviation vector array set is obtained, and then a deviation vector timing matrix is constructed. The difference between the deviation vector timing matrix and the deviation vector array set is only the conversion of the data storage form.
[0071] Further, the deviation feature descriptor is sent to the user end, and step S50 includes the steps of:
[0072] S51: constructing an action correction statement according to the deviation feature descriptor;
[0073] S52: Send the action correction statement to the user end.
[0074] Specifically, the action correction statement refers to high-level semantic information used to guide users to correct their actions, which can be in Chinese or English. For example, the deviation feature descriptor is a 2cm deviation of the first joint distance, and the orientation guidance is biased to the left, then the action correction statement is "The first joint moves 2cm to the right at this time, which is a standard action." At the same time, the user action simulation image with the corresponding number of frames is displayed on the visual interface, thereby achieving high-precision somatosensory interaction.
[0075] An interactive method based on somatosensory capture provided by an embodiment of the present invention has at least the following technical effects:
[0076] The target user's joint coordinate timing information is collected through a first optical capture component, wherein the optical capture component includes a plurality of reflective patches; the first preset action has a first reference joint, wherein the first reference joint is stationary in the first preset action; the first reference joint coordinates of the first reference joint are obtained, and the target user's joint coordinate timing information is feature reconstructed to generate a first comparison motion feature; the first reference motion feature of the first preset action is obtained; the first comparison motion feature and the first reference motion feature are analyzed through a feature comparison network to obtain a deviation feature descriptor; and the deviation feature descriptor is sent to the user end. The target user's joint coordinate timing information is reconstructed through the first reference joint, focusing on the position timing deviation of each user and its own reference joint, reducing the error impact caused by individual differences in the high-precision somatosensory interaction process, and achieving the technical effect of improving the accuracy of high-precision somatosensory capture. Example
[0077] like Figure 2 As shown, based on the same inventive concept as the interactive method based on somatosensory capture provided in the first embodiment, the embodiment of the present invention further provides an interactive system based on somatosensory capture, including:
[0078] The first processing unit M1000 is used to collect the target user's joint coordinate timing information through a first optical capture component, wherein the optical capture component includes a plurality of reflective patches, and the plurality of reflective patches are deployed at the target user's preset joints, and the target user's preset joints correspond to a first preset action; the first preset action has a first reference joint, wherein the first reference joint is stationary in the first preset action;
[0079] The second processing unit M2000 is used to obtain the first reference joint coordinates of the first reference joint, perform feature reconstruction on the target user joint coordinate time series information, and generate a first comparison motion feature;
[0080] The third processing unit M3000 is used to obtain a first reference motion feature of the first preset action;
[0081] The fourth processing unit M4000 is used to analyze the first comparison motion feature and the first reference motion feature through a feature comparison network to obtain a deviation feature descriptor;
[0082] The first communication unit M5000 is used to send the deviation feature descriptor to the user end.
[0083] Furthermore, the second processing unit M2000 performs the following steps:
[0084] Extracting the joint coordinates at the first moment according to the joint coordinate timing information of the target user;
[0085] Calculate a first distance deviation and a first orientation deviation between the joint coordinates at the first moment and the first reference joint;
[0086] A first-time joint coordinate comparison motion feature is constructed based on the first distance deviation and the first orientation deviation, and is added to the first comparison motion feature.
[0087] Furthermore, the second processing unit M2000 performs the following steps:
[0088] Extracting the joint coordinates at the second moment according to the joint coordinate timing information of the target user;
[0089] Calculate a second distance deviation and a second orientation deviation between the joint coordinates at the second moment and the joint coordinates at the first moment;
[0090] According to the first distance deviation, the first orientation deviation, the second distance deviation and the second orientation deviation, a joint coordinate comparison motion feature at the first moment is constructed and added into the first comparison motion feature.
[0091] Furthermore, the fourth processing unit M4000 performs the following steps:
[0092] Compare the first comparison motion feature with the first reference motion feature to generate a deviation vector time series matrix;
[0093] The deviation vector time series matrix is input into the feature comparison network to obtain the deviation feature descriptor, wherein the deviation feature descriptor is used to characterize the feature attributes and feature deviation vectors that need to be corrected.
[0094] Furthermore, the fourth processing unit M4000 performs the following steps:
[0095] Configure feature deviation thresholds, wherein the feature deviation thresholds at least include a distance deviation threshold, an azimuth deviation threshold, an acceleration deviation threshold, and an angular velocity deviation threshold;
[0096] Collecting action deviation vector time series matrix record data, marking the action deviation vector time series matrix record data according to the feature deviation threshold, and obtaining a deviation feature descriptor identification data set;
[0097] The deviation feature descriptor identification data set is used as supervision, and the action deviation vector time series matrix record data is used as input to train a long short-term memory neural network to generate the feature comparison network.
[0098] Furthermore, the fourth processing unit M4000 performs the following steps:
[0099] Extracting the first moment joint coordinate comparison motion feature of the first comparison motion feature;
[0100] Extracting the first moment joint coordinate reference motion feature of the first reference motion feature;
[0101] Perform deviation analysis on the joint coordinate comparison motion feature at the first moment and the joint coordinate reference motion feature at the first moment to obtain a first moment deviation vector array, and add the array to the deviation vector array set;
[0102] The deviation vector timing matrix is constructed according to the deviation vector array set.
[0103] Furthermore, the first communication unit M5000 performs the following steps:
[0104] constructing an action correction statement according to the deviation feature descriptor;
[0105] The action correction statement is sent to the user end. Example
[0106] See also Figure 3 , Figure 3 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 3 As shown, an embodiment of the present invention provides an electronic device 500, including a memory 510, a processor 520, and a computer program 511 stored in the memory 510 and executable on the processor 520. When the processor 520 executes the computer program 511, the following steps are implemented:
[0107] Collecting the target user's joint coordinate timing information through a first optical capture component, wherein the optical capture component includes a plurality of reflective patches, and the plurality of reflective patches are deployed at the target user's preset joints, and the target user's preset joints correspond to the first preset action;
[0108] The first preset action has a first reference joint, wherein the first reference joint is stationary in the first preset action;
[0109] Obtaining first reference joint coordinates of a first reference joint, performing feature reconstruction on the target user joint coordinate time series information, and generating a first comparison motion feature;
[0110] Obtaining a first reference motion feature of the first preset action;
[0111] Analyzing the first comparison motion feature and the first reference motion feature through a feature comparison network to obtain a deviation feature descriptor;
[0112] The deviation feature descriptor is sent to the user end. Example
[0113] See also Figure 4 , Figure 4 A schematic diagram of an embodiment of a computer-readable storage medium provided in an embodiment of the present invention. Figure 4 As shown, this embodiment provides a computer-readable storage medium 600, on which a computer program 611 is stored. When the computer program 611 is executed by a processor, the following steps are implemented:
[0114] Collecting the target user's joint coordinate timing information through a first optical capture component, wherein the optical capture component includes a plurality of reflective patches, and the plurality of reflective patches are deployed at the target user's preset joints, and the target user's preset joints correspond to the first preset action;
[0115] The first preset action has a first reference joint, wherein the first reference joint is stationary in the first preset action;
[0116] Obtaining first reference joint coordinates of a first reference joint, performing feature reconstruction on the target user joint coordinate time series information, and generating a first comparison motion feature;
[0117] Obtaining a first reference motion feature of the first preset action;
[0118] Analyzing the first comparison motion feature and the first reference motion feature through a feature comparison network to obtain a deviation feature descriptor;
[0119] The deviation feature descriptor is sent to the user end.
[0120] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0121] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0122] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0123] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0124] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0125] Although preferred embodiments of the present invention have been described, additional changes and modifications may occur to these embodiments once those skilled in the art understand the basic inventive concepts.
[0126] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention belong to the scope of the present invention and its equivalent technologies, the present invention is also intended to include these changes and variations.
Claims
1. An interactive method based on somatosensory capture, It is characterized in that include: Collecting the target user's joint coordinate timing information through a first optical capture component, wherein the optical capture component includes a plurality of reflective patches, and the plurality of reflective patches are deployed at the target user's preset joints, and the target user's preset joints correspond to the first preset action; The first preset action has a first reference joint, wherein the first reference joint is stationary in the first preset action; Obtaining a first reference joint coordinate of a first reference joint, reconstructing the target user joint coordinate time series information, and generating a first comparison motion feature, including: Extracting the joint coordinates at the first moment according to the joint coordinate timing information of the target user; Calculate a first distance deviation and a first orientation deviation between the joint coordinates at the first moment and the first reference joint; Constructing a first-time joint coordinate comparison motion feature according to the first distance deviation and the first orientation deviation, and adding the first comparison motion feature, including: Extracting the joint coordinates at the second moment according to the joint coordinate timing information of the target user; Calculate a second distance deviation and a second orientation deviation between the joint coordinates at the second moment and the joint coordinates at the first moment; Constructing a joint coordinate comparison motion feature at the first moment according to the first distance deviation, the first orientation deviation, the second distance deviation, and the second orientation deviation, and adding the feature to the first comparison motion feature; Obtaining a first reference motion feature of the first preset action; Analyzing the first comparison motion feature and the first reference motion feature through a feature comparison network to obtain a deviation feature descriptor; The deviation feature descriptor is sent to the user end.
2. The method according to claim 1, It is characterized in that Analyzing the first comparison motion feature and the first reference motion feature through a feature comparison network to obtain a deviation feature descriptor includes: Compare the first comparison motion feature with the first reference motion feature to generate a deviation vector time series matrix; The deviation vector time series matrix is input into the feature comparison network to obtain the deviation feature descriptor, wherein the deviation feature descriptor is used to characterize the feature attributes and feature deviation vectors that need to be corrected.
3. The method according to claim 2, It is characterized in that The deviation vector time series matrix is input into the feature comparison network to obtain the deviation feature descriptor, wherein the deviation feature descriptor is used to characterize the feature attributes and feature deviation vectors that need to be corrected, and the above includes: Configure feature deviation thresholds, wherein the feature deviation thresholds at least include a distance deviation threshold, an azimuth deviation threshold, an acceleration deviation threshold, and an angular velocity deviation threshold; Collecting action deviation vector time series matrix record data, marking the action deviation vector time series matrix record data according to the feature deviation threshold, and obtaining a deviation feature descriptor identification data set; The deviation feature descriptor identification data set is used as supervision, and the action deviation vector time series matrix record data is used as input to train a long short-term memory neural network to generate the feature comparison network.
4. The method according to claim 2, It is characterized in that Comparing the first comparison motion feature with the first reference motion feature to generate a deviation vector time series matrix includes: Extracting the first moment joint coordinate comparison motion feature of the first comparison motion feature; Extracting the first moment joint coordinate reference motion feature of the first reference motion feature; Perform deviation analysis on the joint coordinate comparison motion feature at the first moment and the joint coordinate reference motion feature at the first moment to obtain a first moment deviation vector array, and add the array to the deviation vector array set; The deviation vector timing matrix is constructed according to the deviation vector array set.
5. The method according to claim 1, It is characterized in that Sending the deviation feature descriptor to the user end includes: constructing an action correction statement according to the deviation feature descriptor; The action correction statement is sent to the user end.
6. An interactive system based on somatosensory capture, It is characterized in that include: A first processing unit is used to collect the target user's joint coordinate timing information through a first optical capture component, wherein the optical capture component includes a plurality of reflective patches, and the plurality of reflective patches are deployed at the target user's preset joints, and the target user's preset joints correspond to a first preset action; the first preset action has a first reference joint, wherein the first reference joint is stationary in the first preset action; The second processing unit is used to obtain the first reference joint coordinates of the first reference joint, perform feature reconstruction on the target user joint coordinate time series information, and generate a first comparison motion feature, including: Extracting the joint coordinates at the first moment according to the joint coordinate timing information of the target user; Calculate a first distance deviation and a first orientation deviation between the joint coordinates at the first moment and the first reference joint; Constructing a first-time joint coordinate comparison motion feature according to the first distance deviation and the first orientation deviation, and adding the first comparison motion feature to the first comparison motion feature, including: Extracting the joint coordinates at the second moment according to the joint coordinate timing information of the target user; Calculate a second distance deviation and a second orientation deviation between the joint coordinates at the second moment and the joint coordinates at the first moment; Constructing a joint coordinate comparison motion feature at the first moment according to the first distance deviation, the first orientation deviation, the second distance deviation, and the second orientation deviation, and adding the feature to the first comparison motion feature; A third processing unit, configured to obtain a first reference motion feature of the first preset action; a fourth processing unit, configured to analyze the first comparison motion feature and the first reference motion feature through a feature comparison network to obtain a deviation feature descriptor; The first communication unit is used to send the deviation feature descriptor to the user end.
7. An electronic device, It is characterized in that include: Memory for storing computer software programs; A processor is used to read and execute the computer software program, thereby implementing an interactive method based on somatosensory capture as described in any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium, It is characterized in that The storage medium stores a computer software program, and when the computer software program is executed by the processor, the interactive method based on somatosensory capture as described in any one of claims 1 to 5 is implemented.
