Billiard training method and system based on hitting angle and force

文档序号:1823432 发布日期:2021-11-12 浏览:26次 中文

阅读说明:本技术 一种基于击打角度与力度的台球训练方法及系统 (Billiard training method and system based on hitting angle and force ) 是由 黄金胜 于 2021-08-30 设计创作,主要内容包括:本发明提供一种基于击打角度与力度的台球训练方法及系统,其中,方法包括:根据用户的操作指令确定投影内容并通过投影仪将其投射至台球桌的桌面上;获取桌面的图像,基于图像识别技术识别图像,确定用户是否击球;若击球,通过预设的传感器确定击球瞬间球杆杆尖的击打角度和击打力度;判断击打角度和击打力度是否正确,若不正确,对用户进行提醒。本发明的基于击打角度与力度的台球训练方法及系统,通过判断用户在台球训练过程中击球瞬间的击打角度和力度是否正确,若不正确,对用户进行提醒,解决了台球教练对击球角度和力度的指导很难口头准确表述的问题,更减轻了其负担,同时,学员在教练不在时,也能进行击打角度和力度的训练。(The invention provides a billiard training method and system based on a hitting angle and force, wherein the method comprises the following steps: determining projection content according to an operation instruction of a user and projecting the projection content onto a table top of a billiard table through a projector; acquiring an image of a desktop, identifying the image based on an image identification technology, and determining whether a user hits a ball; if the ball is hit, determining the hitting angle and the hitting force of the club tip at the moment of hitting the ball through a preset sensor; and judging whether the beating angle and the beating force are correct or not, and if not, reminding the user. According to the billiard training method and system based on the hitting angle and the force, whether the hitting angle and the force at the moment of hitting a ball by a user are correct or not is judged, and if the hitting angle and the force are incorrect, the user is reminded, so that the problem that a billiard coach cannot indicate the hitting angle and the force in a word-of-mouth manner accurately is solved, the burden of the training is relieved, and meanwhile, a student can train the hitting angle and the force when the coach is not present.)

1. A billiard training method based on hitting angle and force is characterized by comprising the following steps:

determining projection content according to an operation instruction of a user and projecting the projection content onto a table top of a billiard table through a projector;

acquiring an image of the desktop, identifying the image based on an image identification technology, and determining whether a user hits a ball;

if the ball is hit, determining the hitting angle and the hitting force of the club tip at the moment of hitting the ball through a preset sensor;

and judging whether the hitting angle and the hitting force are correct or not, and if not, reminding a user.

2. A billiards training method based on strike angle and force as claimed in claim 1, wherein said determining projection content according to user's operation instructions includes:

acquiring and outputting a preset training course list;

receiving training courses selected by a user from the training course list;

acquiring a projection picture corresponding to the training course in a preset projection picture database;

and taking the projection picture as projection content.

3. A billiards training method based on attack angle and force as claimed in claim 1, wherein the determining of attack angle and attack force of the tip of the cue at the moment of impact by a preset sensor includes:

collecting the hitting angle of the club tip at the moment of hitting the ball through a gyroscope;

the hitting force of the club tip at the moment of hitting the ball is collected through the pressure sensor.

4. A billiard training method based on angle and force of impact as claimed in claim 1, further comprising:

receiving a fight request input by a user, triggering a fight mode, matching a proper fight object for the user, and starting fight after matching is successful;

wherein, matching a suitable battle object for the user specifically comprises:

selecting any other user as a candidate fight object when the user starts to match the fight object;

acquiring a first scoring record of the user and a second scoring record of the candidate battle object;

calculating a match index of the user with the battle object based on the first scoring record and the second scoring record:

wherein match is a matching index, vi,1Is the first scoring cycle of the ith scoring cycle in the first scoring recordScore, vi,2A second score of the ith scoring period in the second scoring record, n is the total number of scoring periods of the fighting mode, e1And e2Is a preset inspection threshold;

when the matching index is larger than or equal to a preset matching threshold value, matching is successful, and the candidate battle object is used as a proper battle object;

when the matching index is smaller than the matching threshold, the matching is failed, and the next user is continuously matched;

the method for calculating the score of any user in the ith scoring period of the fighting mode comprises the following steps:

wherein socreiThe scoring of the ith scoring period of the user in the fighting mode is carried out, tau is a preset time attenuation factor alphaiThe total number of wins, alpha, of the user in the ith scoring period of the fighting modei-1The total number of wins, t, of the user in the i-1 th scoring period of the fighting modeiThe total number of times of contests, t, of the user in the ith scoring period of the fighting modei-1The total number of times of contests, beta, of the user in the i-1 th scoring period of the fighting modei,jThe leading time length, beta, of the user in the jth winning of the ith scoring period of the fighting modei-1,jThe leading duration, sigma, of the user in the j winning of the ith-1 scoring period in the fight mode1And σ2Is a preset weight value, alpha0And beta0A preset initial assigned value.

5. A billiard training method based on angle and force of impact as claimed in claim 1, further comprising:

determining a target virtual picture corresponding to the moment of hitting the ball and outputting the target virtual picture to the AR equipment;

the determining of the target virtual picture corresponding to the moment of hitting the ball and outputting the target virtual picture to the AR device specifically includes:

acquiring a first position of a mother ball and a second position of a target ball on the tabletop at the moment of hitting a ball;

acquiring a first billiard ball model corresponding to the cue ball and a second billiard ball model corresponding to the target ball;

representing the first billiard ball model and the second billiard ball model on a preset billiard ball table scene model based on the first position and the second position respectively;

obtaining a preset ball arm model;

representing the cue model on the billiard table scene model based on the striking angle and the striking force;

acquiring a standard ball bar model corresponding to a training course and representing the standard ball bar model on the billiard table scene model;

after all the images are expressed, the billiard table scene model is used as a target virtual picture and is output to AR equipment;

the method further comprises the following steps:

after the target virtual picture is output to AR equipment, receiving pressing force input by a user through a pressure sensor, and realizing interaction with the user according to the pressing force;

wherein, according to the pressing force degree realizes the interdynamic with the user, specifically include:

when the pressing force is greater than or equal to a preset first pressing force threshold value and smaller than a preset second pressing force threshold value, and the first keeping time for keeping the pressing force is greater than or equal to a preset first time threshold value, triggering a visual angle horizontal rotation mode;

adjusting the first sensitivity of the visual angle horizontal rotation in the visual angle horizontal rotation mode in real time according to the pressure degree:

wherein v ishorizontalFirst sensitivity, v, for horizontal rotation of the viewing angle adjusted in real timehorizontal,0To presetFirst initial sensitivity of fdepthIs the degree of pressing force, fdepth,0The initial pressing force is preset;

when the pressing force is larger than or equal to the second pressing force threshold and the second holding time for holding the pressing force is larger than or equal to a preset second time threshold, triggering a visual angle vertical reciprocating rotation mode;

adjusting the second sensitivity of the visual angle vertical reciprocating rotation and the visual angle reciprocating rotation range in the visual angle vertical reciprocating rotation mode in real time according to the pressure force:

wherein v isverticalFor a second sensitivity, v, of vertical back-and-forth rotation of the vision adjusted in real timevertical,0View for a preset second initial sensitivityupView for the maximum upward rotation angle in the vertical reciprocating rotation of the View angle adjusted in real timeup,0View for a preset initial angle value of upward rotationdownView for the minimum angle of downward rotation in the vertical back-and-forth rotation of the View angle adjusted in real timedown,0Is a preset initial angle value of downward rotation.

6. The utility model provides a billiard ball training system based on angle of attack and dynamics which characterized in that includes:

the determining and projecting module is used for determining projection contents according to the operation instructions of the user and projecting the projection contents onto the table top of the billiard table through the projector;

the image recognition module is used for acquiring the image of the desktop, recognizing the image based on an image recognition technology and determining whether a user hits a ball;

the hitting angle and force determining module is used for determining the hitting angle and the hitting force of the tip of the ball rod at the moment of hitting the ball through a preset sensor if the ball is hit;

and the judging and reminding module is used for judging whether the striking angle and the striking force are correct or not, and reminding the user if the striking angle and the striking force are incorrect.

7. A cue training system based on strike angle and force as claimed in claim 6 wherein the determining and projection module performs operations comprising:

acquiring and outputting a preset training course list;

receiving training courses selected by a user from the training course list;

acquiring a projection picture corresponding to the training course in a preset projection picture database;

and taking the projection picture as projection content.

8. A billiard training system as recited in claim 6, wherein the angle of attack and force determination module performs operations comprising:

collecting the hitting angle of the club tip at the moment of hitting the ball through a gyroscope;

the hitting force of the club tip at the moment of hitting the ball is collected through the pressure sensor.

9. A cue training system based on angle and force of attack as claimed in claim 6 further comprising:

the match module is used for receiving a match request input by a user, triggering a match mode, matching a proper match object for the user, and starting a match after the match is successful;

the battle matching module executes the following operations:

selecting any other user as a candidate fight object when the user starts to match the fight object;

acquiring a first scoring record of the user and a second scoring record of the candidate battle object;

calculating a match index of the user with the battle object based on the first scoring record and the second scoring record:

wherein match is a matching index, vi,1Is the first score, v, of the ith scoring cycle in the first scoring recordi,2A second score of the ith scoring period in the second scoring record, n is the total number of scoring periods of the fighting mode, e1And e2Is a preset inspection threshold;

when the matching index is larger than or equal to a preset matching threshold value, matching is successful, and the candidate battle object is used as a proper battle object;

when the matching index is smaller than the matching threshold, the matching is failed, and the next user is continuously matched;

the method for calculating the score of any user in the ith scoring period of the fighting mode comprises the following steps:

wherein socreiThe scoring of the ith scoring period of the user in the fighting mode is carried out, tau is a preset time attenuation factor alphaiThe total number of wins, alpha, of the user in the ith scoring period of the fighting modei-1The total number of wins, t, of the user in the i-1 th scoring period of the fighting modeiThe total number of times of contests, t, of the user in the ith scoring period of the fighting modei-1The total number of times of contests, beta, of the user in the i-1 th scoring period of the fighting modei,jFor the ith scoring period of the user in the fighting modeDuration of lead in j wins, betai-1,jThe leading duration, sigma, of the user in the j winning of the ith-1 scoring period in the fight mode1And σ2Is a preset weight value, alpha0And beta0A preset initial assigned value.

10. A cue training system based on angle and force of attack as claimed in claim 6 further comprising:

the AR module is used for determining a target virtual picture corresponding to the ball hitting moment and outputting the target virtual picture to the AR equipment;

the AR module performs operations comprising:

acquiring a first position of a mother ball and a second position of a target ball on the tabletop at the moment of hitting a ball;

acquiring a first billiard ball model corresponding to the cue ball and a second billiard ball model corresponding to the target ball;

representing the first billiard ball model and the second billiard ball model on a preset billiard ball table scene model based on the first position and the second position respectively;

obtaining a preset ball arm model;

representing the cue model on the billiard table scene model based on the striking angle and the striking force;

acquiring a standard ball bar model corresponding to a training course and representing the standard ball bar model on the billiard table scene model;

after all the images are expressed, the billiard table scene model is used as a target virtual picture and is output to AR equipment;

the system further comprises:

the interaction module is used for receiving pressing force input by a user through a pressure sensor after the target virtual picture is output to the AR equipment, and realizing interaction with the user according to the pressing force;

the interactive module executes the following operations:

when the pressing force is greater than or equal to a preset first pressing force threshold value and smaller than a preset second pressing force threshold value, and the first keeping time for keeping the pressing force is greater than or equal to a preset first time threshold value, triggering a visual angle horizontal rotation mode;

adjusting the first sensitivity of the visual angle horizontal rotation in the visual angle horizontal rotation mode in real time according to the pressure degree:

wherein v ishorizontalFirst sensitivity, v, for horizontal rotation of the viewing angle adjusted in real timehorizontal,0At a predetermined first initial sensitivity, fdepthIs the degree of pressing force, fdepth,0The initial pressing force is preset;

when the pressing force is larger than or equal to the second pressing force threshold and the second holding time for holding the pressing force is larger than or equal to a preset second time threshold, triggering a visual angle vertical reciprocating rotation mode;

adjusting the second sensitivity of the visual angle vertical reciprocating rotation and the visual angle reciprocating rotation range in the visual angle vertical reciprocating rotation mode in real time according to the pressure force:

wherein v isverticalFor a second sensitivity, v, of vertical back-and-forth rotation of the vision adjusted in real timevertical,0View for a preset second initial sensitivityupView for the maximum upward rotation angle in the vertical reciprocating rotation of the View angle adjusted in real timeup,0View for a preset initial angle value of upward rotationdownView for the minimum angle of downward rotation in the vertical back-and-forth rotation of the View angle adjusted in real timedown,0For a predetermined initial angle of downward rotationThe value is obtained.

Technical Field

The invention relates to the technical field of physical training equipment, in particular to a billiard training method and system based on a hitting angle and force.

Background

At present, when the billiard coach guides the student to use the cue to strike the billiard ball, the guidance on the striking angle and the force is difficult to express orally and accurately, and simultaneously, the coach can not accompany the student at all times to practice, so a need for an equipment which can accurately inform the student of the correct striking angle and force and can automatically help the student to train the striking angle and force of the billiard ball is urgent.

Disclosure of Invention

One of the purposes of the invention is to provide a billiard training method and system based on the hitting angle and force, which solves the problem that the guidance of a billiard coach on the hitting angle and force is difficult to express orally and accurately by judging whether the hitting angle and force at the moment of hitting a billiard by a user is correct or not in the billiard training process and reminding the user if the hitting angle and force are incorrect, thereby further reducing the burden of the training, and meanwhile, the trainee can also train the hitting angle and force when the trainer is not in the billiard training process.

The billiard training method based on the hitting angle and the force provided by the embodiment of the invention comprises the following steps:

determining projection content according to an operation instruction of a user and projecting the projection content onto a table top of a billiard table through a projector;

acquiring an image of the desktop, identifying the image based on an image identification technology, and determining whether a user hits a ball;

if the ball is hit, determining the hitting angle and the hitting force of the club tip at the moment of hitting the ball through a preset sensor;

and judging whether the hitting angle and the hitting force are correct or not, and if not, reminding a user.

Preferably, determining the projection content according to the operation instruction of the user specifically includes:

acquiring and outputting a preset training course list;

receiving training courses selected by a user from a training course list;

acquiring a projection picture corresponding to a training course in a preset projection picture database;

and taking the projection picture as projection content.

Preferably, the hitting angle and the hitting force of the club tip at the moment of hitting the ball are determined by a preset sensor, and the method specifically comprises the following steps:

collecting the hitting angle of the club tip at the moment of hitting the ball through a gyroscope;

the hitting force of the club tip at the moment of hitting the ball is collected through the pressure sensor.

Preferably, the billiard training method based on the hitting angle and the strength further includes:

receiving a fight request input by a user, triggering a fight mode, matching a proper fight object for the user, and starting fight after matching is successful;

wherein, match a suitable object of fight for the user, specifically include:

selecting any other user as a candidate fight object when the fight object starts to be matched for the user;

acquiring a first scoring record of a user and a second scoring record of a candidate battle object;

calculating a matching index of the user and the battle object based on the first scoring record and the second scoring record:

wherein match is a matching index, vi,1Is the first score, v, of the ith scoring cycle in the first scoring recordi,2A second score of the ith scoring period in the second scoring record, n is the total number of scoring periods of the fighting mode, e1And e2Is a preset inspection threshold;

when the matching index is greater than or equal to a preset matching threshold value, matching is successful, and the candidate battle object is taken as a proper battle object;

when the matching index is smaller than the matching threshold value, the matching is failed, and the next user is continuously matched;

the method for calculating the score of any user in the ith scoring period of the fighting mode comprises the following steps:

wherein socreiThe scoring of the ith scoring period of the user in the fighting mode is carried out, tau is a preset time attenuation factor alphaiThe total number of wins, alpha, of the user in the ith scoring period of the fighting modei-1The total number of wins, t, of the user in the i-1 th scoring period of the fighting modeiFor the ith of the user in the fight modeTotal number of contests in the scoring cycle, ti-1The total number of times of contests, beta, of the user in the i-1 th scoring period of the fighting modei,jThe leading time length, beta, of the user in the jth winning of the ith scoring period of the fighting modei-1,jThe leading duration, sigma, of the user in the j winning of the ith-1 scoring period in the fight mode1And σ2Is a preset weight value, alpha0And beta0A preset initial assigned value.

Preferably, the billiard training method based on the hitting angle and the strength further includes:

determining a target virtual picture corresponding to the moment of hitting the ball and outputting the target virtual picture to the AR equipment;

the determining of the target virtual picture corresponding to the moment of hitting the ball and outputting the target virtual picture to the AR device specifically includes:

acquiring a first position of a mother ball and a second position of a target ball on a desktop at the moment of hitting the ball;

acquiring a first billiard ball model corresponding to a cue ball and a second billiard ball model corresponding to a target ball;

representing the first billiard ball model and the second billiard ball model on a preset billiard ball table scene model based on the first position and the second position respectively;

obtaining a preset ball arm model;

expressing a ball rod model on a billiard table scene model based on a hitting angle and hitting strength;

acquiring a standard ball bar model corresponding to the training course and representing the standard ball bar model on a billiard table scene model;

after all the images are expressed, the billiard table scene model is used as a target virtual picture and is output to the AR equipment;

the method further comprises the following steps:

after the target virtual picture is output to the AR equipment, the pressing force degree input by the user is received through the pressure sensor, and interaction with the user is realized according to the pressing force degree;

wherein, realize according to the pressing force degree with user's interdynamic, specifically include:

when the pressing force is greater than or equal to a preset first pressing force threshold value and smaller than a preset second pressing force threshold value, and the first keeping time for keeping the pressing force is greater than or equal to a preset first time threshold value, triggering a visual angle horizontal rotation mode;

adjusting the first sensitivity of the visual angle horizontal rotation in the visual angle horizontal rotation mode in real time according to the pressing force degree:

wherein v ishorizontalFirst sensitivity, v, for horizontal rotation of the viewing angle adjusted in real timehorizontal,0At a predetermined first initial sensitivity, fdepthIs the degree of pressing force, fdepth,0The initial pressing force is preset;

when the pressing force is larger than or equal to a second pressing force threshold value and the second keeping time kept by the pressing force is larger than or equal to a preset second time threshold value, triggering a visual angle vertical reciprocating rotation mode;

adjusting the second sensitivity of the visual angle vertical reciprocating rotation and the visual angle reciprocating rotation range in the visual angle vertical reciprocating rotation mode in real time according to the pressure force:

wherein v isverticalFor a second sensitivity, v, of vertical back-and-forth rotation of the vision adjusted in real timevertical,0At a predetermined second initial sensitivity, ViewupView for the maximum upward rotation angle in the vertical reciprocating rotation of the View angle adjusted in real timeup,0View for a preset initial angle value of upward rotationdownView for the minimum angle of downward rotation in the vertical back-and-forth rotation of the View angle adjusted in real timedown,0Is a preset initial angle value of downward rotation.

The billiard training system based on the hitting angle and force provided by the embodiment of the invention comprises:

the determining and projecting module is used for determining projection contents according to the operation instructions of the user and projecting the projection contents onto the table top of the billiard table through the projector;

the image recognition module is used for acquiring the image of the desktop, recognizing the image based on an image recognition technology and determining whether a user hits a ball;

the hitting angle and force determining module is used for determining the hitting angle and the hitting force of the tip of the ball rod at the moment of hitting the ball through a preset sensor if the ball is hit;

and the judging and reminding module is used for judging whether the striking angle and the striking force are correct or not, and reminding the user if the striking angle and the striking force are incorrect.

Preferably, the billiards training system based on the striking angle and force, the determining and projecting module performs the following operations:

acquiring and outputting a preset training course list;

receiving training courses selected by a user from a training course list;

acquiring a projection picture corresponding to a training course in a preset projection picture database;

and taking the projection picture as projection content.

Preferably, in the billiards training system based on the striking angle and force, the striking angle and force determining module performs the following operations:

collecting the hitting angle of the club tip at the moment of hitting the ball through a gyroscope;

the hitting force of the club tip at the moment of hitting the ball is collected through the pressure sensor.

Preferably, the billiard training system based on the hitting angle and force further comprises:

the fight matching module is used for receiving a fight request input by a user, triggering a fight mode, matching a proper fight object for the user, and starting fight after matching is successful;

the battle matching module executes the following operations:

selecting any other user as a candidate fight object when the fight object starts to be matched for the user;

acquiring a first scoring record of a user and a second scoring record of a candidate battle object;

calculating a matching index of the user and the battle object based on the first scoring record and the second scoring record:

wherein match is a matching index, vi,1Is the first score, v, of the ith scoring cycle in the first scoring recordi,2A second score of the ith scoring period in the second scoring record, n is the total number of scoring periods of the fighting mode, e1And e2Is a preset inspection threshold;

when the matching index is greater than or equal to a preset matching threshold value, matching is successful, and the candidate battle object is taken as a proper battle object;

when the matching index is smaller than the matching threshold value, the matching is failed, and the next user is continuously matched;

the method for calculating the score of any user in the ith scoring period of the fighting mode comprises the following steps:

wherein socreiThe scoring of the ith scoring period of the user in the fighting mode is carried out, tau is a preset time attenuation factor alphaiThe total number of wins, alpha, of the user in the ith scoring period of the fighting modei-1The total number of wins, t, of the user in the i-1 th scoring period of the fighting modeiFor the participation of the user in the ith scoring period of the fighting modeTotal number of races, ti-1The total number of times of contests, beta, of the user in the i-1 th scoring period of the fighting modei,jThe leading time length, beta, of the user in the jth winning of the ith scoring period of the fighting modei-1,jThe leading duration, sigma, of the user in the j winning of the ith-1 scoring period in the fight mode1And σ2Is a preset weight value, alpha0And beta0A preset initial assigned value.

Preferably, the billiard training system based on the hitting angle and force further comprises:

the AR module is used for determining a target virtual picture corresponding to the ball hitting moment and outputting the target virtual picture to the AR equipment;

the AR module performs operations comprising:

acquiring a first position of a mother ball and a second position of a target ball on a desktop at the moment of hitting the ball;

acquiring a first billiard ball model corresponding to a cue ball and a second billiard ball model corresponding to a target ball;

representing the first billiard ball model and the second billiard ball model on a preset billiard ball table scene model based on the first position and the second position respectively;

obtaining a preset ball arm model;

expressing a ball rod model on a billiard table scene model based on a hitting angle and hitting strength;

acquiring a standard ball bar model corresponding to the training course and representing the standard ball bar model on a billiard table scene model;

after all the images are expressed, the billiard table scene model is used as a target virtual picture and is output to the AR equipment;

the system further comprises:

the interaction module is used for receiving the pressing force input by the user through the pressure sensor after the target virtual picture is output to the AR equipment, and realizing interaction with the user according to the pressing force;

the interactive module executes the following operations:

when the pressing force is greater than or equal to a preset first pressing force threshold value and smaller than a preset second pressing force threshold value, and the first keeping time for keeping the pressing force is greater than or equal to a preset first time threshold value, triggering a visual angle horizontal rotation mode;

adjusting the first sensitivity of the visual angle horizontal rotation in the visual angle horizontal rotation mode in real time according to the pressing force degree:

wherein v ishorizontalFirst sensitivity, v, for horizontal rotation of the viewing angle adjusted in real timehorizontal,0At a predetermined first initial sensitivity, fdepthIs the degree of pressing force, fdepth,0The initial pressing force is preset;

when the pressing force is larger than or equal to a second pressing force threshold value and the second keeping time kept by the pressing force is larger than or equal to a preset second time threshold value, triggering a visual angle vertical reciprocating rotation mode;

adjusting the second sensitivity of the visual angle vertical reciprocating rotation and the visual angle reciprocating rotation range in the visual angle vertical reciprocating rotation mode in real time according to the pressure force:

wherein v isverticalFor a second sensitivity, v, of vertical back-and-forth rotation of the vision adjusted in real timevertical,0View for a preset second initial sensitivityupView for the maximum upward rotation angle in the vertical reciprocating rotation of the View angle adjusted in real timeup,0View for a preset initial angle value of upward rotationdownView for the minimum angle of downward rotation in the vertical back-and-forth rotation of the View angle adjusted in real timedown,0Is a preset initial angle value of downward rotation.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:

FIG. 1 is a flow chart of a billiards training method based on strike angle and force in an embodiment of the present invention;

fig. 2 is a schematic diagram of a billiards training system based on striking angle and force in an embodiment of the invention.

Detailed Description

The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.

The embodiment of the invention provides a billiard training method based on a hitting angle and force, which comprises the following steps of:

s1, determining projection content according to the operation instruction of the user and projecting the projection content onto the table top of the billiard table through the projector;

s2, acquiring an image of the desktop, identifying the image based on an image identification technology, and determining whether the user hits a ball;

s3, if the ball is hit, determining the hitting angle and the hitting force of the tip of the ball rod at the moment of hitting the ball through a preset sensor;

and S4, judging whether the striking angle and the striking force are correct or not, and if not, reminding the user.

The working principle of the technical scheme is as follows: a projector and a camera are arranged at least 1.7m above the center of the billiard table; the projector is used for projecting projection content; the camera is used for acquiring a video image of the billiard table top; the hitting moment specifically comprises the following steps: when the tip of the cue just falls on any billiard ball; the user may be alerted audibly to the user, for example: playing voices such as ' wrong hitting angle, please adjust slightly to the right and downwards, ' insufficient hitting force ' and the like, and determining the deviation of the hitting angle of the user and the like; can compare user's batting angle and the standard batting angle that corresponds and compare user's hitting power and preset standard power thereby learn to hit angle and hitting power and whether correct.

The beneficial effects of the above technical scheme are: the embodiment of the invention judges whether the hitting angle and force of the user at the moment of hitting the ball in the billiard training process are correct or not, and if not, accurately reminds the user, thereby solving the problem that the guidance of the billiard coach on the hitting angle and force is difficult to express orally and accurately, reducing the burden of the coach, and simultaneously, the student can also train the hitting angle and force when the coach is not at the moment.

The embodiment of the invention provides a billiard training method based on a hitting angle and force, which determines projection contents according to an operation instruction of a user, and specifically comprises the following steps:

acquiring and outputting a preset training course list;

receiving training courses selected by a user from a training course list;

acquiring a projection picture corresponding to a training course in a preset projection picture database;

and taking the projection picture as projection content.

The working principle of the technical scheme is as follows:

for example: when a user selects a training course of 'two-ball combined batting and bagging exercise' in a training course list through an operation terminal device (a computer, a smart phone, a tablet and the like), a projection picture corresponding to the training course is acquired, and the projection picture is specifically as follows: two light rings, one light ring indicates the placement position of the cue ball and is red in color, and the other light ring indicates the placement position of a target ball (a billiard ball to be hit by the cue ball) and is white in color; the user can place the billiards at the corresponding light rings.

The beneficial effects of the above technical scheme are: according to the embodiment of the invention, the corresponding projection picture is determined according to the training course selected by the user, and the user is instructed to put billiards.

The embodiment of the invention provides a billiard training method based on a hitting angle and force, which determines the hitting angle and the hitting force of a cue tip at the moment of hitting a ball through a preset sensor, and specifically comprises the following steps:

collecting the hitting angle of the club tip at the moment of hitting the ball through a gyroscope;

the hitting force of the club tip at the moment of hitting the ball is collected through the pressure sensor.

The working principle of the technical scheme is as follows:

a gyroscope and a pressure sensor are respectively arranged at the tip of the ball rod; the use of a gyroscope to collect the striking angle and the use of a pressure sensor to collect the striking force is the prior mature technology and is not described in detail.

The beneficial effects of the above technical scheme are: the embodiment of the invention can collect the hitting angle and force of the club tip.

The embodiment of the invention provides a billiard training method based on a hitting angle and force, which further comprises the following steps:

receiving a fight request input by a user, triggering a fight mode, matching a proper fight object for the user, and starting fight after matching is successful;

wherein, match a suitable object of fight for the user, specifically include:

selecting any other user as a candidate fight object when the fight object starts to be matched for the user;

acquiring a first scoring record of a user and a second scoring record of a candidate battle object;

calculating a matching index of the user and the battle object based on the first scoring record and the second scoring record:

wherein match is a matching index, vi,1Is the first score, v, of the ith scoring cycle in the first scoring recordi,2A second score of the ith scoring period in the second scoring record, n is the total number of scoring periods of the fighting mode, e1And e2Is a preset inspection threshold;

when the matching index is greater than or equal to a preset matching threshold value, matching is successful, and the candidate battle object is taken as a proper battle object;

when the matching index is smaller than the matching threshold value, the matching is failed, and the next user is continuously matched;

the method for calculating the score of any user in the ith scoring period of the fighting mode comprises the following steps:

wherein socreiThe scoring of the ith scoring period of the user in the fighting mode is carried out, tau is a preset time attenuation factor alphaiThe total number of wins, alpha, of the user in the ith scoring period of the fighting modei-1The total number of wins, t, of the user in the i-1 th scoring period of the fighting modeiThe total number of times of contests, t, of the user in the ith scoring period of the fighting modei-1The total number of times of contests, beta, of the user in the i-1 th scoring period of the fighting modei,jThe leading time length, beta, of the user in the jth winning of the ith scoring period of the fighting modei-1,jThe leading duration, sigma, of the user in the j winning of the ith-1 scoring period in the fight mode1And σ2Is a preset weight value, alpha0And beta0A preset initial assigned value.

The working principle of the technical scheme is as follows:

the fighting mode is specifically as follows: when the battle begins, the same projection content (such as practice of putting two balls into a bag for combined batting) is projected on the billiard table of each player through the projector, when a cue is firstly used for correctly batting (namely batting angle and force are both correct) a cue, the next gate is entered, and the winning of all gates is firstly completed; the scoring period can be understood as a season, if a certain player does not have a competition record in a certain season, the score of the player in the season is 0; test thresholds (e.g., 20 and 30) are used to assist in screening, and the initial assigned values can be set by the developer.

The beneficial effects of the above technical scheme are: the embodiment of the invention trains the users matched with the appropriate users together, so that the interactivity among the users is increased, the user who often wins is a opponent which is more difficult to match, the continuous growth of the user is facilitated, the user who often fails is a opponent which is easier to match, the training confidence is enhanced, the user training method is humanized, and the training effect of training the striking angle and the striking strength of the user is improved.

The embodiment of the invention provides a billiard training method based on a hitting angle and force, which further comprises the following steps:

determining a target virtual picture corresponding to the moment of hitting the ball and outputting the target virtual picture to the AR equipment;

the determining of the target virtual picture corresponding to the moment of hitting the ball and outputting the target virtual picture to the AR device specifically includes:

acquiring a first position of a mother ball and a second position of a target ball on a desktop at the moment of hitting the ball;

acquiring a first billiard ball model corresponding to a cue ball and a second billiard ball model corresponding to a target ball;

representing the first billiard ball model and the second billiard ball model on a preset billiard ball table scene model based on the first position and the second position respectively;

obtaining a preset ball arm model;

expressing a ball rod model on a billiard table scene model based on a hitting angle and hitting strength;

acquiring a standard ball bar model corresponding to the training course and representing the standard ball bar model on a billiard table scene model;

after all the images are expressed, the billiard table scene model is used as a target virtual picture and is output to the AR equipment;

the method further comprises the following steps:

after the target virtual picture is output to the AR equipment, the pressing force degree input by the user is received through the pressure sensor, and interaction with the user is realized according to the pressing force degree;

wherein, realize according to the pressing force degree with user's interdynamic, specifically include:

when the pressing force is greater than or equal to a preset first pressing force threshold value and smaller than a preset second pressing force threshold value, and the first keeping time for keeping the pressing force is greater than or equal to a preset first time threshold value, triggering a visual angle horizontal rotation mode;

adjusting the first sensitivity of the visual angle horizontal rotation in the visual angle horizontal rotation mode in real time according to the pressing force degree:

wherein v ishorizontalFirst sensitivity, v, for horizontal rotation of the viewing angle adjusted in real timehorizontal,0At a predetermined first initial sensitivity, fdepthIs the degree of pressing force, fdepth,0The initial pressing force is preset;

when the pressing force is larger than or equal to a second pressing force threshold value and the second keeping time kept by the pressing force is larger than or equal to a preset second time threshold value, triggering a visual angle vertical reciprocating rotation mode;

adjusting the second sensitivity of the visual angle vertical reciprocating rotation and the visual angle reciprocating rotation range in the visual angle vertical reciprocating rotation mode in real time according to the pressure force:

wherein v isverticalFor regulating in real timeThe latter vision vertically rotates the second sensitivity, vvertical,0View for a preset second initial sensitivityupView for the maximum upward rotation angle in the vertical reciprocating rotation of the View angle adjusted in real timeup,0View for a preset initial angle value of upward rotationdownView for the minimum angle of downward rotation in the vertical back-and-forth rotation of the View angle adjusted in real timedown,0Is a preset initial angle value of downward rotation.

The working principle of the technical scheme is as follows:

determining which ball is a cue ball or a target ball and determining the position of the cue ball or the position of the target ball may be accomplished using image recognition techniques; the first billiard ball model specifically comprises: three-dimensional animation of the cue ball; the second billiard ball model is specifically as follows: three-dimensional animation of the target ball; the billiard table scene model specifically comprises the following steps: a three-dimensional coordinate system is established by taking one corner of the billiard table as an original point, two edges of the billiard table surface adjacent to the corner are respectively an X axis and a Y axis, and the direction vertical to the billiard table surface is a Z axis; the ball rod model comprises: three-dimensional animation of the cue; for example: the larger the striking force of the user, the darker the color of the club model (for example: deep red), and the smaller the striking force, the lighter the color of the club model (light red); the standard ball bar model corresponding to the training course is specifically as follows: a club model is generated based on the standard striking angle and force corresponding to the training course; the AR device may be: AR glasses, etc.; the user can see the difference between the own club (club model) and the standard club (standard club model), so as to judge the more positive direction, and can also distinguish whether the batting force needs to be larger or smaller from the color so as to carry out corresponding adjustment; when a user wears AR glasses and lightly presses a remote control device with a pressure sensor arranged inside for a long time, a visual angle horizontal rotation mode is triggered, namely, a visual angle rotates around a billiard table scene model in a 360-degree mode along the horizontal direction, and the rotation speed (namely, the first sensitivity) is determined according to the real-time pressure of the user; when the visual angle is converted to the angle desired by the user, the user presses the remote control device internally provided with the pressure sensor for a long time to trigger the sleeping vertical reciprocating rotation mode, namely the time horizontal angle is fixed, the user continuously moves upwards and downwards in the vertical direction, the upward range, the downward range and the rotation speed (namely the second sensitivity) are determined according to the real-time pressing degree of the user, and the user can clearly see the specific difference between the own club and the standard club in the vertical direction.

The beneficial effects of the above technical scheme are: according to the embodiment of the invention, the hitting moment is made into the corresponding target virtual picture and is output to the AR device, a user can wear the AR device to repeat the hitting training moment, and the remote control device internally provided with the pressure sensor can be used for controlling the visual angle of the repeated disc, so that the desired viewing angle can be quickly and conveniently found, the direction to which the hitting angle of the club is adjusted can be known, the hitting strength is over or insufficient, the user experience is improved, the training effect of training the hitting angle and strength of the user is improved, and meanwhile, the intelligent effect is also improved.

The embodiment of the invention provides a billiard training system based on a hitting angle and force, as shown in fig. 2, the billiard training system comprises:

the determining and projecting module 1 is used for determining projection contents according to operation instructions of a user and projecting the projection contents onto a table top of a billiard table through a projector;

the image identification module 2 is used for acquiring the image of the desktop, identifying the image based on an image identification technology and determining whether a user hits a ball;

the hitting angle and force determining module 3 is used for determining the hitting angle and the hitting force of the tip of the ball rod at the moment of hitting the ball through a preset sensor if the ball is hit;

and the judging and reminding module 4 is used for judging whether the striking angle and the striking force are correct or not, and reminding the user if the striking angle and the striking force are incorrect.

The working principle of the technical scheme is as follows: a projector and a camera are arranged at least 1.7m above the center of the billiard table; the projector is used for projecting projection content; the camera is used for acquiring a video image of the billiard table top; the hitting moment specifically comprises the following steps: when the tip of the cue just falls on any billiard ball; the user may be alerted audibly to the user, for example: playing voices such as ' wrong hitting angle, please adjust slightly to the right and downwards, ' insufficient hitting force ' and the like, and determining the deviation of the hitting angle of the user and the like; can compare user's batting angle and the standard batting angle that corresponds and compare user's hitting power and preset standard power thereby learn to hit angle and hitting power and whether correct.

The beneficial effects of the above technical scheme are: the embodiment of the invention judges whether the hitting angle and force of the user at the moment of hitting the ball in the billiard training process are correct or not, and if not, accurately reminds the user, thereby solving the problem that the guidance of the billiard coach on the hitting angle and force is difficult to express orally and accurately, reducing the burden of the coach, and simultaneously, the student can also train the hitting angle and force when the coach is not at the moment.

The embodiment of the invention provides a billiards training system based on a striking angle and force, wherein a determining and projecting module 1 executes the following operations:

acquiring and outputting a preset training course list;

receiving training courses selected by a user from a training course list;

acquiring a projection picture corresponding to a training course in a preset projection picture database;

and taking the projection picture as projection content.

The working principle of the technical scheme is as follows:

for example: when a user selects a training course of 'two-ball combined batting and bagging exercise' in a training course list through an operation terminal device (a computer, a smart phone, a tablet and the like), a projection picture corresponding to the training course is acquired, and the projection picture is specifically as follows: two light rings, one light ring indicates the placement position of the cue ball and is red in color, and the other light ring indicates the placement position of a target ball (a billiard ball to be hit by the cue ball) and is white in color; the user can place the billiards at the corresponding light rings.

The beneficial effects of the above technical scheme are: according to the embodiment of the invention, the corresponding projection picture is determined according to the training course selected by the user, and the user is instructed to put billiards.

The embodiment of the invention provides a billiard training system based on a striking angle and force, wherein a striking angle and force determining module 3 executes the following operations:

collecting the hitting angle of the club tip at the moment of hitting the ball through a gyroscope;

the hitting force of the club tip at the moment of hitting the ball is collected through the pressure sensor.

The working principle of the technical scheme is as follows:

a gyroscope and a pressure sensor are respectively arranged at the tip of the ball rod; the use of a gyroscope to collect the striking angle and the use of a pressure sensor to collect the striking force is the prior mature technology and is not described in detail.

The beneficial effects of the above technical scheme are: the embodiment of the invention can collect the hitting angle and force of the club tip.

The embodiment of the invention provides a billiards training system based on a hitting angle and force, which further comprises:

the fight matching module is used for receiving a fight request input by a user, triggering a fight mode, matching a proper fight object for the user, and starting fight after matching is successful;

the battle matching module executes the following operations:

selecting any other user as a candidate fight object when the fight object starts to be matched for the user;

acquiring a first scoring record of a user and a second scoring record of a candidate battle object;

calculating a matching index of the user and the battle object based on the first scoring record and the second scoring record:

wherein match is a matching index, vi,1Is the first score of the ith scoring cycle in the first scoring record,vi,2a second score of the ith scoring period in the second scoring record, n is the total number of scoring periods of the fighting mode, e1And e2Is a preset inspection threshold;

when the matching index is greater than or equal to a preset matching threshold value, matching is successful, and the candidate battle object is taken as a proper battle object;

when the matching index is smaller than the matching threshold value, the matching is failed, and the next user is continuously matched;

the method for calculating the score of any user in the ith scoring period of the fighting mode comprises the following steps:

wherein socreiThe scoring of the ith scoring period of the user in the fighting mode is carried out, tau is a preset time attenuation factor alphaiThe total number of wins, alpha, of the user in the ith scoring period of the fighting modei-1The total number of wins, t, of the user in the i-1 th scoring period of the fighting modeiThe total number of times of contests, t, of the user in the ith scoring period of the fighting modei-1The total number of times of contests, beta, of the user in the i-1 th scoring period of the fighting modei,jThe leading time length, beta, of the user in the jth winning of the ith scoring period of the fighting modei-1,jThe leading duration, sigma, of the user in the j winning of the ith-1 scoring period in the fight mode1And σ2Is a preset weight value, alpha0And beta0A preset initial assigned value.

The working principle of the technical scheme is as follows:

the fighting mode is specifically as follows: when the battle begins, the same projection content (such as practice of putting two balls into a bag for combined batting) is projected on the billiard table of each player through the projector, when a cue is firstly used for correctly batting (namely batting angle and force are both correct) a cue, the next gate is entered, and the winning of all gates is firstly completed; the scoring period can be understood as a season, if a certain player does not have a competition record in a certain season, the score of the player in the season is 0; test thresholds (e.g., 20 and 30) are used to assist in screening, and the initial assigned values can be set by the developer.

The beneficial effects of the above technical scheme are: the embodiment of the invention trains the users matched with the appropriate users together, so that the interactivity among the users is increased, the user who often wins is a opponent which is more difficult to match, the continuous growth of the user is facilitated, the user who often fails is a opponent which is easier to match, the training confidence is enhanced, the user training method is humanized, and the training effect of training the striking angle and the striking strength of the user is improved.

The embodiment of the invention provides a billiards training system based on a hitting angle and force, which further comprises:

the AR module is used for determining a target virtual picture corresponding to the ball hitting moment and outputting the target virtual picture to the AR equipment;

the AR module performs operations comprising:

acquiring a first position of a mother ball and a second position of a target ball on a desktop at the moment of hitting the ball;

acquiring a first billiard ball model corresponding to a cue ball and a second billiard ball model corresponding to a target ball;

representing the first billiard ball model and the second billiard ball model on a preset billiard ball table scene model based on the first position and the second position respectively;

obtaining a preset ball arm model;

expressing a ball rod model on a billiard table scene model based on a hitting angle and hitting strength;

acquiring a standard ball bar model corresponding to the training course and representing the standard ball bar model on a billiard table scene model;

after all the images are expressed, the billiard table scene model is used as a target virtual picture and is output to the AR equipment;

the system further comprises:

the interaction module is used for receiving the pressing force input by the user through the pressure sensor after the target virtual picture is output to the AR equipment, and realizing interaction with the user according to the pressing force;

the interactive module executes the following operations:

when the pressing force is greater than or equal to a preset first pressing force threshold value and smaller than a preset second pressing force threshold value, and the first keeping time for keeping the pressing force is greater than or equal to a preset first time threshold value, triggering a visual angle horizontal rotation mode;

adjusting the first sensitivity of the visual angle horizontal rotation in the visual angle horizontal rotation mode in real time according to the pressing force degree:

wherein v ishorizontalFirst sensitivity, v, for horizontal rotation of the viewing angle adjusted in real timehorizontal,0At a predetermined first initial sensitivity, fdepthIs the degree of pressing force, fdepth,0The initial pressing force is preset;

when the pressing force is larger than or equal to a second pressing force threshold value and the second keeping time kept by the pressing force is larger than or equal to a preset second time threshold value, triggering a visual angle vertical reciprocating rotation mode;

adjusting the second sensitivity of the visual angle vertical reciprocating rotation and the visual angle reciprocating rotation range in the visual angle vertical reciprocating rotation mode in real time according to the pressure force:

wherein v isverticalFor a second sensitivity, v, of vertical back-and-forth rotation of the vision adjusted in real timevertical,0At a predetermined second initial sensitivity, ViewupView for the maximum upward rotation angle in the vertical reciprocating rotation of the View angle adjusted in real timeup,0View for a preset initial angle value of upward rotationdownFor the direction of the vertical back-and-forth rotation of the real-time adjusted visual angleMinimum angle of down-rotation, Viewdown,0Is a preset initial angle value of downward rotation.

The working principle of the technical scheme is as follows:

determining which ball is a cue ball or a target ball and determining the position of the cue ball or the position of the target ball may be accomplished using image recognition techniques; the first billiard ball model specifically comprises: three-dimensional animation of the cue ball; the second billiard ball model is specifically as follows: three-dimensional animation of the target ball; the billiard table scene model specifically comprises the following steps: a three-dimensional coordinate system is established by taking one corner of the billiard table as an original point, two edges of the billiard table surface adjacent to the corner are respectively an X axis and a Y axis, and the direction vertical to the billiard table surface is a Z axis; the ball rod model comprises: three-dimensional animation of the cue; for example: the larger the striking force of the user, the darker the color of the club model (for example: deep red), and the smaller the striking force, the lighter the color of the club model (light red); the standard ball bar model corresponding to the training course is specifically as follows: a club model is generated based on the standard striking angle and force corresponding to the training course; the AR device may be: AR glasses, etc.; the user can see the difference between the own club (club model) and the standard club (standard club model), so as to judge the more positive direction, and can also distinguish whether the batting force needs to be larger or smaller from the color so as to carry out corresponding adjustment; when a user wears AR glasses and lightly presses a remote control device with a pressure sensor arranged inside for a long time, a visual angle horizontal rotation mode is triggered, namely, a visual angle rotates around a billiard table scene model in a 360-degree mode along the horizontal direction, and the rotation speed (namely, the first sensitivity) is determined according to the real-time pressure of the user; when the visual angle is converted to the angle desired by the user, the user presses the remote control device internally provided with the pressure sensor for a long time to trigger the sleeping vertical reciprocating rotation mode, namely the time horizontal angle is fixed, the user continuously moves upwards and downwards in the vertical direction, the upward range, the downward range and the rotation speed (namely the second sensitivity) are determined according to the real-time pressing degree of the user, and the user can clearly see the specific difference between the own club and the standard club in the vertical direction.

The beneficial effects of the above technical scheme are: according to the embodiment of the invention, the hitting moment is made into the corresponding target virtual picture and is output to the AR device, a user can wear the AR device to repeat the hitting training moment, and the remote control device internally provided with the pressure sensor can be used for controlling the visual angle of the repeated disc, so that the desired viewing angle can be quickly and conveniently found, the direction to which the hitting angle of the club is adjusted can be known, the hitting strength is over or insufficient, the user experience is improved, the training effect of training the hitting angle and strength of the user is improved, and meanwhile, the intelligent effect is also improved.

It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:字牌麻将

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!