Three-dimensional motion data capture device
By performing clustering and fragmentation processing based on the error correction frequency of the three-dimensional motion data, the capacity of the coded value is adjusted, and the problems of descent and computing resource occupation in the transmission of three-dimensional motion data are solved, and error correction efficiency is improved.
Patent Information
- Application Number
- CN202411131454.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-18
- Publication Date
- 2024-11-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing three-dimensional motion data capture technology has a high probability of leaving due to the large data capacity during transmission, and the overall encoding method will squeeze out computing resources and weaken the error correction efficiency.
Cartesian system is constructed according to the error correction frequency of three-dimensional motion data, clustering and sharding processing, adjust the numerical capacity in the space, and encode and transmit multiple coded values. Only the corresponding coded values are decoded during decoding to reduce the Computational resource occupies and improves error correction efficiency.
It significantly reduces the occupation of computing resources and the squeeze of main memory, and improves the error correction efficiency of three-dimensional motion data.
Smart Images

Figure CN119006524A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of three-dimensional motion data, and in particular relates to a three-dimensional motion data capturing device. Background Art
[0002] Today's motion capture technology can quickly record human movements and movement trajectories, perform time-delay analysis or multiple playbacks, and generate the spatial position of the human body at a certain moment through the captured information. Complex ones can calculate the subtle deformation of any facial or torso muscles, and then intuitively match the real human body movements to the designed action characters. It can accurately present three-dimensional motion data.
[0003] As for the capture of three-dimensional motion data, the commonly used method at present is to capture and obtain it by the method mentioned in the patent publication number "CN205091700U", specifically, the three-dimensional motion sensor unit in the wearable device samples the wearer's three-dimensional motion data, that is, the motion data of the wearer's limbs in the three-dimensional space and transmits it to the main processing unit in the wearable device, and the main processing unit then transmits the three-dimensional motion data to the external smart device.
[0004] In actual application, the numerical capacity of three-dimensional motion data is very large, which greatly increases the probability of loss of three-dimensional motion data during transmission. Therefore, it is necessary to perform encoding reduction on the three-dimensional motion data first, and then transmit the encoded three-dimensional motion data, so as to reduce the probability of loss of three-dimensional motion data during transmission. However, the current encoding method for three-dimensional motion data is to perform overall encoding on all data to obtain a complete encoding value. Although good encoding reduction function can be achieved, because one or several three-dimensional motion data of the limbs may often be erroneous and error correction is required, the complete encoding value must be decoded, and then the three-dimensional motion data of the limbs must be corrected, and then the three-dimensional motion data of the limbs after error correction must be encoded. This method will occupy a large amount of cores and main memory size used for calculations, and will also weaken the efficiency of correcting three-dimensional motion data. Summary of the invention
[0005] In order to solve the defects in the prior art, the present invention provides a three-dimensional motion data capture device and method, which obtains the error correction trend of various three-dimensional motion data according to the error correction frequency of various three-dimensional motion data; performs segmentation processing on various data according to the error correction trend of various three-dimensional motion data; makes the numerical capacity of the space where the three-dimensional motion data with a large error correction trend is located small, and makes the numerical capacity of the space where the three-dimensional motion data with a small error correction trend is located high, and then performs encoding on each space to obtain multiple encoding values; at this time, when the three-dimensional motion data of the limbs needs to be corrected, it is only necessary to decode the corresponding encoding value, and the three-dimensional motion data after error correction decoding is sufficient, which greatly reduces the size of the core and main memory used for the squeezed operation and improves the efficiency of the error-corrected three-dimensional motion data.
[0006] The present invention utilizes the following technical solutions.
[0007] A transmission method for a three-dimensional motion data capture device, comprising:
[0008] The three-dimensional motion sensing unit of the wearable device samples the three-dimensional motion data of the wearer and transmits it to the main processing unit of the wearable device, which then encodes the three-dimensional motion data and transmits it to the external smart device;
[0009] The method in which the main processing unit then encodes the three-dimensional motion data and transmits it to the external smart device includes:
[0010] Step 1, the main processing unit receives various three-dimensional motion data;
[0011] Step 2, constructing a Cartesian system based on various three-dimensional motion data to obtain the error correction Cartesian system of various three-dimensional motion data of each limb; obtaining the error correction trend of various three-dimensional motion data of each limb based on the error correction Cartesian system of various three-dimensional motion data of each limb;
[0012] Step 3, based on the error correction trends of various three-dimensional motion data of each limb, clustering is performed on the limbs in various three-dimensional motion data to obtain clustering values of various three-dimensional motion data; based on the clustering values of various three-dimensional motion data, the error correction trends of various three-dimensional motion data of all limbs are obtained;
[0013] Step 4, arranging the three-dimensional motion data according to the error correction trends of various three-dimensional motion data of all limbs to obtain a three-dimensional motion data queue; slicing the three-dimensional motion data queue to obtain multiple spaces;
[0014] Step 5, by executing encoding on multiple spaces, the encoding values of the multiple spaces are obtained, and the encoding values of the spaces are transmitted to the external smart device.
[0015] Preferably, the three-dimensional motion sensing unit samples the wearer's three-dimensional motion data and transmits it to the main processing unit of the wearable device. The main processing unit collects various three-dimensional motion data of all limbs in real time. The main processing unit also stores the three-dimensional motion data collected in the past. The various three-dimensional motion data collected in the past are also accompanied by corresponding error correction frequencies and error correction times.
[0016] Preferably, the three-dimensional motion data includes the position, velocity, acceleration and angle of the corresponding limbs, and the limbs include the left upper limb, right upper limb, left lower limb, right lower limb and head.
[0017] Preferably, Step 2 specifically includes: facing the cth three-dimensional motion data of the bth limb in the past, initially obtaining all the error correction frequencies and correction times of the cth three-dimensional motion data of the bth limb in the past, facing the kth error correction, defining the time interval from the k-1th error correction to the kth error correction as the kth error correction time, and obtaining the time of each error correction; then taking the sequence number of each error correction as the value of the X-axis and the time as the value of the Y-axis, constructing a Cartesian system, sending each error correction time into the Cartesian system to form a numerical point, and obtaining the error correction Cartesian system of the cth three-dimensional motion data of the bth limb in the past.
[0018] Preferably, Step 2 specifically also includes: using the Lagrangian operator method to perform regression on all numerical points in the correction Cartesian system of the cth three-dimensional motion data of the bth limb in the past; obtaining the regression line segment of the numerical point, and taking the derivative of the regression line segment of the numerical point as the correction trend of the cth three-dimensional motion data of the bth limb.
[0019] Preferably, Step 3 specifically includes: performing clustering on the limbs in the cth three-dimensional motion data, defining the limbs whose error correction trend in the cth three-dimensional motion data of all limbs is higher than zero as the cth limb cluster one; defining the limbs whose error correction trend in the cth three-dimensional motion data of all limbs is zero as the cth limb cluster two; and defining the limbs whose error correction trend in the cth three-dimensional motion data of all limbs is lower than zero as the cth limb cluster three.
[0020] Preferably, Step 3 specifically further includes: facing the c-th three-dimensional motion data, totaling the number of the c-th limb cluster one, the number of the limb cluster two, and the number of the limb cluster three; combining the error correction trends of the c-th three-dimensional motion data of each limb, and calculating the error correction trend of the c-th three-dimensional motion data, and the calculation equation is:
[0021]
[0022] In the equation, R c represents the error correction trend of the cth three-dimensional motion data; p c,1 represents the number of limbs in the cth limb cluster; pc,2 represents the number of limbs in the second limb cluster of type c; p c,3 represents the number of limbs in the cth limb cluster three; represents the error correction trend of the cth three-dimensional motion data of the j1th limb in the cth limb cluster 1; represents the error correction trend of the cth three-dimensional motion data of the j2th limb in the cth limb cluster 1; Represents the error correction trend of the cth three-dimensional motion data of the j3rd limb in the cth limb cluster.
[0023] Preferably, Step 4 specifically includes: arranging various three-dimensional motion data from low to high according to the level of the error correction trend of various three-dimensional motion data of all limbs, obtaining a three-dimensional motion data queue, calculating the number of species of three-dimensional motion data contained in the space corresponding to the first three-dimensional motion data in the three-dimensional motion data queue as N1, and setting the first N1 three-dimensional motion data in the three-dimensional motion data queue as space one;
[0024] The number of types of three-dimensional motion data contained in the space corresponding to the N1+1th three-dimensional motion data in the three-dimensional motion data queue is defined as N2, and the three-dimensional motion data from the N1+1th three-dimensional motion data to the N1+N2th three-dimensional motion data in the three-dimensional motion data queue are set as space 2;
[0025] The number of types of three-dimensional motion data contained in the space corresponding to the N1+N2+1th three-dimensional motion data in the three-dimensional motion data queue is defined as N3, and the three-dimensional motion data from the N1+N2+1th to the N1+N2+N3th three-dimensional motion data in the three-dimensional motion data queue is set as space three;
[0026] Similarly, until the number of other types of three-dimensional motion data contained in the corresponding space being calculated is not less than the number of types of three-dimensional motion data that have not been fragmented in the three-dimensional motion data queue, the fragmentation of all types of three-dimensional motion data is achieved and multiple spaces are obtained.
[0027] Preferably, the method for obtaining the number of species of three-dimensional motion data contained in the space corresponding to various three-dimensional motion data is to initially define a slice index β in advance, β can be five, and facing the ωth three-dimensional motion data, according to the error correction trend of the ωth three-dimensional motion data of all limbs combined with the pre-defined slice index, obtain the number of species of three-dimensional motion data contained in the space corresponding to the ωth three-dimensional motion data, and its calculation equation is:
[0028]
[0029] In the equation, N ω represents the number of species of three-dimensional motion data contained in the space corresponding to the ω-th three-dimensional motion data; R ωrepresents the error correction trend of the ωth three-dimensional motion data of all limbs; β represents the pre-defined fragmentation index; e represents the Euler number.
[0030] Preferably, Step 5 specifically includes: using the RLE method to perform independent encoding on each space, obtaining the encoding value of each space, obtaining the encoding value of all spaces, and transmitting the encoding values of all spaces to an external intelligent terminal.
[0031] A three-dimensional motion data capturing device, comprising:
[0032] The three-dimensional motion sensing unit of the wearable device is connected to the main processing unit, and the main processing unit is connected to the external smart device for communication. The three-dimensional motion sensing unit of the wearable device is used to sample the three-dimensional motion data of the wearer and transmit it to the main processing unit of the wearable device, and the main processing unit is used to encode the three-dimensional motion data and transmit it to the external smart device.
[0033] The modules running on the main processing unit include:
[0034] A receiving module, which is used to collect various three-dimensional motion data;
[0035] A trend module is used to construct a Cartesian system based on various three-dimensional motion data to obtain a correction Cartesian system of various three-dimensional motion data of each limb; and to obtain a correction trend of various three-dimensional motion data of each limb based on the correction Cartesian system of various three-dimensional motion data of each limb;
[0036] A clustering module is used to cluster the limbs in various three-dimensional motion data according to the error correction trend of various three-dimensional motion data of each limb, and obtain the clustering value of various three-dimensional motion data; according to the clustering value of various three-dimensional motion data, obtain the error correction trend of various three-dimensional motion data of all limbs;
[0037] An arrangement module is used to arrange the three-dimensional motion data according to the error correction trend of various three-dimensional motion data of all limbs to obtain a three-dimensional motion data queue; and to slice the three-dimensional motion data queue to obtain multiple spaces;
[0038] The encoding module is used to obtain encoding values of the multiple spaces based on executing encoding on the multiple spaces, and transmit the encoding values of the spaces to an external smart device.
[0039] The beneficial effect of the present invention lies in that, compared with the prior art, the present invention obtains the error correction trend of various three-dimensional motion data according to the error correction frequency of various three-dimensional motion data; performs segmentation processing on various data according to the error correction trend of various three-dimensional motion data; makes the numerical capacity of the space where the three-dimensional motion data with a large error correction trend is located small, and makes the numerical capacity of the space where the three-dimensional motion data with a small error correction trend is located high, and then performs encoding on each space to obtain multiple encoding values; at this time, when the three-dimensional motion data of the limbs needs to be corrected, it is only necessary to decode the corresponding encoding value, and the three-dimensional motion data after error correction decoding is sufficient, which greatly reduces the size of the core and main memory used for the squeezed calculation, and improves the efficiency of the error correction three-dimensional motion data. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a partial flow chart of the transmission method of the three-dimensional motion data capturing device of the present invention;
[0041] Figure 2 It is a schematic diagram of the module structure of the three-dimensional motion data capturing device described in the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely expressed in combination with the drawings in the embodiments of the present invention. The embodiments expressed in this application are only part of the embodiments of the present invention, not all of them. According to the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0043] like Figure 1 As shown, a transmission method of a three-dimensional motion data capturing device according to the present invention comprises:
[0044] The three-dimensional motion sensing unit of the wearable device samples the three-dimensional motion data of the wearer, that is, the motion data of the wearer's limbs in three-dimensional space, and transmits it to the main processing unit of the wearable device. The main processing unit then encodes the three-dimensional motion data and transmits it to the external smart device;
[0045] The method in which the main processing unit then encodes the three-dimensional motion data and transmits it to the external smart device includes:
[0046] Step 1, the main processing unit receives various three-dimensional motion data;
[0047] The key of this application is to achieve the transmission of three-dimensional motion data. However, in actual application, the numerical capacity of three-dimensional motion data is very large, which leads to a great increase in the probability of loss of three-dimensional motion data during transmission. Therefore, it is necessary to perform coding reduction on the three-dimensional motion data at the beginning, and then transmit the encoded three-dimensional motion data, thereby reducing the probability of loss of three-dimensional motion data during transmission. However, the current coding method for three-dimensional motion data is to perform overall coding on all data to obtain a complete coding value. Although a good coding reduction function can be achieved, because one or several three-dimensional motion data of a limb often make mistakes and error correction is required, it is necessary to decode the complete coding value, then correct the three-dimensional motion data of the limb, and then encode the three-dimensional motion data of the limb after error correction. This method will occupy a large number of cores and main memory used for calculations, and will also weaken the efficiency of error correction of three-dimensional motion data. To encode the three-dimensional motion data, it is necessary to collect the three-dimensional motion data sampled by the three-dimensional motion sensor unit at the beginning.
[0048] In a preferred but non-limiting embodiment of the present invention, the three-dimensional motion sensing unit samples the wearer's three-dimensional motion data, that is, the motion data of the wearer's limbs in three-dimensional space and transmits it to the main processing unit of the wearable device. The main processing unit collects various three-dimensional motion data of all limbs in real time. The main processing unit also stores the three-dimensional motion data collected in the past. The various three-dimensional motion data collected in the past are also accompanied by corresponding error correction frequencies and error correction times.
[0049] In a preferred but non-limiting embodiment of the present invention, the three-dimensional motion data includes the position, velocity, acceleration and angle of the corresponding limbs, and the limbs include the left upper limb, right upper limb, left lower limb, right lower limb and head.
[0050] Thus, various three-dimensional motion data of all limbs are obtained.
[0051] Step 2, constructing a Cartesian system based on various three-dimensional motion data to obtain the error correction Cartesian system of various three-dimensional motion data of each limb; obtaining the error correction trend of various three-dimensional motion data of each limb based on the error correction Cartesian system of various three-dimensional motion data of each limb;
[0052] Since the present application is to first encode the three-dimensional motion data and then transmit the encoded three-dimensional motion data, the probability of loss of the three-dimensional motion data during transmission is reduced, and the transmission efficiency of the three-dimensional motion data is improved. However, the current method for encoding the three-dimensional motion data is to perform overall encoding on all the data to obtain a complete encoding value. Although a good encoding reduction function can be achieved, one or more three-dimensional motion data of the limbs may often go wrong and need to be corrected, such as the position, speed, acceleration or angle of the limbs often go wrong or are interfered with by external factors; and in the three-dimensional motion of the limbs, the error correction is not performed. When error correction is to be performed on the motion data (the need for error correction may be determined based on whether the position, speed, acceleration or angle of a specific limb is erroneous within a set time interval or the frequency of errors caused by external interference exceeds a set critical amount, and if it exceeds a critical amount, the subsequent three-dimensional motion data must be corrected), the complete coding value must be decoded, and then the three-dimensional motion data of the limb is corrected, and then the three-dimensional motion data of the corrected limb is encoded. This method will occupy a large amount of cores and main memory used for calculations, and will also weaken the efficiency of correcting the three-dimensional motion data. Therefore, the present application provides a method in which a main processing unit then encodes the three-dimensional motion data and transmits it to an external smart device.
[0053] The method provided in the present application in which a main processing unit subsequently encodes the three-dimensional motion data and transmits it to an external intelligent device is to obtain the error correction trend of various three-dimensional motion data of all limbs based on the error correction frequency of various three-dimensional motion data; to perform segmentation processing on various three-dimensional motion data based on the error correction trend of various three-dimensional motion data of all limbs; to make the numerical capacity of the space where the three-dimensional motion data with a large error correction trend is located small, and to make the numerical capacity of the space where the three-dimensional motion data with a small error correction trend is located high, and then to perform encoding on each space to obtain a number of encoding values; at this time, when the three-dimensional motion data of the limbs needs to be corrected, it is only necessary to decode the corresponding encoding value to correct the three-dimensional motion data, which greatly reduces the size of the core and main memory used for the squeezed calculation and improves the efficiency of the error correction three-dimensional motion data; and to obtain the error correction trend of various three-dimensional motion data of all limbs, it is necessary to initially obtain the error correction trend of various three-dimensional motion data of each limb.
[0054] In a preferred but non-restrictive implementation of the present invention, Step 2 specifically includes: facing the cth three-dimensional motion data of the bth limb in the past, initially obtaining all the error correction frequencies and correction times of the cth three-dimensional motion data of the bth limb in the past, facing the kth error correction, defining the time interval from the k-1th error correction to the kth error correction as the kth error correction time, and obtaining the time for each error correction; then taking the sequence number of each error correction (increasing by one from the beginning) as the value of the X-axis, and the time as the value of the Y-axis, constructing a Cartesian system, sending each error correction time into the Cartesian system to form a numerical point, and obtaining the error correction Cartesian system of the cth three-dimensional motion data of the bth limb in the past.
[0055] In a preferred but non-restrictive implementation of the present invention, Step 2 specifically also includes: using the Lagrangian operator method to perform regression on all numerical points in the correction Cartesian system of the cth three-dimensional motion data of the bth limb in the past; obtaining the regression line segment of the numerical point, and taking the derivative of the regression line segment of the numerical point as the correction trend of the cth three-dimensional motion data of the bth limb.
[0056] The higher the derivative of the regression line segment, the more stable the three-dimensional motion data of the limb is, which means that the time taken to correct the three-dimensional motion data of the limb is getting higher and higher; the lower the derivative of the regression line segment, the more unstable the three-dimensional motion data of the limb is, which means that the time taken to correct the three-dimensional motion data of the limb is getting lower and lower.
[0057] Thus, the error correction trends of various three-dimensional motion data of each limb are obtained.
[0058] Step 3, based on the error correction trends of various three-dimensional motion data of each limb, clustering is performed on the limbs in various three-dimensional motion data to obtain clustering values of various three-dimensional motion data; based on the clustering values of various three-dimensional motion data, the error correction trends of various three-dimensional motion data of all limbs are obtained;
[0059] The present application performs segmentation processing on various three-dimensional motion data according to the correction trends of various three-dimensional motion data of all limbs, thereby improving the efficiency of correcting the three-dimensional motion data; and after obtaining the correction trends of various three-dimensional motion data of each limb through Step 2, it is necessary to obtain the correction trends of various three-dimensional motion data of all limbs based on the correction trends of various three-dimensional motion data of each limb.
[0060] When facing the correction trend of a certain three-dimensional motion data of a limb, if the correction trend of the three-dimensional motion data of the limb is higher than zero, it means that the correction time of the three-dimensional motion data of the limb will be higher after a long period of time; if the correction trend of the three-dimensional motion data of the limb is lower than zero, it means that the correction time of the three-dimensional motion data of the limb will be lower after a long period of time; if the correction trend of the three-dimensional motion data of the limb is zero, it means that the correction time of the three-dimensional motion data of the limb will not change with the change of time point; therefore, according to the correction trends of various three-dimensional motion data of each limb, clustering can be performed on the limbs in the various three-dimensional motion data, and the correction trends of various three-dimensional motion data of all limbs can be obtained according to the clustering values.
[0061] In a preferred but non-limiting embodiment of the present invention, Step 3 specifically includes: performing clustering on the limbs in the cth three-dimensional motion data, defining the limbs whose error correction trend in the cth three-dimensional motion data of all limbs is higher than zero as the cth limb cluster 1; defining the limbs whose error correction trend in the cth three-dimensional motion data of all limbs is zero as the cth limb cluster 2; defining the limbs whose error correction trend in the cth three-dimensional motion data of all limbs is lower than zero as the cth limb cluster 3;
[0062] When facing the cth type of three-dimensional motion data; if the number of the cth type limb cluster one is higher and the error correction trend in the cluster is higher, it means that the error correction time of the cth type three-dimensional motion data will become higher and higher, that is, the frequency of error correction for the cth type three-dimensional motion data will become lower and lower; if the number of the cth type limb cluster two is higher, it means that the error correction time of the cth type three-dimensional motion data cannot change, that is, the frequency of error correction for the cth type three-dimensional motion data does not change; if the number of the cth type limb cluster three is higher and the error correction trend in the cluster is lower, it means that the error correction time of the cth type three-dimensional motion data will become lower and lower, that is, the frequency of error correction for the cth type three-dimensional motion data will become higher and higher, so the error correction trend of various three-dimensional motion data of all limbs can be calculated according to the number of each limb cluster in various three-dimensional motion data.
[0063] In a preferred but non-limiting embodiment of the present invention, Step 3 specifically includes: facing the c-th three-dimensional motion data, totaling the number of the c-th limb cluster one, the number of the limb cluster two, and the number of the limb cluster three; combining the error correction trend of the c-th three-dimensional motion data of each limb, and calculating the error correction trend of the c-th three-dimensional motion data, and the calculation equation is:
[0064]
[0065] In the equation, R c represents the error correction trend of the cth three-dimensional motion data; p c,1 represents the number of limbs in the cth limb cluster; pc,2 represents the number of limbs in the second limb cluster of type c; p c,3 represents the number of limbs in the cth limb cluster three; represents the error correction trend of the cth three-dimensional motion data of the j1th limb in the cth limb cluster 1; represents the error correction trend of the cth three-dimensional motion data of the j2th limb in the cth limb cluster 1; Represents the error correction trend of the cth three-dimensional motion data of the j3rd limb in the cth limb cluster.
[0066] And R c The higher the value of , the faster the error correction of the c-th three-dimensional motion data will be along with the change of time point.
[0067] Thus, the error correction trends of various three-dimensional motion data of all limbs are obtained.
[0068] Step 4, arranging the three-dimensional motion data according to the error correction trends of various three-dimensional motion data of all limbs to obtain a three-dimensional motion data queue; slicing the three-dimensional motion data queue to obtain multiple spaces;
[0069] The present application performs slicing processing on the overall three-dimensional motion data, and then performs encoding processing on each space respectively to obtain the code value of each space; when error correction is to be performed on the three-dimensional motion data of the limbs, the corresponding code value must be decoded. Therefore, when facing the c-th type of three-dimensional motion data, if the error correction trend of the c-th type of three-dimensional motion data is higher, the frequency of decoding the spatial code value corresponding to the c-th type of three-dimensional motion data must be higher; because the higher the code amount in the code value, the longer the decoding time, so in order to improve the decoding efficiency, when facing the spatial code value with a higher decoding frequency, the three-dimensional motion data contained in the spatial code value is lower, so it is necessary to perform slicing on various three-dimensional motion data according to the error correction trend of various three-dimensional motion data of all limbs.
[0070] In a preferred but non-limiting embodiment of the present invention, Step 4 specifically includes: according to the level of the error correction trend of various three-dimensional motion data of all limbs, various three-dimensional motion data are arranged from low to high to obtain a three-dimensional motion data queue, the number of species of three-dimensional motion data contained in the space corresponding to the first three-dimensional motion data in the three-dimensional motion data queue is calculated and defined as N1, and the first N1 three-dimensional motion data in the three-dimensional motion data queue is set as space one;
[0071] The number of types of three-dimensional motion data contained in the space corresponding to the N1+1th three-dimensional motion data in the three-dimensional motion data queue is defined as N2, and the three-dimensional motion data from the N1+1th three-dimensional motion data to the N1+N2th three-dimensional motion data in the three-dimensional motion data queue are set as space 2;
[0072] The number of types of three-dimensional motion data contained in the space corresponding to the N1+N2+1th three-dimensional motion data in the three-dimensional motion data queue is defined as N3, and the three-dimensional motion data from the N1+N2+1th to the N1+N2+N3th three-dimensional motion data in the three-dimensional motion data queue is set as space three;
[0073] Similarly, until the number of other types of three-dimensional motion data contained in the corresponding space being calculated is not less than the number of types of three-dimensional motion data that have not been fragmented in the three-dimensional motion data queue, the fragmentation of all types of three-dimensional motion data is achieved and multiple spaces are obtained.
[0074] In a preferred but non-limiting embodiment of the present invention, the method for obtaining the number of species of three-dimensional motion data contained in the space corresponding to various three-dimensional motion data is to initially define a slice index β in advance, β can be five, and facing the ωth three-dimensional motion data, according to the error correction trend of the ωth three-dimensional motion data of all limbs combined with the pre-defined slice index, obtain the number of species of three-dimensional motion data contained in the space corresponding to the ωth three-dimensional motion data, and its calculation equation is:
[0075]
[0076] In the equation, N ω represents the number of species of three-dimensional motion data contained in the space corresponding to the ω-th three-dimensional motion data; R ω represents the error correction trend of the ωth three-dimensional motion data of all limbs; β represents the pre-defined fragmentation index; e represents the Euler number.
[0077] So multiple spaces are obtained.
[0078] Step 5, by executing encoding on multiple spaces, the encoding values of the multiple spaces are obtained, and the encoding values of the spaces are transmitted to the external smart device.
[0079] Since the present application first encodes the three-dimensional motion data and then transmits the encoded three-dimensional motion data, thereby reducing the probability of three-dimensional motion data being lost during transmission and improving the transmission efficiency of three-dimensional motion data, it is also necessary to encode multiple spaces, obtain the encoding values of multiple spaces, and transmit the encoding values of the spaces to an external smart device.
[0080] In a preferred but non-limiting implementation of the present invention, Step 5 specifically includes: using the RLE method to perform independent encoding on each space, obtaining the encoding value of each space, obtaining the encoding value of all spaces, and transmitting the encoding values of all spaces to an external intelligent terminal.
[0081] When using the AER error correction algorithm to correct a certain type of three-dimensional motion data of a certain limb, it is only necessary to decode the space corresponding to the category, complete the error correction, and then perform the encoding and transmission again, which greatly improves the efficiency of the transmission control of the three-dimensional motion data.
[0082] like Figure 2 As shown, a three-dimensional motion data capturing device according to the present invention comprises:
[0083] The three-dimensional motion sensing unit of the wearable device is connected to the main processing unit, and the main processing unit is connected to the external smart device for communication. The three-dimensional motion sensing unit of the wearable device is used to sample the three-dimensional motion data of the wearer, that is, the motion data of the wearer's limbs in the three-dimensional space and transmit it to the main processing unit of the wearable device, and the main processing unit is used to encode the three-dimensional motion data and transmit it to the external smart device.
[0084] The modules running on the main processing unit include:
[0085] A receiving module, which is used to collect various three-dimensional motion data;
[0086] A trend module is used to construct a Cartesian system based on various three-dimensional motion data to obtain a correction Cartesian system of various three-dimensional motion data of each limb; and to obtain a correction trend of various three-dimensional motion data of each limb based on the correction Cartesian system of various three-dimensional motion data of each limb;
[0087] A clustering module is used to cluster the limbs in various three-dimensional motion data according to the error correction trend of various three-dimensional motion data of each limb, and obtain the clustering value of various three-dimensional motion data; according to the clustering value of various three-dimensional motion data, obtain the error correction trend of various three-dimensional motion data of all limbs;
[0088] An arrangement module is used to arrange the three-dimensional motion data according to the error correction trend of various three-dimensional motion data of all limbs to obtain a three-dimensional motion data queue; and to slice the three-dimensional motion data queue to obtain multiple spaces;
[0089] The encoding module is used to obtain encoding values of the multiple spaces based on executing encoding on the multiple spaces, and transmit the encoding values of the spaces to an external smart device.
[0090] The beneficial effect of the present invention lies in that, compared with the prior art, the present invention obtains the error correction trend of various three-dimensional motion data according to the error correction frequency of various three-dimensional motion data; performs segmentation processing on various data according to the error correction trend of various three-dimensional motion data; makes the numerical capacity of the space where the three-dimensional motion data with a large error correction trend is located small, and makes the numerical capacity of the space where the three-dimensional motion data with a small error correction trend is located high, and then performs encoding on each space to obtain multiple encoding values; at this time, when the three-dimensional motion data of the limbs needs to be corrected, it is only necessary to decode the corresponding encoding value, and the three-dimensional motion data after error correction decoding is sufficient, which greatly reduces the size of the core and main memory used for the squeezed calculation, and improves the efficiency of the error correction three-dimensional motion data.
[0091] The present disclosure can be a system, method and / or computer program product. The computer program product can include a computer-readable backup medium having computer-readable program instructions thereon for causing a processor to execute various aspects of the disclosure.
[0092] The computer readable backup medium can be a tangible network capable of retaining and backing up the instructions used by the instruction execution network. The computer readable backup medium can be, but is not limited to, an electrical backup network, a magnetic backup network, an optical backup network, an electromagnetic backup network, a semiconductor backup network, or any suitable combination of the above. Further examples of computer readable backup media (non-exhaustive list) include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (HD-ROM), digital versatile disk (DXD), memory stick, floppy disk, mechanically encoded network, such as punch cards or protrusions in grooves with instructions backed up thereon, and any suitable combination of the above. The computer readable backup medium used herein is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating via a waveguide or other transmission medium (e.g., a light pulse via a power line cable), or an electrical signal transmitted via wires.
[0093] The computer readable program instructions expressed herein can be downloaded from the computer readable backup medium to each inference / processing grid line, or downloaded to an external computer or external backup grid line via a wireless network, such as the Internet, a local area network, a wide area network and / or a wireless network. The wireless network can include copper transmission cables, power transmission lines, wireless transmission, routers, firewalls, switches, gateway computers and / or edge service devices. The wireless network adapter card or wireless network interface in each inference / processing grid line receives the computer readable program instructions from the wireless network and forwards the computer readable program instructions for storage in the computer readable backup medium in each inference / processing grid line.
[0094] The computer program instructions for performing the operations of the present disclosure can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, conditional setting values, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Sdaletal A, H++, etc., and conventional procedural programming languages such as "H" language or similar programming languages. The computer-readable program instructions can be executed entirely on the client computer, partially on the client computer, as a separate software package, partially on the client computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the client computer via any other wireless network, including a local area network (LAb) or a wide area network (WAb), or can be connected to an external computer (just like using an Internet service provider to connect via the Internet). In some embodiments, the electronic circuit is customized by applying the state values of computer-readable program instructions, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), and the electronic circuit can execute the computer-readable program instructions to achieve various aspects of the overhead disclosure.
[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the present invention. Although the present invention has been implemented in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not deviate from the spirit and scope of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A transmission method for a three-dimensional motion data capture device, characterized in that: include: The three-dimensional motion sensing unit of the wearable device samples the three-dimensional motion data of the wearer and transmits it to the main processing unit of the wearable device, which then encodes the three-dimensional motion data and transmits it to the external smart device; The method in which the main processing unit then encodes the three-dimensional motion data and transmits it to the external smart device includes: Step 1, the main processing unit receives various three-dimensional motion data; Step 2, constructing a Cartesian system based on various three-dimensional motion data to obtain the error correction Cartesian system of various three-dimensional motion data of each limb; obtaining the error correction trend of various three-dimensional motion data of each limb based on the error correction Cartesian system of various three-dimensional motion data of each limb; Step 3, based on the error correction trends of various three-dimensional motion data of each limb, clustering is performed on the limbs in various three-dimensional motion data to obtain clustering values of various three-dimensional motion data; based on the clustering values of various three-dimensional motion data, the error correction trends of various three-dimensional motion data of all limbs are obtained; Step 4, arranging the three-dimensional motion data according to the error correction trends of various three-dimensional motion data of all limbs to obtain a three-dimensional motion data queue; slicing the three-dimensional motion data queue to obtain multiple spaces; Step 5, by executing encoding on multiple spaces, the encoding values of the multiple spaces are obtained, and the encoding values of the spaces are transmitted to the external smart device.
2. The transmission method of the three-dimensional motion data capturing device according to claim 1, characterized in that: The three-dimensional motion sensing unit samples the wearer's three-dimensional motion data and transmits it to the main processing unit of the wearable device. The main processing unit collects various three-dimensional motion data of all limbs in real time. The main processing unit also stores the three-dimensional motion data collected in the past. The various three-dimensional motion data collected in the past are also accompanied by corresponding error correction frequencies and error correction times.
3. The transmission method of the three-dimensional motion data capturing device according to claim 2, characterized in that: The three-dimensional motion data includes the position, velocity, acceleration and angle of corresponding limbs, and the limbs include the left upper limb, right upper limb, left lower limb, right lower limb and head.
4. The transmission method of the three-dimensional motion data capturing device according to claim 3, characterized in that: Step 2 specifically includes: facing the cth three-dimensional motion data of the bth limb in the past, initially obtaining all the error correction frequencies and error correction times of the cth three-dimensional motion data of the bth limb in the past, facing the kth error correction, defining the time interval from the k-1th error correction to the kth error correction as the kth error correction time, and obtaining the time of each error correction; then taking the sequence number of each error correction as the value of the X-axis and the time as the value of the Y-axis, constructing a Cartesian system, sending each error correction time into the Cartesian system to form a numerical point, and obtaining the error correction Cartesian system of the cth three-dimensional motion data of the bth limb in the past; Step 2 specifically includes: using the Lagrangian operator method to perform regression on all numerical points in the correction Cartesian system of the cth three-dimensional motion data of the bth limb in the past; obtaining the regression line segment of the numerical point, and taking the derivative of the regression line segment of the numerical point as the correction trend of the cth three-dimensional motion data of the bth limb.
5. The transmission method of the three-dimensional motion data capturing device according to claim 4, characterized in that: Step 3 specifically includes: performing clustering on the limbs in the cth three-dimensional motion data, defining the limbs whose error correction trend in the cth three-dimensional motion data of all limbs is higher than zero as the cth limb cluster one; defining the limbs whose error correction trend in the cth three-dimensional motion data of all limbs is zero as the cth limb cluster two; and defining the limbs whose error correction trend in the cth three-dimensional motion data of all limbs is lower than zero as the cth limb cluster three.
6. The transmission method of the three-dimensional motion data capturing device according to claim 5, characterized in that: Step 3 specifically includes: facing the cth three-dimensional motion data, summing up the number of the cth limb cluster 1, the number of the limb cluster 2, and the number of the limb cluster 3; combining the error correction trends of the cth three-dimensional motion data of each limb, and calculating the error correction trend of the cth three-dimensional motion data, and the calculation equation is: In the equation, R c represents the error correction trend of the cth three-dimensional motion data; p c,1 represents the number of limbs in the cth limb cluster; p c,2 represents the number of limbs in the second limb cluster of type c; p c,3 represents the number of limbs in the cth limb cluster three; represents the error correction trend of the cth three-dimensional motion data of the j1th limb in the cth limb cluster 1; represents the error correction trend of the cth three-dimensional motion data of the j2th limb in the cth limb cluster 1; Represents the error correction trend of the cth three-dimensional motion data of the j3rd limb in the cth limb cluster.
7. The transmission method of the three-dimensional motion data capturing device according to claim 6, characterized in that: Step 4 specifically includes: according to the level of the error correction trend of various three-dimensional motion data of all limbs, various three-dimensional motion data are arranged from low to high to obtain a three-dimensional motion data queue, the number of species of three-dimensional motion data contained in the space corresponding to the first three-dimensional motion data in the three-dimensional motion data queue is calculated and defined as N1, and the first N1 three-dimensional motion data in the three-dimensional motion data queue is set as space one; The number of types of three-dimensional motion data contained in the space corresponding to the N1+1th three-dimensional motion data in the three-dimensional motion data queue is defined as N2, and the three-dimensional motion data from the N1+1th three-dimensional motion data to the N1+N2th three-dimensional motion data in the three-dimensional motion data queue are set as space 2; The number of types of three-dimensional motion data contained in the space corresponding to the N1+N2+1th three-dimensional motion data in the three-dimensional motion data queue is defined as N3, and the three-dimensional motion data from the N1+N2+1th to the N1+N2+N3th three-dimensional motion data in the three-dimensional motion data queue is set as space three; Similarly, until the number of other types of three-dimensional motion data contained in the corresponding space being calculated is not less than the number of types of three-dimensional motion data that have not been fragmented in the three-dimensional motion data queue, the fragmentation of all types of three-dimensional motion data is achieved and multiple spaces are obtained.
8. The transmission method of the three-dimensional motion data capturing device according to claim 7, characterized in that: The method for obtaining the number of species of three-dimensional motion data contained in the space corresponding to various three-dimensional motion data is to initially define a slice index β in advance, and when facing the ω-th three-dimensional motion data, according to the error correction trend of the ω-th three-dimensional motion data of all limbs combined with the pre-defined slice index, obtain the number of species of three-dimensional motion data contained in the space corresponding to the ω-th three-dimensional motion data, and the calculation equation is: In the equation, N ω represents the number of species of three-dimensional motion data contained in the space corresponding to the ω-th three-dimensional motion data; R ω represents the error correction trend of the ωth three-dimensional motion data of all limbs; β represents the pre-defined fragmentation index; e represents the Euler number.
9. The transmission method of the three-dimensional motion data capturing device according to claim 8, characterized in that: Step 5 specifically includes: using the RLE method to perform independent encoding on each space, obtaining the encoding value of each space, obtaining the encoding value of all spaces, and transmitting the encoding value of all spaces to an external intelligent terminal.
10. A three-dimensional motion data capture device, characterized in that: include: The three-dimensional motion sensing unit of the wearable device is connected to the main processing unit, and the main processing unit is connected to the external smart device for communication. The three-dimensional motion sensing unit of the wearable device is used to sample the three-dimensional motion data of the wearer and transmit it to the main processing unit of the wearable device, and the main processing unit is used to encode the three-dimensional motion data and transmit it to the external smart device. The modules running on the main processing unit include: A receiving module, which is used to collect various three-dimensional motion data; A trend module is used to construct a Cartesian system based on various three-dimensional motion data to obtain a correction Cartesian system of various three-dimensional motion data of each limb; and to obtain a correction trend of various three-dimensional motion data of each limb based on the correction Cartesian system of various three-dimensional motion data of each limb; A clustering module is used to cluster the limbs in various three-dimensional motion data according to the error correction trend of various three-dimensional motion data of each limb, and obtain the clustering value of various three-dimensional motion data; according to the clustering value of various three-dimensional motion data, obtain the error correction trend of various three-dimensional motion data of all limbs; An arrangement module is used to arrange the three-dimensional motion data according to the error correction trend of various three-dimensional motion data of all limbs to obtain a three-dimensional motion data queue; and to slice the three-dimensional motion data queue to obtain multiple spaces; The encoding module is used to obtain encoding values of the multiple spaces based on executing encoding on the multiple spaces, and transmit the encoding values of the spaces to an external smart device.
Citation Information
Patent Citations
Wearable equipment based on three -dimensional moving sensor and biological identification
CN205091700U
