Swing arm standard detection method in 50m running process
By acquiring the coordinates of key points through visual recognition technology and analyzing the degree and direction of arm swing, the problem of unintuitive arm swing assessment in existing technologies is solved, and standardized detection and correction guidance for arm swing movements are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG PROPHET BIG DATA CO LTD
- Filing Date
- 2025-12-29
- Publication Date
- 2026-04-24
AI Technical Summary
Existing methods for assessing arm swing in the 50m sprint mainly rely on coaches' subjective observations, making it difficult to quantify key parameters such as arm swing amplitude. This results in unintuitive feedback for movement correction and high equipment costs, making it difficult to widely apply in daily teaching.
A visual recognition-based arm swing standard detection method is adopted. By acquiring the coordinates of key points during running, the degree of arm swing, inflection points and direction scores are analyzed to provide visualized movement guidance and correction suggestions.
It enables real-time capture and analysis of arm swing movements, improves the standardization of arm swing movements in the 50m sprint, and provides intuitive suggestions for movement correction.
Smart Images

Figure CN121921836A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of arm swing standard testing technology, and particularly relates to a method for testing arm swing standard during a 50m run. Background Technology
[0002] In 50m sprint training, arm swing is a crucial factor affecting running efficiency and speed. Proper arm swing coordinates lower limb power generation, maintains body balance, and improves running efficiency. However, existing arm swing assessment methods primarily rely on coaches' subjective observation, making it difficult to quantify key parameters such as arm swing amplitude. This results in a lack of intuitive and specific feedback for corrective action. While some motion analysis devices can provide accurate kinematic data, their complexity and high cost limit their widespread application in daily teaching. Summary of the Invention
[0003] In view of the shortcomings of the prior art, the purpose of the invention is to provide a method, device and medium for detecting the arm swing standard during 50m running. The arm swing standard detection method based on visual recognition can capture and analyze the standardization indicators of arm swing movements in real time, provide personnel with visual movement guidance and correction suggestions, and effectively improve the standardization level of personnel's arm swing movements in 50m sprinting.
[0004] In a first aspect, the present invention provides a method for detecting proper arm swing during a 50m run, comprising:
[0005] In the running footage, a straight line is set to represent the 25m position. After the start command is issued, the key point coordinates of each frame i in the starting point camera footage, the finish line camera footage, and the running footage are obtained during the person's running on the track.
[0006] Based on the key point coordinates of each frame i in the running camera footage, the time frame of the person completing the 50m run, and the position confirmation score of the straight line, the time frame of the person passing the 25m position is determined based on the position confirmation score.
[0007] The left / right arm swing degree score is determined based on the key point coordinates of each frame i in the running camera image. The left / right arm increment criterion score and the left / right arm decrement criterion score are determined based on the left / right arm swing degree score, the left / right arm increment criterion score and the left / right arm decrement criterion score. The left / right arm inflection point direction score is determined based on the left / right arm swing degree score and the left / right arm inflection point score.
[0008] Based on the scores of the inflection point direction of the left and right arms, the number of inflection points of the left and right arms and the time frame of each inflection point of the left and right arms are counted respectively.
[0009] The left / right arm deviation score is determined based on the left / right arm swing degree score. The left / right arm swing score is determined based on the left / right arm deviation score, the number of left / right arm swing inflection points, and the time frame of the person completing the 50m run. The arm swing score is determined based on the left arm swing score and the right arm swing score.
[0010] Based on the arm swing score, in the case of obvious no swing in the longitudinal direction, the left and right arm swing scores are determined according to the coordinates of key points in the starting point camera and the ending point camera, the number of right arm swing inflection points, and the time frame of the person completing the 50m run. The left and right arm swing scores are used to determine whether the person has left and right arm swing.
[0011] Determine whether a person is swinging their arm based on the arm swing score and the score of the left / right arm inflection point direction.
[0012] When a person is swinging their arms, the standardization of the person's arm swing amplitude is determined based on the score of the degree of arm swing of the left / right arm, the number of inflection points of the left / right arm swing, the time frame of each inflection point of the left / right arm, and the score of the direction of the inflection point of the left / right arm.
[0013] A second aspect of the present invention also provides an electronic device comprising: a processor and a memory;
[0014] The processor executes one of the above methods for detecting arm swing specifications during a 50m run by calling programs or instructions stored in memory.
[0015] In a third aspect, the present invention also provides a computer-readable storage medium storing a program or instructions that cause a computer to perform any of the above-mentioned arm swing specification detection methods during a 50m run.
[0016] The beneficial effects of this invention are as follows: This invention sets a straight line in the running video to represent the 25m position. After issuing the starting command, it acquires the key point coordinates of each frame i in the starting point camera image, the finishing point camera image, and the running video image during the run. Based on the key point coordinates of each frame i in the running video image, the time frame of the runner completing 50m, and the position confirmation score of the straight line, it determines the time frame of the runner passing the 25m position based on the position confirmation score. Based on the key point coordinates of each frame i in the running video image, it determines the left / right arm swing degree score. Based on the left / right arm swing degree score, it determines the left / right arm increment criterion score and the left / right arm decrement criterion score. Based on the left / right arm swing degree score, the left / right arm increment criterion score, and the left / right arm decrement criterion score, it determines the left / right arm inflection point score. Based on the left / right arm swing degree score and the left / right arm inflection point score, it determines the left / right arm inflection point direction score. Based on the left / right arm... The inflection point direction score is calculated by counting the number of inflection points of the left / right arm swing and the time frame of each inflection point of the left / right arm. The left / right arm deviation score is determined based on the left / right arm swing degree score. The left / right arm swing score is determined based on the left / right arm deviation score, the number of inflection points of the left / right arm swing, and the time frame of the person completing the 50m run. The arm swing score is determined based on the left and right arm swing scores. Based on the arm swing scores, in cases of significant no-swing in the longitudinal direction, the left and right arm swing scores are determined based on the coordinates of key points in the starting and ending camera images, the number of inflection points of the right arm swing, and the time frame of the person completing the 50m run. The presence of left / right arm swing is determined based on the left / right arm swing degree score, the number of inflection points of the left / right arm swing, the time frame of each inflection point of the left / right arm, and the left / right arm inflection point direction score. If the person is swinging their arms, the arm swing amplitude is determined to be standard based on the left / right arm swing degree score, the number of inflection points of the left / right arm swing, the time frame of each inflection point of the left / right arm, and the left / right arm inflection point direction score. This invention can capture and analyze the standardization indicators of arm swing movements in real time, providing personnel with visual movement guidance and correction suggestions, and effectively improving the standardization level of students' arm swing movements in the 50m sprint. Attached Figure Description
[0017] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts. It is obvious that the drawings described below are merely some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings.
[0018] Figure 1 A diagram illustrating a method for detecting proper arm swing during a 50m run, provided by an embodiment of the present invention.
[0019] Figure 2This is a schematic block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0020] To enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. It should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0021] Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts disclosed in this invention.
[0022] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of methods and systems consistent with some aspects of the invention as detailed in the appended claims.
[0023] This invention proposes a method, electronic device, and storage medium for detecting arm swing standardization during a 50m sprint. It can capture and analyze the standardization indicators of arm swing movements in real time, providing visualized movement guidance and correction suggestions for personnel, and effectively improving the standardization level of arm swing movements in 50m sprints.
[0024] Method Implementation Examples
[0025] Figure 1 This diagram illustrates a method for detecting arm swing specifications during a 50m run, as provided in an embodiment of the present invention.
[0026] In a first aspect, this invention proposes a method for detecting proper arm swing during a 50m run, combined with... Figure 1 It includes seven steps, S1 to S8:
[0027] S1: Set a straight line in the running frame to represent the 25m position. After the start command is issued, obtain the key point coordinates of each frame i in the starting point camera frame, the finish line camera frame, and the running frame during the run.
[0028] Specifically, in this embodiment of the invention, one starting point camera, one finishing point camera, and one running camera are configured. A straight line l1:x=x1 is set in the running camera image to represent the position of 25m. The coordinates of the left shoulder, right shoulder, left elbow, and right elbow in the starting point camera image, the coordinates of the left shoulder, right shoulder, left elbow, and right elbow in the finishing point camera image, and the coordinates of the left shoulder, right shoulder, left elbow, right elbow, left hand, and right hand in the running camera image are acquired during the running process.
[0029] S2: Based on the key point coordinates of each frame i in the running camera footage, the time frame of the person completing the 50m run, and the position confirmation score of the straight line, determine the time frame of the person passing the 25m position based on the position confirmation score.
[0030] Specifically, in this embodiment of the invention, the method for determining the location confirmation score and determining the time frame of a person passing through a 25m location based on the location confirmation score is described in detail below.
[0031] S3: Determine the left / right arm swing degree score based on the key point coordinates of each frame i in the running camera image. Determine the left / right arm increment criterion score and the left / right arm decrement criterion score based on the left / right arm swing degree score, the left / right arm increment criterion score and the left / right arm decrement criterion score based on the left / right arm swing degree score, the left / right arm increment criterion score and the left / right arm decrement criterion score based on the left / right arm swing degree score and the left / right arm decrement criterion score based on the left / right arm inflection point direction score.
[0032] Specifically, in this embodiment of the invention, the methods for determining the swing degree score of the left / right arm, the incremental criterion score and the decrement criterion score of the left / right arm, the inflection point score of the left / right arm, and the inflection point direction score of the left / right arm are described in detail below.
[0033] S4: Calculate the number of inflection points of the left and right arms and the time frame of each inflection point of the left and right arms according to the inflection point direction score of the left and right arms.
[0034] Specifically, in this embodiment of the invention, the method for calculating the number of left / right arm swing arm inflection points and the time frame of each inflection point of the left / right arm according to the inflection point direction score of the left / right arm is described in detail below.
[0035] S5: Determine the deviation score of the left / right arm based on the score of the degree of left / right arm swing. Determine the swing score of the left / right arm based on the deviation score of the left / right arm, the number of inflection points of the left / right arm swing, and the time frame of the person completing the 50m run. Determine the arm swing score based on the swing score of the left arm and the swing score of the right arm.
[0036] Specifically, in this embodiment of the invention, the methods for determining the deviation score of the left / right arm, the swing score of the left / right arm, and the swing arm score are described in detail below.
[0037] S6: Based on the arm swing score, if there is obvious no swing in the longitudinal direction, determine the left and right arm swing scores based on the key point coordinates in the starting point camera image and the ending point camera image, the number of right arm swing inflection points, and the time frame of the person completing the 50m run. Determine whether the person has left and right arm swing based on the left and right arm swing scores.
[0038] Specifically, in this embodiment of the invention, the methods for determining the scores for left and right arm swings and for determining whether a person is swinging their arms left and right are described in detail below.
[0039] S7: Determine whether the person has an arm swing based on the arm swing score and the score of the left / right arm inflection point direction.
[0040] Specifically, in this embodiment of the invention, the method for determining whether a person has a swinging arm based on the swinging arm score and the left / right arm inflection point direction score is described in detail below.
[0041] S8: When a person is swinging their arms, determine whether the person's arm swing amplitude is standard based on the score of the degree of left / right arm swing, the number of left / right arm swing inflection points, the time frame of each inflection point of the left / right arm, and the score of the direction of the left / right arm inflection point.
[0042] Specifically, in this embodiment of the invention, when a person is swinging their arms, the method for determining whether the person's arm swing amplitude is standard is described in detail below based on the score of the degree of arm swing of the left / right arm, the number of inflection points of the left / right arm swing, the time frame of each inflection point of the left / right arm, and the score of the direction of the inflection point of the left / right arm.
[0043] Furthermore, in the above-mentioned method for detecting arm swing standard during a 50m run, the formula for determining the time frame of the person passing the 25m position based on the key point coordinates of each frame i in the mid-run camera footage, the time frame of the person completing the 50m run, and the position confirmation score is as follows:
[0044]
[0045] Among them, (slx3) i ,sly3 i (srx3) represents the coordinates of the left shoulder in the i-th frame of the camera view during the run. i ,sry3 i The coordinates of the right shoulder in the i-th frame of the running camera view are shown. The line l1:x = x1 represents the line set in the running view to indicate the position of 25m. g1 iLet t1 represent the position confirmation score of the i-th frame, t1 represent the time frame of passing the 25m position, t2 represent the time frame of the person completing the 50m run, and n1 represent a time window with a length of frames.
[0046] Specifically, in this embodiment of the invention, n1 is calculated based on the minimum value of the interval with a confidence level of 0.95, according to the periodic distribution pattern of the arm swing of a person in a standard running video.
[0047] Furthermore, in the aforementioned method for detecting arm swing compliance during a 50m run, the left / right arm swing degree score is determined based on the key point coordinates of each frame i in the mid-run camera footage. The left / right arm increment criterion score and the left / right arm decrement criterion score are then determined based on these scores. The left / right arm inflection point score is determined based on these scores. The formula for determining the left / right arm inflection point direction score based on the left / right arm swing degree score, the left / right arm increment criterion score, and the left / right arm decrement criterion score is as follows:
[0048]
[0049]
[0050] Among them, (slx3) i ,sly3 i (srx3) represents the coordinates of the left shoulder in the i-th frame of the camera view during the run. i ,sry3 i (elx3) represents the coordinates of the right shoulder in the i-th frame of the camera view during the run. i ,ely3 i (erx3) represents the coordinates of the left elbow in the i-th frame of the camera view during the run. i ,ery3 i () represents the coordinates of the right elbow in the i-th frame of the camera view during the run, gel i Indicates the degree of left arm swing in the i-th frame, ger i g21 represents the degree of right arm swing in the i-th frame. i g22 represents the left arm increment criterion score in the i-th frame. i g31 represents the score of the left arm reduction criterion in the i-th frame. i g32 represents the right arm increment criterion score in the i-th frame. i Let n1 represent the right arm reduction criterion score in frame i, n1 represent a time window of length 1 frame, j represent the sequence number of each iteration within the time window, and g2 represent the right arm reduction criterion score in frame i. i G3 represents the score of the left arm inflection point in the i-th frame. i Let ts1 represent the right arm inflection point score in the i-th frame, and gd2 represent the set first judgment threshold. iGD3 represents the score for the left arm inflection point direction in the i-th frame. i This represents the score for the right arm inflection point direction in the i-th frame.
[0051] Specifically, in this embodiment of the invention, the first judgment threshold ts1 represents the minimum proportion of unidirectional swing in one cycle of the unidirectional arm swing process, which is calculated by collecting the minimum value of the ratio of the number of unidirectional swing frames to the number of cycle frames in each cycle of the standard running posture process.
[0052] Furthermore, in the above-mentioned method for detecting arm swing compliance during a 50m run, the formulas for calculating the number of left / right arm swing inflection points and the time frame of each inflection point of the left / right arm based on the inflection point direction scores are as follows:
[0053]
[0054] tgl k =max(g4) i,k )
[0055] tgr k =max(g5) i,k )
[0056]
[0057]
[0058] Among them, g2 i G3 represents the score of the left arm inflection point in the i-th frame. i Let n1 represent the right arm inflection point score in frame i, n2 represent a time window of length t1, t2 represent the time frame in which the person completes the 50m run, n4 represent the number of left arm swing inflection points, n5 represent the number of right arm swing inflection points, and g4 represent the score of the right arm swing inflection point. i,k Let g5 be the criterion function for the k-th inflection point of the left arm. i,k Let tgl represent the criterion function for the k-th inflection point of the right arm. k tgr represents the time frame for each inflection point k of the left arm. k This represents the time frame for each inflection point k of the right arm.
[0059] Furthermore, in the above-mentioned method for detecting arm swing standard during a 50m run, the deviation scores of the left and right arms are determined based on the scores of the degree of left and right arm swing, and the swing scores of the left and right arms are determined based on the deviation scores, the number of inflection points of the left and right arm swings, and the time frame of the person completing the 50m run. The formula for determining the arm swing score based on the left arm swing score and the right arm swing score is expressed as follows:
[0060]
[0061] g6 = g61 g 62
[0062] Among them, gel i Indicates the degree of left arm swing in the i-th frame, ger i g61 represents the degree of right arm swing in the i-th frame. i,m This indicates the score for left arm deviation. It determines whether the left arm position is the same in frame m and frame i. (g61) i,m =1 indicates that the left arm position is the same in frame m and frame i, g62 i,m This indicates the score for right arm deviation. It determines whether the right arm position is the same in frame m and frame i. (g62) i,m =1 indicates that the right arm position is the same in frame m and frame i, g61 i This indicates the result of determining whether the left arm does not swing in the content of n2 consecutive frames up to the i-th frame. g61 i =1 indicates the judgment result is no arm swing, g62 i This indicates the result of determining whether the right arm does not swing in the content of n2 consecutive frames up to the i-th frame. g62 i =1 indicates that the judgment result is no arm swing, g 61 This represents the score for left arm swing, used to determine whether there is a situation where the left arm does not swing. (g) 61 =1 indicates that the left arm does not swing significantly during running, g 62 This represents the score for right arm swing, used to determine whether there is a situation where the right arm does not swing. (g) 62 =1 indicates that the right arm does not swing significantly during running, g6 represents the arm swing score, n2 represents the time window length (number of frames) for judging non-arm swing based on historical data, ts2 represents the set second judgment threshold, and ts3 represents the set third judgment threshold.
[0063] Specifically, in this embodiment of the invention, n2 is calculated by collecting the minimum number of consecutive frames without arm swing in the video where arm swing is determined to exist. The set second determination threshold ts2 represents the minimum proportion of frames with the same position in the results determined to be without arm swing in the time window, which is calculated based on the minimum proportion of frames with the same position in the process of consecutive arm swing in the collected data. The set third determination threshold ts3 represents the maximum value of arm swing fluctuation in the visual detection results when the arm swing is not simultaneous, which is calculated by the maximum value of the corresponding arm swing degree fluctuation range in the multi-frame detection results under the standard arm swing posture.
[0064] Furthermore, in the above-mentioned method for detecting arm swing standard during a 50m run, judging the presence of obvious lack of swing in the longitudinal direction based on the arm swing score includes: when the arm swing score is equal to 1, the judge determines that there is obvious lack of swing in the longitudinal direction.
[0065] The left and right arm swing scores are determined based on the coordinates of key points in the starting and ending camera images, the number of right arm swing inflection points, and the time frame of the person completing the 50m run. The formula for determining whether the person has engaged in left or right arm swing based on the left and right arm swing scores is as follows:
[0066]
[0067] g7 = g 71 +g 72
[0068] Among them, (slx1) i ,sly1 i (srx1) represents the coordinates of the left shoulder in the i-th frame of the starting camera view. i ,sry1 i (elx1) represents the coordinates of the right shoulder in the i-th frame of the starting camera view. i ,ely1 i (erx1) represents the left elbow coordinate of the i-th frame within the starting camera's view. i ,ery1 i (slx2) represents the right elbow coordinate of the i-th frame within the starting camera's view. i ,sly2 i (srx2) represents the coordinates of the left shoulder in the i-th frame of the endpoint camera view. i ,sry2 i (elx2) represents the coordinates of the right shoulder in the i-th frame of the endpoint camera view. i ,ely2 i (erx2) represents the left elbow coordinate of the i-th frame within the endpoint camera's view. i ,ery2 i ) represents the right elbow coordinate of the i-th frame within the endpoint camera's view, ge71 i This represents the score for the lateral swing of the left arm in the i-th frame, ge72 i g71 represents the score for the lateral swing of the right arm in the i-th frame. i This indicates the result of determining whether the left arm swings laterally within n3 consecutive frames up to the i-th frame, g71 i =1 indicates the judgment result is a lateral swing of the left arm, g72 i This indicates the result of determining whether the right arm swings laterally within n3 consecutive frames up to the i-th frame, g72 i =1 indicates the judgment result is a lateral swing of the right arm, p is the sequence number (same as m,i), n3 represents the time window length (frames) for judging the lateral arm swing based on historical data, ts4 represents the set fourth judgment threshold, g 71 The score is indicated by the lateral swing of the left arm, g. 71 =1 indicates that the left arm is swinging laterally, g 72The score is indicated by the lateral swing of the right arm, g. 72 =1 indicates that the right arm is swinging laterally, g7 indicates the score for left and right arm swings. When g7=1, it means that the person has a lateral arm swing. When g7=0, it means that the person does not have a lateral arm swing. n3 indicates the length of the time window for determining the lateral arm swing based on historical data. t1 indicates the time frame for passing the 25m position. t2 indicates the time frame for the person to complete the 50m run.
[0069] Specifically, in this embodiment of the invention, n3 is the number of frames in the time window for determining the horizontal swing arm, set according to historical data. It is calculated by collecting the minimum value of the duration of consecutive horizontal swing arms in the video where the horizontal swing arm is determined to exist. The set fourth determination threshold ts4 represents the minimum standard deviation of the swing degree fluctuation in the results determined to be horizontal swing arms in the time window. It is calculated based on the minimum standard deviation of the swing degree fluctuation during the process of consecutive horizontal swing arms in the collected data.
[0070] Furthermore, in the aforementioned method for detecting arm swing compliance during a 50m run, determining whether an individual is swinging their arms based on arm swing scores and scores for the inflection point direction of the left / right arm includes:
[0071] The number of positive inflection points on the left arm is calculated using the following formula:
[0072]
[0073] The number of positive inflection points on the right arm is calculated using the following formula:
[0074]
[0075] The number of negative inflection points in the left arm is calculated using the following formula:
[0076]
[0077] The number of negative inflection points on the right arm is calculated using the following formula:
[0078]
[0079] Among them, gd2 i GD3 represents the score for the left arm inflection point direction in the i-th frame. i t2 represents the score of the right arm inflection point direction in the i-th frame, n2 represents the number of frames in the time window set according to historical data for determining no arm swing, and t2 represents the time frame in which the person completes the 50m run.
[0080] When the arm swing score is 0, if the number of positive inflection points of the left arm, or the number of positive inflection points of the right arm, or the number of negative inflection points of the left arm, or the number of negative inflection points of the right arm is 0, then it is determined that the person's arm swing is abnormal and that no arm swing was performed during the running process.
[0081] When the arm swing score is 0, if the number of positive inflection points of the left arm, or the number of positive inflection points of the right arm, or the number of negative inflection points of the left arm, or the number of negative inflection points of the right arm are all not equal to 0, then it is determined that the person is swinging their arm.
[0082] Furthermore, in the aforementioned method for detecting arm swing standard during a 50m run, the formula for determining whether the arm swing amplitude is standard is as follows, based on the arm swing degree score of the left / right arm, the number of inflection points of the left / right arm, the time frame of each inflection point of the left / right arm, and the inflection point direction score of the left / right arm:
[0083]
[0084]
[0085] g8 = g 81 g 82
[0086] g9 = g 91 g 92
[0087] ts5 represents the fifth judgment threshold, ts6 represents the sixth judgment threshold, ts7 represents the seventh judgment threshold, ts8 represents the eighth judgment threshold, ts9 represents the ninth judgment threshold, and g81 represents the ninth judgment threshold. k This represents the standard score for the left arm swing amplitude at the k-th inflection point, g82. k G represents the standard score for the right arm swing amplitude at the k-th inflection point. 81 Indicates the score for proper left arm forward swing, g 81 =1 indicates that the left arm swing conforms to the standard, g 82 Indicates the score for proper right arm forward swing, g 82 =1 indicates that the right arm swing forward conforms to the standard, g 91 Indicates the score for proper left arm backswing, g 91 =1 indicates that the left arm swing conforms to the standard, g 92 Indicates the correct right arm swing, g 92 =1 indicates that the right arm swing backward conforms to the standard, g8 indicates the score for the forward swing standard, g9 indicates the score for the backward swing standard. When g8=1, the person's forward arm swing amplitude conforms to the standard; when g9=1, the person's backward arm swing amplitude conforms to the standard. gd2 i GD3 represents the score for the left arm inflection point direction in the i-th frame. i Let ni represent the right arm inflection point direction score in frame i, n4 represent the number of left arm swing inflection points, and n5 represent the number of right arm swing inflection points. Indicates the tgl k The score for the left arm swing degree in the frame, where n2 represents the length of the time window for determining no arm swing, set based on historical data, and the number of frames. Indicates the tgl k The score for the right arm swing degree in the frame, tgl k tgr represents the time frame for each inflection point k of the left arm. k The time frame represents each inflection point k of the right arm, t1 represents the time frame of passing the 25m position, and t2 represents the time frame of the person completing a 50m run.
[0088] Specifically, in this embodiment of the invention, ts5 is the fifth judgment threshold, representing the minimum percentage of a single forward swing motion that meets the standard under the overall conformity of the forward swing motion. This minimum percentage is obtained by collecting standard arm swing motions and calculating the corresponding minimum percentage. ts6 and ts7 are the sixth and seventh judgment thresholds, representing the minimum and maximum values of the fluctuation range of the maximum swing of the standard forward swing motion, respectively. These are obtained by collecting standard arm swing motions and calculating the fluctuation range of the maximum swing of the forward swing. ts8 and ts9 are the eighth and ninth judgment thresholds, representing the minimum and maximum values of the fluctuation range of the maximum swing of the standard backward swing motion, respectively. These are obtained by collecting standard arm swing motions and calculating the fluctuation range of the maximum swing of the backward swing.
[0089] A second aspect of the present invention also provides an electronic device comprising: a processor and a memory;
[0090] The processor executes one of the above methods for detecting arm swing specifications during a 50m run by calling programs or instructions stored in memory.
[0091] In a third aspect, the present invention also provides a computer-readable storage medium storing a program or instructions that cause a computer to perform any of the above-mentioned arm swing specification detection methods during a 50m run.
[0092] Figure 2 This is a schematic block diagram of an electronic device provided in an embodiment of the present invention.
[0093] like Figure 2 As shown, the electronic device includes at least one processor 201, at least one memory 202, and at least one communication interface 203. The various components of the electronic device are coupled together via a bus system 204. The communication interface 203 is used for information transmission with external devices. It is understood that the bus system 204 is used to implement communication between these components. In addition to a data bus, the bus system 204 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general labeled all buses as Bus System 204.
[0094] It is understood that the memory 202 in this embodiment can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
[0095] In some implementations, memory 202 stores elements such as executable units or data structures, or subsets thereof, or extended sets thereof: operating systems and applications.
[0096] The operating system includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application programs include various applications, such as media players and browsers, used to implement various application functions. A program implementing any method in the arm swing specification detection method during a 50m run provided in this embodiment of the invention can be included in the application programs.
[0097] In this embodiment of the invention, the processor 201 executes the steps of various embodiments of the arm swing specification detection method during a 50m run provided by the present invention by calling the program or instructions stored in the memory 202, specifically, the program or instructions stored in the application program.
[0098] In the running footage, a straight line is set to represent the 25m position. After the start command is issued, the key point coordinates of each frame i in the starting point camera footage, the finish line camera footage, and the running footage are obtained during the person's running on the track.
[0099] Based on the key point coordinates of each frame i in the running camera footage, the time frame of the person completing the 50m run, and the position confirmation score of the straight line, the time frame of the person passing the 25m position is determined based on the position confirmation score.
[0100] The left / right arm swing degree score is determined based on the key point coordinates of each frame i in the running camera image. The left / right arm increment criterion score and the left / right arm decrement criterion score are determined based on the left / right arm swing degree score, the left / right arm increment criterion score and the left / right arm decrement criterion score. The left / right arm inflection point direction score is determined based on the left / right arm swing degree score and the left / right arm inflection point score.
[0101] Based on the scores of the inflection point direction of the left and right arms, the number of inflection points of the left and right arms and the time frame of each inflection point of the left and right arms are counted respectively.
[0102] The left / right arm deviation score is determined based on the left / right arm swing degree score. The left / right arm swing score is determined based on the left / right arm deviation score, the number of left / right arm swing inflection points, and the time frame of the person completing the 50m run. The arm swing score is determined based on the left arm swing score and the right arm swing score.
[0103] Based on the arm swing score, in the case of obvious no swing in the longitudinal direction, the left and right arm swing scores are determined according to the coordinates of key points in the starting point camera and the ending point camera, the number of right arm swing inflection points, and the time frame of the person completing the 50m run. The left and right arm swing scores are used to determine whether the person has left and right arm swing.
[0104] Determine whether a person is swinging their arm based on the arm swing score and the score of the left / right arm inflection point direction.
[0105] When a person is swinging their arms, the standardization of the person's arm swing amplitude is determined based on the score of the degree of arm swing of the left / right arm, the number of inflection points of the left / right arm swing, the time frame of each inflection point of the left / right arm, and the score of the direction of the inflection point of the left / right arm.
[0106] Any method in the arm swing specification detection method during a 50m run provided in this embodiment of the invention can be applied to, or implemented by, the processor 201. The processor 201 can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed through integrated logic circuits in the hardware of the processor 201 or through software instructions. The processor 201 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor.
[0107] The steps of any method in the arm swing specification detection method during a 50m run provided in this embodiment of the invention can be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software units in the decoding processor. The software units can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 202, and processor 201 reads the information in memory 202 and combines it with the hardware to complete the steps of the method.
[0108] Those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention and form different embodiments.
[0109] Those skilled in the art will understand that the descriptions of the various embodiments have different focuses, and for parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0110] Although embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention. All such modifications and variations fall within the scope defined by the appended claims. The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
[0111] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for detecting proper arm swing during a 50m run, characterized in that, include: In the running footage, a straight line is set to represent the 25m position. After the start command is issued, the key point coordinates of each frame i in the starting point camera footage, the finish line camera footage, and the running footage are obtained during the person's running on the track. Based on the key point coordinates of each frame i in the running camera footage, the time frame of the person completing the 50m run, and the position confirmation score of the straight line, the time frame of the person passing the 25m position is determined based on the position confirmation score. The left / right arm swing degree score is determined based on the key point coordinates of each frame i in the running camera image. The left / right arm increment criterion score and the left / right arm decrement criterion score are determined based on the left / right arm swing degree score, the left / right arm increment criterion score and the left / right arm decrement criterion score. The left / right arm inflection point direction score is determined based on the left / right arm swing degree score and the left / right arm inflection point score. Based on the scores of the inflection point direction of the left and right arms, the number of inflection points of the left and right arms and the time frame of each inflection point of the left and right arms are counted respectively. The left / right arm deviation score is determined based on the left / right arm swing degree score. The left / right arm swing score is determined based on the left / right arm deviation score, the number of left / right arm swing inflection points, and the time frame of the person completing the 50m run. The arm swing score is determined based on the left arm swing score and the right arm swing score. Based on the arm swing score, in the case of obvious no swing in the longitudinal direction, the left and right arm swing scores are determined according to the coordinates of key points in the starting point camera and the ending point camera, the number of right arm swing inflection points, and the time frame of the person completing the 50m run. The left and right arm swing scores are used to determine whether the person has left and right arm swing. Determine whether a person is swinging their arm based on the arm swing score and the score of the left / right arm inflection point direction. When a person is swinging their arms, the standardization of the person's arm swing amplitude is determined based on the score of the degree of arm swing of the left / right arm, the number of inflection points of the left / right arm swing, the time frame of each inflection point of the left / right arm, and the score of the direction of the inflection point of the left / right arm.
2. The method for detecting proper arm swing during a 50m run according to claim 1, characterized in that, Based on the keypoint coordinates of each frame i in the mid-run camera footage, the time frame of the person completing a 50m run, and the position confirmation score for the straight line, the formula for determining the time frame of the person passing the 25m position based on the position confirmation score is as follows: Among them, (slx3) i ,sly3 i (srx3) represents the coordinates of the left shoulder in the i-th frame of the camera view during the run. i ,sry3 i The coordinates of the right shoulder in the i-th frame of the running camera view are shown. The line l1:x = x1 represents the line set in the running view to indicate the position of 25m. g1 i Let t1 represent the position confirmation score of the i-th frame, t1 represent the time frame of passing the 25m position, t2 represent the time frame of the person completing the 50m run, and n1 represent a time window with a length of frames.
3. The method for detecting proper arm swing during a 50m run according to claim 1, characterized in that, The left / right arm swing degree score is determined based on the key point coordinates of each frame i in the mid-run camera footage. The left / right arm increment and decrement criterion scores are then determined based on these scores. Finally, the left / right arm inflection point score is determined based on these scores. The formula for determining the left / right arm inflection point direction score based on these scores is as follows: Among them, (slx3) i ,sly3 i (srx3) represents the coordinates of the left shoulder in the i-th frame of the camera view during the run. i ,sry3 i (elx3) represents the coordinates of the right shoulder in the i-th frame of the camera view during the run. i ,ely3 i (erx3) represents the coordinates of the left elbow in the i-th frame of the camera view during the run. i ,ery3 i () represents the coordinates of the right elbow in the i-th frame of the camera view during the run, gel i Indicates the degree of left arm swing in the i-th frame, ger i g21 represents the degree of right arm swing in the i-th frame. i g22 represents the left arm increment criterion score in the i-th frame. i g31 represents the score of the left arm reduction criterion in the i-th frame. i g32 represents the right arm increment criterion score in the i-th frame. i Let n1 represent the right arm reduction criterion score in frame i, n1 represent a time window of length 1 frame, j represent the sequence number of each iteration within the time window, and g2 represent the right arm reduction criterion score in frame i. i G3 represents the score of the left arm inflection point in the i-th frame. i Let ts1 represent the right arm inflection point score in the i-th frame, and gd2 represent the set first judgment threshold. i GD3 represents the score for the left arm inflection point direction in the i-th frame. i This represents the score for the right arm inflection point direction in the i-th frame.
4. The method for detecting proper arm swing during a 50m run according to claim 1, characterized in that, The formulas for calculating the number of inflection points in the left and right arms and the time frame of each inflection point in the left and right arms based on the inflection point direction scores are as follows: tgl k =max(g4 i,k ) tgr k =max(g5 i,k ) Among them, g2 i G3 represents the score of the left arm inflection point in the i-th frame. i Let t1 represent the right arm inflection point score in frame i, t2 represent the time frame in which the person completes the 50m run, n4 represent the number of left arm swing inflection points, n5 represent the number of right arm swing inflection points, and g4 represent the score of the right arm swing inflection point. i,k Let g5 be the criterion function for the k-th inflection point of the left arm. i,k Let tgl represent the criterion function for the k-th inflection point of the right arm. k tgr represents the time frame of each inflection point k in the left arm. k t1 represents the time frame of each inflection point k on the right arm, and t2 represents the time frame of the person completing a 50m run.
5. The method for detecting proper arm swing during a 50m run according to claim 1, characterized in that, The left / right arm deviation score is determined based on the left / right arm swing degree score, and the left / right arm swing score is determined based on the left / right arm deviation score, the number of left / right arm swing inflection points, and the time frame of the person completing the 50m run. The formula for determining the arm swing score based on the left arm swing score and the right arm swing score is expressed as follows: g6=g 61 g 62 Among them, gel i Indicates the degree of left arm swing in the i-th frame, ger i g61 represents the degree of right arm swing in the i-th frame. i,m This indicates the score for left arm deviation. It determines whether the left arm position is the same in frame m and frame i. (g61) i,m =1 indicates that the left arm position is the same in frame m and frame i, g62 i,m This indicates the score for right arm deviation. It determines whether the right arm position is the same in frame m and frame i. (g62) i,m =1 indicates that the right arm position is the same in frame m and frame i, g61 i This indicates the result of determining whether the left arm does not swing in the content of n2 consecutive frames up to the i-th frame. g61 i =1 indicates the judgment result is no arm swing, g62 i This indicates the result of determining whether the right arm does not swing in the content of n2 consecutive frames up to the i-th frame. g62 i =1 indicates the judgment result is no arm swing, g 61 This represents the score for left arm swing, used to determine whether there is a situation where the left arm does not swing. (g) 61 =1 indicates that the left arm does not swing significantly during running, g 62 This represents the score for right arm swing, used to determine whether there is a situation where the right arm does not swing. (g) 62 =1 indicates that the right arm does not swing significantly during the run, g6 represents the arm swing score, n2 represents the time window length and number of frames for judging non-arm swing based on historical data, ts2 represents the set second judgment threshold, ts3 represents the set third judgment threshold, and t2 represents the time frame of the person completing the 50m run.
6. The method for detecting proper arm swing during a 50m run according to claim 1, characterized in that, The judgment is based on the arm swing score to determine if there is a significant lack of swing in the longitudinal direction, including: when the arm swing score is equal to 1, the judge is determined to have a significant lack of swing in the longitudinal direction. The left and right arm swing scores are determined based on the coordinates of key points in the starting and ending camera images, the number of right arm swing inflection points, and the time frame of the person completing the 50m run. The formula for determining whether the person has engaged in left or right arm swing based on the left and right arm swing scores is as follows: g7=g 71 +g 72 Among them, (slx1) i ,sly1 i (srx1) represents the coordinates of the left shoulder in the i-th frame of the starting camera view. i ,sry1 i (elx1) represents the coordinates of the right shoulder in the i-th frame of the starting camera view. i ,ely1 i (erx1) represents the left elbow coordinate of the i-th frame within the starting camera's view. i ,ery1 i (slx2) represents the right elbow coordinate of the i-th frame within the starting camera's view. i ,sly2 i (srx2) represents the coordinates of the left shoulder in the i-th frame of the endpoint camera view. i ,sry2 i (elx2) represents the coordinates of the right shoulder in the i-th frame of the endpoint camera view. i ,ely2 i (erx2) represents the left elbow coordinate of the i-th frame within the endpoint camera's view. i ,ery2 i ) represents the right elbow coordinate of the i-th frame within the endpoint camera's view, ge71 i This represents the score for the lateral swing of the left arm in the i-th frame, ge72 i g71 represents the score for the lateral swing of the right arm in the i-th frame. i This indicates the result of determining whether the left arm swings laterally within n3 consecutive frames up to the i-th frame, g71 i =1 indicates the judgment result is a lateral swing of the left arm, g72 i This indicates the result of determining whether the right arm swings laterally within n3 consecutive frames up to the i-th frame, g72 i =1 indicates the judgment result is a lateral swing of the right arm, p is the sequence number (same as m,i), n3 represents the time window length (frames) for judging the lateral arm swing based on historical data, ts4 represents the set fourth judgment threshold, g 71 The score is indicated by the lateral swing of the left arm, g. 71 =1 indicates that the left arm is swinging laterally, g 72 The score is indicated by the lateral swing of the right arm, g. 72 =1 indicates that the right arm is swinging laterally, g7 indicates the score for left and right arm swings. When g7=1, it means that the person has a lateral arm swing. When g7=0, it means that the person does not have a lateral arm swing. n3 indicates the length of the time window for determining the lateral arm swing based on historical data. t1 indicates the time frame for passing the 25m position. t2 indicates the time frame for the person to complete the 50m run.
7. The method for detecting arm swing standard during a 50m run according to claim 1, characterized in that, The presence of arm swinging is determined based on the arm swing score and the score for the inflection point direction of the left / right arm, including: The number of positive inflection points on the left arm is calculated using the following formula: The number of positive inflection points on the right arm is calculated using the following formula: The number of negative inflection points in the left arm is calculated using the following formula: The number of negative inflection points in the right arm is calculated using the following formula: Among them, gd2 i GD3 represents the score for the left arm inflection point direction in the i-th frame. i t2 represents the score of the right arm inflection point direction in the i-th frame, n2 represents the number of frames in the time window set according to historical data for determining no arm swing, and t2 represents the time frame in which the person completes the 50m run. When the arm swing score is 0, if the number of positive inflection points of the left arm, or the number of positive inflection points of the right arm, or the number of negative inflection points of the left arm, or the number of negative inflection points of the right arm is 0, then it is determined that the person's arm swing is abnormal and that no arm swing was performed during the running process. When the arm swing score is 0, if the number of positive inflection points of the left arm, or the number of positive inflection points of the right arm, or the number of negative inflection points of the left arm, or the number of negative inflection points of the right arm are all not equal to 0, then it is determined that the person is swinging their arm.
8. The method for detecting arm swing standard during a 50m run according to claim 1, characterized in that, When a person is swinging their arms, the formula for determining whether the arm swing amplitude is standard is expressed as follows, based on the score of the degree of arm swing of the left / right arm, the number of inflection points of the left / right arm swing, the time frame of each inflection point of the left / right arm, and the score of the direction of the inflection point of the left / right arm: g8=g 81 g 82 g9=g 91 g 92 ts5 represents the fifth judgment threshold, ts6 represents the sixth judgment threshold, ts7 represents the seventh judgment threshold, ts8 represents the eighth judgment threshold, ts9 represents the ninth judgment threshold, and g81 represents the ninth judgment threshold. k This represents the standard score for the left arm swing amplitude at the k-th inflection point, g82. k G represents the standard score for the right arm swing amplitude at the k-th inflection point. 81 This indicates the score for the proper left arm forward swing, g. 81 =1 indicates that the left arm swing conforms to the standard, g 82 Indicates the score for proper right arm forward swing, g 82 =1 indicates that the right arm swing forward conforms to the standard, g 91 This indicates the score for proper left arm backswing, g 91 =1 indicates that the left arm swing conforms to the standard, g 92 Indicates the correct right arm swing, g 92 =1 indicates that the right arm swing backward conforms to the standard, g8 indicates the score for the forward swing standard, g9 indicates the score for the backward swing standard. When g8=1, the person's forward arm swing amplitude conforms to the standard; when g9=1, the person's backward arm swing amplitude conforms to the standard. gd2 i GD3 represents the score for the left arm inflection point direction in the i-th frame. i Let ni represent the right arm inflection point direction score in frame i, n4 represent the number of left arm swing inflection points, and n5 represent the number of right arm swing inflection points. Indicates the tgl k The score for the left arm swing degree in the frame, where n2 represents the length of the time window for determining no arm swing, set based on historical data, and the number of frames. Indicates the tgl k The score for the right arm swing degree in the frame, tgl k tgr represents the time frame of each inflection point k in the left arm. k t1 represents the time frame of each inflection point k on the right arm, and t2 represents the time frame of the person completing a 50m run.
9. An electronic device, characterized in that, include: Processor and memory; The processor executes the arm swing specification detection method during a 50m run as described in any one of claims 1 to 8 by calling the program or instructions stored in the memory.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program or instructions that cause a computer to perform a method for detecting arm swing specifications during a 50m run as described in any one of claims 1 to 8.