CN116269347A - Method, device, terminal and storage medium for determining type of back swing - Google Patents
Method, device, terminal and storage medium for determining type of back swing Download PDFInfo
- Publication number
- CN116269347A CN116269347A CN202310265761.9A CN202310265761A CN116269347A CN 116269347 A CN116269347 A CN 116269347A CN 202310265761 A CN202310265761 A CN 202310265761A CN 116269347 A CN116269347 A CN 116269347A
- Authority
- CN
- China
- Prior art keywords
- back swing
- type
- value
- eigenvalue
- axis acceleration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Measuring devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor or mobility of a limb
- A61B5/1116—Determining posture transitions
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- Dentistry (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Physiology (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Image Analysis (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
Description
技术领域technical field
本申请涉及数据处理技术领域,具体而言,涉及一种后摆动作类型的确定方法、装置、终端及存储介质。The present application relates to the technical field of data processing, and in particular, to a method, device, terminal and storage medium for determining the type of back swing.
背景技术Background technique
目前用于人体运动测量与分析的技术,大多都处于时间测量、距离测量等领域,也就是对结果进行测量,而无法获取人体运动的过程数据,也就无法对运动结果的成因进行分析,继而无法给出针对性的提升指导建议。一些针对人体运动过程测量的方案,是通过机器视觉技术或多模块采集技术,从图像中分析人的肢体动作。机器视觉对环境照度、光影条件、环境背景颜色以及被测人服装颜色等均有很高的要求,多模块采集技术需要在人体不同部位同时安装采集模块。Most of the technologies currently used for human motion measurement and analysis are in the fields of time measurement and distance measurement, that is, to measure the results, but cannot obtain the process data of human motion, so it is impossible to analyze the causes of the motion results, and then It is impossible to give specific guidance and suggestions for improvement. Some solutions for the measurement of human motion process use machine vision technology or multi-module acquisition technology to analyze human body movements from images. Machine vision has high requirements on environmental illumination, light and shadow conditions, environmental background color, and clothing color of the person under test. Multi-module acquisition technology requires acquisition modules to be installed on different parts of the human body at the same time.
而对于跑步运动而言,尤其是后摆动作类型的确定,现有技术采用跑步机与摄像系统结合的方式,也就是让被测者在跑步机上运动,并拍摄视频来分析跑步动作。视频分析一般是采用比对分析方法,将被测者的跑步动作与标准动作图像做比对,从而给出相似度来衡量实际动作与标准动作的差距,进而确定动作是否为后摆动作以及对后摆动作的类型进行划分。For running, especially the determination of the type of back swing, the prior art uses a combination of a treadmill and a camera system, that is, the subject is allowed to exercise on the treadmill, and a video is taken to analyze the running movement. Video analysis generally uses a comparative analysis method to compare the running action of the subject with the standard action image, so as to give a similarity to measure the gap between the actual action and the standard action, and then determine whether the action is a backswing action and how to compare it. Types of back swing movements are classified.
但是,采用上述方式时,人在跑步机上跑与在实际路上跑的个人体验不同,所以动作本身可能会有区别,所以采集图像本身不能准确反映出被测者的实际跑步动作;另外,视频分析法计算量大,且跑步动作的图像难以体现出实际出力、受力等情况,而且实际情况中并不存在所谓的标准动作,不同的人群的运动目的不同(比如普通人是为了锻炼、运动员是为了成绩),所以难以给出标准对象,而且这种比对结果只能作为对跑步运动的评价,不能称为分析。因此,通过上述方式来判断后摆动作的类型会使判断结果的准确度。However, when using the above method, the personal experience of running on a treadmill is different from that of running on the actual road, so the action itself may be different, so the collected image itself cannot accurately reflect the actual running action of the subject; in addition, video analysis The calculation amount of the method is large, and the image of the running action is difficult to reflect the actual output and force, and there is no so-called standard action in the actual situation. Different groups of people have different exercise purposes (for example, ordinary people are for exercise, athletes are for For the sake of performance), it is difficult to give a standard object, and this comparison result can only be used as an evaluation of running sports, not an analysis. Therefore, judging the type of the back swing action by the above method will increase the accuracy of the judgment result.
发明内容Contents of the invention
本申请的主要目的在于提供一种后摆动作类型的确定方法、装置、终端及存储介质,以解决相关技术中存在的准确度低的问题。The main purpose of the present application is to provide a method, device, terminal and storage medium for determining the type of back swing action, so as to solve the problem of low accuracy existing in related technologies.
为了实现上述目的,第一方面,本申请提供了一种后摆动作类型的确定方法,包括:In order to achieve the above purpose, in the first aspect, the present application provides a method for determining the type of back swing, including:
获取目标物在跑步过程中的运动数据,并提取所述运动数据中的角度特征值和变化趋势特征值;Acquiring motion data of the target object during running, and extracting angle feature values and change trend feature values in the motion data;
基于所述角度特征值和所述变化趋势特征值,确定后摆点的特征值帧号;Based on the angle eigenvalue and the trend eigenvalue, determine the eigenvalue frame number of the rear swing point;
根据所述后摆点的特征值帧号,确定所述后摆动作类型。The type of the back swing action is determined according to the frame number of the feature value of the back swing point.
在一种可能的实现方式中,所述基于所述角度特征值和所述变化趋势特征值,确定后摆点的特征值帧号,包括:In a possible implementation manner, the determining the frame number of the feature value of the rear swing point based on the angle feature value and the change trend feature value includes:
若所述角度特征值与所述变化趋势特征值不相等,将趋势平稳段的最后一点作为后摆点的特征值帧号。If the angle eigenvalue is not equal to the change trend eigenvalue, the last point of the trend plateau is used as the eigenvalue frame number of the back swing point.
在一种可能的实现方式中,所述根据所述后摆点的特征值帧号,确定所述后摆动作类型,包括:In a possible implementation manner, the determining the type of the back swing action according to the frame number of the feature value of the back swing point includes:
获取所述后摆点的特征值帧号对应的后摆主动性特征值;Acquiring the back swing initiative eigenvalue corresponding to the eigenvalue frame number of the back swing point;
基于所述后摆主动性特征值、x轴加速度特征判断值和z轴加速度特征判断值,确定所述后摆动作类型。The type of the back swing action is determined based on the characteristic value of the back swing initiative, the characteristic judgment value of the x-axis acceleration, and the judgment value of the characteristic characteristic of the z-axis acceleration.
在一种可能的实现方式中,所述基于所述后摆主动性特征值、x轴加速度特征判断值和z轴加速度特征判断值,确定所述后摆动作类型,包括:In a possible implementation manner, the determining the type of the back swing action based on the characteristic value of the back swing initiative, the characteristic judgment value of the x-axis acceleration and the judgment value of the characteristic characteristic of the z-axis acceleration includes:
基于所述x轴加速度特征判断值和所述z轴加速度特征判断值,确定所述z轴加速度特征判断值的极值;determining an extremum of the z-axis acceleration characteristic judgment value based on the x-axis acceleration characteristic judgment value and the z-axis acceleration characteristic judgment value;
基于所述z轴加速度特征判断值的极值和所述后摆主动性特征值,确定所述后摆动作类型。The type of the back swing action is determined based on the extreme value of the z-axis acceleration feature judgment value and the back swing initiative feature value.
在一种可能的实现方式中,所述基于所述x轴加速度特征判断值和所述z轴加速度特征判断值,确定所述z轴加速度特征判断值的极值,包括:In a possible implementation manner, the determining the extreme value of the z-axis acceleration characteristic judgment value based on the x-axis acceleration characteristic judgment value and the z-axis acceleration characteristic judgment value includes:
若所述x轴加速度特征判断值大于第一预设阈值,读取所述z轴加速度特征判断值;If the x-axis acceleration feature judgment value is greater than a first preset threshold, read the z-axis acceleration feature judgment value;
若所述z轴加速度特征判断值的数量大于第二预设阈值,获取所述z轴加速度特征判断值的极值。If the number of the z-axis acceleration feature judgment values is greater than a second preset threshold, an extremum of the z-axis acceleration feature judgment values is acquired.
在一种可能的实现方式中,所述基于所述z轴加速度特征判断值的极值和所述后摆主动性特征值,确定所述后摆动作类型,包括:In a possible implementation manner, the determination of the back swing action type based on the extreme value of the z-axis acceleration feature judgment value and the back swing initiative feature value includes:
若所述z轴加速度特征判断值的极值大于所述后摆主动性特征值,所述后摆动作类型为主动后摆;If the extreme value of the characteristic judgment value of the z-axis acceleration is greater than the active characteristic value of the back swing, the type of the back swing action is an active back swing;
若所述z轴加速度特征判断值的极值小于或等于所述后摆主动性特征值,所述后摆动作类型为被动后摆。If the extreme value of the z-axis acceleration feature judgment value is less than or equal to the back swing active feature value, the back swing action type is passive back swing.
在一种可能的实现方式中,所述根据所述后摆点的特征值帧号,确定所述后摆动作类型,包括:In a possible implementation manner, the determining the type of the back swing action according to the frame number of the feature value of the back swing point includes:
若所述后摆点的特征值帧号所在预设范围内的角度变化特征值大于摆动特征值,所述后摆动作类型为折叠后摆;If the angle change eigenvalue within the preset range of the eigenvalue frame number of the back swing point is greater than the swing eigenvalue, the type of back swing action is folding back swing;
若所述后摆点的特征值帧号所在预设范围内的角度变化特征值小于或等于摆动特征值,所述后摆动作类型为非折叠后摆。If the characteristic value of the angle change within the preset range of the eigenvalue frame number of the back swing point is less than or equal to the swing eigenvalue, the type of the back swing action is a non-folding back swing.
第二方面,本发明实施例提供了一种后摆动作类型的确定装置,包括:In the second aspect, the embodiment of the present invention provides a device for determining the type of back swing, including:
特征值提取模块,用于获取目标物在跑步过程中的运动数据,并提取所述运动数据中的角度特征值和变化趋势特征值;A feature value extraction module is used to obtain the motion data of the target object during running, and extract the angle feature value and the change trend feature value in the motion data;
帧号确定模块,用于基于所述角度特征值和所述变化趋势特征值,确定后摆点的特征值帧号;A frame number determination module, configured to determine the frame number of the eigenvalue of the rear swing point based on the angle eigenvalue and the trend eigenvalue;
后摆动作类型确定模块,用于根据所述后摆点的特征值帧号,确定所述后摆动作类型。The back swing action type determination module is configured to determine the back swing action type according to the frame number of the characteristic value of the back swing point.
第三方面,本发明实施例提供了一种终端,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现如上任一种后摆动作类型的确定方法的步骤。In the third aspect, an embodiment of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any of the above-mentioned back swing types can be realized. steps of the determination method.
第四方面,本发明实施例提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现如上任一种后摆动作类型的确定方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the above methods for determining the type of back swing are implemented.
本发明实施例提供了一种后摆动作类型的确定方法、装置、终端及存储介质,包括:获取目标物在跑步过程中的运动数据,并提取所述运动数据中的角度特征值和变化趋势特征值,然后基于所述角度特征值和所述变化趋势特征值,确定后摆点的特征值帧号,再根据所述后摆点的特征值帧号,确定所述后摆动作类型。本发明通过提取目标物在跑步过程中的角度特征值和变化趋势特征值,然后进一步通过角度特征值和变化趋势特征值来确定后摆点的特征值帧号,进而基于后摆点的特征值帧号确定所述后摆动作类型,不仅避免了通过图像对比方式的效率低问题,还提升了后摆动作类型判断的准确性。An embodiment of the present invention provides a method, device, terminal, and storage medium for determining the type of back swing action, including: acquiring motion data of a target object during running, and extracting angle feature values and change trends in the motion data Then, based on the angle eigenvalue and the trend eigenvalue, determine the eigenvalue frame number of the back swing point, and then determine the back swing action type according to the eigenvalue frame number of the back swing point. The present invention extracts the angle feature value and change trend feature value of the target object in the running process, and then further determines the feature value frame number of the back swing point through the angle feature value and the change trend feature value, and then based on the feature value of the back swing point The frame number determines the type of the back swing action, which not only avoids the problem of low efficiency through image comparison, but also improves the accuracy of determining the type of the back swing action.
附图说明Description of drawings
构成本申请的一部分的附图用来提供对本申请的进一步理解,使得本申请的其它特征、目的和优点变得更明显。本申请的示意性实施例附图及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The accompanying drawings, which constitute a part of this application, are included to provide a further understanding of the application and make other features, objects and advantages of the application apparent. The drawings and descriptions of the schematic embodiments of the application are used to explain the application, and do not constitute an improper limitation to the application. In the attached picture:
图1是本发明实施例提供的途中跑阶段的动作的示意图;Fig. 1 is a schematic diagram of the action of the midway running stage provided by the embodiment of the present invention;
图2是本发明实施例提供的一种后摆动作类型的确定方法的实现流程图;Fig. 2 is an implementation flow chart of a method for determining the type of back swing action provided by an embodiment of the present invention;
图3是本发明实施例提供的一种后摆动作类型的确定装置的结构示意图;Fig. 3 is a schematic structural diagram of a device for determining the type of back swing provided by an embodiment of the present invention;
图4是本发明实施例提供的终端的示意图。Fig. 4 is a schematic diagram of a terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein.
应当理解,在本发明的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in various embodiments of the present invention, the sequence numbers of the processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, rather than by the implementation order of the embodiments of the present invention. The implementation process constitutes no limitation.
应当理解,在本发明中,“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be understood that in the present invention, "comprising" and "having" and any variations thereof are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to Those steps or elements are not explicitly listed, but may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
应当理解,在本发明中,“多个”是指两个或两个以上。“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。“包含A、B和C”、“包含A、B、C”是指A、B、C三者都包含,“包含A、B或C”是指包含A、B、C三者之一,“包含A、B和/或C”是指包含A、B、C三者中任1个或任2个或3个。It should be understood that in the present invention, "plurality" means two or more. "And/or" is just an association relationship describing associated objects, which means that there can be three kinds of relationships, for example, and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone. . The character "/" generally indicates that the contextual objects are an "or" relationship. "Includes A, B and C", "Includes A, B, C" means that A, B, and C are all included, "includes A, B, or C" means includes one of A, B, and C, "Containing A, B and/or C" means containing any 1 or any 2 or 3 of A, B and C.
应当理解,在本发明中,“与A对应的B”、“与A相对应的B”、“A与B相对应”或者“B与A相对应”,表示B与A相关联,根据A可以确定B。根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其他信息确定B。A与B的匹配,是A与B的相似度大于或等于预设的阈值。It should be understood that in the present invention, "B corresponding to A", "B corresponding to A", "A corresponding to B" or "B corresponding to A" means that B is associated with A, and according to A It is possible to determine B. Determining B from A does not mean determining B from A alone, B can also be determined from A and/or other information. The matching between A and B means that the similarity between A and B is greater than or equal to a preset threshold.
取决于语境,如在此所使用的“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。Depending on the context, "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting".
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solution of the present invention will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图通过具体实施例来进行说明。In order to make the purpose, technical solution and advantages of the present invention clearer, specific embodiments will be described below in conjunction with the accompanying drawings.
一名被测者在跑动过程中,不论是其与地面接触或者在空中完成动作,其中的运动技术、人体力学、物理力学都有大量的参与。从跑者接触地面开始,便可以从X(人跑步方向的前后)、Y(人的左右)、Z(人的上下)三轴方向加速度和角度对其运动状态进行分析和研究。其中包含了前后方向的加速度、左右方向的加速度、上下方向的加速度。可以为其落地时产生的制动力、稳定性、身体表现性状、身体变化路径等进行分析,并根据实际结果和趋势分析得出进一步的结论。When a subject is running, whether it is in contact with the ground or completing actions in the air, a lot of sports technology, human mechanics, and physical mechanics are involved. From the time when the runner touches the ground, it can analyze and study its motion state from the acceleration and angle of the three axes of X (the front and back of the person's running direction), Y (the left and right of the person), and Z (the up and down of the person). It includes the acceleration in the front-back direction, the acceleration in the left-right direction, and the acceleration in the up-down direction. It can analyze the braking force, stability, body performance traits, body change path, etc. when it lands, and draw further conclusions based on actual results and trend analysis.
本发明方案采用加速度传感器来分析跑步动作,传感器要采集上述加速度和角度。被测者只需要将传感器佩戴者脚腕处,由此可采集到从起跑到完全停下过程的全部加速度和角度数据,除此之外不再需要其它测量设备。The scheme of the present invention adopts an acceleration sensor to analyze the running action, and the sensor needs to collect the above-mentioned acceleration and angle. The subject only needs to put the sensor on the ankle of the wearer, so that all the acceleration and angle data from the start to the complete stop can be collected, and no other measuring equipment is required.
本方案要将跑步运动分解成3个阶段和6个动作,3个阶段具体是指起跑阶段、途中跑阶段、制动阶段(减速至完全停下的阶段);途中跑阶段的6个动作是指:触地(着地)、缓冲、后蹬、后摆、前摆、下压,如图1所示,这6个动作组成完整的一步,跑步就是不断重复这6个动作。This plan breaks down the running movement into 3 stages and 6 actions. The 3 stages specifically refer to the starting stage, the running stage on the way, and the braking stage (the stage of decelerating to a complete stop); the 6 actions in the running stage are Refers to: touching the ground (landing), cushioning, kicking back, swinging back, swinging forward, and pressing down. As shown in Figure 1, these 6 actions form a complete step. Running is to repeat these 6 actions continuously.
本方案要根据采集的传感器数据,识别出上述3个阶段,然后在途中跑阶段中进一步识别出每一步的这6个动作,再进一步分析每个动作的类型。This program needs to identify the above three stages based on the collected sensor data, and then further identify the six actions of each step during the running stage, and then further analyze the type of each action.
在一个实施例中,如图2所示,提供了一种后摆动作类型的确定方法,包括以下步骤:In one embodiment, as shown in Figure 2, a method for determining the type of back swing action is provided, comprising the following steps:
步骤S201:获取目标物在跑步过程中的运动数据,并提取所述运动数据中的角度特征值和变化趋势特征值。Step S201: Obtain the motion data of the target object during running, and extract the angle feature value and change trend feature value in the motion data.
其中,目标物可为任意可以实现上述跑步运动的生命体,其中,跑步运动可分解成3个阶段和6个动作,3个阶段具体是指起跑阶段、途中跑阶段、制动阶段(减速至完全停下的阶段);途中跑阶段的6个动作是指:触地(着地)、缓冲、后蹬、后摆、前摆、下压。Wherein, the target object can be any living body that can realize the above-mentioned running movement, wherein the running movement can be decomposed into 3 stages and 6 actions, and the 3 stages specifically refer to the starting stage, the running stage on the way, and the braking stage (deceleration to The stage of complete stop); the 6 actions of the mid-running stage refer to: touch the ground (landing), buffer, push back, swing back, swing forward, and press down.
运动数据是指在目标物实现跑步运动过程中通过设置于目标物上的传感器所采集的数据,如起跑阶段数据、途中跑阶段数据、制动阶段数据(减速至完全停下的阶段)或者途中跑阶段的6个动作中的触地(着地)数据、缓冲数据、后蹬数据、后摆数据、前摆数据、下压数据等。Sports data refers to the data collected by the sensor set on the target object during the running process of the target object, such as the data of the starting stage, the data of the running stage in the middle, the data of the braking stage (deceleration to a complete stop stage) or the data of the halfway Touchdown (landing) data, cushioning data, back kick data, back swing data, forward swing data, push down data, etc. in the six actions of the running phase.
通过传感器获取到运动数据后,会对运动数据进行分析以提取后摆动作所对应的数据,如后摆动作的速度、加速度等。本申请在对后摆动作类型进行判断的过程中,仅提取了角度特征值和变化趋势特征值来进一步判断后摆动作类型。After the motion data is acquired by the sensor, the motion data will be analyzed to extract the data corresponding to the back swing motion, such as the speed and acceleration of the back swing motion. In the process of judging the type of the back swing action, the present application only extracts the angle feature value and the change trend feature value to further judge the back swing action type.
步骤S202:基于所述角度特征值和所述变化趋势特征值,确定后摆点的特征值帧号。Step S202: Based on the angle feature value and the change trend feature value, determine the feature value frame number of the back swing point.
对于所述基于所述角度特征值和所述变化趋势特征值,确定后摆点的特征值帧号,需要对角度特征值与所述变化趋势特征值进行判断,具体地,若所述角度特征值与所述变化趋势特征值不相等,将趋势平稳段的最后一点作为后摆点的特征值帧号。For the determination of the eigenvalue frame number of the back swing point based on the angle eigenvalue and the change trend eigenvalue, it is necessary to judge the angle eigenvalue and the change trend eigenvalue, specifically, if the angle characteristic The value is not equal to the eigenvalue of the change trend, and the last point of the trend plateau is used as the eigenvalue frame number of the back swing point.
步骤S203:根据所述后摆点的特征值帧号,确定所述后摆动作类型。Step S203: Determine the type of the back swing action according to the frame number of the feature value of the back swing point.
对于所述后摆动作类型的确定,主要采用以下两种方式:For the determination of the type of back swing action, the following two methods are mainly adopted:
第一种情况:需先获取所述后摆点的特征值帧号对应的后摆主动性特征值,然后基于所述后摆主动性特征值、x轴加速度特征判断值和z轴加速度特征判断值,确定所述后摆动作类型。Case 1: It is necessary to first obtain the back swing initiative feature value corresponding to the feature value frame number of the back swing point, and then judge based on the back swing initiative feature value, x-axis acceleration feature judgment value, and z-axis acceleration feature value that determines the type of backswing action.
示例性地,所述基于所述后摆主动性特征值、x轴加速度特征判断值和z轴加速度特征判断值,确定所述后摆动作类型,需要基于所述x轴加速度特征判断值和所述z轴加速度特征判断值,确定所述z轴加速度特征判断值的极值,然后基于所述z轴加速度特征判断值的极值和所述后摆主动性特征值,确定所述后摆动作类型。Exemplarily, the determination of the back swing action type based on the characteristic value of the back swing initiative, the characteristic judgment value of the x-axis acceleration and the characteristic judgment value of the z-axis acceleration needs to be based on the characteristic judgment value of the x-axis acceleration and the characteristic judgment value of the z-axis acceleration. The z-axis acceleration characteristic judgment value, determine the extremum of the z-axis acceleration characteristic judgment value, and then determine the back swing action based on the extremum of the z-axis acceleration characteristic judgment value and the back-swing initiative characteristic value type.
对于确定所述z轴加速度特征判断值的极值,需要通过预设阈值进行判断,具体的,若所述x轴加速度特征判断值大于第一预设阈值,读取所述z轴加速度特征判断值;若所述z轴加速度特征判断值的数量大于第二预设阈值,获取所述z轴加速度特征判断值的极值。获取到z轴加速度特征判断值的极值后,需要所述基于所述z轴加速度特征判断值的极值和所述后摆主动性特征值,确定所述后摆动作类型,即若所述z轴加速度特征判断值的极值大于所述后摆主动性特征值,所述后摆动作类型为主动后摆;若所述z轴加速度特征判断值的极值小于或等于所述后摆主动性特征值,所述后摆动作类型为被动后摆。For determining the extreme value of the z-axis acceleration characteristic judgment value, it needs to be judged by a preset threshold. Specifically, if the x-axis acceleration characteristic judgment value is greater than the first preset threshold, read the z-axis acceleration characteristic judgment value; if the number of the z-axis acceleration characteristic judgment values is greater than a second preset threshold, acquire the extreme value of the z-axis acceleration characteristic judgment value. After obtaining the extreme value of the characteristic judgment value of the z-axis acceleration, the extreme value based on the characteristic judgment value of the z-axis acceleration and the characteristic value of the back swing initiative are required to determine the type of the back swing action, that is, if the The extreme value of the z-axis acceleration characteristic judgment value is greater than the characteristic value of the back swing initiative, and the type of the back swing action is active back swing; if the extreme value of the z-axis acceleration characteristic judgment value is less than or equal to the back swing active Characteristic value, the type of back swing action is passive back swing.
第二种情况:只需要将后摆点的特征值帧号所在预设范围内的角度变化特征值与摆动特征值进行比较,从而确定后摆动作类型。具体的,若所述后摆点的特征值帧号所在预设范围内的角度变化特征值大于摆动特征值,所述后摆动作类型为折叠后摆;若所述后摆点的特征值帧号所在预设范围内的角度变化特征值小于或等于摆动特征值,所述后摆动作类型为非折叠后摆。The second case: it is only necessary to compare the angle change eigenvalue within the preset range of the frame number of the eigenvalue of the back swing point with the swing eigenvalue, so as to determine the type of the back swing action. Specifically, if the angle change eigenvalue within the preset range of the eigenvalue frame number of the back swing point is greater than the swing eigenvalue, the type of the back swing action is folding back swing; if the eigenvalue frame of the back swing point The characteristic value of the angle change within the preset range where the sign is located is less than or equal to the characteristic value of the swing, and the type of the back swing action is a non-folding back swing.
本发明实施例提供了一种后摆动作类型的确定方法,包括:获取目标物在跑步过程中的运动数据,并提取所述运动数据中的角度特征值和变化趋势特征值,然后基于所述角度特征值和所述变化趋势特征值,确定后摆点的特征值帧号,再根据所述后摆点的特征值帧号,确定所述后摆动作类型。本发明通过提取目标物在跑步过程中的角度特征值和变化趋势特征值,然后进一步通过角度特征值和变化趋势特征值来确定后摆点的特征值帧号,进而基于后摆点的特征值帧号确定所述后摆动作类型,不仅避免了通过图像对比方式的效率低问题,还提升了后摆动作类型判断的准确性。An embodiment of the present invention provides a method for determining the type of back swing action, comprising: acquiring motion data of a target object during running, and extracting angle feature values and change trend feature values in the motion data, and then based on the The angle eigenvalue and the change trend eigenvalue determine the eigenvalue frame number of the back swing point, and then determine the back swing action type according to the eigenvalue frame number of the back swing point. The present invention extracts the angle feature value and change trend feature value of the target object in the running process, and then further determines the feature value frame number of the back swing point through the angle feature value and the change trend feature value, and then based on the feature value of the back swing point The frame number determines the type of the back swing action, which not only avoids the problem of low efficiency through image comparison, but also improves the accuracy of determining the type of the back swing action.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
以下为本发明的装置实施例,对于其中未详尽描述的细节,可以参考上述对应的方法实施例。The following are device embodiments of the present invention. For details that are not exhaustively described therein, reference may be made to the corresponding method embodiments above.
图3示出了本发明实施例提供的一种后摆动作类型的确定装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分,一种后摆动作类型的确定装置包括特征值提取模块31、帧号确定模块32和后摆动作类型确定模块33,具体如下:Figure 3 shows a schematic structural diagram of a device for determining the type of back swing action provided by an embodiment of the present invention. For ease of illustration, only the parts related to the embodiment of the present invention are shown, a device for determining the type of back swing action Including feature
特征值提取模块31,用于获取目标物在跑步过程中的运动数据,并提取所述运动数据中的角度特征值和变化趋势特征值;The feature
帧号确定模块32,用于基于所述角度特征值和所述变化趋势特征值,确定后摆点的特征值帧号;Frame
后摆动作类型确定模块33,用于根据所述后摆点的特征值帧号,确定所述后摆动作类型。The back swing action
在一种可能的实现方式中,帧号确定模块32还用于若所述角度特征值与所述变化趋势特征值不相等,将趋势平稳段的最后一点作为后摆点的特征值帧号。In a possible implementation, the frame
在一种可能的实现方式中,后摆动作类型确定模块33还用于获取所述后摆点的特征值帧号对应的后摆主动性特征值;基于所述后摆主动性特征值、x轴加速度特征判断值和z轴加速度特征判断值,确定所述后摆动作类型。In a possible implementation, the back swing action
在一种可能的实现方式中,后摆动作类型确定模块33还用于基于所述x轴加速度特征判断值和所述z轴加速度特征判断值,确定所述z轴加速度特征判断值的极值;基于所述z轴加速度特征判断值的极值和所述后摆主动性特征值,确定所述后摆动作类型。In a possible implementation manner, the back swing action
在一种可能的实现方式中,后摆动作类型确定模块33还用于若所述x轴加速度特征判断值大于第一预设阈值,读取所述z轴加速度特征判断值;若所述z轴加速度特征判断值的数量大于第二预设阈值,获取所述z轴加速度特征判断值的极值。In a possible implementation manner, the back swing action
在一种可能的实现方式中,后摆动作类型确定模块33还用于若所述z轴加速度特征判断值的极值大于所述后摆主动性特征值,所述后摆动作类型为主动后摆;若所述z轴加速度特征判断值的极值小于或等于所述后摆主动性特征值,所述后摆动作类型为被动后摆。In a possible implementation manner, the back swing action
在一种可能的实现方式中,后摆动作类型确定模块33还用于若所述后摆点的特征值帧号所在预设范围内的角度变化特征值大于摆动特征值,所述后摆动作类型为折叠后摆;若所述后摆点的特征值帧号所在预设范围内的角度变化特征值小于或等于摆动特征值,所述后摆动作类型为非折叠后摆。In a possible implementation, the back swing action
图4是本发明实施例提供的终端的示意图。如图4所示,该实施例的终端4包括:处理器41、存储器42以及存储在存储器42中并可在处理器41上运行的计算机程序43。处理器41执行计算机程序43时实现上述各个后摆动作类型的确定方法实施例中的步骤,例如图1所示的步骤101至步骤103。或者,处理器41执行计算机程序43时实现上述各个后摆动作类型的确定装置实施例中各模块/单元的功能,例如图3所示模块/单元31至33的功能。Fig. 4 is a schematic diagram of a terminal provided by an embodiment of the present invention. As shown in FIG. 4 , the
本发明还提供一种可读存储介质,可读存储介质中存储有计算机程序,计算机程序被处理器执行时用于实现上述的各种实施方式提供的后摆动作类型的确定方法。The present invention also provides a readable storage medium, wherein a computer program is stored in the readable storage medium, and when the computer program is executed by a processor, the computer program is used to implement the method for determining the type of back swing provided by the above-mentioned various embodiments.
其中,可读存储介质可以是计算机存储介质,也可以是通信介质。通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。计算机存储介质可以是通用或专用计算机能够存取的任何可用介质。例如,可读存储介质耦合至处理器,从而使处理器能够从该可读存储介质读取信息,且可向该可读存储介质写入信息。当然,可读存储介质也可以是处理器的组成部分。处理器和可读存储介质可以位于专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)中。另外,该ASIC可以位于用户设备中。当然,处理器和可读存储介质也可以作为分立组件存在于通信设备中。可读存储介质可以是只读存储器(ROM)、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。Wherein, the readable storage medium may be a computer storage medium, or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium may be located in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC). Additionally, the ASIC may be located in the user equipment. Of course, the processor and the readable storage medium can also exist in the communication device as discrete components. The readable storage medium may be read only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage devices, among others.
本发明还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。设备的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得设备实施上述的各种实施方式提供的后摆动作类型的确定方法。The present invention also provides a program product, which includes execution instructions, and the execution instructions are stored in a readable storage medium. At least one processor of the device may read the execution instruction from the readable storage medium, and the at least one processor executes the execution instruction so that the device implements the method for determining the type of back swing action provided in the above-mentioned various implementations.
在上述设备的实施例中,应理解,处理器可以是中央处理单元(CentralProcessing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the embodiment of the above-mentioned device, it should be understood that the processor may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) and so on. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in conjunction with the present invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be described in the foregoing embodiments Modifications to the technical solutions recorded, or equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of each embodiment of the present invention, and should be included in the scope of the present invention. within the scope of protection.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310265761.9A CN116269347B (en) | 2023-03-13 | 2023-03-13 | Method, device, terminal and storage medium for determining backswing action type |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310265761.9A CN116269347B (en) | 2023-03-13 | 2023-03-13 | Method, device, terminal and storage medium for determining backswing action type |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116269347A true CN116269347A (en) | 2023-06-23 |
| CN116269347B CN116269347B (en) | 2025-09-26 |
Family
ID=86825306
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310265761.9A Active CN116269347B (en) | 2023-03-13 | 2023-03-13 | Method, device, terminal and storage medium for determining backswing action type |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116269347B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040053757A1 (en) * | 2002-09-16 | 2004-03-18 | Yi-Min Chung | Hip exerciser |
| CN103308067A (en) * | 2012-03-15 | 2013-09-18 | 精工爱普生株式会社 | State detection device, electronic apparatus, measurement system and program |
| US20140148931A1 (en) * | 2012-02-29 | 2014-05-29 | Mizuno Corporation | Running form diagnosis system and method for scoring running form |
| CN108114455A (en) * | 2016-11-29 | 2018-06-05 | 卡西欧计算机株式会社 | Running analytical equipment, running analysis method and recording medium |
-
2023
- 2023-03-13 CN CN202310265761.9A patent/CN116269347B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040053757A1 (en) * | 2002-09-16 | 2004-03-18 | Yi-Min Chung | Hip exerciser |
| US20140148931A1 (en) * | 2012-02-29 | 2014-05-29 | Mizuno Corporation | Running form diagnosis system and method for scoring running form |
| CN103308067A (en) * | 2012-03-15 | 2013-09-18 | 精工爱普生株式会社 | State detection device, electronic apparatus, measurement system and program |
| CN108114455A (en) * | 2016-11-29 | 2018-06-05 | 卡西欧计算机株式会社 | Running analytical equipment, running analysis method and recording medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116269347B (en) | 2025-09-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110458061B (en) | Method for identifying old people falling down and accompanying robot | |
| CN114100103B (en) | A system and method for skipping rope counting detection based on key point recognition | |
| CN113743273B (en) | Real-time rope skipping counting method, device and equipment based on video image target detection | |
| Keskin et al. | Randomized decision forests for static and dynamic hand shape classification | |
| CN106648078B (en) | Multi-mode interaction method and system applied to intelligent robot | |
| Jensen et al. | Classification of kinematic swimming data with emphasis on resource consumption | |
| CN109731302A (en) | Motion gesture recognition method, device and electronic device | |
| CN114998934A (en) | Clothes-changing pedestrian re-identification and retrieval method based on multi-mode intelligent perception and fusion | |
| CN112633084A (en) | Face frame determination method and device, terminal equipment and storage medium | |
| CN111723687A (en) | Human action recognition method and device based on neural network | |
| CN112328822A (en) | Image pre-marking method, device and terminal equipment | |
| Li et al. | Human action recognition based on 3D body mask and depth spatial-temporal maps | |
| CN116269347A (en) | Method, device, terminal and storage medium for determining type of back swing | |
| CN116077056A (en) | Method, device, terminal and storage medium for determining type of pressing action | |
| WO2023109086A1 (en) | Character recognition method, apparatus and device, and storage medium | |
| CN114358043A (en) | Motion recognition evaluation method, motion recognition evaluation device, and storage medium | |
| CN116150608A (en) | Method, device, terminal and storage medium for determining starting stage | |
| CN116350211A (en) | Method, device, terminal and storage medium for determining braking stage | |
| CN116266415A (en) | Action evaluation method, system and device based on body building teaching training and medium | |
| KR102756380B1 (en) | Learning method and learning device, and testing method and testing device for gaze detection model based on deep learning | |
| CN115731566A (en) | Weight detection method, device and equipment based on image and storage medium | |
| CN110610173A (en) | Badminton action analysis system and method based on Mobilenet | |
| CN114694243A (en) | Fall detection method and device, electronic equipment and storage medium | |
| CN116821652A (en) | Method, device, terminal and storage medium for determining back pedal action type | |
| CN116473549A (en) | Determination method and device for buffer action type, terminal and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20240606 Address after: 100020 Le Shibao, North Gate of Olympic Forest Park, Chaoyang District, Beijing Applicant after: Beijing Yuneng Tiandi Technology Co.,Ltd. Country or region after: China Address before: 100089 a-126, 8th floor, No. 89, West Third Ring North Road, Haidian District, Beijing Applicant before: Beijing Shugan Technology Co.,Ltd. Country or region before: China |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |