Tennis training simulation method and device, electronic equipment and storage medium
By collecting racket parameters and images, combining ball blocking components, calculating and rendering the movement trajectory of the real and virtual courts, the problem of restricting tennis training venues is solved, and the popularization of tennis and training effects is improved.
Patent Information
- Application Number
- CN202211089911.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-07
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-09-07
AI Technical Summary
In the prior art, tennis training is limited by the cost of venues and equipment, and it is difficult to achieve universal promotion. Especially in schools and other places, due to the large number of students, it is unrealistic to plan multiple tennis courts, which makes tennis unable to be widely popularized.
The racket collects the hitting parameters and hitting images in the real court, combines the interception component, the ball collection component and the ball giving component to calculate the movement trajectory parameters of the target tennis ball in the real court, and renders the movement in the virtual court based on these parameters. Trajectory, realize the combination of reality and virtual courts, and expand the sports field.
Through the combination of reality and virtual courts, the problem of venue restrictions is solved, the venue expansion of tennis training is achieved, training efficiency and effect is improved, the demand for equipment and venues is reduced, and the popularization of tennis is promoted.
Smart Images

Figure CN116271766B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automatic control technology, and in particular to a tennis training simulation method and device, electronic equipment and storage medium. Background Art
[0002] In the related art, tennis is a beautiful and intense sport, popular all over the world, and is known as the world's second largest ball sport.
[0003] However, playing tennis not only requires certain skills, but also requires a very professional venue. For beginners, it is limited by venue and equipment factors, and it requires a large cost to achieve online training. For schools, due to the large number of students, it is not realistic to plan multiple tennis courts, which leads to the inability to promote tennis on a large scale among the whole people.
[0004] With respect to the above-mentioned problems existing in the related technologies, no effective solutions have been found yet. Summary of the invention
[0005] The invention provides a tennis training simulation method and device, electronic equipment and storage medium.
[0006] According to one aspect of an embodiment of the present application, a simulation method for tennis training is provided, comprising: collecting batting parameters in a real court through a racket, and collecting batting images in the real court, wherein a tennis training device is deployed in the real court, and the tennis training device comprises: a ball blocking component; a ball receiving component, the ball receiving component is arranged adjacent to the ball blocking component, the ball receiving component has a ball receiving port; a ball feeding component, the ball feeding component is located on a side of the ball receiving component away from the ball blocking component, the ball receiving component transports the collected tennis balls to the ball feeding component, the ball feeding component has a ball outlet; calculating first trajectory parameters of a first motion trajectory of a target tennis ball in the real court according to the batting parameters and the batting image; calculating second trajectory parameters of the target tennis ball in a virtual court based on the first trajectory parameters, wherein the court of the target tennis ball includes the real court and the virtual court; and rendering a second motion trajectory of the target tennis ball when it moves in the virtual court using the second trajectory parameters, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory.
[0007] According to another aspect of the embodiment of the present application, a simulation device for tennis training is also provided, including: a collection module, used to collect batting parameters in a real court through a racket, and to collect batting images in the real court, wherein a tennis training device is deployed in the real court, and the tennis training device includes: a ball blocking component; a ball receiving component, the ball receiving component is arranged adjacent to the ball blocking component, and the ball receiving component has a ball receiving port; a ball feeding component, the ball feeding component is located on a side of the ball receiving component away from the ball blocking component, the ball receiving component transports the collected tennis balls to the ball feeding component, and the ball feeding component has a ball outlet; a first calculation module, used to calculate first trajectory parameters of a first motion trajectory of a target tennis ball in the real court according to the batting parameters and the batting image; a second calculation module, used to calculate second trajectory parameters of the target tennis ball in a virtual court based on the first trajectory parameters, wherein the court of the target tennis ball includes the real court and the virtual court; a rendering module, used to render a second motion trajectory of the target tennis ball when it moves in the virtual court using the second trajectory parameters, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory.
[0008] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.
[0009] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; the processor is used to execute the steps in the above method by running the program stored in the memory.
[0010] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.
[0011] According to the present invention, the batting parameters in a real court are collected by a racket, and the batting images in the real court are collected, and the first trajectory parameters of the first motion trajectory of the target tennis ball in the real court are calculated according to the batting parameters and the batting images, and the second trajectory parameters of the target tennis ball in the virtual court are calculated based on the first trajectory parameters, wherein the court of the target tennis ball includes the real court and the virtual court, and the second trajectory parameters are used to render the second motion trajectory of the target tennis ball when it moves in the virtual court, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory, and by calculating the first trajectory parameters of the target tennis ball when it moves in the real court and the second trajectory parameters when it moves in the virtual court, and rendering the motion trajectory of the target tennis ball on the virtual ball, the real court and the virtual court are combined to solve the venue limitation, and solve the technical problem that the sports venue cannot be expanded through the virtual court in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0013] Figure 1 is a hardware structure block diagram of a server according to an embodiment of the present invention;
[0014] Figure 2 is a flow chart of a simulation method for tennis training according to an embodiment of the present invention;
[0015] Figure 3 is a structural diagram of a system in an embodiment of the present invention;
[0016] Figure 4 is an operation flow chart of an embodiment of the invention;
[0017] Figure 5 4 is a structural block diagram of a tennis training simulation device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0019] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0020] Example 1
[0021] The method embodiment provided in the first embodiment of the present application can be executed in a mobile phone, a controller, a server, a computer or a similar computing and scheduling device. Taking running on a server as an example, Figure 1 FIG. 1 is a hardware structure diagram of a server according to an embodiment of the present invention. Figure 1 As shown, the server may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the server may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0022] The memory 104 can be used to store server programs, for example, software programs and modules of application software, such as a server program corresponding to a video motion-stillness rate recognition method in an embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the server program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0023] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0024] In this embodiment, a simulation method for tennis training is provided. Figure 2 is a flow chart of a simulation method for tennis training according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0025] Step S202, collecting the batting parameters in the real court through the racket, and collecting the batting images in the real court, wherein a tennis training device is deployed in the real court, and the tennis training device includes: a ball blocking component; a ball receiving component, the ball receiving component is arranged adjacent to the ball blocking component, and the ball receiving component has a ball receiving port; a ball feeding component, the ball feeding component is located on a side of the ball receiving component away from the ball blocking component, and the ball receiving component transports the collected tennis balls to the ball feeding component, and the ball feeding component has a ball outlet;
[0026] The solution of this embodiment can be applied to the training of striking ball sports such as tennis, and a smaller venue can be used to simulate a real training effect.
[0027] Step S204, calculating first trajectory parameters of a first motion trajectory of the target tennis ball in the real court according to the hitting parameters and the hitting image;
[0028] In one example, the first trajectory parameter includes a trajectory end point parameter of the first motion trajectory.
[0029] Step S206, calculating a second trajectory parameter of the target tennis ball on the virtual court based on the first trajectory parameter, wherein the court of the target tennis ball includes a real court and a virtual court;
[0030] The virtual court in this embodiment is a three-dimensional virtual court, which is displayed on the boundary of the real court through a curtain, a display screen, etc., thereby realizing a virtual combination with the real court to form a complete court.
[0031] Step S208, using the second trajectory parameters to render a second motion trajectory of the target tennis ball when it moves in the virtual court, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory.
[0032] The first motion trajectory and the second motion trajectory constitute the complete trajectory of the target tennis ball. The user observes the first motion trajectory flying on the real court with the naked eye, and watches the second motion trajectory flying on the virtual court in real time on the display end, thereby experiencing the complete batting process and experience.
[0033] Through the above steps, the batting parameters in the real court are collected by the racket, and the batting images in the real court are collected, the first trajectory parameters of the first motion trajectory of the target tennis ball in the real court are calculated according to the batting parameters and the batting images, and the second trajectory parameters of the target tennis ball in the virtual court are calculated based on the first trajectory parameters, wherein the court of the target tennis ball includes the real court and the virtual court, and the second trajectory parameters are used to render the second motion trajectory of the target tennis ball when it moves in the virtual court, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory, by calculating the first trajectory parameters of the target tennis ball when it moves in the real court and the second trajectory parameters when it moves in the virtual court, and rendering the motion trajectory of the target tennis ball on the virtual ball, the combination of the real court and the virtual court is adopted to solve the venue limitation, and solve the technical problem that the sports venue cannot be expanded through the virtual court in the related technology.
[0034] In one implementation of this embodiment, collecting the batting parameters in the real court through the racket includes: collecting the batting speed in the real court through the speed sensor on the racket; collecting the batting angle in the real court through the direction sensor on the racket; collecting the batting height in the real court through the height sensor on the racket; wherein the batting parameters include: batting speed, batting angle, and batting height. The maximum values of the speed sensor, the direction sensor, and the height sensor in the batting process (contact between the ball and the racket face) are used as the output batting speed, batting angle, and batting height.
[0035] The hitting height of this embodiment can be the height of the center of the racket face. Optionally, the hitting position on the racket in the actual court can also be collected by a position sensor on the racket. In addition to collecting through sensors, image frames can also be collected through image sensors, and the target tennis ball in the image frames can be located through a target detection algorithm. The position change of the target tennis ball during the hitting process is calculated through the image frames collected in continuous time, and combined with the reference objects in the actual court, the hitting parameters, including the hitting speed, the hitting angle and the hitting height, are calculated.
[0036] In this embodiment, capturing the batting image in the real court includes: capturing body movement images and ball movement images during the batting process through a camera unit, wherein the real court is deployed with multiple camera units at different positions, so as to realize 360-degree panoramic image capture.
[0037] In one implementation of this embodiment, calculating the first trajectory parameter of the first motion trajectory of the target tennis ball in the real court according to the hitting parameters and the hitting image includes:
[0038] S11, using the hitting parameters to calculate the first initial motion parameters of the target tennis ball, wherein the first initial motion parameters include: starting point motion speed, starting point motion direction, and starting point height;
[0039] The batting image of this embodiment is used to correct and select batting parameters. For example, through the batting image, the sensing data when the ball finally leaves the racket is selected as the first initial motion parameter, and the body action image and the ball motion image are used to calculate the movement speed, direction, and height of the ball based on the image vision algorithm, and then a weighted sum is performed with the batting parameters collected by the racket, or the maximum value is selected as the first initial motion parameter for the final output.
[0040] S12, obtaining the environmental resistance coefficient in the actual stadium;
[0041] The environmental resistance coefficient may be an empirical value and is pre-configured in the control device.
[0042] S13, using the first initial motion parameter and the environmental resistance coefficient to calculate the trajectory endpoint parameters of the first motion trajectory of the target tennis ball in the actual court, wherein the trajectory endpoint parameters include: endpoint motion speed, endpoint motion direction, and endpoint height;
[0043] S14, using the hitting image to correct the trajectory end point parameters of the first motion trajectory.
[0044] By collecting multiple frames of hitting images, such as key images of a tennis ball during flight and at the end of flight, sampling and calculation based on a visual algorithm, the trajectory endpoint parameters of the dynamic trajectory (first motion trajectory) can be obtained.
[0045] In one example, using the first initial motion parameters and the environmental resistance coefficient to calculate the trajectory endpoint parameters of the first motion trajectory of the target tennis ball in a real court includes: obtaining the first court length of the real court, and obtaining the ball weight of the target tennis ball; setting the first court length to the longest horizontal length of the first motion trajectory of the target tennis ball in the real court, and using the first initial motion parameters, the ball weight, and the environmental resistance coefficient to calculate the trajectory endpoint parameters of the target tennis ball after running the first court length.
[0046] Since the target tennis ball does a parabolic fall horizontally or diagonally upward after leaving the racket, its horizontal movement distance can be calculated if the parameters such as the weight of the sphere, environmental resistance coefficient, initial velocity (speed and direction), and starting height are known. If the maximum horizontal length of the horizontal movement is limited, the height of the sphere when it reaches the longest horizontal length, the terminal movement speed, and the terminal movement direction can be calculated in reverse.
[0047] In another aspect of this embodiment, a sensor can also be set on a display end (such as a projector screen, a display screen) set at the boundary position of the real court. The boundary is the boundary between the real court and the virtual court. The ball enters the virtual court through the boundary (visually). The sensor can sense the landing point motion parameters of the target tennis ball when it reaches the boundary, and use the landing point motion parameters as the trajectory endpoint parameters, including: endpoint motion speed, endpoint motion direction, and endpoint height.
[0048] In one implementation of the present embodiment, calculating the second trajectory parameters of the target tennis ball in the virtual court based on the first trajectory parameters includes: determining the trajectory endpoint parameters of the first motion trajectory of the target tennis ball in the real court in the first trajectory parameters, wherein the trajectory endpoint parameters include: endpoint motion speed, endpoint motion direction, and endpoint height; configuring the trajectory endpoint parameters as second initial motion parameters of the target tennis ball in the virtual court; using the second initial motion parameters to calculate the intermediate motion parameters and the terminal motion parameters of the simulated motion of the target tennis ball in the real scene, and determining the intermediate motion parameters and the terminal motion parameters as the second trajectory parameters of the target tennis ball in the virtual court.
[0049] Since the real court and the virtual court in this embodiment are adjacent and seamlessly connected, and the boundary is the display end such as the screen displaying the virtual court, the motion parameters of the ball at the end of the real court (trajectory end parameters) are the initial motion parameters of the virtual court. Based on the trajectory end parameters, the ball continues to fly on the virtual court until the end and stops. In this embodiment, the second initial motion parameters are first used to simulate the motion of the ball in the real scene, and the motion parameters during the motion and at the end of the motion are used as the second trajectory parameters of the virtual court.
[0050] In one example, using the second trajectory parameters to render the second motion trajectory of a target tennis ball when it moves in a virtual court includes: using the second trajectory parameters to fit a third motion trajectory of the target tennis ball in a world coordinate system; obtaining a thumbnail coordinate system of the virtual court, and converting the third motion trajectory from the world coordinate system to the thumbnail coordinate system to obtain a second motion trajectory; and dynamically displaying the second motion trajectory on a virtual screen where the virtual court is located.
[0051] The second trajectory parameters of this embodiment include the movement rate, direction, vertical height (relative to the ground reference object), and horizontal height at multiple time points. The movement trajectory can be generated by fitting. Since the virtual court is proportionally reduced from the real court, it is necessary to convert and map according to the abbreviated coordinate system of the virtual court to obtain the reduced second movement trajectory (the second movement trajectory has the same trend as the third movement trajectory, but different coordinate values).
[0052] Optionally, after rendering the second motion trajectory of the target tennis ball when it moves in the virtual court using the second trajectory parameters, it also includes: calculating the hitting action parameters of the hitter according to the hitting parameters and the hitting image, wherein the hitting action parameters are used to characterize the standard degree of the action of the hitter when hitting the ball; calculating the motion quality parameters of the target tennis ball in the virtual court according to the hitting parameters and the hitting image, wherein the motion quality parameters are used to characterize the standard degree of the motion trajectory of the target tennis ball after being hit by the hitter.
[0053] The batting action parameters and motion quality parameters of this embodiment can be presented to the user through evaluation scores or grades and displayed on the client. When correcting the tennis posture, the human body posture recognition, including tracking data of key points such as hands, elbows, shoulders and waist, footwork, etc., is used to restore the athlete's whole body movement, which is used for comparison with the standard movement to obtain an evaluation score, so that the athlete can understand the errors in the playing posture and pursue a higher expected value that is more in line with the standard posture, thereby improving the batting level.
[0054] In one example, calculating the batting action parameters of the batting person according to the batting parameters and the batting image includes:
[0055] S21, parsing a plurality of moving limb nodes from the hitting image;
[0056] S22, selecting a plurality of key limb nodes from the plurality of movement limb nodes, wherein the key limb nodes are limb nodes that need to exert force during tennis training, and the key limb nodes include: hands, elbows, shoulders, waist, and feet;
[0057] S23, using the plurality of key limb nodes to create a dynamic 3D human body model, and calculating the batting action parameters of the batting person according to the movement amplitude of the dynamic 3D human body model;
[0058] Optionally, calculating the batting action parameters of the batting person according to the motion amplitude of the dynamic 3D human body model includes: freezing the dynamic 3D human body model at the starting swing time, the middle swing time, and the ending swing time; adding a coordinate position combination of key limb nodes after the dynamic 3D human body model is frozen in a preset coordinate system, wherein the coordinate position combination includes the coordinate positions of the corresponding key limb nodes at the starting swing time, the middle swing time, and the ending swing time; for each key limb node, connecting all coordinate positions in the coordinate position combination in sequence according to the freeze time to generate a limb motion trajectory; calculating the action matching degree between the limb motion trajectory and the preset standard action trajectory; and determining the action matching degree as the batting action parameter of the batting person.
[0059] S24, using the batting parameters to modify the batting action parameters.
[0060] In addition to image visual recognition, hardware recognition can also be used. By placing a tracker on the front end of the racket, the tracker provides trajectory data. The computer can restore the trajectory of the racket and compare it with the trajectory of a standard racket to obtain an evaluation score or grade.
[0061] In one example, calculating the motion quality parameters of a target tennis ball on the virtual court based on the hitting parameters and the hitting image includes: calculating first trajectory parameters of a first motion trajectory of the target tennis ball on the real court based on the hitting parameters and the hitting image; calculating second trajectory parameters of the target tennis ball on the virtual court based on the first trajectory parameters; using the second trajectory parameters to fit a second motion trajectory of the target tennis ball when it moves on the virtual court; calculating a posture matching degree between the second motion trajectory and a preset standard motion trajectory, wherein the motion posture of the preset standard motion trajectory includes: direction, arc, speed, landing point, and height; and determining the posture matching degree as the motion quality parameter of the target tennis ball on the virtual court.
[0062] By calculating and identifying the trajectory parameters of the tennis ball, such as the landing point, ball speed, rotation, arc, etc., the system calculates and simulates whether the tennis ball passes the net, its flight posture on the court after passing the net, the landing point (divided into areas according to the quality of the landing point), and divides the landing point area into corresponding evaluation scores according to the hitting strength, landing point difficulty, etc., to give the batsman an intuitive evaluation score.
[0063] In one implementation of the present embodiment, after calculating the batting action parameters of the batting person according to the batting parameters and the batting image, it also includes: judging whether the batting action parameters are lower than a first standard threshold; if the batting action parameters are lower than the first standard threshold, selecting a first limb node with the lowest action parameters from multiple parameter items of the batting action parameters, wherein the batting action parameters include multiple parameter items, each parameter item corresponds to an action parameter; searching for a first action correction resource related to the first limb node in a preset database; and pushing the first action correction resource to a user terminal.
[0064] In another implementation of the present embodiment, after calculating the motion quality parameters of the target tennis ball on the virtual court according to the hitting parameters and the hitting image, it also includes: determining whether the motion quality parameters are lower than a second standard threshold; if the hitting action parameters are lower than the second standard threshold, selecting a motion posture with the lowest quality parameters from multiple parameter items of the motion quality parameters, wherein the motion quality parameters include multiple parameter items, each parameter item corresponds to a quality parameter, and the motion posture includes: direction, arc, speed; searching a preset mapping table for a second limb node with the greatest correlation with the motion posture; searching a preset database for a second action correction resource related to the second limb node; and pushing the second action correction resource to the user terminal.
[0065] The motion correction resources in this embodiment may be teaching videos, pictures, text descriptions of standard movements, or may be teaching courses, purchase links, etc.
[0066] In some examples, before collecting the batting parameters in a real court through a racket and collecting the batting images in the real court, it also includes: inputting training parameter information in a human-computer interaction interface, wherein the training parameter information includes: player level, training course, and training project; using the training parameter information to generate a first standard threshold value for the batting action parameter and a second standard threshold value for the motion quality parameter.
[0067] This embodiment calculates the batting action parameters and motion quality parameters, so that the trainer or other person can judge whether the trainer's action and ball path during network training meet the standards, and then make targeted improvements and upgrades. Provide the batting personnel with a comprehensive parameter index, summarize each batting, intuitively see their own progress, increase their interest and confidence in playing, and improve the efficiency of human-computer interaction.
[0068] Figure 3 It is a structural diagram of the system in an embodiment of the present invention, including: a camera, an inductive measuring element (speed sensor, etc.), a control box, a field server, a hand operation box, a projector, a cloud server, and a mobile terminal. Figure 4: is an operation flow chart of an embodiment of the invention. Here, a target tennis ball is taken as an example to illustrate that the tennis basic simulation training method based on AI intelligent evaluation includes:
[0069] Use camera units to record athletes' multi-point body movements and movement trajectories;
[0070] Adding sensors to specially made tennis rackets to accurately capture the force and angle of the racket hitting the ball;
[0071] Use artificial intelligence (AI) algorithms to simulate the limb nodes of athletes' serve and forehand and backhand swings, record the action data for comparison, and complete the athlete's action correction;
[0072] A tennis ball flight trajectory sensing unit is used to record the flight trajectory of the tennis ball. The monitored data includes ball speed, hitting point position, flight direction, etc.
[0073] Use 3D algorithms to simulate the flight trajectory of a tennis ball, predict the height and landing point of the hit tennis ball on the court, and judge the effectiveness of the shot; and use imaging functions to realize a virtual actual tennis court playing scene to help athletes judge the effectiveness of the shot.
[0074] The system of this embodiment functionally includes the following units:
[0075] The sensing unit includes a data monitoring unit, which uses an infrared sensing unit, an RGB camera, etc. to monitor and collect data such as the athlete's limb nodes and tennis movement trajectory;
[0076] A data transmission unit converts the monitored and collected data into digital signals and transmits them to the server;
[0077] The server's central data control unit has powerful computing capabilities, performs AI computing and 3D simulation on data, provides database parameter comparison, and gives athletes feedback on training effects and movement corrections;
[0078] The data storage and analysis unit of the server accumulates, analyzes and optimizes the training effects of athletes over a period of time and sends periodic analysis reports;
[0079] Cloud platform management unit, the athlete's data is uploaded to the cloud platform through the Internet, 5G and other communication protocols for comprehensive background management;
[0080] Information sharing unit, using mobile APP to share information with athletes, including account management, venue reservation, sports statistics, coach reservation and other functions;
[0081] The natural human-computer interaction unit uses face, fingerprint or voice recognition functions to facilitate the switching of various functions and parameters of the system and improve the sports experience of athletes;
[0082] By monitoring the athlete's limb node movements and the flight trajectory of the tennis ball, including tennis serves and forehand and backhand swings, beginners can quickly master and become proficient in the basic movements of tennis, adapt to tennis as soon as possible, and enjoy the joy of tennis.
[0083] The monitoring data also includes the athlete's limb node data, hands, shoulders, waist, footwork and other key parameters; the monitoring data also includes the movement trajectory of the tennis racket, which is used to accurately simulate and evaluate the accuracy of the athlete's body movements; the tennis hitting simulation system has multiple sets, all of which can be connected to the server to store, analyze and share data; all terminal data can be connected to the Internet using 5G and other communication protocols, and can be shared synchronously on the cloud platform and interact with users through mobile phone APP; the tennis hitting simulation system also uses face, fingerprint or voice recognition functions to facilitate the switching of various functions and parameters, thereby improving the athlete's experience.
[0084] The solution of this embodiment records a simulation training method for basic tennis movements, which trains tennis beginners in basic forehand and backhand hitting and serving movements, quickly masters basic tennis skills, improves the interest of tennis enthusiasts, and combines it with actual combat as soon as possible. In a specific training area, the tennis beginner stands at a set position and swings a racket to hit a tennis ball that falls vertically from a fixed position above and bounces off the ground, and hits the ball on the curtain in front of him. The cameras and sensors installed in this area can capture the body node movements of the athlete's forehand and backhand swings and serves through multiple sensing units, transmit the data to the central computer processor, and use the advanced 3D algorithm system to truly restore the accuracy of the body movements. By comparing with the standard movements of athletes of different ages and genders in the database, the corresponding AI evaluation scores are given to help athletes correct their movements and provide data statistics and suggestions for correcting the athletes' movements. At the same time, the sensing elements in the training area can also capture the flight trajectory of the tennis ball, input it into the control center for analysis and calculation, calculate the flight speed, arc and direction of the tennis ball, and predict the specific landing point of the tennis ball after it is hit on the actual tennis court, helping athletes judge the accuracy and effectiveness of the shot, and adjust the strength, arc and direction of the shot in time. This set of tennis basic simulation training methods based on AI intelligent evaluation can help tennis beginners quickly master the basic movements of tennis through repeated hitting training in place, correct the bad habits of tennis beginners, and overcome the nervous mentality of beginners, so as to achieve the purpose of quickly getting started in tennis. By using this simulation training method correctly and referring to the NTRP (National Tennis Rating Program) standard of the United States Tennis Association, tennis beginners can reach level 3.0-3.5 in a short period of time, thereby helping tennis beginners to quickly overcome the initial obstacles in learning, enjoy the joy of tennis, and effectively promote the popularization and promotion of tennis in the national sport.
[0085] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0086] Example 2
[0087] In this embodiment, a simulation device for tennis training is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0088] Figure 5 is a structural block diagram of a simulation device for tennis training according to an embodiment of the present invention, such as Figure 5 As shown, the device includes: a collection module 50, a first calculation module 52, a second calculation module 54, and a rendering module 56, wherein:
[0089] The acquisition module 50 is used to acquire the batting parameters in the real court through the racket, and acquire the batting images in the real court, wherein a tennis training device is deployed in the real court, and the tennis training device comprises: a ball intercepting component; a ball collecting component, the ball collecting component is arranged adjacent to the ball intercepting component, the ball collecting component has a ball receiving opening; a ball feeding component, the ball feeding component is located at a side of the ball collecting component away from the ball intercepting component, the ball collecting component transports the collected tennis balls to the ball feeding component, and the ball feeding component has a ball outlet;
[0090] A first calculation module 52, configured to calculate first trajectory parameters of a first motion trajectory of a target tennis ball in the real court according to the hitting parameters and the hitting image;
[0091] A second calculation module 54 is used to calculate a second trajectory parameter of the target tennis ball on a virtual court based on the first trajectory parameter, wherein the court of the target tennis ball includes the real court and the virtual court;
[0092] The rendering module 56 is configured to render a second motion trajectory of the target tennis ball when it moves in the virtual court by using the second motion trajectory parameters, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory.
[0093] Optionally, the acquisition module includes: a first acquisition unit, used to collect the batting speed in the real court through the speed sensor on the racket; a second acquisition unit, used to collect the batting angle in the real court through the direction sensor on the racket; a third acquisition unit, used to collect the batting height in the real court through the height sensor on the racket; a fourth acquisition unit, used to collect the batting force in the real court through the force sensor on the racket; a fifth acquisition unit, used to collect the racket swing trajectory in the real court through the tracker on the racket; wherein the batting parameters include: the batting speed, the batting angle, the batting height, the batting force, and the racket swing trajectory.
[0094] Optionally, the first calculation module includes: a first calculation unit, used to calculate the first initial motion parameters of the target tennis ball using the hitting parameters, wherein the first initial motion parameters include: starting motion speed, starting motion direction, and starting height; an acquisition unit, used to acquire the environmental resistance coefficient in the real court; a second calculation unit, used to calculate the trajectory endpoint parameters of the first motion trajectory of the target tennis ball in the real court using the first initial motion parameters and the environmental resistance coefficient, wherein the trajectory endpoint parameters include: endpoint motion speed, endpoint motion direction, and endpoint height; a correction unit, used to correct the trajectory endpoint parameters of the first motion trajectory using the hitting image.
[0095] Optionally, the second calculation unit includes: an acquisition subunit, used to acquire a first court length of the real court, and to acquire the ball weight of the target tennis ball; a calculation subunit, used to set the first court length as the longest horizontal length of the first motion trajectory of the target tennis ball in the real court, and to use the first initial motion parameters, the ball weight, and the environmental resistance coefficient to calculate the trajectory endpoint parameters of the target tennis ball after running the first court length.
[0096] Optionally, the second calculation module includes: a determination unit, used to determine the trajectory endpoint parameters of the first motion trajectory of the target tennis ball in the real court in the first trajectory parameters, wherein the trajectory endpoint parameters include: endpoint motion speed, endpoint motion direction, and endpoint height; a configuration unit, used to configure the trajectory endpoint parameters as second initial motion parameters of the target tennis ball in the virtual court; and a calculation unit, used to calculate intermediate motion parameters and terminal motion parameters of the simulated motion of the target tennis ball in the real scene using the second initial motion parameters, and determine the intermediate motion parameters and terminal motion parameters as the second trajectory parameters of the target tennis ball in the virtual court.
[0097] Optionally, the rendering module includes: a fitting unit, used to fit the third motion trajectory of the target tennis ball in the world coordinate system using the second trajectory parameters; a conversion unit, used to obtain the abbreviated coordinate system of the virtual court and convert the third motion trajectory from the world coordinate system to the abbreviated coordinate system to obtain the second motion trajectory; and a display unit, used to dynamically display the second motion trajectory on a virtual screen where the virtual court is located.
[0098] Optionally, the device also includes: a third calculation module, used to calculate the hitting action parameters of the hitter according to the hitting parameters and the hitting image after the rendering module uses the second trajectory parameters to render the second motion trajectory of the target tennis ball when it moves in the virtual court, wherein the hitting action parameters are used to characterize the standard degree of the action of the hitter when hitting the ball; and a fourth calculation module, used to calculate the motion quality parameters of the target tennis ball in the virtual court according to the hitting parameters and the hitting image, wherein the motion quality parameters are used to characterize the standard degree of the motion trajectory of the target tennis ball after being hit by the hitter.
[0099] Optionally, the third calculation module includes: a parsing unit, used to parse out multiple moving limb nodes from the batting image; a selection unit, used to select several key limb nodes from the multiple moving limb nodes, wherein the key limb nodes are limb nodes that need to exert force during tennis training, and the key limb nodes include: hands, elbows, shoulders, waist, and feet; a calculation unit, used to create a dynamic 3D human body model using the several key limb nodes, and calculate the batting action parameters of the batting person according to the motion amplitude of the dynamic 3D human body model; and a correction unit, used to correct the batting action parameters using the batting parameters.
[0100] Optionally, the calculation unit includes: a freezing subunit, used to freeze the dynamic 3D human body model at the starting swing time, the middle swing time, and the ending swing time; an adding subunit, used to add a coordinate position combination of key limb nodes of the dynamic 3D human body model after being frozen in a preset coordinate system, wherein the coordinate position combination includes the coordinate positions of the corresponding key limb nodes at the starting swing time, the middle swing time, and the ending swing time; a connecting subunit, used to connect all coordinate positions in the coordinate position combination in sequence according to the freezing time for each key limb node to generate a limb motion trajectory; a calculating subunit, used to calculate the action matching degree between the limb motion trajectory and the preset standard action trajectory; a determining subunit, used to determine the action matching degree as the batting action parameter of the batting person.
[0101] Optionally, the fourth calculation module includes: a first calculation unit, used to calculate first trajectory parameters of the first motion trajectory of the target tennis ball in the real court according to the hitting parameters and the hitting image; a second calculation unit, used to calculate second trajectory parameters of the target tennis ball in the virtual court based on the first trajectory parameters; a fitting unit, used to fit the second motion trajectory of the target tennis ball when it moves in the virtual court using the second trajectory parameters; a third calculation unit, used to calculate the posture matching degree between the second motion trajectory and a preset standard motion trajectory, wherein the motion posture of the preset standard motion trajectory includes: direction, arc, speed, landing point, height; a determination unit, used to determine the posture matching degree as the motion quality parameter of the target tennis ball in the virtual court.
[0102] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0103] Example 3
[0104] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0105] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0106] S1, collecting the batting parameters in a real court through a racket, and collecting the batting images in the real court, wherein a tennis training device is deployed in the real court, and the tennis training device comprises: a ball blocking component; a ball collecting component, the ball collecting component is arranged adjacent to the ball blocking component, the ball collecting component has a ball receiving port; a ball feeding component, the ball feeding component is located on a side of the ball collecting component away from the ball blocking component, the ball collecting component transports the collected tennis balls to the ball feeding component, and the ball feeding component has a ball outlet;
[0107] S2, calculating first trajectory parameters of a first motion trajectory of a target tennis ball in the real court according to the hitting parameters and the hitting image;
[0108] S3, calculating a second trajectory parameter of the target tennis ball on a virtual court based on the first trajectory parameter, wherein the court of the target tennis ball includes the real court and the virtual court;
[0109] S4: Rendering a second motion trajectory of the target tennis ball when it moves in the virtual court using the second motion trajectory parameters, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory.
[0110] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0111] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0112] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0113] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0114] S1, collecting the batting parameters in a real court through a racket, and collecting the batting images in the real court, wherein a tennis training device is deployed in the real court, and the tennis training device comprises: a ball blocking component; a ball collecting component, the ball collecting component is arranged adjacent to the ball blocking component, the ball collecting component has a ball receiving port; a ball feeding component, the ball feeding component is located on a side of the ball collecting component away from the ball blocking component, the ball collecting component transports the collected tennis balls to the ball feeding component, and the ball feeding component has a ball outlet;
[0115] S2, calculating first trajectory parameters of a first motion trajectory of a target tennis ball in the real court according to the hitting parameters and the hitting image;
[0116] S3, calculating a second trajectory parameter of the target tennis ball on a virtual court based on the first trajectory parameter, wherein the court of the target tennis ball includes the real court and the virtual court;
[0117] S4: Rendering a second motion trajectory of the target tennis ball when it moves in the virtual court using the second motion trajectory parameters, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory.
[0118] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0119] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0120] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0121] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0124] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0125] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A tennis training simulation method, characterized in that: The method comprises: The batting parameters in the real court are collected by a racket, and the batting images in the real court are collected, wherein a tennis training device is deployed in the real court, and the tennis training device comprises: a ball blocking component; a ball collecting component, the ball collecting component is arranged adjacent to the ball blocking component, the ball collecting component has a ball receiving port; a ball feeding component, the ball feeding component is located on a side of the ball collecting component away from the ball blocking component, the ball collecting component transports the collected tennis balls to the ball feeding component, and the ball feeding component has a ball outlet; Calculating first trajectory parameters of a first motion trajectory of a target tennis ball in the real court according to the hitting parameters and the hitting image; Calculating a second trajectory parameter of the target tennis ball on a virtual court based on the first trajectory parameter, the court of the target tennis ball includes the real court and the virtual court, the virtual court is displayed on the boundary of the real court, and is virtually combined with the real court to form a complete court; using the second trajectory parameters to render a second motion trajectory of the target tennis ball when it moves in the virtual court, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory; After rendering the second motion trajectory of the target tennis ball in the virtual court by using the second trajectory parameters, the method further includes: calculating the hitting action parameters of the hitting person according to the hitting parameters and the hitting image, wherein the hitting action parameters are used to characterize the standard degree of the action of the hitting person when hitting the ball; calculating the motion quality parameters of the target tennis ball in the virtual court according to the hitting parameters and the hitting image, wherein the motion quality parameters are used to characterize the standard degree of the motion trajectory of the target tennis ball after being hit by the hitting person; Calculating the batting action parameters of the batting personnel according to the batting parameters and the batting image includes: parsing a plurality of moving limb nodes from the batting image; selecting a plurality of key limb nodes from the plurality of moving limb nodes, wherein the key limb nodes are limb nodes that need to exert force during tennis training, and the key limb nodes include: hands, elbows, shoulders, waist, and feet; creating a dynamic 3D human body model using the plurality of key limb nodes, and calculating the batting action parameters of the batting personnel according to the movement amplitude of the dynamic 3D human body model; and correcting the batting action parameters using the batting parameters; After calculating the batting action parameters of the batting person according to the batting parameters and the batting image, the method further includes: determining whether the batting action parameters are lower than a first standard threshold; if the batting action parameters are lower than the first standard threshold, selecting a first limb node with the lowest action parameter from a plurality of parameter items of the batting action parameters, wherein the batting action parameters include a plurality of parameter items, each parameter item corresponding to an action parameter; searching a first action correction resource related to the first limb node in a preset database; and pushing the first action correction resource to a user terminal; After calculating the motion quality parameters of the target tennis ball on the virtual court according to the hitting parameters and the hitting image, it also includes: judging whether the motion quality parameters are lower than a second standard threshold; if the motion quality parameters are lower than the second standard threshold, selecting a motion posture with the lowest quality parameter from multiple parameter items of the motion quality parameters, wherein the motion quality parameters include multiple parameter items, each parameter item corresponds to a quality parameter, and the motion posture includes: direction, arc, speed; searching a preset mapping table for a second limb node with the greatest correlation with the motion posture; searching a preset database for a second action correction resource related to the second limb node; and pushing the second action correction resource to a user terminal.
2. The method according to claim 1, characterized in that The batting parameters collected from the real court through the racket include: The speed sensor on the racket is used to collect the hitting speed in the actual court; The direction sensor on the racket is used to collect the hitting angle in the actual court; The height of the ball in the actual court is collected by using the height sensor on the racket; The force sensor on the racket is used to collect the hitting force in the actual court; The tracker on the racket is used to collect the swing trajectory of the racket in the actual court; The batting parameters include: the batting speed, the batting angle, the batting height, the batting strength, and the racket swing trajectory.
3. The method according to claim 1, characterized in that Calculating the first trajectory parameter of the first motion trajectory of the target tennis ball in the real court according to the hitting parameter and the hitting image includes: Calculating the first initial motion parameters of the target tennis ball using the hitting parameters, wherein the first initial motion parameters include: starting point motion speed, starting point motion direction, and starting point height; Obtaining the environmental resistance coefficient in the actual stadium; The first initial motion parameter and the environmental resistance coefficient are used to calculate the trajectory endpoint parameters of the first motion trajectory of the target tennis ball in the real court, wherein the trajectory endpoint parameters include: endpoint motion speed, endpoint motion direction, and endpoint height; The hitting image is used to correct the trajectory end point parameters of the first motion trajectory.
4. The method according to claim 3, characterized in that Calculating the trajectory endpoint parameters of the first motion trajectory of the target tennis ball in the real court using the first initial motion parameter and the environmental resistance coefficient includes: Obtaining a first court length of the actual court, and obtaining a ball weight of the target tennis ball; The first court length is set as the longest horizontal length of the first motion trajectory of the target tennis ball in the real court, and the first initial motion parameters, the ball weight, and the environmental resistance coefficient are used to calculate the trajectory endpoint parameters of the target tennis ball after running the first court length.
5. The method according to claim 1, characterized in that Calculating a second trajectory parameter of the target tennis ball on the virtual court based on the first trajectory parameter includes: Determine the trajectory endpoint parameters of the first motion trajectory of the target tennis ball in the real court in the first trajectory parameters, wherein the trajectory endpoint parameters include: endpoint motion speed, endpoint motion direction, and endpoint height; configuring the trajectory endpoint parameter as a second initial motion parameter of the target tennis ball on the virtual court; The second initial motion parameters are used to calculate intermediate motion parameters and terminal motion parameters of the simulated motion of the target tennis ball in the real scene, and the intermediate motion parameters and terminal motion parameters are determined as second trajectory parameters of the target tennis ball in the virtual court.
6. The method according to claim 1, characterized in that Using the second trajectory parameters to render the second motion trajectory of the target tennis ball when it moves in the virtual court includes: Using the second trajectory parameters to fit a third motion trajectory of the target tennis ball in the world coordinate system; Acquire the abbreviated coordinate system of the virtual court, and convert the third motion trajectory from the world coordinate system to the abbreviated coordinate system to obtain the second motion trajectory; The second motion track is dynamically displayed on the virtual screen where the virtual court is located.
7. The method according to claim 1, characterized in that Calculating the batting action parameters of the batting personnel according to the movement amplitude of the dynamic 3D human body model includes: Freeze the dynamic 3D human body model at the start swing time, the middle swing time, and the end swing time; Adding the coordinate position combination of the key limb nodes of the dynamic 3D human body model after being frozen in the preset coordinate system, wherein the coordinate position combination includes the coordinate positions of the corresponding key limb nodes at the start swing time, the middle swing time, and the end swing time; For each key limb node, all coordinate positions in the coordinate position combination are connected in sequence according to the freeze time to generate a limb movement trajectory; Calculating the degree of motion matching between the limb motion trajectory and a preset standard motion trajectory; The action matching degree is determined as the batting action parameter of the batting person.
8. The method according to claim 1, characterized in that: Calculating the motion quality parameters of the target tennis ball on the virtual court according to the hitting parameters and the hitting image includes: Calculating first trajectory parameters of a first motion trajectory of a target tennis ball in the real court according to the hitting parameters and the hitting image; Calculating a second trajectory parameter of the target tennis ball on the virtual court based on the first trajectory parameter; Using the second trajectory parameters to fit a second motion trajectory of the target tennis ball when it moves in the virtual court; Calculating the posture matching degree between the second motion trajectory and the preset standard motion trajectory, wherein the motion posture of the preset standard motion trajectory includes: direction, arc, speed, landing point, and height; The posture matching degree is determined as a movement quality parameter of the target tennis ball on the virtual court.
9. A simulation device for tennis training, characterized in that: include: A collection module, used for collecting batting parameters in a real court through a racket, and collecting batting images in the real court, wherein a tennis training device is deployed in the real court, and the tennis training device comprises: a ball intercepting component; a ball collecting component, the ball collecting component is arranged adjacent to the ball intercepting component, the ball collecting component has a ball receiving port; a ball feeding component, the ball feeding component is located on a side of the ball collecting component away from the ball intercepting component, the ball collecting component transports the collected tennis balls to the ball feeding component, and the ball feeding component has a ball outlet; A first calculation module, configured to calculate first trajectory parameters of a first motion trajectory of a target tennis ball in the real court according to the hitting parameters and the hitting image; a second calculation module, configured to calculate a second trajectory parameter of the target tennis ball on a virtual court based on the first trajectory parameter, wherein the court of the target tennis ball includes the real court and the virtual court, and the virtual court is displayed on a boundary of the real court and is virtually combined with the real court to form a complete court; a rendering module, configured to render a second motion trajectory of the target tennis ball when it moves in the virtual court by using the second motion trajectory parameters, wherein the motion trajectory of the target tennis ball includes the first motion trajectory and the second motion trajectory; The device further comprises: a third calculation module, which is used to calculate the hitting action parameters of the hitting person according to the hitting parameters and the hitting image after the rendering module renders the second motion trajectory of the target tennis ball when it moves in the virtual court using the second trajectory parameters, wherein the hitting action parameters are used to characterize the standard degree of the action of the hitting person when hitting the ball; a fourth calculation module, which is used to calculate the motion quality parameters of the target tennis ball in the virtual court according to the hitting parameters and the hitting image, wherein the motion quality parameters are used to characterize the standard degree of the motion trajectory of the target tennis ball after being hit by the hitting person; The third calculation module includes: a parsing unit, used to parse out a plurality of moving limb nodes from the hitting image; a selection unit, used to select a number of key limb nodes from the plurality of moving limb nodes, wherein the key limb nodes are limb nodes that need to exert force during tennis training, and the key limb nodes include: hands, elbows, shoulders, waists, and feet; a calculation unit, used to create a dynamic 3D human body model using the plurality of key limb nodes, and calculate the hitting action parameters of the hitting person according to the movement amplitude of the dynamic 3D human body model; a correction unit, used to correct the hitting action parameters using the hitting parameters; The device is also used for: after calculating the batting action parameters of the batting person according to the batting parameters and the batting image, judging whether the batting action parameters are lower than a first standard threshold; if the batting action parameters are lower than the first standard threshold, selecting a first limb node with the lowest action parameter from a plurality of parameter items of the batting action parameters, wherein the batting action parameters include a plurality of parameter items, each parameter item corresponding to an action parameter; searching a first action correction resource related to the first limb node in a preset database; and pushing the first action correction resource to a user terminal; The device is also used for: after calculating the motion quality parameters of the target tennis ball on the virtual court according to the hitting parameters and the hitting image, judging whether the motion quality parameters are lower than a second standard threshold; if the motion quality parameters are lower than the second standard threshold, selecting a motion posture with the lowest quality parameter from multiple parameter items of the motion quality parameters, wherein the motion quality parameters include multiple parameter items, each parameter item corresponds to a quality parameter, and the motion posture includes: direction, arc, speed; searching a preset mapping table for a second limb node with the greatest correlation with the motion posture; searching a preset database for a second action correction resource related to the second limb node; and pushing the second action correction resource to a user terminal.
10. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: Memory, used to store computer programs; A processor, configured to execute the steps of the method according to any one of claims 1 to 8 by running a program stored in a memory.
11. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the steps of the method described in any one of claims 1 to 8 when executed.
