Method for calling golf swing video, system and computer readable medium thereof

文档序号:99580 发布日期:2021-10-15 浏览:25次 中文

阅读说明:本技术 高尔夫挥杆视频调用方法及其系统、计算机可读取介质 (Method for calling golf swing video, system and computer readable medium thereof ) 是由 刘隆基 于 2021-06-22 设计创作,主要内容包括:本申请公开了一种高尔夫挥杆视频调用方法、系统、计算机可读取介质。本申请的高尔夫挥杆视频调用方法,包括:获取视频流,所述视频流至少包括挥杆视频、球轨视频;根据所述视频流对应的调用指令调用所述视频流;其中,所述调用指令至少包括播放视频指令、删除视频指令、上传视频指令中的一个。本申请提供的高尔夫挥杆视频调用方法方法通过对用户挥杆动作的完整采集,能够精准获得用户挥杆击球的完整视频,方便用户对自己的挥杆视频进行回看,配合专业教练视频对比,以使得用户针对挥杆动作可以进行自我纠正,大大降低了高尔夫运动的学习难度、学习成本。本申请还提供了一种高尔夫挥杆视频调用系统及计算机可读取介质。(The application discloses a method, a system and a computer readable medium for calling a golf swing video. The application provides a method for calling a golf swing video, which comprises the following steps: obtaining a video stream, wherein the video stream at least comprises a swing video and a track video; calling the video stream according to the calling instruction corresponding to the video stream; the calling instruction at least comprises one of a video playing instruction, a video deleting instruction and a video uploading instruction. The golf swing video calling method provided by the application can accurately obtain the complete video of the user swing hitting through the complete collection of the user swing action, brings convenience to the user to review the swing video of the user, and is matched with the professional coach video comparison, so that the user can carry out self-correction on the swing action, and the learning difficulty and the learning cost of golf movement are greatly reduced. The application also provides a golf swing video calling system and a computer readable medium.)

1. The method for calling the golf swing video is characterized by comprising the following steps:

obtaining a video stream, wherein the video stream at least comprises a swing video and a track video;

calling the video stream according to a calling instruction corresponding to the video stream;

the calling instruction at least comprises one of a video playing instruction, a video deleting instruction and a video uploading instruction.

2. The method for invoking video of golf swing according to claim 1, wherein said obtaining a video stream comprises:

receiving a video frame queue; wherein the video frame queue comprises at least two video frames;

carrying out body position detection on the video frame; wherein the body position comprises a swing motion;

if the swing action exists in the video frames, extracting the video frames according to the delay extraction duration to obtain a backswing video frame, a downswing video frame and a backswing video frame;

arranging and storing the upper rod video frame, the lower rod video frame and the rod-receiving video frame according to a frame sequence to obtain a corresponding video frame queue; wherein the video frame queue corresponds to the swing video;

or if the swing motion exists in the video frame, calculating the motion parameters of the golf ball according to the swing motion;

and generating a ball track video according to the motion parameters.

3. The method for calling golf swing video according to claim 2, wherein the length of the up swing video frame is less than or equal to 2 seconds, and the total length of the down swing video frame and the take-away video frame is less than or equal to 4 seconds;

the unit storage time length of the video frame queue is 6 seconds, and the delay extraction time length is 3.5 seconds.

4. The method for invoking video on golf swing according to claim 2, wherein invoking video stream according to the invoking command corresponding to video stream comprises:

playing the swing video stored in the area to be played according to the video playing instruction;

and if the swing video is played completely and the next swing motion is detected, deleting the swing video according to the video deleting instruction.

5. The method for invoking video on golf swing according to claim 2, wherein invoking video stream according to the invoking command corresponding to video stream further comprises:

extracting the characteristics of the ball track video to obtain a flight track;

comparing the flight track with a corresponding preset track to obtain a comparison result; wherein the comparison result comprises a first result and a second result;

generating a corresponding calling instruction according to the comparison result;

and calling the ball track video according to the corresponding calling instruction.

6. The method for invoking video of golf swing according to claim 5, wherein said invoking said track video according to a corresponding invoking command comprises:

if the comparison result is a first result, generating an automatic uploading video instruction, and uploading the ball track video according to the automatic uploading video instruction;

and if the comparison result is a second result, generating a video deleting instruction, and deleting the ball track video according to the video deleting instruction.

7. A golf swing video recall system, comprising:

an acquisition module, configured to acquire a video stream, where the video stream includes at least a swing video and a track video;

the calling module is used for calling the video stream according to the calling instruction corresponding to the video stream, and comprises: play video, upload video, or delete video.

8. The golf swing video recall system according to claim 7, wherein the golf swing video recall system further comprises:

the frame processing module is used for extracting the video frames according to the delay extraction duration to obtain an upper rod video frame, a lower rod video frame and a rod receiving video frame;

the frame processing module is further used for arranging and storing the up-rod video frame, the down-rod video frame and the rod-receiving video frame according to a frame sequence and obtaining a corresponding video frame queue;

the frame processing module is also used for calculating the motion parameters of the golf according to the swing motion and generating a ball track video according to the motion parameters.

9. The golf swing video recall system according to claim 7, wherein the golf swing video recall system further comprises:

the computing module is used for computing according to the motion parameters of the golf ball and generating a ball track video;

the extraction module is used for extracting the characteristics of the ball track video to obtain a flight track;

the comparison module is used for comparing the flight track with a corresponding preset track to obtain a comparison result; wherein the comparison result comprises a first result and a second result.

10. Computer readable medium, characterized in that the computer readable medium stores a computer readable program which, when read and executed by a processor, performs the golf swing video calling method according to any one of claims 1 to 6.

Technical Field

The present application relates to the field of video stream processing, and in particular, to a method, a system, and a computer readable medium for invoking a golf swing video.

Background

Outdoor golf sports fields occupy a large area, are expensive, are easily influenced by factors such as weather and positions, and bring adverse effects to golf sports training or competitions. In contrast, the indoor golf simulation apparatus provides a realistic simulation environment for a user to practice or play, occupies a smaller area than outdoor golf, is easy to use, and is not affected by weather, geographical location, etc.

However, in the prior art, the indoor golf simulation apparatus has the same problems as the outdoor golf: when a user trains, a professional coach or other auxiliary means is needed to carry out effective action correction, so that the training cost and difficulty are improved.

Disclosure of Invention

The present application is directed to solving at least one of the problems in the prior art. Therefore, the application provides a method, a system and a computer readable medium for calling a golf swing video, which can ensure that a user can record each swing completely when the user performs golf simulation training independently, and play back the golf swing after hitting the golf ball, so that the user can observe and analyze the defects of the own swing motion at any time by matching the slow play function of the video with the slow play contrast of a professional trainer video, the user can conveniently improve the own swing skill at any time, and the technical ability of golf movement is improved.

In a first aspect, the present application provides a golf swing video calling method, including:

obtaining a video stream, wherein the video stream at least comprises a swing video and a track video; calling the video stream according to a calling instruction corresponding to the video stream; the calling instruction at least comprises one of a video playing instruction, a video deleting instruction and a video uploading instruction.

The method for calling the golf swing video in the embodiment of the application comprises the following technical effects: through the complete collection of swing motion when practicing to the user, make the user can watch and analyze own swing motion, the video slow-release function of cooperation and the contrast of professional coach video slow-release, the person of facilitating the use can correct own swing motion when training anytime and anywhere, improves the training effect, reduces the training cost.

In some embodiments, the obtaining the video stream comprises:

receiving a video frame queue; wherein the video frame queue comprises at least two video frames; carrying out body position detection on the video frame; wherein the body position comprises a swing motion; if the swing action exists in the video frames, extracting the video frames according to the delay extraction duration to obtain a backswing video frame, a downswing video frame and a backswing video frame; arranging and storing the upper rod video frame, the lower rod video frame and the rod-receiving video frame according to a frame sequence to obtain a corresponding video frame queue; wherein the video frame queue corresponds to the swing video;

or if the swing motion exists in the video frame, calculating the motion parameters of the golf ball according to the swing motion; and generating a ball track video according to the motion parameters.

In some embodiments, the up-rod video frame length is less than or equal to 2 seconds, and the total length of the down-rod video frame and the take-up-rod video frame is less than or equal to 4 seconds; the unit storage time length of the video frame queue is 6 seconds, and the delay extraction time length is 3.5 seconds.

In some embodiments, the invoking the video stream according to the invoking instruction corresponding to the video stream includes:

playing the swing video stored in the area to be played according to the video playing instruction;

and if the swing video is played completely and the next swing motion is detected, deleting the swing video according to the video deleting instruction.

In some embodiments, the invoking the video stream according to the invoking instruction corresponding to the video stream further includes: extracting the characteristics of the ball track video to obtain a flight track; comparing the flight track with a corresponding preset track to obtain a comparison result; wherein the comparison result comprises a first result and a second result; generating a corresponding calling instruction according to the comparison result;

and calling the ball track video according to the corresponding calling instruction.

In some embodiments, said invoking said ball track video according to a corresponding invocation instruction comprises: if the comparison result is a first result, generating an automatic uploading video instruction, and uploading the ball track video according to the automatic uploading video instruction; and if the comparison result is a second result, generating a video deleting instruction, and deleting the ball track video according to the video deleting instruction.

In a second aspect, the present application also provides a golf swing video call system, including:

an acquisition module, configured to acquire a video stream, where the video stream includes at least a swing video and a track video; the calling module is used for calling the video stream according to the calling instruction corresponding to the video stream, and comprises: play video, upload video, or delete video.

In some embodiments, the golf swing video call system further comprises: the computing module is used for computing according to the motion parameters of the golf ball and generating a ball track video; the extraction module is used for extracting the characteristics of the ball track video to obtain a flight track; the comparison module is used for comparing the flight track with a corresponding preset track to obtain a comparison result; wherein the comparison result comprises a first result and a second result.

In a third aspect, the present application also provides a computer-readable medium storing a computer-readable program which, when read and executed by a processor, performs the golf swing video calling method according to any one of claims 1 to 6.

Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.

Drawings

The present application is further described with reference to the following figures and examples, in which:

fig. 1 is a flowchart illustrating a method for invoking a golf swing video according to an embodiment of the present disclosure;

FIG. 2 is a flowchart illustrating a method for invoking a golf swing video according to an embodiment of the present application;

FIG. 3 is a flowchart illustrating a method for invoking a golf swing video according to yet another embodiment of the present application;

FIG. 4 is a block diagram of a golf swing video recall system in accordance with an embodiment of the present application;

FIG. 5 is a block diagram of a golf swing video recall system according to yet another embodiment of the present application.

Reference numerals: 100. a golf swing video call system; 110. an acquisition module; 120. calling a module; 130. a calculation module; 140. an extraction module; 150. and a comparison module.

Detailed Description

Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.

In the description of the present application, it is to be understood that the positional descriptions, such as the directions of up, down, front, rear, left, right, etc., referred to herein are based on the directions or positional relationships shown in the drawings, and are only for convenience of description and simplification of description, and do not indicate or imply that the referred device or element must have a specific direction, be constructed and operated in a specific direction, and thus, should not be construed as limiting the present application.

In the description of the present application, the meaning of a plurality is one or more, the meaning of a plurality is two or more, and the above, below, exceeding, etc. are understood as excluding the present number, and the above, below, within, etc. are understood as including the present number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.

In the description of the present application, unless otherwise expressly limited, terms such as set, mounted, connected and the like should be construed broadly, and those skilled in the art can reasonably determine the specific meaning of the terms in the present application by combining the detailed contents of the technical solutions.

In the description of the present application, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

Outdoor golf is prone to limit training or competitions due to factors such as field size, weather variations, etc. The indoor golf simulation device effectively solves the problem of outdoor golf, and can realize golf training or competition at any time, however, in the related art, the conventional golf simulation device can only randomly capture a user swing video, and further cannot allow the user to selectively upload the video. The user still needs a professional coach to give guidance and teaching beside the golf simulation device as the user does when training on an outdoor ground, which increases the training cost of the user.

Based on the technical problem, the application provides a golf swing video calling method, which can accurately obtain a complete video of a user swing and hitting a ball, and is convenient for the user to review the swing video of the user, and the user can perform self-correction on the swing action by matching with professional coach video comparison, so that the learning difficulty and the learning cost of golf movement are greatly reduced.

Referring to fig. 1, the present application provides a method for invoking a golf swing video, including: step S100, obtaining a video stream, wherein the video stream at least comprises a swing video and a track video; step S200, calling the video stream according to a calling instruction corresponding to the video stream; the calling instruction at least comprises one of a video playing instruction, a video deleting instruction and a video uploading instruction.

In general, video streaming refers to the transmission of video data that can be processed as a steady and continuous stream through a network, and in the embodiment of the present application, the video stream is captured by a camera module in a golf simulation device, and the video stream may be swing video and ball track video, that is, the video data that is transmitted and processed may be swing video and ball track video. The swing video is used for collecting the complete swing motion of a user, and the swing motion specifically comprises the following steps: the action of getting on the pole, the action of getting off the pole and the action of receiving the pole, the swing video of this embodiment collection promptly: the complete movement of the user from raising the club to hitting the golf ball with the club is recorded.

Specifically, when a user swings and hits a golf ball in a hitting area of an indoor golf simulation device, the method provided by the application may collect a complete swing motion of a user's backswing, downswing, and take-up by using a camera module of the golf simulation device, and generate a corresponding swing video through the simulation device. The track video is used for collecting the motion process of a golf ball hit by a user through swing, the user swings and hits the golf ball in a hitting area, a calculation module of the simulation equipment detects the swing action of the user and the motion state of the golf ball after being hit, the relationship between the face angle of the golf club, the motion track of the golf club and the motion instant speed track of the golf ball after being hit is calculated through algorithm analysis, and the basic data of the motion of the golf ball can be simulated and calculated: flight speed, flight deviation angle, takeoff angle, spin speed, and spin direction of the golf ball. The golf basic data are processed by the computing module, the flight trajectory data of the golf are computed, and a 3D engine in the simulation equipment renders the flight trajectory data of the golf into a virtual scene to form a track video.

For example, through the complete collection of the swing motion when the user exercises, the user can play back the own swing motion, the slow playing function of the video is matched with the slow playing contrast of the professional trainer video, the user can watch and analyze the defects of the own swing motion at any time, the user can conveniently improve the swing skill of the user at any time, and the technical ability of golf movement is improved.

In some embodiments, professional teaching software is provided in the golf simulation device, when a user swings a ball and generates a swing video, posture detection, speed detection, force detection and the like are performed on the swing motion in the swing video, corresponding detection data are generated, the detection data are sent to the professional teaching software for processing, and the professional teaching software scores and analyzes the swing motion of the user according to the detection data and outputs and displays the scoring and analysis results. Through the analysis result of the professional teaching software, the user can visually see what the own swing action is insufficient, and the action correction is carried out by adopting the analysis suggestion given by the professional software. The golf simulation device can realize independent training and action correction of a user through golf simulation equipment, so that the difficulty and the cost of golf kinematics ball practice are reduced.

Referring to fig. 2, in some embodiments, the acquiring a video stream in step S100 includes: step S110, receiving a video frame queue; wherein the video frame queue comprises at least two video frames; step S120, carrying out body position detection on the video frame; wherein the body position comprises a swing motion; step S130, if the swing action exists in the video frames, extracting the video frames according to delay extraction duration to obtain a backswing video frame, a downswing video frame and a backswing video frame; s150, arranging and storing the upper rod video frame, the lower rod video frame and the rod-receiving video frame according to a frame sequence to obtain corresponding video frame queues; wherein the video frame queue corresponds to the swing video.

Specifically, the video is composed of still images, the still images composing the dynamic video are called video frames, the images collected by the simulation equipment, namely a plurality of video frames, are arranged in sequence to compose a video frame queue, and the real swing motion is restored through the video frame queue.

It can be understood that when the user logs in the golf simulation device for use, the golf simulation device starts the video stream acquisition function to acquire the video stream of the swing action of the user, and a memory space is applied in the simulation device in advance to store the acquired video stream. And the analog equipment stores the acquired video streams into corresponding memory spaces in the form of video frame images in sequence to form a video frame queue. And when the corresponding memory space is full, replacing the video frame stored firstly by covering the newly acquired video frame of the swing action according to the sequence, and repeating the steps in the above way. And the simulation equipment detects the body position of the collected video frame and judges whether swing motion exists in the video frame. If swing motion exists in the video frames, on one hand, after the extraction time is delayed, a video frame queue is extracted, wherein the video frame queue comprises a backswing video frame, a downswing video frame and a backswing video frame, and the extracted video frame queue is the acquired swing video.

Referring to fig. 3, in some embodiments, the acquiring a video stream in step S100 further includes: step S140, if the swing motion exists in the video frame, calculating the motion parameters of the golf ball according to the swing motion; and step S160, generating a ball track video according to the motion parameters.

As can be appreciated, after the swing of the user is collected and a corresponding video frame queue is generated, the simulation device performs body position detection on the collected video frames and determines whether there is a swing in the video frames, and if it is determined that there is a swing in the video frames, on the other hand, calculates motion parameters of the golf ball according to the swing, and generates a ball track video according to the motion parameters: the method comprises the steps of analyzing and calculating the relationship among the face angle of a golf club, the movement track of the golf club and the movement instant speed track of a golf ball after being struck through an algorithm, simulating and calculating basic data of golf ball movement, processing the basic data by a calculation module, calculating the track data of golf ball flight, rendering the flight track data of the ball to a virtual scene by a 3D engine in simulation equipment, and forming a ball track video.

In some embodiments, the up-rod video frame length is less than or equal to 2 seconds, and the total length of the down-rod video frame and the take-up-rod video frame is less than or equal to 4 seconds; the unit storage time length of the video frame queue is 6 seconds, and the delay extraction time length is 3.5 seconds.

Specifically, when a person is playing golf, according to a conventional swing motion, the backswing time does not exceed 2 seconds at most, and the downswing and backswing do not exceed 4 seconds at most, that is, in a captured video frame queue, the length of a backswing video frame is less than or equal to 2 seconds, and the total length of a downswing video frame and a backswing video frame is less than or equal to 4 seconds. In this embodiment, the video frame queue is formed in 6 seconds, which includes the up-link video that lasts for 2 seconds at most and the down-link and up-link video that lasts for 4 seconds at most. It is understood that when the posture of the video frame is detected and the swing motion is detected, the golf ball is hit, that is, the user has completed the backswing motion and the downswing motion, wherein the backswing motion lasts 2 seconds and the downswing motion lasts 0.5 seconds, so that when the swing motion is detected, the video frame of 2.5 seconds is collected, the video frame queue is extracted by delaying the extraction time of 3.5 seconds, and the video frame queue of 6 seconds including the complete backswing video frame, downswing video frame and take-up video frame is extracted.

As can be understood, the embodiments of the present application include the following technical effects: the method comprises the steps that delayed extraction time is correspondingly preset for time differences of different action stages of a user for putting on, putting off and receiving, when swing action is detected to exist in video frames, the delayed extraction time is delayed to extract a video frame queue, a complete swing video comprising a putting on video, a putting off video and a receiving video can be accurately obtained, compared with the conventional technology that only videos can be randomly obtained, the method provided by the embodiment of the application enables the user to accurately and completely collect integrated videos for each swing exercise, the unit storage time of the video frame queue is 6 seconds, newly obtained video frames of the swing action cover and replace the first stored video frames according to the sequence, the video frames without swing action can be timely cleared, and the storage burden of golf simulation equipment is reduced.

Referring to fig. 2 again, in some embodiments, the step S200 of calling the video stream according to the call instruction corresponding to the video stream includes any one of the following steps:

step S210, playing the swing video stored in the area to be played according to the video playing instruction;

and step S220, if the swing video is played completely and the next swing motion is detected, deleting the swing video according to the video deleting instruction.

Specifically, after obtaining the swing video, storing the swing video in the area to be played, detecting that the area to be played stores the swing video, and playing the swing video by the player according to the play video instruction, where the play video instruction may be "start to play the video automatically if the area to be played stores the swing video"; in addition, a user can start slow playing video playing according to personal needs, and the corresponding slow playing video playing instruction is 'if the slow playing video playing frame is detected to be opened, slow playing video is played frame by frame'; the user can also compare the automatically played swing video or the slowly played swing video with the professional trainer swing video so as to analyze the deficiency of the user's own actions and improve the user himself. And storing the swing video to an area to be uploaded after the swing video is played, if the user continues to hit the ball next time, and if the simulation equipment detects that the swing action exists in the video frame, clearing the swing video, if the user selects to upload the swing video, uploading the swing video in the area to be uploaded to a personal center, and after the swing video is uploaded successfully, prompting the user that the swing action is uploaded successfully. And after the user starts the next swing motion, the user returns to the cycle of collecting the video stream again, forming the swing video and automatically playing the swing video.

Referring to fig. 3 again, in some embodiments, the step S200 of calling the video stream according to the call instruction corresponding to the video stream further includes: step S230, extracting the characteristics of the ball track video to obtain a flight track; s240, comparing the flight track with a corresponding preset track to obtain a comparison result; wherein the comparison result comprises a first result and a second result; step S250, generating a corresponding calling instruction according to the comparison result; and step S260, calling the ball track video according to the corresponding calling instruction.

Specifically, the flight trajectory records the direction, distance, height, landing point in a simulated scene, etc. of the golf ball flight. After the golf ball falls to the ground, the simulation equipment records the flight track of the golf ball and the number of poles hit by the user, compares the flight track with the preset track of the golf simulation equipment to obtain a comparison result, and when the flight track and the number of poles hit by the user are in accordance with the following preset tracks, the obtained comparison result is a first result:

for example, in one embodiment, when the number of swings is 1, the ball drop point is a hole, and the first result is obtained by the comparison.

In another embodiment, it is noted that there are rules of standard clubs in the rules of golf, such as 3 clubs, 4 clubs, 5 clubs. When the standard club is 4 clubs, the falling point of the ball with the 1 st club swing is the green, and the ball enters the hole after the 2 nd club swing, the ball can be judged to be the glede ball; or, when the standard club is a 5-club, the falling point of the 2 nd swing ball is a green, and the ball enters a hole after the 3 rd swing, it can be determined that the ball is a glede ball. A first result may be obtained by the comparison.

In another embodiment, when No. 1 woodcut is used for the 1 st swing for opening the ball per hole, the final landing point of the ball is on the lane and the distance exceeds the distance set by the electric caddie, and the first result can be obtained by comparison. Wherein, wood 1 is one of fourteen clubs in a golf bag, and the electronic caddy sets the actual distance for an individual to hit the ball with the club, normally the average distance for hitting a 5-club full swing using the same shaft.

In another embodiment, when the standard swing is 3 swings, the falling point of the 1 st swing ball is the green; or when the standard club is a 4 club, the falling point of the 2 nd swing ball is the green; or, when the standard swing is 5, the 3 rd swing ball is determined to have a green, and the ball is determined to have a green on the standard swing. When the ball on the green on the standard club is within 5 yards of the hole at the instant of landing, the first result can be obtained through the comparison result.

It is understood that the above is only some descriptions of some embodiments, and in other embodiments, the comparison result of the swing times and the ball tracks may be in other forms, and the present application is not limited thereto.

In some embodiments, said invoking said ball track video according to said corresponding invocation instruction comprises: if the comparison result is a first result, generating an automatic uploading video instruction, and uploading the ball track video according to the automatic uploading video instruction; and if the comparison result is a second result, generating a video deleting instruction, and deleting the ball track video according to the video deleting instruction.

Specifically, as described above, the flying trajectory of the hit golf ball is compared with the preset trajectory to obtain a comparison result, when the comparison result is the first result, it can be determined that the hit ball is good, an automatic uploading video instruction is generated, the track video is uploaded according to the automatic uploading video instruction, and in addition, the swing video, the track video, the hole entering effect video and the cheering expression video of the user after the hole entering can be combined into one video for uploading, so that the video is richer in wonderful color. And if the comparison result of the comparison between the ball flight trajectory and the preset trajectory does not accord with the first result, obtaining a second result, if the comparison result is the second result, generating a video deleting instruction, and deleting the ball track video according to the video deleting instruction.

The flight track of the ball that preset track and user hit is compared, and the user's splendid swing video is screened out to automatic upload reaches individual center, convenience of customers plays back and shares.

In a second aspect, referring to fig. 4, the present application further provides a golf swing video call system 100, where the golf swing video call system 100 includes:

an obtaining module 110, configured to obtain a video stream, where the video stream includes at least a swing video, a track video; the invoking module 120 is configured to invoke the video stream according to an invoking instruction corresponding to the video stream, and includes: play video, upload video, or delete video.

Specifically, when a user swings and hits a ball in a hitting area of the indoor golf simulation apparatus, the camera module of the acquisition module 110 may collect a complete swing motion of a user's backswing, downswing, and take-in and generate a corresponding swing video, and the acquisition module 110 may collect a ball trajectory video generated by a 3D engine in the simulation apparatus; the calling module 120 calls the video stream acquired by the acquiring module 110 according to the calling instruction, including: play video, upload video, or delete video.

Through the acquisition module 110, the swing motion of the user during exercise is completely collected, a swing video is generated, and the calling module 120 calls the collected swing video according to a corresponding calling instruction, for example, the swing video is automatically played, so that the user can watch the swing motion of the user, the user can conveniently and randomly improve the swing skill of the user, and the technical ability of golf movement is improved.

Referring to fig. 5, in some embodiments, the golf swing video call system 100 further includes: a calculation module 130, wherein the calculation module 130 is used for calculating according to the movement parameters of the golf ball and generating a track video; the extraction module 140 is configured to perform feature extraction on the ball track video to obtain a flight trajectory; the comparison module 150 is configured to compare the flight trajectory with a corresponding preset trajectory to obtain a comparison result; wherein the comparison result comprises a first result and a second result.

Specifically, the calculation module 130 calculates the movement parameters of the golf ball according to the swing motion and the movement instant speed trajectory of the hit ball, and generates a track video according to the movement parameters: the calculation module 130 can simulate and calculate basic data of golf movement by analyzing and calculating the relationship between the club face angle of the golf club, the movement track of the golf club and the movement instant speed track of the golf ball after being hit through an algorithm, the calculation module 130 processes the basic data to calculate the track data of golf ball flight, and a 3D engine in the simulation equipment renders the flight track data of the ball into a virtual scene to form a track video. (ii) a The extraction module 140 is configured to perform feature extraction on the ball track video to obtain a flight trajectory; the comparison module 150 compares the flight trajectory with the corresponding preset trajectory to obtain a comparison result, and automatically uploads or deletes the ball track video according to the comparison result.

The ball flight trajectory which accords with the predicted trajectory is automatically uploaded, namely, the ball which is played by the user accords with the good ball standard, so that the ball flight trajectory is automatically uploaded, and the user can conveniently check and share the wonderful batting video at any time.

In a third aspect, the present application also provides a computer-readable medium storing a computer-readable program which, when read and executed by a processor, performs the golf swing video calling method according to any one of claims 1 to 6.

The embodiments of the present application have been described in detail with reference to the drawings, but the present application is not limited to the embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present application. Furthermore, the embodiments and features of the embodiments of the present application may be combined with each other without conflict.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种迷你高尔夫积分互动管理系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!