Golf putter guide method, electronic device, and readable storage medium

文档序号:57107 发布日期:2021-10-01 浏览:26次 中文

阅读说明:本技术 高尔夫推杆引导方法、电子设备及可读存储介质 (Golf putter guide method, electronic device, and readable storage medium ) 是由 陈永泽 霍紫健 梁海 黄俊帆 刘鑫霞 于 2021-06-11 设计创作,主要内容包括:本发明公开了一种高尔夫球推杆引导方法、电子设备以及可读存储介质,所述高尔夫推杆引导方法包括以下步骤:当接收到挥杆推荐数据请求时,获取当前场景信息以及高尔夫球的当前位置;根据所述当前场景信息与所述当前位置在用户习惯数据库中查找目标习惯数据;根据所述当前场景信息、所述当前位置以及所述目标习惯数据确定挥杆推荐数据,并输出所述挥杆推荐数据。本发明通过结合当前场景信息、高尔夫球的当前位置以及用户习惯数据库中的目标习惯数据确定挥杆推荐数据,提高了高尔夫球员击球入洞的成功率。(The invention discloses a golf putter guide method, an electronic device and a readable storage medium, the golf putter guide method comprising the steps of: acquiring current scene information and a current position of a golf ball when a swing recommendation data request is received; searching target habit data in a user habit database according to the current scene information and the current position; and determining swing recommendation data according to the current scene information, the current position and the target habit data, and outputting the swing recommendation data. The invention determines swing recommendation data by combining the current scene information, the current position of the golf ball and the target habit data in the user habit database, thereby improving the success rate of putting the golf player into a hole.)

1. A golf putter guiding method, comprising the steps of:

acquiring current scene information and a current position of a golf ball when a swing recommendation data request is received;

searching target habit data in a user habit database according to the current scene information and the current position;

and determining swing recommendation data according to the current scene information, the current position and the target habit data, and outputting the swing recommendation data.

2. The golf putter guidance method of claim 1, wherein the step of acquiring current scene information and a current position of a golf ball when the swing recommendation data request is received comprises:

acquiring 3D depth data and plane picture data when a swing recommendation data request is received;

and determining the current scene information and the current position according to the 3D depth data and the plane picture data.

3. The golf putting guide method of claim 1, wherein the swing recommendation data includes a swing recommendation power, a swing recommendation angle, and a recommended route, and the determining swing recommendation data according to the current scene information, the current location, and the target habit data includes:

determining a swing recommendation angle and a swing recommendation strength according to the current scene information, the current position and the target habit data;

determining a recommended route according to the current scene information, the current position, the swing recommended angle, and the swing recommended strength.

4. The golf putting guide method according to claim 3, further comprising, after the step of determining a recommended route based on the current scene information, the current position, the swing recommended angle, and the swing recommended strength:

establishing a current scene model according to the current scene information;

marking the recommended ball path in the current scene model as swing recommendation data;

and executing the step of outputting the swing recommendation data.

5. The golf putter guidance method of claim 1, wherein the steps of acquiring current scene information and acquiring current position information of a golf ball when a swing recommendation data request is received are preceded by:

receiving 3D depth data and planar picture data;

establishing a scene model according to the 3D depth data and the plane picture data and acquiring scene information;

and storing the scene information in a user habit database.

6. The golf putter guidance method of claim 1, wherein the steps of acquiring current scene information and acquiring current position information of a golf ball when a swing recommendation data request is received are preceded by:

receiving 3D depth data and planar picture data;

acquiring swing motion information and a golf ball movement trajectory according to the 3D depth data and the plane picture data;

determining corresponding user habit data according to the swing motion information and the golf ball movement trajectory;

and storing the user habit data in a user habit database.

7. An electronic device comprising a memory, a processor, and a golf putter guide program stored on the memory and executable on the processor, the golf putter guide program when executed by the processor implementing the steps of the golf putter guide method according to any one of claims 1 to 6.

8. A readable storage medium having a golf putter guide program stored thereon, which when executed by a processor, implements the steps of the golf putter guide method according to any one of claims 1 to 6.

Technical Field

The present invention relates to the field of golf exercise assisting technologies, and in particular, to a golf putter guiding method, an electronic device, and a readable storage medium.

Background

In recent years, golf enthusiasts are increasing, but due to the high expense of hiring coaches and the long training time, many novice golfers cannot get regular and systematic training, so that the level of many novice golfers cannot be improved, the putting success rate of many golfers is low, the interest of people in golf is greatly reduced, and many people finally give up golf. The golfer can obtain the green terrain information, the real-time wind direction information and the real-time wind speed information through the auxiliary equipment, and perform 3D modeling and generate a simulation image according to the obtained information, wherein the simulation image comprises the green terrain information, the hitting distance information, the hitting line suggestion information and the hitting power suggestion information, but the habit of the golfer in the movement is not considered, and the golfer can deform the movement due to the habit of the golfer when playing the swing suggestion, so that the success rate of putting the golf into the hole cannot be remarkably improved.

The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.

Disclosure of Invention

The invention mainly aims to provide a golf push rod guiding method, which aims to improve the success rate of putting a golf ball into a hole by a golfer and solve the problem that the interest of the golf ball is reduced because the success rate of putting the golf ball into the hole is low under the condition that the golf ball is not trained regularly.

In order to achieve the above object, the present invention provides a golf putter guide method including the steps of:

acquiring current scene information and a current position of a golf ball when a swing recommendation data request is received;

searching target habit data in a user habit database according to the current scene information and the current position;

and determining swing recommendation data according to the current scene information, the current position and the target habit data, and outputting the swing recommendation data.

Further, the step of acquiring current scene information and a current position of the golf ball when the swing recommendation data request is received includes:

acquiring 3D depth data and plane picture data when a swing recommendation data request is received;

and determining the current scene information and the current position according to the 3D depth data and the plane picture data.

Further, the swing recommendation data includes a swing recommendation strength, a swing recommendation angle, and a recommended route, and the determining swing recommendation data according to the current scene information, the current location, and the target habit data includes:

determining a swing recommendation angle and a swing recommendation strength according to the current scene information, the current position and the target habit data;

determining a recommended route according to the current scene information, the current position, the swing recommended angle, and the swing recommended strength.

Further, after the step of determining a recommended route according to the current scene information, the current position, the swing recommended angle, and the swing recommended strength, the method further includes:

establishing a current scene model according to the current scene information;

marking the recommended ball path in the current scene model as swing recommendation data;

and executing the step of outputting the swing recommendation data.

Further, the steps of acquiring current scene information and acquiring current position information of a golf ball when a swing recommendation data request is received may be preceded by:

receiving 3D depth data and planar picture data;

establishing a scene model according to the 3D depth data and the plane picture data and acquiring scene information;

and storing the scene information in a user habit database.

Further, the steps of acquiring current scene information and acquiring current position information of a golf ball when a swing recommendation data request is received may be preceded by:

receiving 3D depth data and planar picture data;

acquiring swing motion information and a golf ball movement trajectory according to the 3D depth data and the plane picture data;

determining corresponding user habit data according to the swing motion information and the golf ball movement trajectory;

and storing the user habit data in a user habit database.

In order to achieve the above object, the present invention also provides an electronic device including a memory, a processor, and a golf putter guide program stored on the memory and executable on the processor, the golf putter guide program, when executed by the processor, implementing the steps of the golf putter guide method as recited in any one of the above.

In order to achieve the above object, the present invention also provides a readable storage medium having a golf putter guide program stored thereon, which when executed by a processor, implements the steps of the golf putter guide method as set forth in any one of the above.

According to the technical scheme, when a swing recommendation data request is received, current scene information and the current position of a golf ball are acquired; searching target habit data in a user habit database according to the current scene information and the current position; and determining swing recommendation data according to the current scene information, the current position and the target habit data, and outputting the swing recommendation data. Therefore, the swing recommendation data is determined according to the current scene information, the current position of the golf ball and the user habit data in the user habit database, so that the swing recommendation data is more suitable for the swing and ball hitting habits of the user, and the success rate of the golfer in hitting the golf ball is improved.

Drawings

FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;

FIG. 2 is a schematic flow chart of an embodiment of a golf putter guiding method according to the present invention;

FIG. 3 is a detailed flowchart of step S100 of the golf putter guiding method according to the present invention;

fig. 4 is a detailed flowchart of step S300 in the golf putter guiding method according to the present invention.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

The main technical scheme of the invention is as follows:

acquiring current scene information and a current position of a golf ball when a swing recommendation data request is received;

searching target habit data in a user habit database according to the current scene information and the current position;

and determining swing recommendation data according to the current scene information, the current position and the target habit data, and outputting the swing recommendation data.

In the related art, a golfer may obtain green terrain information, real-time wind direction information, and real-time wind speed information through an auxiliary device, and perform 3D modeling according to the obtained information to generate a simulation image, wherein the simulation image includes the green terrain information, hitting distance information, hitting route suggestion information, and hitting power suggestion information, but does not consider habits of the golfer in sports, and the golfer may deform his own habits during a swing suggestion sports, which may result in an inability to significantly improve a success rate of putting the golf ball into a hole.

According to the technical scheme, when a swing recommendation data request is received, current scene information and the current position of a golf ball are acquired; searching target habit data in a user habit database according to the current scene information and the current position; and determining swing recommendation data according to the current scene information, the current position and the target habit data, and outputting the swing recommendation data. Therefore, the swing recommendation data is determined according to the current scene information, the current position of the golf ball and the user habit data in the user habit database, so that the swing recommendation data is more suitable for the swing and ball hitting habits of the user, and the success rate of the golfer in hitting the golf ball is improved.

As shown in fig. 1, fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention.

As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a touch screen and/or keys, etc., and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface, etc. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a non-volatile memory such as a disk memory), the memory 1005 may optionally also be a storage device separate from the processor 1001.

Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a golf putter guide program.

In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the golf putter guide program stored in the memory 1005 and perform the following operations:

acquiring current scene information and a current position of a golf ball when a swing recommendation data request is received;

searching target habit data in a user habit database according to the current scene information and the current position;

and determining swing recommendation data according to the current scene information, the current position and the target habit data, and outputting the swing recommendation data.

Further, the processor 1001 may call the golf putter guide program stored in the memory 1005, and also perform the following operations:

acquiring 3D depth data and plane picture data when a swing recommendation data request is received;

and determining the current scene information and the current position according to the 3D depth data and the plane picture data.

Further, the processor 1001 may call the golf putter guide program stored in the memory 1005, and also perform the following operations:

determining a swing recommendation angle and a swing recommendation strength according to the current scene information, the current position and the target habit data;

determining a recommended route according to the current scene information, the current position, the swing recommended angle, and the swing recommended strength.

Further, the processor 1001 may call the golf putter guide program stored in the memory 1005, and also perform the following operations:

establishing a current scene model according to the current scene information;

marking the recommended ball path in the current scene model as swing recommendation data;

and executing the step of outputting the swing recommendation data.

Further, the processor 1001 may call the golf putter guide program stored in the memory 1005, and also perform the following operations:

receiving 3D depth data and planar picture data;

establishing a scene model according to the 3D depth data and the plane picture data and acquiring scene information;

and storing the scene information in a user habit database.

Further, the processor 1001 may call the golf putter guide program stored in the memory 1005, and also perform the following operations:

receiving 3D depth data and planar picture data;

acquiring swing motion information and a golf ball movement trajectory according to the 3D depth data and the plane picture data;

determining corresponding user habit data according to the swing motion information and the golf ball movement trajectory;

and storing the user habit data in a user habit database.

Referring to fig. 2, the present invention provides a golf putter guiding method, which in one embodiment of the present invention includes the steps of:

step S100 of acquiring current scene information and a current position of a golf ball when a swing recommendation data request is received;

in this embodiment, the user may send a swing recommendation data request through a corresponding application program in a device such as a mobile phone, and the server receives the swing recommendation request and then receives 3D depth data and plane picture data sent by a scanning device disposed on a green. In order to prevent the electronic device from being unable to analyze scene data or user habit data according to the received 3D depth data and planar picture data due to the fact that data sent to the electronic device by the 3D laser imaging scanning device is missing, the received data is checked each time the data sent by the 3D laser imaging scanning device is received, so that the integrity of the received data is ensured. After the data transmitted by the scanning equipment is confirmed to be complete, the 3D depth data and the plane picture data are analyzed, and current scene information and the current position of the golf ball are obtained.

Step S200, searching target habit data in a user habit database according to the current scene information and the current position;

in this embodiment, the user habit database is a personal database, and according to different account numbers logged in by a user on a device, a swing recommendation data request sent by an account number is called by the user habit database, and the user habit database corresponds to the user account number one to one. When the server acquires current scene information and the current position of a golf ball, target habit data similar to the current scene information and the current position are inquired in the user habit database according to the current scene information and the current position.

Step S300, determining swing recommendation data according to the current scene information, the current position and the target habit data, and outputting the swing recommendation data.

In this embodiment, the target habit data includes scene information similar to current scene information, and the start point of the golf movement trajectory in the target habit data is similar to the current position. The target habit data comprises the situation of similar putting green, how a golfer hits a golf ball with a position close to the current position of the golf ball, the swing angle and the swing strength at each hitting are analyzed, the motion track of the golf ball after being hit is obtained, and swing recommendation data is determined according to the current scene information and the current position analysis by taking the target habit data as a reference.

In this embodiment, a user sends a swing recommendation data request through a mobile phone or the like, determines swing recommendation data according to current scene information, a current position of a golf ball, and target habit data searched in a user habit database after receiving the swing recommendation data request, sends the swing recommendation data to a device sending the swing recommendation data request, and displays swing recommendation data through a screen of the device, wherein the swing recommendation data includes swing strength, swing direction, and a simulated motion trajectory of the golf ball on a simulated model of a green. After receiving the swing recommendation data, a mobile phone and other devices used by the user output the swing strength, swing direction and other data on the screen, and display the movement track of the golf ball on the green under the action of the swing strength and swing direction in the form of animation on the screen, so that the user can have intuitive feeling on the movement track of the golf ball under the condition of correct hitting, and the user can conveniently adjust the next hitting when the golf ball is not put into the hole according to the predicted track.

In summary, the present embodiment takes an electronic device as an execution subject, and acquires current scene information and a current position of a golf ball when receiving a swing recommendation data request; searching target habit data in a user habit database according to the current scene information and the current position; and determining swing recommendation data according to the current scene information, the current position and the target habit data, and outputting the swing recommendation data. Therefore, the swing recommendation data is determined according to the current scene information, the current position of the golf ball and the user habit data in the user habit database, so that the swing recommendation data is more suitable for the swing and ball hitting habits of the user, and the success rate of the golfer in hitting the golf ball is improved.

Referring to fig. 3, in an embodiment of the present invention, step S100 includes:

step S110 of acquiring 3D depth data and plane picture data when a swing recommendation data request is received;

step S120, determining the current scene information and the current position according to the 3D depth data and the planar picture data.

In this embodiment, when a user sends a swing recommendation data request to an electronic device through a mobile phone or other devices, a signal is also sent to a 3D laser scanning device, the 3D laser scanning device scans a photographed green after receiving the signal to obtain corresponding 3D depth data, photographs the current green to obtain corresponding plane picture data, and sends the 3D depth data and the plane picture data together to the electronic device for data analysis of the electronic device. After receiving the 3D depth data and the plane picture data, the electronic device determines corresponding current scene information and a current position of a golf ball according to the 3D depth data and the plane picture data, so as to search target habit data in a user habit database according to the current scene information and the current position and determine swing recommendation data. Therefore, the scene information and the user habit data with similar golf positions can be searched in the user habit database by confirming the current scene information and the current position of the golf, swing recommendation data closer to the swing habits of the user can be obtained by taking the user habit data as reference, and the success rate of putting the golf into the hole of the user is improved.

Referring to fig. 4, in an embodiment of the present invention, the swing recommendation data includes a swing recommendation strength, a swing recommendation angle, and a recommended route, and step S300 includes:

step S310, determining a swing recommendation angle and a swing recommendation strength according to the current scene information, the current position and the target habit data;

step S320, determining a recommended route according to the current scene information, the current position, the swing recommended angle, and the swing recommended strength.

In this embodiment, the target habit data is user habit data obtained by searching user habit data, in which scene information is similar to current scene information and a starting point of a golf ball motion trajectory is close to a current position of a golf ball, in a user database corresponding to a user account, and analyzing information such as a swing direction, a swing strength, and the like commonly used by a user according to the searched user habit data. And determining a swing recommended angle and a swing recommended strength which are closer to the hitting habits of the user according to information such as the swing direction and the swing strength which are commonly used by the user and by combining the current scene information and the current position. And determining a movement trajectory of a golf ball in a current scene when the golf ball at the current position is hit using the swing angle and the swing power according to the current scene information, the current position, the swing recommended angle, and the swing recommended power, and storing the movement trajectory of the golf ball as a recommended route. Therefore, the swing recommended angle and the swing recommended strength determined according to the current scene information, the current position and the target habit data are more similar to the swing habits of the user, and the success rate of the user in hitting the ball is improved. And determining a recommended ball path through the current scene information, the current position, the swing recommended angle and the swing recommended strength, so that a user can feel the movement track of a golf ball more intuitively, and the user can make an appropriate adjustment by observing the movement track of the ball when failing to hit a hole.

In an embodiment of the present invention, after step S320, the method further includes:

establishing a current scene model according to the current scene information;

marking the recommended ball path in the current scene model as swing recommendation data;

and executing the step of outputting the swing recommendation data.

In this embodiment, according to the current scene information, a model is established through 3D modeling to simulate a green currently scanned and shot by the current 3D laser camera shooting scanning device, where the model is a current scene model. According to the recommended ball path, when a golf ball at a current position is hit by using a swing recommended angle and a swing recommended strength, the motion trajectory of the golf ball in a current scene is demonstrated by animation in the current scene model, i.e., the recommended ball path is marked in the current scene model. And using the animation for marking the recommended ball path in the current scene model as a part of swing recommendation data so that a user can have an intuitive feeling on the movement track of the golf ball under the condition of correct hitting through animation demonstration. Therefore, the current scene model is established according to the current scene information, and the recommended ball path, namely the movement track of the golf ball, is marked in the current scene model, so that the user can feel the movement track of the golf ball more intuitively, and the user can make proper adjustment by observing the movement track of the ball when the user fails to hit the golf ball and enter the hole.

In an embodiment of the present invention, before step S100, the method further includes:

receiving 3D depth data and planar picture data;

establishing a scene model according to the 3D depth data and the plane picture data and acquiring scene information;

and storing the scene information in a user habit database.

In this embodiment, when a user starts a scene model establishment mode through a device such as a mobile phone, the device sends a corresponding scene model establishment signal to a 3D laser imaging scanning device. And after receiving the scene model establishing signal, the 3D laser camera shooting scanning equipment scans the greens to obtain 3D depth data, and shoots to obtain plane picture data. And the 3D laser camera shooting scanning equipment sends the 3D depth data and the plane picture data to electronic equipment. The electronic device receives the 3D depth data and the plane picture data, and checks whether the received data is complete. And when the data is complete, analyzing the 3D depth data and the plane picture data to obtain scene information corresponding to the greens scanned and shot by the 3D laser camera scanning equipment, storing the scene information in a user habit database, and storing the scene information in association with the corresponding user habit information. Therefore, scene information is obtained through the 3D depth data and the plane picture data and is stored in the user habit database, so that similar user habit data can be searched from the user database when a swing recommendation data request is received as a reference, and the success rate of a user hitting a ball into a hole is provided.

In an embodiment of the present invention, before step S100, the method further includes:

receiving 3D depth data and planar picture data;

acquiring swing motion information and a golf ball movement trajectory according to the 3D depth data and the plane picture data;

determining corresponding user habit data according to the swing motion information and the golf ball movement trajectory;

and storing the user habit data in a user habit database.

In this embodiment, when a user starts a user habit data acquisition mode through a device such as a mobile phone, the device sends a corresponding user habit data acquisition signal to a 3D laser camera scanning device. After receiving the user habit data acquisition signal, when sensing that a user in a shooting range swings, the 3D laser shooting scanning device acquires 3D depth data and plane picture data corresponding to each moment from the beginning of the swing of the user to the end of the stop of the motion of the hit golf ball, and sends the 3D depth data and the plane picture data to the electronic device. The electronic device receives the 3D depth data and the plane picture data, and checks whether the received data is complete. When the data is complete, swing motion analysis and golf ball trajectory analysis are performed according to the 3D depth data and the plane picture data to obtain user habit data, wherein the user habit data comprises swing strength, swing direction, golf ball trajectory and other information. And storing the user habit data in a user habit database, and storing the user habit data in association with corresponding scene information. Therefore, swing motion information and a golf ball movement track are obtained through the 3D depth data and the plane picture data, and the swing motion information and the golf ball movement track are stored in the user habit database, so that similar user habit data are searched from the user database when a swing recommendation data request is received as a reference, and the success rate of putting a ball into a hole is provided for a user.

In order to achieve the above object, the present invention also provides an electronic device including a memory, a processor, and a golf putter guide program stored on the memory and executable on the processor, the golf putter guide program, when executed by the processor, implementing the steps of the golf putter guide method as recited in any one of the above.

In order to achieve the above object, the present invention also provides a readable storage medium having a golf putter guide program stored thereon, which when executed by a processor, implements the steps of the golf putter guide method as set forth in any one of the above.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种网球发射装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!