A method for detecting swing-down before a bar end support, an electronic device and a storage medium

By setting up a detection device in physical education teaching and using the coordinates of key points within the video frame to calculate the score of the swing-down movement while supporting the bar end, a quantitative evaluation of the swing-down movement before the bar end is supported is achieved, which solves the problem of traditional judgments that are highly subjective. problem, improving the training effect.

CN118615690BActive Publication Date: 2024-10-25GUANGDONG PROPHET BIG DATA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411103392.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-25
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

In traditional physical education teaching, the evaluation of the bar end support and front swing skills is highly subjective and difficult to carry out quantitative analysis, which affects the improvement of training effects.

Method used

Design a bar end support front swing detection method. By setting up a detection device before detecting the parallel bars, using the camera to obtain the coordinates of key points in the video frame, the detection personnel's starting detection specification score, landing direction score, bar passing score, landing score are calculated. Point scores and completion scores are used to determine the number of completed points and achieve quantitative evaluation of actions.

Benefits of technology

It eliminates subjective judgment and achieves precise quantitative analysis of the swinging movement of the bar end before supporting it, helping teachers to accurately guide students to carry out targeted training and improve training effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118615690B_ABST
    Figure CN118615690B_ABST
Patent Text Reader

Abstract

The invention relates to a method for detecting a swing-down before a bar end support, an electronic device and a storage medium, and belongs to the technical field of swing-down detection before a bar end support. The method comprises: obtaining a first video from when a detection device sends a preparation instruction to when a start instruction is sent, and determining a standard score for the start detection of the detection personnel according to the detection personnel information and the parallel bar information in the first video; obtaining a second video from when timing starts to when timing ends, and determining a landing direction score and a bar crossing score of the detection personnel according to the detection personnel information and the parallel bar information in the second video; determining a landing point score of the detection personnel according to the landing direction score, the bar crossing score, the coordinates of key points of the detection personnel in the second video, and the end points where the four bases of the parallel bars contact the ground; determining a completion score of the detection personnel according to the landing direction score and the landing point score; determining a completion number score of the detection personnel according to the landing direction score and the completion score; and determining the number of completed swing-down actions before the bar end support according to the completion number score.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of front swing-down detection of a bar end support, and in particular relates to a front swing-down detection method of a bar end support, an electronic device and a storage medium. Background Art

[0002] The forward swing is a basic skill in gymnastics, which involves not only upper limb strength, but also body coordination and aerial perception. In school physical education, this exercise can effectively improve students' physical fitness, especially strength, flexibility and coordination. However, in the traditional physical education teaching and training process, coaches or teachers often judge students' skill mastery through observation. This method is highly subjective, difficult to quantify and difficult to accurately guide students to conduct targeted training. In addition, due to the lack of effective evaluation tools, it is difficult for teachers to accurately grasp the progress of students in training, which affects the improvement of training effects. Summary of the invention

[0003] In view of the above deficiencies in the prior art, the purpose of the invention is to provide a method, electronic device and storage medium for detecting the swing down before the bar end support is lifted, so as to eliminate the problems such as strong subjectivity, difficulty in quantitative analysis, and difficulty in accurately guiding students to conduct targeted training.

[0004] A first aspect of the present invention provides a method for detecting a swing-down of a bar end support, comprising:

[0005] Before detecting the parallel bars, a detection device is set up, wherein the camera screen of the detection device includes the entire parallel bar area, and the coordinates of the two end points of the parallel bars near the camera end and the end points where the four bases of the parallel bars contact the ground are marked;

[0006] Obtain the first video from when the detection device issues a preparation instruction to when it issues a start instruction, and determine the detection person's start detection standard score based on the key point coordinates of the detection person in the first video and the coordinates of the two end points of the parallel bars close to one end of the camera and the end points of the four bases of the parallel bars in contact with the ground;

[0007] Determine whether the tester starts the test from a stationary position based on the tester's score at the beginning of the test. If it is determined that the tester starts the test from a stationary position, start timing after issuing a start instruction and the tester starts the test from a stationary position, obtain a second video from the start of timing to the end of timing, and determine the tester's landing direction score and the tester's crossing score based on the tester's key point coordinates in the second video and the two end points of the parallel bars close to the camera end and the end points of the four bases of the parallel bars in contact with the ground;

[0008] The landing point score of the tester is determined based on the landing direction score, the bar crossing score, the key point coordinates of the tester in the second video, and the end points where the four bases of the parallel bars contact the ground;

[0009] The tester's completion score is determined based on the landing direction score and landing point score;

[0010] The score of the number of completed items by the inspector is determined based on the landing direction score and the completion score;

[0011] The number of swing-down movements completed by the tester before supporting the bar end is determined based on the completion number score.

[0012] Furthermore, in the above-mentioned method for detecting the swing-down of the front end support of the bar, the standard score for the detection personnel to start the detection is determined by the following formula:

[0013]

[0014]

[0015]

[0016] in, represents the hand norm score, Indicates the foot standard score, Indicates that the tester starts testing the standard score. Indicates the coordinates of the left end of the double bar near the camera. Indicates the coordinates of the right end point of the parallel bars close to the camera. represents left-hand coordinates, Indicates the right hand coordinate of the detected person in the i-th frame, represents the left ankle coordinates of the detected person in the i-th frame, represents the coordinates of the right ankle of the detected person in the i-th frame, Indicates the coordinates of the left end point of the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the endpoints on the right side of the camera where the four bases of the parallel bars are in contact with the ground. The number of frames of the first video between the prepare command and the start command is , the sequence number of the video frame .

[0017] Furthermore, in the above-mentioned method for detecting the swing down before the support of the bar end, the score of the landing direction of the tester is determined by the following formula:

[0018] hour, , hour,

[0019]

[0020]

[0021]

[0022] in, represents the left start score of the detected person in the jth frame, represents the right start score of the detected person in the jth frame, Indicates the set second judgment threshold, , represents the landing direction score of the detected person in the jth frame, represents the left hip bone coordinates of the detected person in the jth frame, represents the coordinates of the right hip bone of the detected person in the jth frame, Indicates the coordinates of the left end of the double bar near the camera. Indicates the coordinates of the right end point of the parallel bars close to the camera. The second video frame number from the start of timing to the end of timing is , the sequence number of the video frame .

[0023] Furthermore, in the above-mentioned method for detecting the swing down before the bar end support, the score of the tester crossing the bar is determined by the following formula:

[0024]

[0025]

[0026]

[0027]

[0028] in, represents the hip crossing score of the j-th frame of the inspector, represents the habitual crossing score of the detected person in the jth frame, represents the score of the ankle crossing the bar in the jth frame of the tester, It represents the score of the person crossing the bar in the jth frame. Indicates the coordinates of the left end of the double bar near the camera. Indicates the coordinates of the right end point of the parallel bars close to the camera. represents the left ankle coordinates of the detected person in the jth frame, represents the coordinates of the right ankle of the detected person in the jth frame, represents the left knee coordinates of the detected person in the jth frame, represents the right knee coordinates of the detected person in the jth frame, represents the left hip bone coordinates of the detected person in the jth frame, represents the coordinates of the right hip bone of the detected person in the jth frame. The number of the second video frame from the start of timing to the end of timing is , the sequence number of the video frame .

[0029] Furthermore, in the above-mentioned method for detecting the swing down before the bar end support, the landing point score of the tester is determined according to the landing direction score, the bar crossing score, the key point coordinates of the tester in the second video, and the end points where the four bases of the parallel bars contact the ground, which is determined by the following formula:

[0030] hour, hour,

[0031]

[0032]

[0033]

[0034]

[0035] in, It represents the score of the personnel landing point judgment of the jth frame of the detection personnel, Indicates the score of the person's landing point in the jth frame of the detected person, It represents the left landing score of the detected person in the jth frame, represents the right landing score of the detected person in the jth frame, Indicates the coordinates of the left end point of the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the endpoints on the right side of the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the left end point away from the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the right end point away from the camera where the four bases of the parallel bars touch the ground. represents the left ankle coordinates of the detected person in the jth frame, represents the coordinates of the right ankle of the detected person in the jth frame, represents the landing direction score of the detected person in the jth frame. The number of the second video frame from the start of timing to the end of timing is , the sequence number of the video frame .

[0036] Furthermore, in the above-mentioned method for detecting the swing down before the support of the bar end, the completion score of the tester is determined according to the landing direction score and the landing point score, which is determined by the following formula:

[0037] hour, , hour,

[0038]

[0039] in, Indicates the score of the person's landing point in the jth frame of the detected person, represents the landing direction score of the detected person in the jth frame, Indicates the completion score of the detected person in the jth frame. The number of the second video frame from the start of timing to the end of timing is , the sequence number of the video frame .

[0040] Furthermore, in the above-mentioned method for detecting the swing down before the support of the bar end, the score of the number of completions of the detection personnel is determined according to the landing direction score and the completion score, which is determined by the following formula:

[0041] set up hour, , hour,

[0042]

[0043] in, represents the landing direction score of the detected person in the jth frame, represents the completion score of the detected person in the jth frame, Indicates the completion score of the j-th frame of the detection person.

[0044] Furthermore, in the above-mentioned method for detecting the swing-down before supporting the bar end, determining the number of swing-down before supporting the bar end actions completed by the detection personnel according to the completion number score includes:

[0045] The score for the number of completions at the end of the timing is determined by the number of swing-down movements completed by the tester before supporting the bar end.

[0046] A second aspect of the present invention further provides an electronic device, comprising: a processor and a memory;

[0047] The processor is used to execute any one of the above methods for detecting the front swing down of the bar end support by calling the program or instruction stored in the memory.

[0048] The third aspect of the present invention further proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute any one of the above methods for detecting the front swing down of the bar end support.

[0049] The beneficial effects of the present invention are as follows: the present invention sets a detection device before detecting the parallel bars, wherein the camera screen of the detection device includes the entire parallel bar area, and marks the coordinates of the two end points of the parallel bars close to the camera end and the end points of the four bases of the parallel bars in contact with the ground; obtains a first video from the time the detection device issues a preparation instruction to the time the detection device issues a start instruction, and determines a standard score for the detection personnel to start detection according to the key point coordinates of the detection personnel in the first video and the two end points of the parallel bars close to the camera end and the end points of the four bases of the parallel bars in contact with the ground; determines whether the detection personnel starts the detection from a stationary state according to the standard score for the detection personnel to start the detection, and if it is determined that the detection personnel starts the detection from a stationary state, the detection personnel starts the detection from a stationary state after the start instruction is issued. After the detection is started, the timing is started, and the second video between the start of timing and the end of timing is obtained. According to the key point coordinates of the detection personnel in the second video and the two end points of the parallel bars near the camera end of the bar body and the end points of the four bases of the parallel bars in contact with the ground, the detection personnel's landing direction score and the detection personnel's crossing bar score are determined; according to the landing direction score, the crossing bar score, the key point coordinates of the detection personnel in the second video and the end points of the four bases of the parallel bars in contact with the ground, the detection personnel's landing point score is determined; according to the landing direction score and the landing point score, the detection personnel's completion score is determined; according to the landing direction score and the completion score, the detection personnel's completion number score is determined; according to the completion number score, the number of swing-down actions completed by the detection personnel before the bar end support is determined. The present invention can eliminate the problem of strong subjectivity, difficulty in quantitative analysis, and inconvenience in accurately guiding students to conduct targeted training, and at the same time, it is difficult for teachers to accurately grasp the students' progress in training. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.

[0051] Figure 1 A diagram of a method for detecting a swing-down of a bar end support provided by an embodiment of the present invention;

[0052] Figure 2 A schematic block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order 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 in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only 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 ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.

[0054] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.

[0055] In the description of the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be internal communication between two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.

[0057] The present invention proposes a bar end support front swing detection method, electronic equipment and storage medium, which can eliminate the problems of strong subjectivity, difficulty in quantitative analysis, and not being conducive to accurately guiding students to conduct targeted training, and difficulty for teachers to accurately grasp the progress of students in training.

[0058] Method Embodiment

[0059] Figure 1 A diagram of a bar end support front swing down detection method provided in an embodiment of the present invention.

[0060] In the first aspect of the present invention, a method for detecting the swing down of the front end support of the bar is proposed, combining Figure 1 , including seven steps from S1 to S7:

[0061] S1: Before testing the parallel bars, a testing device is set up. The camera image of the testing device includes the entire parallel bar area, and the coordinates of the two end points of the parallel bars close to the camera and the end points where the four bases of the parallel bars contact the ground are marked.

[0062] Specifically, in the embodiment of the present invention, the camera of the fixed detection device is facing the parallel bars used for the test, the scene is annotated and the coordinates of the annotated points in the image are obtained, and the annotated content includes the two end points of the parallel bars near the camera end, wherein the coordinates of the left end point of the parallel bars near the camera end are , the coordinates of the right end point of the parallel bar near the camera are The coordinates of the endpoints where the four bases of the parallel bars touch the ground and the endpoints close to the left side of the camera are The coordinates of the four bases of the parallel bars in contact with the ground and the endpoints on the left side away from the camera are The coordinates of the four bases of the parallel bars in contact with the ground and the end point close to the right side of the camera are The coordinates of the four bases of the parallel bars that are in contact with the ground and away from the right end point of the camera are .

[0063] S2: Obtain the first video from the time the detection device issues the preparation instruction to the start instruction, and determine the detection personnel's start detection standard score based on the key point coordinates of the detection personnel in the first video and the two end points of the parallel bars close to the camera end and the end point coordinates of the four bases of the parallel bars in contact with the ground.

[0064] Specifically, in the embodiment of the present invention, the first video is obtained from the time when the detection device issues a voice preparation instruction to the time when the detection device issues a start instruction, and the number of frames of the first video is , the sequence number of the first video frame , get each frame The key point coordinates of the detected person include: left ankle coordinates , right ankle coordinates , left-hand coordinates , right-hand coordinates , the method for determining the tester's starting test standard score is described in detail below.

[0065] S3: Determine whether the tester starts the test from a stationary position based on the tester's score at the beginning of the test. If it is determined that the tester starts the test from a stationary position, start timing after the start instruction is issued and the tester starts the test from a stationary position, obtain a second video from the start of timing to the end of timing, and determine the tester's landing direction score and the tester's crossing score based on the tester's key point coordinates in the second video and the two end points of the parallel bars close to the camera end and the end points of the four bases of the parallel bars in contact with the ground.

[0066] Specifically, in the embodiment of the present invention, when the tester starts to test the standard score Less than the set first judgment threshold When the person is judged to start the test from a stationary state, otherwise the person is judged to have violated the rules and the test is repeated. The timing starts after the start instruction is issued and the person starts the test from a stationary state. The video of the process from the start of the timing to the end of the timing is obtained. The number of video frames is , the sequence number of the video frame , obtain the key point coordinates of the detected person in each frame of the second video, the key point coordinates include: left ankle coordinates , right ankle coordinates , left knee coordinates , right knee coordinates , left hip bone coordinates , right hip bone coordinates The method for determining the score of the tester's landing direction and the score of the tester's crossing the bar is introduced in detail below.

[0067] Here, the first judgment threshold is set The size can be flexibly set according to actual conditions.

[0068] S4: Determine the landing point score of the inspector according to the landing direction score, the bar crossing score, the key point coordinates of the inspector in the second video, and the end points where the four bases of the parallel bars contact the ground.

[0069] Specifically, in an embodiment of the present invention, a method for determining the landing point score of the detected person based on the landing direction score, the bar crossing score, the key point coordinates of the detected person in the second video, and the endpoints where the four bases of the parallel bars contact the ground is described in detail below.

[0070] S5: Determine the tester's completion score based on the landing direction score and landing point score.

[0071] Specifically, in an embodiment of the present invention, a method for determining a tester's completion score based on a landing direction score and a landing point score is described in detail below.

[0072] S6: Determine the score of the number of completions of the inspector based on the landing direction score and the completion score.

[0073] Specifically, in an embodiment of the present invention, a method for determining a completion number score of a detection personnel based on a landing direction score and a completion score is described in detail below.

[0074] S7: Determine the number of swing-down movements completed by the tester based on the completion number score.

[0075] Specifically, in an embodiment of the present invention, a method for determining the number of swing-down movements completed by a tester before supporting the bar end based on a completion number score is described in detail below.

[0076] Furthermore, in the above-mentioned method for detecting the swing-down of the front end support of the bar, the standard score for the detection personnel to start the detection is determined by the following formula:

[0077]

[0078]

[0079]

[0080] in, represents the hand norm score, Indicates the foot standard score, Indicates that the tester starts testing the standard score. Indicates the coordinates of the left end of the double bar near the camera. Indicates the coordinates of the right end point of the parallel bars close to the camera. represents left-hand coordinates, Indicates the right hand coordinate of the detected person in the i-th frame, represents the left ankle coordinates of the detected person in the i-th frame, represents the coordinates of the right ankle of the detected person in the i-th frame, Indicates the coordinates of the left end point of the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the endpoints on the right side of the camera where the four bases of the parallel bars are in contact with the ground. The number of frames of the first video between the prepare command and the start command is , the sequence number of the video frame .

[0081] Furthermore, in the above-mentioned method for detecting the swing down before the support of the bar end, the score of the landing direction of the tester is determined by the following formula:

[0082] hour, , hour,

[0083]

[0084]

[0085]

[0086] in, represents the left start score of the detected person in the jth frame, represents the right start score of the detected person in the jth frame, Indicates the set second judgment threshold, , represents the landing direction score of the detected person in the jth frame, represents the left hip bone coordinates of the detected person in the jth frame, represents the coordinates of the right hip bone of the detected person in the jth frame, Indicates the coordinates of the left end of the double bar near the camera. Indicates the coordinates of the right end point of the parallel bars close to the camera. The second video frame number from the start of timing to the end of timing is , the sequence number of the video frame .

[0087] Specifically, in the embodiment of the present invention, the second judgment threshold is set The size can be flexibly set according to actual conditions.

[0088] Furthermore, in the above-mentioned method for detecting the swing down before the bar end support, the score of the tester crossing the bar is determined by the following formula:

[0089]

[0090]

[0091]

[0092]

[0093] in, represents the hip crossing score of the j-th frame of the inspector, represents the habitual crossing score of the detected person in the jth frame, represents the score of the ankle crossing the bar in the jth frame of the tester, It represents the score of the person crossing the bar in the jth frame. Indicates the coordinates of the left end of the double bar near the camera. Indicates the coordinates of the right end point of the parallel bars close to the camera. represents the left ankle coordinates of the detected person in the jth frame, represents the coordinates of the right ankle of the detected person in the jth frame, represents the left knee coordinates of the detected person in the jth frame, represents the coordinates of the right knee of the detected person in the jth frame, represents the left hip bone coordinates of the detected person in the jth frame, represents the coordinates of the right hip bone of the detected person in the jth frame. The number of the second video frame from the start of timing to the end of timing is , the sequence number of the video frame .

[0094] Furthermore, in the above-mentioned method for detecting the swing down before the bar end support, the landing point score of the tester is determined according to the landing direction score, the bar crossing score, the key point coordinates of the tester in the second video, and the end points where the four bases of the parallel bars contact the ground, which is determined by the following formula:

[0095] hour, hour,

[0096]

[0097]

[0098]

[0099]

[0100] in, It represents the score of the personnel landing point judgment of the jth frame of the detection personnel, Indicates the score of the person's landing point in the jth frame of the detected person, It represents the left landing score of the detected person in the jth frame, represents the right landing score of the detected person in the jth frame, Indicates the coordinates of the left end point of the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the endpoints on the right side of the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the left end point away from the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the right end point away from the camera where the four bases of the parallel bars touch the ground. represents the left ankle coordinates of the detected person in the jth frame, represents the coordinates of the right ankle of the detected person in the jth frame, represents the landing direction score of the detected person in the jth frame. The number of the second video frame from the start of timing to the end of timing is , the sequence number of the video frame .

[0101] Furthermore, in the above-mentioned method for detecting the swing down before the bar end support, the completion score of the tester is determined according to the landing direction score and the landing point score, which is determined by the following formula:

[0102] hour, , hour,

[0103]

[0104] in, Indicates the score of the person's landing point in the jth frame of the detected person, represents the landing direction score of the detected person in the jth frame, Indicates the completion score of the detected person in the jth frame. The number of the second video frame from the start of timing to the end of timing is , the sequence number of the video frame .

[0105] Furthermore, in the above-mentioned method for detecting the swing down before the support of the bar end, the score of the number of completions of the detection personnel is determined according to the landing direction score and the completion score, which is determined by the following formula:

[0106] set up hour, , hour,

[0107]

[0108] in, represents the landing direction score of the detected person in the jth frame, represents the completion score of the detected person in the jth frame, Indicates the completion score of the j-th frame of the detection person.

[0109] Furthermore, in the above-mentioned method for detecting the swing-down before supporting the bar end, determining the number of swing-down before supporting the bar end actions completed by the detection personnel according to the completion number score includes:

[0110] The score for the number of completions at the end of the timing is determined by the number of swing-down movements completed by the tester before supporting the bar end.

[0111] Specifically, in the embodiment of the present invention, the number of completed points at the end of the timing is scored. The number of swing-down movements completed by the tester before the bar end support.

[0112] A second aspect of the present invention further provides an electronic device, comprising: a processor and a memory;

[0113] The processor is used to execute any one of the above methods for detecting the front swing down of the bar end support by calling the program or instruction stored in the memory.

[0114] The third aspect of the present invention further proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute any one of the above methods for detecting the front swing down of the bar end support.

[0115] Figure 2 It is a schematic block diagram of an electronic device provided by an embodiment of the present invention.

[0116] like Figure 2As 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 in the electronic device are coupled together through a bus system 204. The communication interface 203 is used to transmit information between external devices. It can be understood that the bus system 204 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 204 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 2 Various buses are labeled as bus system 204 .

[0117] It can be understood that the memory 202 in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.

[0118] In some implementations, the memory 202 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system and application programs.

[0119] Among them, the operating system includes various system programs, such as the framework layer, the core library layer, the driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. A program that implements any method of the bar end support front swing down detection method provided in an embodiment of the present invention can be included in the application program.

[0120] In an embodiment of the present invention, the processor 201 calls the program or instructions stored in the memory 202, specifically, the program or instructions stored in the application, and the processor 201 is used to execute the steps of each embodiment of a bar end support front swing down detection method provided in an embodiment of the present invention.

[0121] Before detecting the parallel bars, a detection device is set up, wherein the camera screen of the detection device includes the entire parallel bar area, and the coordinates of the two end points of the parallel bars near the camera end and the end points where the four bases of the parallel bars contact the ground are marked;

[0122] Obtain the first video from when the detection device issues a preparation instruction to when it issues a start instruction, and determine the detection person's start detection standard score based on the key point coordinates of the detection person in the first video and the coordinates of the two end points of the parallel bars close to one end of the camera and the end points of the four bases of the parallel bars in contact with the ground;

[0123] Determine whether the tester starts the test from a stationary position based on the tester's score at the beginning of the test. If it is determined that the tester starts the test from a stationary position, start timing after issuing a start instruction and the tester starts the test from a stationary position, obtain a second video from the start of timing to the end of timing, and determine the tester's landing direction score and the tester's crossing score based on the tester's key point coordinates in the second video and the two end points of the parallel bars close to the camera end and the end points of the four bases of the parallel bars in contact with the ground;

[0124] The landing point score of the tester is determined based on the landing direction score, the bar crossing score, the key point coordinates of the tester in the second video, and the end points where the four bases of the parallel bars contact the ground;

[0125] The tester's completion score is determined based on the landing direction score and landing point score;

[0126] The score of the number of completed items by the inspector is determined based on the landing direction score and the completion score;

[0127] The number of swing-down movements completed by the tester before supporting the bar end is determined based on the completion number score.

[0128] Any method in the method for detecting the swing down before the bar end support provided in an embodiment of the present invention can be applied to the processor 201, or implemented by the processor 201. The processor 201 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 201 or the instructions in the form of software. The above-mentioned processor 201 can be a general-purpose processor, a digital signal processor (DigitalSignal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0129] The steps of any method in the method for detecting the swing down of the front end support of the bar provided in the embodiment of the present invention can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software units in the decoding processor. The software unit can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 202, and the processor 201 reads the information in the memory 202 and completes the steps of the method in combination with its hardware.

[0130] Those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.

[0131] Those skilled in the art will appreciate that the description of each embodiment has its own emphasis, and for parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0132] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed by the present invention, and these modifications or substitutions should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

[0133] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for detecting the swing down of the front end support of a bar. It is characterized in that include: Before detecting the parallel bars, a detection device is set up, wherein the camera screen of the detection device includes the entire parallel bar area, and the coordinates of the two end points of the parallel bars near the camera end and the end points where the four bases of the parallel bars contact the ground are marked; Obtain a first video from when the detection device issues a preparation instruction to when it issues a start instruction, and determine the detection person's start detection standard score based on the key point coordinates of the detection person in the first video, the two end points of the parallel bars close to the camera end, and the end point coordinates of the four bases of the parallel bars in contact with the ground; Determine whether the tester starts the test from a stationary position based on the tester's score at the beginning of the test. If it is determined that the tester starts the test from a stationary position, start timing after issuing a start instruction and the tester starts the test from a stationary position, obtain a second video from the start of timing to the end of timing, and determine the tester's landing direction score and the tester's crossing score based on the tester's key point coordinates in the second video and the two end points of the parallel bars close to the camera end and the end points of the four bases of the parallel bars in contact with the ground; Determine the test person's landing point score based on the test person's landing direction score, the test person's crossing bar score, the test person's key point coordinates in the second video, and the end points where the four bases of the parallel bars contact the ground; Determine the completion score of the tester according to the landing direction score of the tester and the landing point score of the tester; Determine the score of the number of completed items by the inspector according to the landing direction score of the inspector and the completion score of the inspector; Determine the number of swing-down movements completed by the tester based on the tester's completed number score; The score of the tester's starting test standard is determined by the following formula: ; ; ; in, represents the hand norm score, Indicates the foot standard score, Indicates that the tester starts testing the standard score. Indicates the coordinates of the left end of the double bar near the camera. Indicates the coordinates of the right end point of the parallel bars close to the camera. represents left-hand coordinates, Indicates the right hand coordinates of the detected person in the i-th frame, represents the left ankle coordinates of the detected person in the i-th frame, represents the coordinates of the right ankle of the detected person in the i-th frame, Indicates the coordinates of the left end point of the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the endpoints on the right side of the camera where the four bases of the parallel bars are in contact with the ground. The number of frames of the first video between the prepare command and the start command is , the sequence number of the video frame ; The score of the landing direction of the tester is determined by the following formula: hour, , hour, ; ; ; in, represents the left start score of the j-th frame of the detected person, represents the right start score of the detected person in the jth frame, Indicates the set second judgment threshold, , represents the landing direction score of the detected person in the jth frame, represents the left hip bone coordinates of the detected person in the jth frame, represents the coordinates of the right hip bone of the detected person in the jth frame. The number of the second video frame from the start of timing to the end of timing is , the sequence number of the video frame ; The score of the tester passing the bar is determined by the following formula: ; ; ; ; in, represents the hip crossing score of the j-th frame of the inspector, represents the habitual crossing score of the detected person in the jth frame, represents the score of the ankle crossing the bar in the jth frame of the tester, It represents the score of the person crossing the bar in the jth frame. represents the left knee coordinates of the detected person in the jth frame, represents the coordinates of the right knee of the detected person in the jth frame; The score of the tester's landing point is determined according to the tester's landing direction score, the tester's crossing score, the key point coordinates of the tester in the second video, and the end points where the four bases of the parallel bars contact the ground, and is determined by the following formula: hour, hour, ; ; ; ; in, It represents the score of the personnel landing point judgment of the jth frame of the detection personnel, Indicates the score of the person's landing point in the jth frame of the detected person, It represents the left landing score of the detected person in the jth frame, represents the right landing score of the detected person in the jth frame, Indicates the coordinates of the left end point away from the camera where the four bases of the parallel bars touch the ground. Indicates the coordinates of the right end point away from the camera where the four bases of the parallel bars touch the ground. Indicates the landing direction score of the detected person in the jth frame; The completion score of the tester is determined according to the landing direction score of the tester and the landing point score of the tester, and is determined by the following formula: hour, , hour, ; in, Indicates the score of the person's landing point in the jth frame of the detected person, Indicates the completion score of the detected person in the jth frame; The score of the number of completed items by the inspector is determined according to the landing direction score of the inspector and the completion score of the inspector, and is determined by the following formula: set up hour, , hour, ; in, represents the landing direction score of the detected person in the jth frame, Indicates the completion score of the j-th frame of the detection person.

2. A method for detecting the swing down of a bar end support according to claim 1, It is characterized in that The number of swing-down movements completed by the tester before the bar end support is determined according to the completion number score, including: The score for the number of completions at the end of the timing is determined by the number of swing-down movements completed by the tester before supporting the bar end.

3. An electronic device, It is characterized in that include: Processor and memory; The processor is used to execute a bar end support front swing down detection method as described in any one of claims 1 to 2 by calling the program or instruction stored in the memory.

4. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores programs or instructions, and the programs or instructions enable a computer to execute a method for detecting the front swing down of a bar end support as described in any one of claims 1 to 2.