Motion standard analysis method and device, head-mounted display equipment and storage medium

Through optical flow tracking and standard analysis of user movements, feedback is provided, which solves the problem of users not being able to guarantee the standard of movements when following fitness videos, and improves the exercise effect.

CN118658201APending Publication Date: 2024-09-17MOJIE TECHNOLOGY (WUHU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410719668.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Users cannot obtain movement feedback when following fitness videos, which results in the inability to ensure the standardization of movements and affects the exercise effect.

Method used

Through optical flow tracking of the user's actions, action tracking information is obtained, and standard analysis is performed based on the reference information of standard actions, and action feedback is provided to help users improve their actions.

Benefits of technology

It improves the standardization of movements, improves user experience, and ensures exercise effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658201A
    Figure CN118658201A
Patent Text Reader

Abstract

The invention relates to the technical field of computer vision, and provides an action standard analysis method and device, head-mounted display equipment and a storage medium, and the method comprises the steps: carrying out the optical flow tracking of a second action executed by a user along with a first action based on the head-mounted display equipment, and obtaining the action tracking information corresponding to the second action, the first action is an action serving as a standard reference; acquiring action reference information corresponding to the first action; and performing standard analysis on the second action according to the action tracking information and the action reference information. According to the embodiment of the invention, standard analysis on the actions of the user is realized, action feedback is provided, and the user can improve improper or wrong actions according to the feedback, so that the actions are more standard, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer vision technology, and in particular to a method, apparatus, head-mounted display device and storage medium for analyzing action standardization. Background Art

[0002] In order to exercise, people usually go to the gym to ask a fitness coach for guidance. However, with the development of the times, more and more people are beginning to follow the fitness videos on the Internet to exercise. At present, when users follow the video, they usually follow the relevant movements in a one-way manner, and cannot get feedback guidance on their own movements. The standardization of the movements cannot be guaranteed. If the movements are not in place or wrong, it will affect the exercise effect. Summary of the invention

[0003] The present application provides a method, apparatus, head-mounted display device and storage medium for analyzing the standardization of actions, aiming to realize standardization analysis of user actions and provide action feedback. Users can improve inadequate or erroneous actions based on the feedback, thereby making the actions more standard and improving the user experience.

[0004] To achieve the above objectives, the present application provides a method for analyzing the standardization of an action, the method comprising:

[0005] Performing optical flow tracking on a second action performed by the user following the first action to obtain action tracking information corresponding to the second action, wherein the first action is an action used as a standard reference;

[0006] Acquire action reference information corresponding to the first action;

[0007] The second action is subjected to a standardization analysis according to the action tracking information and the action reference information.

[0008] In addition, to achieve the above-mentioned purpose, the present application also provides an action standardization analysis device, the action standardization analysis device comprising a memory and a processor;

[0009] The memory is used to store computer programs;

[0010] The processor is used to execute the computer program and implement the steps of the above-mentioned action standardization analysis method when executing the computer program.

[0011] In addition, to achieve the above-mentioned purpose, the present application also provides a head-mounted display device, which includes the action standardization analysis device as described above.

[0012] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the steps of the above-mentioned action standardization analysis method.

[0013] The present application discloses a method, apparatus, head-mounted display device and storage medium for analyzing the standardization of an action. The method performs optical flow tracking on a second action performed by a user following a first action to obtain action tracking information corresponding to the second action, and obtains action reference information corresponding to the first action. Then, based on the action tracking information and the action reference information, the second action is analyzed for standardization. That is, standardization analysis of the user's actions is achieved and action feedback is provided. The user can improve inadequate or erroneous actions based on the feedback, thereby making the actions more standard and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0015] Figure 1 is a schematic flow chart of the steps of an action standardization analysis method provided in an embodiment of the present application;

[0016] Figure 2 A schematic flowchart of the steps of performing optical flow tracking on a second action performed by a user following a first action based on a head mounted display device to obtain action tracking information corresponding to the second action, provided by an embodiment of the present application;

[0017] Figure 3 is a schematic flow chart of the steps of performing a standard analysis on the second action according to the action tracking information and the action reference information provided by an embodiment of the present application;

[0018] Figure 4 is a schematic flow chart of steps for performing optical flow tracking on multiple groups of actions provided in an embodiment of the present application;

[0019] Figure 5 This is a flow chart of analyzing the standardization of user movements in a scenario where a user performs fitness exercises through AR glasses, provided in an embodiment of the present application;

[0020] Figure 6 It is a schematic block diagram of an action standardization analysis device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0022] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0023] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0024] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0025] As the times change, more and more people are beginning to follow fitness videos on the Internet to exercise. Currently, when users follow the videos, they usually follow the videos one-way to perform related actions, and cannot get feedback guidance on their own actions. The standardization of the actions cannot be guaranteed. If the actions are not in place or wrong, it will affect the exercise effect.

[0026] In order to solve the above problems, the embodiments of the present application provide a method, apparatus, head-mounted display device and storage medium for analyzing the standardization of user movements and providing movement feedback. Users can improve inadequate or erroneous movements based on the feedback, thereby making the movements more standard and improving the user experience.

[0027] See also Figure 1 , Figure 1 : is a flow chart of the action standardization analysis method provided by an embodiment of the present application. The method can be applied to an action standardization analysis device, and can also be applied to a head-mounted display device including the action standardization analysis device, and is not specifically limited in the present application. Among them, the head-mounted display device includes but is not limited to AR (Augmented Reality) glasses, VR (Virtual Reality) glasses and other devices.

[0028] like Figure 1 As shown, the action standardization analysis method in the present application specifically includes steps S101 to S103.

[0029] S101. Perform optical flow tracking on a second action performed by a user following a first action to obtain action tracking information corresponding to the second action, wherein the first action is an action used as a standard reference.

[0030] When a user wants to exercise a certain fitness project, the user wears the head-mounted display device and inputs the fitness project information into the head-mounted display device. Among them, the fitness project information includes but is not limited to the project type, project level, etc. The project type includes plasticity, weight loss, muscle gain, etc., and the project level includes primary, advanced, advanced, etc. Exemplarily, a voice message of a fitness project is sent to the head-mounted display device. For example, the user sends a voice message of "start primary plasticity" to the head-mounted display device. The corresponding actions of the fitness project are displayed through the head-mounted display device, or the corresponding actions of the fitness project are displayed through the screen of other devices. In order to facilitate the distinction of description, the corresponding actions of the displayed fitness project will be referred to as the first action below, and the first action is the action used as a standard reference. The user follows the first action to perform the corresponding action. In order to facilitate the distinction of description, the corresponding action performed by the user following the first action will be referred to as the second action below. It can be understood that the first action and the second action can be one or more groups of actions.

[0031] For example, taking the head-mounted display device as AR glasses, when a user wants to perform a fitness exercise, the user puts on the AR glasses, stands in front of a mirror, sends voice instructions for the fitness exercise to the AR glasses, and the AR glasses display the corresponding first action of the fitness exercise. The user follows the first action to perform the corresponding second action, and the AR glasses capture the user's second action through the imaging of the mirror.

[0032] Because AR glasses are easy to wear and compact, they will not have much impact on fitness movements, thus affecting the user experience.

[0033] Perform optical flow tracking on the user's second action, extract multi-frame feature points, including but not limited to FAST feature points, ORB feature points, etc., and obtain action tracking information corresponding to the second action based on the extracted feature points. The action tracking information includes but is not limited to the movement trajectory and movement distance corresponding to the second action, and the movement distance is the total movement distance corresponding to the second action.

[0034] In some embodiments, the action standardization analysis method also includes: if the number of single-frame feature points extracted in the initial period of optical flow tracking is less than a preset threshold, outputting prompt information for adjusting the action; and re-performing optical flow tracking on the second action performed by the user after adjustment based on the prompt information.

[0035] Exemplarily, a preset number threshold m corresponding to a single-frame feature point is preset. It should be noted that the preset number threshold m can be flexibly set according to actual conditions and is not specifically limited in this application.

[0036] After the optical flow tracking starts, if the number of single-frame feature points extracted in the initial period is less than the preset number threshold m, the number of feature points is insufficient, which may affect the reliability of the action standardization analysis. Therefore, in this case, a prompt message for user adjustment is output to remind the user to move closer or adjust the posture. After that, the user starts to follow the first action again to perform the corresponding second action, and the optical flow tracking is performed again for the second action performed by the user, so that the number of single-frame feature points extracted by the optical flow tracking is greater than or equal to the preset number threshold m, that is, a sufficient number of feature points are obtained, thereby ensuring the reliability of the action standardization analysis.

[0037] In some embodiments, Figure 2 As shown, step S101 may include sub-step S1011 and sub-step S1012.

[0038] S1011, determining at least one target part corresponding to the user performing the second action;

[0039] S1012: Perform optical flow tracking on at least one of the target parts to obtain the motion tracking information.

[0040] After the user inputs fitness project information to the head mounted display device, at least one target part corresponding to the second action performed by the user is determined according to the fitness project information, wherein the target part is the body movement part of the user performing the second action.

[0041] For example, a target detection algorithm, a ROI (region of interest) extraction algorithm, etc. may be used to determine at least one target part corresponding to the user. It should be noted that the method for obtaining the target part is not specifically limited in the present application.

[0042] For example, assuming that the fitness program information involves dumbbell curls, the target area is determined to be the user's fist, elbow, shoulder, etc.

[0043] After at least one target part is determined, optical flow tracking is only performed on the at least one target part, that is, feature point extraction is only performed on the at least one target part, which not only improves processing efficiency but also improves tracking accuracy.

[0044] In some embodiments, performing optical flow tracking on at least one of the target parts to obtain the motion tracking information includes: extracting key frame feature points for each of the target parts; and clustering the key frame feature points of each of the target parts to obtain the motion tracking information.

[0045] Exemplarily, the key frame is selected based on a preset cycle time and / or the number of feature points. For example, the cycle time is preset to n seconds, a frame is selected as a key frame every n seconds, and key frame feature points are extracted for each target part.

[0046] For another example, considering the accuracy, frames with the number of feature points not less than a certain number (such as 80% of the number of feature points in the first frame) are selected as key frames, and key frame feature points are extracted for each target part.

[0047] Afterwards, the key frame feature points of each target part are clustered to obtain the action tracking information corresponding to the second action. For example, still taking the above-mentioned fitness project information involving dumbbell curl action, the target parts include the fist part, elbow joint part, and shoulder part of the user as an example, the key frame feature points of the fist part of the user are clustered, the key frame feature points of the elbow joint part of the user are clustered, and the key frame feature points of the shoulder part of the user are clustered to obtain the action tracking information corresponding to the dumbbell curl action of the user.

[0048] The processing efficiency is also improved by only performing optical flow tracking on key frames instead of every frame.

[0049] S102: Obtain action reference information corresponding to the first action.

[0050] The action reference information includes but is not limited to the movement track and movement stroke corresponding to the first action. In order to facilitate the distinction and description, the movement track corresponding to the first action is referred to as the first movement track and the movement stroke is referred to as the first movement stroke, and the movement track corresponding to the second action is referred to as the second movement track and the movement stroke is referred to as the second movement stroke.

[0051] Exemplarily, action reference information corresponding to the first action is generated in advance, and the action reference information is saved. It should be noted that the action reference information can be saved locally or in the cloud.

[0052] When the user practices the first action, the action reference information such as the first movement trajectory and the first movement stroke can be quickly obtained by querying the saved information.

[0053] S103: Perform standardization analysis on the second action according to the action tracking information and the action reference information.

[0054] After obtaining the action reference information corresponding to the first action and the action tracking information corresponding to the second action, the action reference information and the action tracking information are combined to perform a standard analysis on the second action, for example, determining the action standard of the second action, analyzing the parts where the second action is significantly different from the first action, and so on.

[0055] In some embodiments, Figure 3 As shown, step S103 may include sub-steps S1031 to S1033.

[0056] S1031, calculating the similarity between the first movement trajectory and the second movement trajectory;

[0057] S1032, calculating a deviation rate between the first moving stroke and the second moving stroke;

[0058] S1033: Determine the standard of the second action according to the similarity and the deviation rate.

[0059] Usually, the first moving trajectory and the second moving trajectory are curves, and the similarity between the first moving trajectory and the second moving trajectory is also the similarity between the curves. Exemplarily, the shape-based method Frechet calculates the similarity c between the first moving trajectory and the second moving trajectory.

[0060] It should be noted that the present application does not impose any specific limitation on the method for calculating the similarity between the first movement trajectory and the second movement trajectory.

[0061] In actual application, there may be multiple target parts. In this case, the similarity corresponding to the movement of each target part is calculated respectively according to the above method, and the average value of the multiple similarities is used as the similarity c between the first movement trajectory and the second movement trajectory.

[0062] For example, still taking the fitness program information listed above involving dumbbell curls, the target parts include the user's fist, elbow, and shoulder. The similarities corresponding to the movement of the fist, the similarities corresponding to the movement of the elbow, and the similarities corresponding to the movement of the shoulder are calculated respectively, and the average of the three similarities is taken as the final similarity c.

[0063] In addition, the deviation rate between the first moving stroke and the second moving stroke is calculated. Exemplarily, the deviation rate between the first moving stroke and the second moving stroke is calculated according to the following formula (1):

[0064] b=1-((a*b2-b1) / b1) (1)

[0065] Wherein, b1 is the first moving stroke, b2 is the second moving stroke, a is the body ratio parameter of the user and the performer of the first action, and b is the deviation rate between the first moving stroke b1 and the second moving stroke b2.

[0066] Exemplarily, the body shape information of the performer of the first action is saved in advance, wherein the body shape information includes but is not limited to information such as height and weight. For example, the body shape information of the performer of the first action is associated with the action reference information corresponding to the first action and saved.

[0067] When the user is practicing the first action, the user's body information such as height and weight is collected, and the body information of the person performing the first action is obtained by querying. The body ratio parameter a of the user and the person performing the first action is determined by combining the body information of the two.

[0068] It is understandable that there is no strict execution order for calculating the similarity between the first moving trajectory and the second moving trajectory and calculating the deviation rate between the first moving stroke and the second moving stroke. Either operation can be executed first, or both operations can be executed simultaneously.

[0069] After obtaining the similarity between the first movement trajectory and the second movement trajectory, and the deviation rate between the first movement stroke and the second movement stroke, the second action is judged according to the similarity and the deviation rate, and the standard degree for measuring the standard of the second action is obtained. The higher the standard degree, the more standard the second action; conversely, the lower the standard degree, the less standard the second action.

[0070] In some embodiments, the standard degree of the second action is calculated according to the following formula (2):

[0071] r=λb+(1-λ)c (2)

[0072] Wherein, r is the standard degree of the second action, λ is the preset weight coefficient, b is the deviation rate between the first moving stroke and the second moving stroke, and c is the similarity between the first moving trajectory and the second moving trajectory.

[0073] Substituting the deviation rate b between the first moving stroke and the second moving stroke in formula (1) into formula (2), the standard degree of the second action r=λ[1-((a*b2-b1) / b1)]+(1-λ)c is calculated.

[0074] Exemplarily, the value range of the preset weight coefficient λ is 0 to 1. The maximum value of the standard degree r of the second action calculated by the above formula (2) is 1, and the minimum value is 0. The larger r is, the more standard the second action is; conversely, the smaller r is, the less standard the second action is.

[0075] For the scenario where the second action includes multiple groups of actions, in some embodiments, such as Figure 4As shown, step S104 to step S108 may be included before step S103.

[0076] S104, based on the feature points of the first frame and the feature points of the current frame extracted by optical flow tracking, determine whether the current group action is completed; if not, execute step S105; if yes, execute step S106;

[0077] S105, continue to perform optical flow tracking on the current group action, and return to execute step S104;

[0078] S106, counting plus one;

[0079] S107, judging whether the second action is completed according to the count; if so, executing step S103; if not, executing step S108;

[0080] S108, taking the next group of actions as the new current group of actions for optical flow tracking, and returning to execute step S104.

[0081] For application scenarios where the second action includes multiple groups of actions, for example, the first frame feature points extracted by optical flow tracking are retained, and each time a feature point of the current frame is obtained during the optical flow tracking process, the feature point of the current frame is matched with the feature point of the first frame, and if the feature point of the current frame matches the feature point of the first frame, it is determined that the current group of actions is completed. On the contrary, if the feature point of the current frame does not match the feature point of the first frame, it is determined that the current group of actions has not been completed.

[0082] For example, the feature point distance between the feature point of the current frame and the feature point of the first frame is determined. If the feature point distance is less than a preset distance threshold, such as the feature point distance is 0, it is determined that the feature point of the current frame matches the feature point of the first frame, and the current group action is completed. If the feature point distance is greater than or equal to the preset distance threshold, it is determined that the feature point of the current frame does not match the feature point of the first frame, and the current group action is not completed.

[0083] It should be noted that the preset distance threshold can be flexibly set according to actual conditions and is not specifically limited in this application.

[0084] If it is determined that the current group of actions has not been completed, continue to perform optical flow tracking on the current group of actions. Exemplarily, in accordance with the aforementioned method, continue to extract key frame feature points for each target part. If it is determined that the current group of actions is completed, the count can be increased by one, and the first frame feature points can be updated as the current frame feature points. In this way, when each group of actions is completed, the retained first frame feature points are updated once, and then the current group of actions is judged based on the latest first frame feature points to further ensure the accuracy of the judgment. If the count is less than the number of action groups included in the second action, it means that the second action has not been completed, then optical flow tracking is performed on the next group of actions. For specific operations, refer to the introduction of optical flow tracking for the current group of actions, which will not be repeated. When the count reaches the number of action groups included in the second action, it means that the second action is completed.

[0085] Exemplarily, after the current group of actions is completed, the current group of actions may be subjected to a standardization analysis based on the action tracking information corresponding to the current group of actions. For specific operations, reference may be made to the above description of the standardization analysis of the second action, which will not be described in detail here.

[0086] Exemplarily, the counting information is output, and the user can timely learn about his / her exercise status by viewing the counting information, thereby further improving the user experience.

[0087] Below, take the example of a user performing a fitness exercise through AR glasses. Figure 5 As shown, the process of analyzing the standardization of user actions is as follows:

[0088] Step a: The user wears the AR glasses and stands in front of a mirror so that the AR glasses can capture the user's movements through the mirror's imaging, and the user inputs a fitness program into the AR glasses by voice;

[0089] Step b, obtaining the target region (ROI region of interest);

[0090] Step c, feature point extraction;

[0091] Step d, determining whether the number of feature points is greater than a preset number threshold; if not, executing step e; if yes, executing step f;

[0092] Step e: outputting a prompt message to remind the user to adjust the posture, and returning to execute step b;

[0093] Step f, key frame selection and tracking;

[0094] Step g: clustering key frame tracking results;

[0095] Step h: determine whether a set of actions is completed; if so, execute step i; if not, return to execute step f;

[0096] Step i: add one to the count, update the feature points of the first frame to the feature points of the current frame, and make a judgment on the standardization of the action.

[0097] In the above embodiment, optical flow tracking is performed on the second action performed by the user based on the head-mounted display device following the first action to obtain action tracking information corresponding to the second action, wherein the first action is an action used as a standard reference, and action reference information corresponding to the first action is obtained, and then the second action is analyzed for standardization based on the action tracking information and the action reference information, that is, standardization analysis of the user's actions is achieved and action feedback is provided. The user can improve inadequate or erroneous actions based on the feedback, thereby making the actions more standard and improving the user experience.

[0098] See also Figure 6 , Figure 6 It is a schematic block diagram of an action standardization analysis device provided in an embodiment of the present application. The action standardization analysis device can be configured in a head-mounted display device to execute the aforementioned action standardization analysis method.

[0099] like Figure 6 As shown, the action standardization analysis device 200 may include a processor 210 and a memory 220, wherein the processor 210 and the memory 220 are connected via a bus, such as an I2C (Inter-integrated Circuit) bus.

[0100] Specifically, the processor 210 may be a micro-controller unit (MCU), a central processing unit (CPU), or a digital signal processor (DSP).

[0101] Specifically, the memory 220 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB disk, or a mobile hard disk, etc. The memory 220 stores various computer programs for the processor 210 to execute.

[0102] The processor 210 is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:

[0103] Performing optical flow tracking on a second action performed by the user following the first action to obtain action tracking information corresponding to the second action, wherein the first action is an action used as a standard reference;

[0104] Acquire action reference information corresponding to the first action;

[0105] The second action is subjected to a standardization analysis according to the action tracking information and the action reference information.

[0106] In some embodiments, the action reference information includes a first movement trajectory and a first movement stroke, and the action tracking information includes a second movement trajectory and a second movement stroke; when the processor 210 implements the standard analysis of the second action according to the action tracking information and the action reference information, it is used to implement:

[0107] Calculating the similarity between the first movement trajectory and the second movement trajectory;

[0108] calculating a deviation rate between the first moving stroke and the second moving stroke;

[0109] The standard degree of the second action is determined according to the similarity and the deviation rate.

[0110] In some embodiments, when the processor 210 determines the standard of the second action according to the similarity and the deviation rate, it is configured to implement:

[0111] According to the formula r=λb+(1-λ)c, the standard degree is calculated;

[0112] Among them, r is the standard degree, λ is the preset weight coefficient, b is the deviation rate, and c is the similarity.

[0113] In some embodiments, when performing optical flow tracking on a second action performed by a user following a first action to obtain action tracking information corresponding to the second action, the processor 210 is configured to implement:

[0114] Determine at least one target part corresponding to the user performing the second action;

[0115] Optical flow tracking is performed on at least one of the target parts to obtain the motion tracking information.

[0116] In some embodiments, when performing optical flow tracking on at least one of the target parts to obtain the motion tracking information, the processor 210 is used to implement:

[0117] Extracting key frame feature points from each target part;

[0118] Clustering is performed on the key frame feature points of each target part to obtain the motion tracking information.

[0119] In some embodiments, the processor 210 is further configured to implement:

[0120] If the number of single-frame feature points extracted during the initial period of optical flow tracking is less than a preset threshold, a prompt message for adjusting the action is output;

[0121] Re-performing optical flow tracking on the second action performed by the user after adjustment based on the prompt information.

[0122] In some embodiments, before performing the standard analysis on the second action according to the action tracking information and the action reference information, the processor 210 is configured to implement:

[0123] If the second action includes multiple groups of actions, judging whether the current group of actions is completed based on the feature points of the first frame and the feature points of the current frame extracted by optical flow tracking;

[0124] If the current group of actions is not completed, continue to perform optical flow tracking on the current group of actions;

[0125] If the current group of actions is completed, the count is increased by one;

[0126] Determining whether the second action is completed according to the count;

[0127] If the second action is completed, the step of performing a standard analysis on the second action based on the action tracking information and the action reference information is performed.

[0128] The action standardization analysis device 200 can execute the action standardization analysis method provided in the embodiment of the present application, and therefore can achieve the beneficial effects that can be achieved by the action standardization analysis method provided in the embodiment of the present application. Please refer to the previous embodiment for details and will not be repeated here.

[0129] The embodiment of the present application also provides a head mounted display device, which includes an action standardization analysis device, and exemplarily, the action standardization analysis device is the action standardization analysis device 200 in the above embodiment. Specifically, the head mounted display device includes but is not limited to AR glasses, VR glasses, etc.

[0130] The head-mounted display device can execute the action standardization analysis method provided in the embodiment of the present application. Therefore, it can achieve the beneficial effects that can be achieved by the action standardization analysis method provided in the embodiment of the present application. Please refer to the previous embodiments for details and will not be repeated here.

[0131] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the action standardization analysis method as described above are implemented.

[0132] The computer-readable storage medium may be an internal storage unit of the action standardization analysis device or the head-mounted display device described in the above-mentioned embodiment, such as a hard disk or memory of the action standardization analysis device or the head-mounted display device. The computer-readable storage medium may also be an external storage device of the action standardization analysis device or the head-mounted display device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital card (Secure Digital Card, SD Card), a flash card (FlashCard), etc., equipped on the action standardization analysis device or the head-mounted display device.

[0133] Since the computer program stored in the storage medium can execute any one of the action standardization analysis methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the action standardization analysis methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0134] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0135] The above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and these modifications or substitutions should be included in the protection scope of the present application.

Claims

1. A method for analyzing action standardization, characterized in that: The action standardization analysis method comprises: Performing optical flow tracking on a second action performed by the user following the first action to obtain action tracking information corresponding to the second action, wherein the first action is an action used as a standard reference; Acquire action reference information corresponding to the first action; The second action is subjected to a standardization analysis according to the action tracking information and the action reference information.

2. The method for analyzing the standardization of an action according to claim 1, characterized in that: The action reference information includes a first movement trajectory and a first movement stroke, and the action tracking information includes a second movement trajectory and a second movement stroke; and the standardization analysis of the second action according to the action tracking information and the action reference information includes: Calculating the similarity between the first movement trajectory and the second movement trajectory; calculating a deviation rate between the first moving stroke and the second moving stroke; The standard degree of the second action is determined according to the similarity and the deviation rate.

3. The method for analyzing the standardization of an action according to claim 2, characterized in that: Determining the standard of the second action according to the similarity and the deviation rate includes: According to the formula r=λb+(1-λ)c, the standard degree is calculated; Among them, r is the standard degree, λ is the preset weight coefficient, b is the deviation rate, and c is the similarity.

4. The method for analyzing the standardization of an action according to claim 1, characterized in that: The performing optical flow tracking on a second action performed by the user following the first action to obtain action tracking information corresponding to the second action includes: Determine at least one target part corresponding to the user performing the second action; Optical flow tracking is performed on at least one of the target parts to obtain the motion tracking information.

5. The method for analyzing the standardization of an action according to claim 4, characterized in that: The performing optical flow tracking on at least one of the target parts to obtain the motion tracking information includes: Extracting key frame feature points from each target part; Clustering is performed on the key frame feature points of each target part to obtain the motion tracking information.

6. The method for analyzing the standardization of an action according to claim 1, characterized in that: The method further comprises: If the number of single-frame feature points extracted during the initial period of optical flow tracking is less than a preset threshold, a prompt message for adjusting the action is output; Re-performing optical flow tracking on the second action performed by the user after adjustment based on the prompt information.

7. The method for analyzing the standardization of an action according to any one of claims 1 to 6, characterized in that: Before the standardization analysis of the second action is performed according to the action tracking information and the action reference information, the method includes: If the second action includes multiple groups of actions, judging whether the current group of actions is completed based on the feature points of the first frame and the feature points of the current frame extracted by optical flow tracking; If the current group of actions is not completed, continue to perform optical flow tracking on the current group of actions; If the current group of actions is completed, the count is increased by one; Determining whether the second action is completed according to the count; If the second action is completed, the step of performing a standard analysis on the second action based on the action tracking information and the action reference information is performed.

8. An action standardization analysis device, characterized in that: The action standardization analysis device includes a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the steps of the action standardization analysis method according to any one of claims 1 to 7 when executing the computer program.

9. A head mounted display device, characterized in that: The head mounted display device comprises the motion standardization analysis device as claimed in claim 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the action standardization analysis method according to any one of claims 1 to 7 are implemented.