Testing method, testing device and storage medium supporting multiple people's physical fitness
Through real-time video data analysis, the main operator is determined and the challenge type is automatically identified, which solves the problems of inaccurate measurement and low efficiency in existing sports tests, enables multi-person physical tests without examiner supervision, and ensures the accuracy of test results. and round-the-clock availability.
Patent Information
- Application Number
- CN202110529496.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-14
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-05-14
AI Technical Summary
Existing sports testing methods have problems such as inconsistent measurement standards, inaccurate results, inability to automatically correspond to user scores, low testing efficiency, and the inability to distinguish between standard and irregular movements, and require examiner supervision to prevent cheating.
By receiving real-time video data, determining the main operator and selecting the challenge type based on them, the processor and memory are used for automatic analysis, enabling multi-person physical testing without the supervision of an examiner.
Avoid interaction confusion when multiple people participate in the test, realize automated performance measurement, and support testing around the clock without time limits.
Smart Images

Figure CN113553562B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of video analysis technology, and in particular to a testing method, a testing device and a storage medium that support the physical fitness of multiple people. Background Art
[0002] At present, the results of physical tests are generally measured manually or by sensors. The measuring equipment used for manual measurement includes stopwatches, tape measures, infrared rangefinders, mechanical counters, electronic counters and other equipment. The measuring equipment used for sensor measurement includes infrared sensor equipment, gravity sensor equipment, RFID radio frequency tags and induction (controller) equipment, Hall sensor equipment, etc. These measurement methods and equipment have problems such as inconsistent test standards, inaccurate measurement results, inability to automatically correspond users and test scores, low test efficiency, and inability to accurately distinguish between standard movements and irregular (foul) movements. In addition, during the test, examiners need to be present to supervise to prevent cheating. Summary of the invention
[0003] The main technical problem solved by this application is to provide a testing method, a testing device and a storage medium that support the physical fitness of multiple people, which can support multiple people to conduct physical fitness tests together without the need for examiners to be present to supervise, thus realizing physical fitness tests around the clock.
[0004] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a physical fitness testing method supporting multiple people, the method comprising: receiving real-time collected video data; determining a main operator based on the real-time collected video data; determining a challenge type based on the selection of the main operator; after receiving a ready operation instruction input by the main operator, analyzing the challenge type on the real-time collected video data to obtain a test score.
[0005] To solve the above technical problems, another technical solution adopted in the present application is: to provide a testing device, the testing device includes a processor, a memory and a communication circuit, the processor is coupled to the memory and the communication circuit respectively, the memory stores program data, and the processor implements the steps in the above method by executing the program data in the memory.
[0006] In order to solve the above technical problem, another technical solution adopted by the present application is: providing a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program can be executed by a processor to implement the steps in the above method.
[0007] The beneficial effects of the present application are as follows: the testing method of the present application first determines the main operator, and then in the entire subsequent testing process, the testing device only identifies the interaction of the main operator and ignores the interaction of other testers, so that when multiple people participate in the physical fitness test, there will be no problem of interaction confusion, and the test results are measured by automatic analysis of the testing device, and there is no need for examiner supervision, so that physical fitness measurement can be carried out around the clock and without time limit. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0009] Figure 1 It is a structural schematic diagram of an implementation method of the test system of the present application;
[0010] Figure 2 It is a flow chart of an implementation method of the present application supporting multiple people's physical fitness testing method;
[0011] Figure 3 It is a flow chart of another implementation method of the present application supporting the testing method of multiple people's physical fitness;
[0012] Figure 4 It is an application scenario corresponding to Figure 3 Interaction flow chart of the method;
[0013] Figure 5 It is a structural schematic diagram of an implementation method of the test device of the present application;
[0014] Figure 6 It is a structural schematic diagram of another embodiment of the testing device of the present application;
[0015] Figure 7 It is a structural schematic diagram of an implementation method of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0017] This application supports the testing method of multiple people's physical fitness being performed by the testing device, such as Figure 1As shown, the test device is connected to a camera and a display. When the test is performed, the camera is used to collect video data of the tester in real time. The collected video data may include motion video data, human body video data, facial video data, gesture video data, etc. The test device receives and analyzes the video data collected by the camera in real time. The display is used to show interactive prompt information to the tester. The interactive prompt information may include test information, process information, test results, etc. Among them, how the camera, test device and display work can be seen below, and no further introduction is given here.
[0018] See also Figure 2 , Figure 2 : is a flow chart of an implementation method of a method for testing the physical fitness of multiple people supported by the present application, and the testing method includes:
[0019] S110: Receive video data collected in real time.
[0020] Specifically, the testing device receives video data collected by a camera in real time.
[0021] S120: Determine the main operator according to the video data collected in real time.
[0022] Specifically, when conducting a physical fitness test, the number of test persons within the camera's field of view may be one or more, but no matter it is one or more, a unique main operator will be determined from among the one or more test persons.
[0023] S130: Determine the challenge type according to the selection of the main operator.
[0024] Specifically, when determining the challenge type, regardless of the choices made by other testers, this application only recognizes the choice of the main operator, that is, the main operator can only choose which item to test next.
[0025] S140: After receiving the ready operation instruction input by the main operator, the challenge type analysis is performed on the real-time collected video data to obtain the test results.
[0026] Specifically, after all testers including the main operator are ready, the main operator can input an operation instruction for prompting readiness, and then the test device performs a challenge type analysis on the real-time collected video data to obtain a test score.
[0027] That is, after the main operator is determined, the test device only recognizes the interaction of the main operator, while the interaction between other testers and the test device is invalid.
[0028] From the above content, it can be seen that the testing method of the present application first determines the main operator, and then in the entire subsequent testing process, the testing device only recognizes the interaction of the main operator and ignores the interaction of other testers. Therefore, when multiple people participate in the physical fitness test, there will be no problem of interaction confusion, and the test results are automatically analyzed by the testing device, which does not require the supervision of an examiner, and physical fitness measurements can be carried out around the clock without time limits.
[0029] See also Figure 3 and Figure 4 , Figure 3 This is a flow chart of another embodiment of the present invention's method for testing the physical fitness of multiple people. Figure 4 It is an application scenario corresponding to Figure 3 An interactive flow chart of a method, the method comprising:
[0030] S201: Identify facial features of a test person in video data collected in real time.
[0031] S202: Determine the identity information of the tester according to the facial features of the tester.
[0032] S203: Displaying on the display a first recognition frame framing the tester's face, a second recognition frame framing the tester, and identity information corresponding to the tester.
[0033] Specifically, during the startup standby stage of the test device, after the test device starts the application, the initial page, i.e., the "list page", can be displayed on the display. The "list page" can display the last test score and / or list (the list is specifically the test score ranking, and the following description is based on the simultaneous display of the last test score and list). At the same time, the "list page" will prompt the user to perform a specific action (such as waving, blinking, shaking the head, etc.) to enter the "challenge page". For the sake of convenience, the specific action here is waving.
[0034] At the same time, when the tester enters the camera's shooting field of view, the application on the test device will start the algorithm program to identify the tester's facial features in the video data collected by the camera in real time, and then compare the identified facial features with the facial features in the registration library to obtain the tester's corresponding identity information.
[0035] It is understandable that only pre-registered users can be identified, so cheating can be avoided without the presence of an examiner. The identity information may include some basic information such as the test taker's name, gender, age, etc.
[0036] Then the testing device displays on the display a first identification frame framing the face of each tester, a second identification frame framing the body of each tester, and the identity information corresponding to each tester.
[0037] That is to say, for users, after entering the camera's shooting field of view, they will see the "list page" on the display. At the same time, the page will display the first identification frame that frames their face, the second identification frame that frames their entire body, and the corresponding identity information. At the same time, the page also prompts that they can wave to enter the "challenge page."
[0038] It should be noted that, in other implementations, the testing method may not include steps S201 to S203, and in this case, the method may directly proceed to step S204.
[0039] S204: Determine the tester who performs the first preset interactive action in the real-time collected video data as a main operator, and highlight the main operator on the display.
[0040] Specifically, the first preset interactive action here is the same as the above-mentioned specific action. When the specific action is waving, the first preset interactive action here is also waving.
[0041] When the test device recognizes that a tester is waving within the camera's field of view, the waving tester is identified as the main operator. The specific method for the test device to identify whether the tester is waving is as follows: the application sends a waving recognition command to the algorithm program, and then the algorithm program analyzes the real-time collected video data to determine whether there is a waving tester, that is, at this time, it is in the stage of waiting for the tester to wave.
[0042] At the same time, after the main operator is determined, the page is switched to the "test page" and the main operator is highlighted on the page, for example, the main operator is marked in red, or the first identification box and the second identification box corresponding to the main operator are set to be different from those of other testers.
[0043] Among them, after switching the page to the "test page", the "test page" can also display a first identification frame framing the face of each tester, a second identification frame framing each tester as a whole, and the corresponding identity information, or only display the first identification frame framing the face of the main operator, the second identification frame framing the main operator as a whole, and the corresponding identity information of the main operator.
[0044] S205: Prompt the main operator to enter the designated challenge area.
[0045] Specifically, while the main operator is highlighted on the "test page", the main operator is also prompted to enter the designated challenge area drawn. For example, a human-shaped area drawn is displayed on the "test page" to prompt the main operator to enter the corresponding human-shaped area.
[0046] S206: Detect whether the main operator enters the designated challenge area within a preset time.
[0047] If detected, proceed to step S207, otherwise proceed to step S213.
[0048] Specifically, if the main operator is detected entering the designated challenge area within a preset time (for example, 30 seconds, 1 minute, etc.), step S207 is executed; if the main operator is not detected entering the designated area within the preset time, the page of the display is switched to the initial page, i.e., the "list page", and a waving recognition command is sent to the background algorithm, returning to the stage of waiting for the tester to wave.
[0049] S207: Prompt the main operator to select a challenge type.
[0050] Specifically, after the main operator enters the designated challenge area, the main operator is prompted to select the challenge type through methods such as gestures (such as making digital gestures 1, 2, 3, etc.) and shaking his head (such as shaking his head up, down, left, right, etc.).
[0051] For the sake of convenience, the following description will be given by prompting the main operator to select a challenge type by making digital gestures 1, 2, 3, etc. For example, the number 1 represents a rope skipping challenge, the number 2 represents a ball juggling challenge, and so on.
[0052] While prompting the main operator to select the challenge type, the test device will start the algorithm program to analyze the collected video data and feedback the gesture recognition results to the main operator.
[0053] S208: Detecting whether the main operator performs a second preset interactive action within a preset time.
[0054] If detected, proceed to step S209, otherwise proceed to step S213.
[0055] Specifically, if it is detected that the main operator has selected a challenge type by executing a second preset interactive action (corresponding to step S207, such as making digital gestures 1, 2, 3, etc.) within a preset time (for example, 30 seconds, 1 minute, etc.), step S209 is entered, otherwise the page of the display is switched to the initial page, i.e., the "list page", and a waving recognition command is sent to the background algorithm, returning to the stage of waiting for the tester to wave.
[0056] S209: Displaying the maximum supported challenge position on the display, prompting the tester to enter the challenge area corresponding to each challenge position, and prompting the main operator to input the ready operation instruction.
[0057] Specifically, after the main operator selects the challenge type, the page is switched to the "Challenge Page", on which the maximum supported challenge positions are displayed, and the testers are prompted to enter the challenge areas corresponding to each challenge position. For example, the maximum supported challenge positions displayed on the "Challenge Page" are 5, and 5 human-shaped areas are drawn, which means that up to 5 testers are allowed to conduct physical fitness tests at the same time.
[0058] At the same time, the main operator will be prompted on the "Challenge Page" to enter the ready operation instructions after all testers are ready, such as entering the "OK" gesture.
[0059] S210: Detecting whether the main operator performs a third preset interactive action within a preset time.
[0060] If detected, the process proceeds to step S211 , otherwise the process proceeds to step S213 .
[0061] Specifically, the third preset interactive action corresponds to the ready operation instruction in step S209, such as an "OK" gesture.
[0062] If it is detected that the main operator performs the third preset interactive action within the preset time (for example, 30 seconds, 1 minute, etc.), step S211 is entered, otherwise the page of the display is switched to the initial page, that is, the "list page", and a waving recognition command is sent to the background algorithm, returning to the stage of waiting for the tester to wave.
[0063] S211: Start a countdown on the display, and start performing a challenge-type analysis on the real-time collected video data at the end of the countdown to obtain a test score.
[0064] Specifically, after the main operator performs the third preset interactive action, the countdown starts (for example, a countdown of 10 seconds), and after the countdown ends, the challenge type analysis of the real-time collected video data begins to obtain the test score until the challenge ends (for example, the challenge time is up).
[0065] In order to facilitate the testers to know their test results in real time during the test, the test device will also display the test results of each tester in real time on the display.
[0066] S212: Obtain the test score, challenge type and identity information corresponding to each tester, and display the test score, challenge type and identity information corresponding to each tester on the display.
[0067] Specifically, after the challenge is over, in order to let each tester know his or her test score in the end, the test score, challenge type and identity information corresponding to each tester will be displayed on the display. Of course, in other implementations, only the test score corresponding to each tester can be displayed.
[0068] At the same time, in order to facilitate the subsequent discovery of problems and to trace back, the test device will also save the video data of the challenge process (for example, the video data collected after the countdown ends, or the video data collected after the main operator is determined).
[0069] S213: Switch the page on the display to the initial page.
[0070] Specifically, after the challenge is over, the page will be switched to the initial page, i.e., the "list page", and the results and list (test results ranking) will be displayed on the "list page".
[0071] From the above content, it can be seen that Figure 2 Compared with the implementation method, in addition to avoiding the occurrence of interaction confusion when multiple people participate in the physical fitness test, in the whole test process, the main operator interacts with the test device through actions, so as to achieve contactless operation, and can maintain a certain distance from the test device to leave space for movement. Compared with voice interaction, it can avoid sound aliasing and recognition failure. Compared with contact interaction (for example, interaction through a mouse, keyboard, touch screen, etc.), the main operator does not need to leave the test area, so the inconvenience of operating close to the test device can be avoided.
[0072] At the same time, during the challenge process, the test device will display each challenge area on the display, prompting each tester to perform the test in the corresponding challenge area, so as to avoid mutual interference between testers.
[0073] It should be noted that, in other embodiments, the method of supporting multi-person physical fitness testing in the present application does not necessarily have to include all of steps S201 to S213. For example, after the main operator is determined, the main operator does not need to enter the designated challenge area. In this case, the user can be directly prompted to select the challenge type. For another example, after the main operator is determined, the main operator may not be highlighted on the display. For another example, after the main operator selects the challenge type, the maximum supported challenge position may not be displayed on the display. In this case, each tester can be allowed to arbitrarily select a suitable challenge position according to actual needs. For another example, after the main operator inputs the ready operation instruction, there is no need for a countdown. Instead, the real-time collected video data is directly analyzed to obtain the test results. For another example, after the test results are obtained, there is no need to display the test results and other information on the display. In this case, in order to avoid privacy leakage, the test results of each tester can be saved in a database.
[0074] In order to better understand the content of the above implementation mode, Figure 4 A detailed introduction to the above scheme is as follows:
[0075] When the test device is in the startup standby stage, after the tester enters the camera's shooting field of view, he will see the "list page" on the display. At the same time, the page will display the first recognition frame framing his face, the second recognition frame framing his entire body, and the corresponding identity information. At the same time, the page also prompts that he can wave to enter the "challenge page."
[0076] When a tester waves, the interactive test phase begins. At this time, the test device will identify the waving tester as the main operator and switch the "list page" to the "test page". The main operator will be marked in red on the "test page", and a prompt will be given to "Please enter the drawn challenge area if you are marked in red."
[0077] After the main operator enters the drawn challenge area, the "test page" prompts the operator to select the challenge type through gestures. If the main operator does not enter the drawn challenge area within the specified time, the test device will switch the page to the "list page" and return to the startup standby stage.
[0078] After the main operator selects the challenge type through gestures, the test device will switch the page to the "Challenge Page", display the maximum supported challenge position on the "Challenge Page", and prompt each tester to enter the corresponding challenge area, and prompt the main operator to input the "OK" gesture after each tester is ready. If the main operator does not select the challenge type within the specified time, the test device will switch the page to the "List Page" and return to the startup standby stage.
[0079] After the main operator inputs the "OK" gesture, the "Challenge Page" starts counting down, and after the countdown ends, the real-time collected video data is analyzed for a specific challenge type, and the counting results are displayed in real time until the challenge ends. If the main operator does not input the "OK" gesture within the specified time, the test device will switch the page to the "List Page" and return to the startup standby stage.
[0080] After the challenge is over, the test device will switch the page to the "list page". At the same time, users can see their respective test scores, corresponding challenge types, corresponding identity information and other information on the "list page", and even the ranking of this test.
[0081] See also Figure 5 , Figure 5 1 is a schematic diagram of the structure of an embodiment of the test device of the present application. The test device 200 includes a processor 210, a memory 220 and a communication circuit 230. The processor 210 is coupled to the memory 220 and the communication circuit 230 respectively. The memory 220 stores program data. The processor 210 implements the steps of the test method for supporting multiple people's physical fitness in any of the above embodiments by executing the program data in the memory 220. The detailed steps can be found in the above embodiments and will not be repeated here.
[0082] See also Figure 6 , Figure 6 The test device 300 includes a receiving module 310 , a first determining module 320 , a second determining module 330 and an analyzing module 340 .
[0083] The receiving module 310 is used to receive video data collected in real time.
[0084] The first determining module 320 is connected to the receiving module 310 and is used to determine the main operator according to the video data collected in real time.
[0085] The second determination module 330 is connected to the first determination module 320 and is used to determine the challenge type according to the selection of the main operator.
[0086] The analysis module 340 is connected to the second determination module 330 and is used to analyze the challenge type of the real-time collected video data to obtain the test score after receiving the ready operation instruction input by the main operator.
[0087] In one implementation, the first determination module 320 is specifically configured to determine the tester who performs the first preset interactive action in the real-time collected video data as the main operator.
[0088] In one embodiment, after determining the main operator, the first determination module 320 will also highlight the main operator on the display.
[0089] In one embodiment, the testing device 300 also includes a prompt module for prompting the main operator to enter a designated challenge area before the second determination module 330 determines the challenge type. After detecting that the main operator enters the designated challenge area within a preset time, the prompt module is also used to prompt the main operator to select a challenge type.
[0090] In one embodiment, the second determination module 330 is specifically configured to determine the challenge type according to the second preset interaction action when it is detected that the main operator performs the second preset interaction action within a preset time.
[0091] In one embodiment, the testing device 300 further includes a prompting module, which is used to display the maximum supported challenge position on the display after the second determination module 330 determines the challenge type, and prompt the tester to enter the challenge area corresponding to each challenge position respectively.
[0092] In one embodiment, the analysis module 340 is specifically used to prompt the main operator to input the ready operation instructions, and when it is detected that the main operator performs a third preset interactive action within a preset time, the challenge type analysis is performed on the real-time collected video data to obtain a test score.
[0093] In one embodiment, the analysis module 340 is further specifically configured to start a countdown on the display when it is detected that the main operator performs a third preset interactive action, and to start a challenge-type analysis of the real-time collected video data at the end of the countdown to obtain a test score.
[0094] In one embodiment, the testing device 300 also includes a display module, which is used to obtain the test scores, corresponding challenge types and corresponding identity information corresponding to each tester after the analysis module 340 obtains the test scores, and then display the test scores, corresponding challenge types and corresponding identity information corresponding to each tester on the display.
[0095] In one embodiment, before the first determination module 320 determines the main operator, the analysis module 340 is also used to identify the facial features of the test person in the video data collected in real time, and then determine the identity information of the test person based on the facial features of the test person, and then display a first identification frame framing the test person's face, a second identification frame framing the test person, and the identity information corresponding to the test person on the display.
[0096] See also Figure 7 , Figure 7The computer-readable storage medium 400 stores a computer program 410, which can be executed by a processor to implement the steps in any of the above methods.
[0097] Among them, the computer-readable storage medium 400 can specifically be a device that can store the computer program 410, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or it can also be a server that stores the computer program 410. The server can send the stored computer program 410 to other devices for execution, or it can also run the stored computer program 410 by itself.
[0098] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for testing the physical fitness of multiple people, characterized in that: The method comprises: Receive video data collected in real time; Determining a main operator based on the real-time collected video data; Determining the challenge type according to the selection of the primary operator; After receiving the ready operation instruction input by the main operator, analyzing the challenge type on the real-time collected video data to obtain a test score; The step of determining the main operator according to the real-time collected video data includes: Determine the tester who performs the first preset interactive action in the real-time collected video data as the main operator; The step of determining the challenge type according to the selection of the main operator includes: If it is detected that the main operator performs a second preset interactive action within a preset time, the challenge type is determined according to the second preset interactive action.
2. The method according to claim 1, characterized in that The step of determining the main operator according to the real-time collected video data further comprises: The primary operator is highlighted on the display.
3. The method according to claim 1, characterized in that Before determining the challenge type according to the selection of the main operator, the method further includes: Prompting the main operator to enter a designated challenge area; If it is detected that the main operator enters the designated challenge area within a preset time, the main operator is prompted to select a challenge type.
4. The method according to claim 1, characterized in that: After determining the challenge type according to the selection of the main operator, the method further includes: The maximum supported challenge position is displayed on the display, and the tester is prompted to enter the challenge area corresponding to each of the challenge positions.
5. The method according to claim 1, characterized in that The step of analyzing the challenge type on the real-time collected video data to obtain a test score after receiving the ready operation instruction input by the main operator includes: Prompting the main operator to input the ready operation instruction; If it is detected that the main operator performs the third preset interactive action within the preset time, the challenge type is analyzed on the real-time collected video data to obtain the test score.
6. The method according to claim 5, characterized in that The step of analyzing the challenge type on the real-time collected video data to obtain the test score if it is detected that the main operator performs the third preset interactive action within the preset time includes: If it is detected that the main operator performs the third preset interactive action, a countdown starts on the display; When the countdown ends, the challenge type analysis is started on the real-time collected video data to obtain the test score.
7. The method according to claim 1, characterized in that After analyzing the challenge type on the real-time collected video data to obtain a test score, the method further includes: Obtain the test scores, challenge types and identity information of each tester; The test score, the challenge type and the identity information corresponding to each tester are displayed on the display.
8. The method according to claim 1, characterized in that Before determining the main operator according to the real-time collected video data, the method further includes: Identifying facial features of a test person in the real-time collected video data; Determining the identity information of the tester based on the facial features of the tester; A first identification frame framing the tester's face, a second identification frame framing the tester, and identity information corresponding to the tester are displayed on a display.
9. A testing device, characterized in that: The testing device includes a processor, a memory and a communication circuit, the processor is coupled to the memory and the communication circuit respectively, the memory stores program data, and the processor implements the steps in the method as described in any one of claims 1-8 by executing the program data in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program can be executed by a processor to implement the steps in the method according to any one of claims 1 to 8.
