CN109821243A - A method of simulation reappears shooting process - Google Patents
A method of simulation reappears shooting process Download PDFInfo
- Publication number
- CN109821243A CN109821243A CN201910075713.7A CN201910075713A CN109821243A CN 109821243 A CN109821243 A CN 109821243A CN 201910075713 A CN201910075713 A CN 201910075713A CN 109821243 A CN109821243 A CN 109821243A
- Authority
- CN
- China
- Prior art keywords
- shooting
- person
- point position
- data
- angle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000008569 process Effects 0.000 title claims abstract description 34
- 238000004088 simulation Methods 0.000 title claims abstract description 32
- 210000000707 wrist Anatomy 0.000 claims abstract description 26
- 210000002310 elbow joint Anatomy 0.000 claims description 8
- 238000002360 preparation method Methods 0.000 claims description 2
- 230000003993 interaction Effects 0.000 abstract description 5
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 230000036544 posture Effects 0.000 description 9
- 230000035807 sensation Effects 0.000 description 5
- 230000000392 somatic effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 230000003238 somatosensory effect Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of methods that simulation reappears shooting process, it is related to human-computer interaction technique field, including: the node data of the wrist and shoulder during shooting person shoots persistently is recorded using data acquisition equipment, further include: step S1, judged to obtain the prime of shooting person according to node data, and wrist location at this time is recorded;Step S2 judges to obtain the second of shooting person according to node data, and wrist location at this time is recorded;Step S3 judges to obtain the tierce of shooting person according to node data, and wrist location at this time is recorded;Step S4 handles to obtain the bearing data and exercise data of basketball according to the position of record and shoulder position;Step S5 simulates shooting process according to exercise data and bearing data.The beneficial effect of above-mentioned technical proposal is: simulation reappears shooting person out and includes shooting angle, shooting dynamics and judge whether entire shooting process in shooting.
Description
Technical field
The present invention relates to a kind of methods that human-computer interaction technique field more particularly to simulation reappear shooting process.
Background technique
With the continuous development of human-computer interaction technology, somatic sensation television game becomes a kind of more deep by the favorite innovation of numerous players
Type man-machine interactive game.Somatic sensation television game is that the body of player is analyzed by camera data using video actions capturing technology
Body movement or gesture motion, realize direct human-computer interaction effect.Therefore game just can inevitably be met when developing somatic sensation television game
Skeleton control problem in design and fabrication, in the prior art, somatosensory device breach traditional mouse and keyboard and hand over
Mutual mode directly completes interaction by the tracking of skeleton, provides possibility for the control of 3D skeleton.However in existing skill
In art, the movement in user's movement can be simulated, the speed and strength in user's motion process can not be but simulated, than
Such as, the act of shooting of shooting person out can be reappeared in the prior art, cannot but simulate angle when reappearing shooting person's shooting out
And dynamics, and judge whether the movement is act of shooting.
Summary of the invention
According to the above-mentioned problems in the prior art, a kind of method of simulation reproduction shooting process is now provided, it is intended to real
Now simulation, which reappears, to be included: act of shooting, shooting angle, shooting dynamics and judges whether entire shooting process in shooting.
Above-mentioned technical proposal specifically includes:
A method of simulation reappears shooting process, wherein persistently records shooting person using data acquisition equipment and executes throwing
The node data of wrist and shoulder in basket action process, further includes:
Step S1 judges to obtain the prime that shooting person prepares shooting according to the node data, and by the shooting
Wrist location when person is in the prime is recorded as the first record point position;
Step S2 judges to obtain second of shooting person during shooting according to the node data, and will be described
Wrist location when shooting person is in the second is recorded as the second record point position;
Step S3 judges to obtain the tierce after shooting person completes act of shooting according to the node data, and by institute
It states wrist location when shooting person is in the tierce and is recorded as third record point position;
Step S4 handles to obtain for simulating basket according to the shoulder position that the third records point position and the shooting person
The bearing data of ball movement, and handle to obtain for mould according to the first record point position and third record point position
The exercise data of quasi- basketball movement;
Step S5 simulates the shooting of this shooting of the shooting person according to the exercise data and the bearing data
Journey.
Preferably, wherein the node data further includes the wrist to elbow joint and the shoulder to the elbow joint
The angle formed between line;
In the step S1, the mode that judgement obtains the prime is specifically included:
Whether step S11 judges the angle less than the first predetermined angle, and it is default in the angle to be less than described first
Judge to obtain the prime when angle.
Preferably, wherein in the step S2, the mode that judgement obtains the second is specifically included:
Step S21, judges whether the angle is changed to the second predetermined angle in the first preset time, and in the folder
Angle judges to obtain the second when being changed to second predetermined angle in first preset time, if can not judge
The second is obtained, then return step S1.
Preferably, wherein in the step S3, the mode that judgement obtains the tierce is specifically included:
Step S31, judges whether the angle is changed to be greater than third predetermined angle in the second preset time, and described
Shoulder position is greater than the first preset length to the length that the third records point position:
If so, judgement obtains the tierce;
If it is not, then returning to the step S1;
Wherein, the third predetermined angle is greater than second predetermined angle, and second predetermined angle is greater than described the
One predetermined angle.
Preferably, wherein in the step S4, by by the shoulder position and the third record point position carry out to
It measures the mode subtracted each other and obtains the bearing data.
Preferably, wherein in the step S4, the exercise data is calculated according to the following formula:
Wherein,
V is for indicating the exercise data;
S is for indicating that the first record point position to the third records the distance between point position;
T is used to indicate that the wrist of the shooting person to record point position from the first record point position movement to the third
Time.
Preferably, wherein the data acquisition equipment is Kinect device.
Preferably, wherein in the step S5, the throwing of this shooting of the shooting person is simulated by Unity simulation tool
Basket process.
Preferably, wherein previously according to the height of the shooting person, corresponding first preset length is set.
The beneficial effect of above-mentioned technical proposal is: a kind of method of simulation reproduction shooting process is provided, in Kinect device
It on the basis of Unity simulation tool, is combined by algorithm with practical, realizing that simulation reappears shooting person out includes shooting angle
Degree, shooting dynamics and judge whether entire shooting process in shooting.
Detailed description of the invention
Fig. 1 is to simulate the flow diagram of shooting process in presently preferred embodiments of the present invention;
Fig. 2 is the schematic diagram of prime in presently preferred embodiments of the present invention;
Fig. 3 is the schematic diagram of second in presently preferred embodiments of the present invention;
Fig. 4 is the schematic diagram of tierce in presently preferred embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its
His embodiment, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
In preferred embodiment of the invention, it is based on the above-mentioned problems in the prior art, a kind of simulation is now provided
The method for reappearing shooting process, including:
As shown in Fig. 2, persistently recorded using data acquisition equipment shooting person execute act of shooting during wrist 1 and
The node data of shoulder 2, it is further comprising the steps of, as shown in Figure 1:
Step S1 judges to obtain the prime that shooting person prepares shooting according to node data, and shooting person is in the
1 position of wrist when one posture is recorded as the first record point position;
Step S2, as shown in Fig. 2, judged to obtain second of shooting person during shooting according to node data, and
1 position of wrist when shooting person is in second is recorded as the second record point position;
Step S3, as shown in figure 3, judged to obtain the tierce after shooting person completes act of shooting according to node data,
And 1 position of wrist when shooting person is in tierce is recorded as third record point position;
Step S4 handles to obtain for simulating basketball movement according to 2 position of shoulder that third records point position and shooting person
Bearing data, and according to first record point position and third record point a position handle to obtain the fortune for simulating basketball movement
Dynamic data;
Step S5, according to the shooting process of this shooting of exercise data and bearing data simulation shooting person.
In one particular embodiment of the present invention, our primes are referred to as to prepare shooting posture, and second is referred to as
It is shooting posture, tierce is referred to as that posture is completed in shooting.
In this specific embodiment, to second record point a position, we only keep a record it is without any processing, its object is to
It avoids being identified as throwing by non-act of shooting mistakes such as the postures of shooting person's amendment shooting by record the second record point position
Basket movement improves the accuracy judged whether in shooting to increase the accuracy of identification to act of shooting.
In preferred embodiment of the invention, node data further includes that wrist 1 connects to elbow joint and shoulder 2 to elbow joint
The angle 3 formed between line.
In step S1, the mode that judgement obtains prime is specifically included:
Step S11 judges that angle 3 whether less than the first predetermined angle, and judges when angle 3 is less than the first predetermined angle
Obtain prime.
In a specific embodiment of the invention, the angle value of the first predetermined angle is 45 degree, the first predetermined angle
Angle value be to shooting posture carry out big data statistics after, and combine reality in, the practical throwing of experiencer
The statistical value upper limit that basket situation obtains.
In preferred embodiment of the invention, in step S2, the mode that judgement obtains second is specifically included:
Step S21, judges whether angle 3 is changed to the second predetermined angle in the first preset time, and in angle 3
It is changed to judge to obtain second when the second predetermined angle in one preset time, if can not judge to obtain second, return
Return step S1.
In a specific embodiment, the specific value of the first preset time and the second predetermined angle is also to basketball
Sportsman shoots after posture progress big data statistics, and combines in reality, the statistical value that the practical shooting situation of experiencer obtains.
In this specific embodiment, the specific value of the second predetermined angle is 90 degree.
In preferred embodiment of the invention, in step S3, the mode that judgement obtains tierce is specifically included:
Step S31, judges whether angle 3 is changed to be greater than third predetermined angle, and 2, shoulder in the second preset time
The length for setting third record point position is greater than the first preset length:
If so, judgement obtains tierce;
If it is not, then return step S1;
Wherein, the third predetermined angle is greater than second predetermined angle, and second predetermined angle is greater than described the
One predetermined angle.
In a specific embodiment, the second preset time and third predetermined angle are thrown still through to basket baller
It after basket posture carries out big data statistics, and combines in reality, the statistical value that the practical shooting situation of experiencer obtains.
In this specific embodiment, third predetermined angle is 160 degree.
In this specific embodiment, it by the way that the Rule of judgment of the first preset length is arranged, further improves and judges whether
It is the accuracy in shooting, avoid the non-act of shooting mistakes such as the posture that shooting person is corrected to shooting is identified as act of shooting.
In preferred embodiment of the invention, in step S4, by the way that 2 position of shoulder and third record point position are carried out
The mode that vector subtracts each other obtains bearing data.
In a specific embodiment, by the human body coordinate capturing technology of data acquisition equipment Kinect, shoulder is captured
The space coordinate of space coordinate and third the record point of wing 2, the method subtracted each other using space coordinate vector, available basketball are existed
Direction of motion data when selling.
In preferred embodiment of the invention, in step S4, exercise data is calculated according to the following formula:
Wherein,
V is for indicating exercise data;
In a specific embodiment, when v represents shooting person basketball is launched hand, the instantaneous velocity of basketball.
Further, because the dynamics that uses is bigger when shooting person shoots, instantaneous velocity v when basketball is sold is bigger,
Therefore the instantaneous velocity v when basketball is sold also can be considered shooting dynamics of shooting person during shooting.
S is for indicating that the first record point position to third records the distance between point position, in a specific embodiment
In, distance s records point by data acquisition equipment Kinect the first record point position coordinate value recorded and third
Coordinate value is set to be calculated;
T is used to indicate that the wrist of shooting person to record the time of point position from the first record point position movement to third, one
In a specific embodiment, which is obtained by data acquisition equipment Kinect.
In a specific embodiment, we are it is assumed herein that wrist moves to third record point from the first record point
Process is the uniformly accelrated rectilinear motion that an initial velocity is zero, simplifies the movement rail of wrist complexity during the shooting of reality
Mark facilitates simulation to calculate, and can use speed and displacement formula by simplifying us, basketball is calculated and is leaving shooting person's hand
Instantaneous velocity v when the palm, this data are the exercise data of basketball.
In preferred embodiment of the invention, data acquisition equipment is Kinect device.
In this embodiment, Kinect device is a kind of powerful 3D body-sensing video camera, it is built-in, and instant dynamic captures,
The functions such as image identification, can identify rapidly human skeleton, and Kinect device passes through two arms of every frame recording shooting person
Wrist, shoulder and the wrist of shooting person can be obtained further according to the numerical value fed back in conjunction with its internal algorithm for space coordinate
To elbow joint and shoulder to the numerical value of the node datas such as the angle formed between elbow joint line.
In the preferred embodiment, in step S5, by Unity simulation tool simulation shooting person, this is shot
Shooting process.
In this embodiment, Unity is the professional game engine integrated comprehensively, it can not only simulate by
A whole set of act of shooting of the shooting person that Kinect device captures during shooting can also pass through the powerful physics built in it
Engine simulation goes out after basketball is sold, suffered centrifugal force in motion process, further, in conjunction with above-mentioned technical proposal institute
The bearing data and exercise data of obtained basketball, simulate the motion profile after basketball is sold, to completely simulate
Including act of shooting, shooting angle, shooting dynamics and judge whether entire shooting process in shooting.
In preferred embodiment of the invention, previously according to the height of shooting person, corresponding first preset length is set.
In a specific embodiment, the shooting person of different heights can select corresponding default length according to oneself height
Angle value.
In this specific embodiment, the correspondence numerical value of the first preset length is being thrown by the basket baller to different heights
After 2 position of shoulder carries out big data statistics to the length that third records point position during basket, and combine in reality, corresponding height
The statistical value lower limit that actual numerical value of experiencer during actually shooting obtains.
In conclusion the beneficial effect of the technical program is: a kind of method of simulation reproduction shooting process is provided,
On the basis of Kinect device and Unity simulation tool, is combined by algorithm with practical, realize that simulation reappears shooting person's packet out
It includes shooting angle, shooting dynamics and judges whether entire shooting process in shooting.
For in conjunction with Kinect device and Unity simulation tool, come the method for simulating reproduction speed and dynamics, it may
The upsurge of somatic sensation television game is started once again, and further expands the application field of somatosensory device, for example, we can not have to
Door, makes us the Basketball Match of warm blood, or come one by way of internet connection with the friend of oneself come one at home
The track and field sports raced against time of field are experienced in conjunction with the full immersion of somatic sensation television game, along with simulating through the above technical solution
The movement velocity and movement dynamics of user, will greatly enhance the user experience.
The foregoing is merely preferred embodiments of the present invention, are not intended to limit embodiments of the present invention and protection model
It encloses, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content
Equivalent replacement and obviously change obtained scheme, should all be included within the scope of the present invention.
Claims (9)
1. a kind of method that simulation reappears shooting process, which is characterized in that persistently record shooting person using data acquisition equipment and hold
The node data of wrist and shoulder during row act of shooting, further includes:
Step S1 judges to obtain the prime of shooting person's preparation shooting according to the node data, and the shooting person is located
The wrist location when prime is recorded as the first record point position;
Step S2 judges to obtain second of shooting person during shooting according to the node data, and by the shooting
Wrist location when person is in the second is recorded as the second record point position;
Step S3 judges to obtain the tierce after shooting person completes act of shooting according to the node data, and by the throwing
Wrist location when basket person is in the tierce is recorded as third record point position;
Step S4 handles to obtain for simulating basketball fortune according to the shoulder position that the third records point position and the shooting person
Dynamic bearing data, and handle to obtain for simulating basket according to the first record point position and third record point position
The exercise data of ball movement;
Step S5 simulates the shooting process of this shooting of the shooting person according to the exercise data and the bearing data.
2. the method that a kind of simulation according to claim 1 reappears shooting process, which is characterized in that the node data is also
Including the wrist to elbow joint and the shoulder to the angle formed between the elbow joint line;
In the step S1, the mode that judgement obtains the prime is specifically included:
Step S11, judge the angle whether less than the first predetermined angle, and the angle be less than first predetermined angle
When judge to obtain the prime.
3. the method that a kind of simulation according to claim 2 reappears shooting process, which is characterized in that in the step S2,
The mode that judgement obtains the second specifically includes:
Step S21, judges whether the angle is changed to the second predetermined angle in the first preset time, and exists in the angle
It is changed to judge to obtain the second when second predetermined angle in first preset time, if can not judge to obtain
The second, then return step S1.
4. the method that a kind of simulation according to claim 3 reappears shooting process, which is characterized in that in the step S3,
The mode that judgement obtains the tierce specifically includes:
Step S31, judges whether the angle is changed to be greater than third predetermined angle, and the shoulder in the second preset time
Position is greater than the first preset length to the length that the third records point position:
If so, judgement obtains the tierce;
If it is not, then returning to the step S1;
Wherein, the third predetermined angle is greater than second predetermined angle, and it is pre- that second predetermined angle is greater than described first
If angle.
5. the method that a kind of simulation according to claim 1 reappears shooting process, which is characterized in that in the step S4,
It carries out obtaining the bearing data by way of vector subtracts each other by the shoulder position and third record point position.
6. the method that a kind of simulation according to claim 1 reappears shooting process, which is characterized in that
In the step S4, the exercise data is calculated according to the following formula:
Wherein,
V is for indicating the exercise data;
S is for indicating that the first record point position to the third records the distance between point position;
T be used to indicate the wrist of the shooting person recorded from the first record point position movement to the third point position when
Between.
7. the method that a kind of simulation according to claim 1 reappears shooting process, which is characterized in that the data acquisition is set
Standby is Kinect device.
8. the method that a kind of simulation according to claim 1 reappears shooting process, which is characterized in that in the step S5,
The shooting process of this shooting of the shooting person is simulated by Unity simulation tool.
9. the method that a kind of simulation according to claim 4 reappears shooting process, which is characterized in that previously according to the throwing
Corresponding first preset length is arranged in the height of basket person.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910075713.7A CN109821243A (en) | 2019-01-25 | 2019-01-25 | A method of simulation reappears shooting process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910075713.7A CN109821243A (en) | 2019-01-25 | 2019-01-25 | A method of simulation reappears shooting process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109821243A true CN109821243A (en) | 2019-05-31 |
Family
ID=66862463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910075713.7A Pending CN109821243A (en) | 2019-01-25 | 2019-01-25 | A method of simulation reappears shooting process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109821243A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111539294A (en) * | 2020-04-17 | 2020-08-14 | 广东世宇科技股份有限公司 | Shooting detection method and device, electronic equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090149281A1 (en) * | 2007-12-10 | 2009-06-11 | Victor Johnson | Basketball and soccer training device and associated method |
CN105920818A (en) * | 2016-05-17 | 2016-09-07 | 吉首大学 | Basket shooting training system and method |
CN106078752A (en) * | 2016-06-27 | 2016-11-09 | 西安电子科技大学 | Method is imitated in a kind of anthropomorphic robot human body behavior based on Kinect |
CN107220608A (en) * | 2017-05-22 | 2017-09-29 | 华南理工大学 | What a kind of basketball action model was rebuild and defended instructs system and method |
CN108325192A (en) * | 2018-03-08 | 2018-07-27 | 广州禅泉医药科技发展有限公司 | A kind of Basketball Intellectual training method and its shooting trainer |
-
2019
- 2019-01-25 CN CN201910075713.7A patent/CN109821243A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090149281A1 (en) * | 2007-12-10 | 2009-06-11 | Victor Johnson | Basketball and soccer training device and associated method |
CN105920818A (en) * | 2016-05-17 | 2016-09-07 | 吉首大学 | Basket shooting training system and method |
CN106078752A (en) * | 2016-06-27 | 2016-11-09 | 西安电子科技大学 | Method is imitated in a kind of anthropomorphic robot human body behavior based on Kinect |
CN107220608A (en) * | 2017-05-22 | 2017-09-29 | 华南理工大学 | What a kind of basketball action model was rebuild and defended instructs system and method |
CN108325192A (en) * | 2018-03-08 | 2018-07-27 | 广州禅泉医药科技发展有限公司 | A kind of Basketball Intellectual training method and its shooting trainer |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111539294A (en) * | 2020-04-17 | 2020-08-14 | 广东世宇科技股份有限公司 | Shooting detection method and device, electronic equipment and computer readable storage medium |
CN111539294B (en) * | 2020-04-17 | 2022-11-15 | 广东世宇科技股份有限公司 | Shooting detection method and device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240058691A1 (en) | Method and system for using sensors of a control device for control of a game | |
US10821347B2 (en) | Virtual reality sports training systems and methods | |
US20240100445A1 (en) | Virtual reality simulation of a live-action sequence | |
US9448634B1 (en) | System and method for providing rewards to a user in a virtual space based on user performance of gestures | |
US11826628B2 (en) | Virtual reality sports training systems and methods | |
CN104394949A (en) | Web-based game platform with mobile device motion sensor input | |
JP2011508290A (en) | Motion animation method and apparatus | |
US20230245366A1 (en) | 3d avatar generation using biomechanical analysis | |
US11935330B2 (en) | Object fitting using quantitative biomechanical-based analysis | |
US11103771B1 (en) | Motion capture compression suit | |
Tisserand et al. | Preservation and gamification of traditional sports | |
CN105531003B (en) | Simulator and analogy method | |
CN109821243A (en) | A method of simulation reappears shooting process | |
Sasaki et al. | Exemposer: Predicting poses of experts as examples for beginners in climbing using a neural network | |
CN109765998A (en) | Method of estimating motion, equipment and storage medium based on VR and motion capture | |
Bogdanovych et al. | A novel approach to sports oriented video games with real-time motion streaming | |
Jayaraj | Improving the immersion in a virtual reality batting simulator with real-time performance capture and haptics | |
Silva et al. | An interaction mechanism for virtual reality based on upper limbs motions tracking using depth cameras and inertial sensors | |
Moon et al. | Designing AR game enhancing interactivity between virtual objects and hand for overcoming space limit | |
Li et al. | Visibility Analysis on Swing Motion of the Golf Player Based on Kinect |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190531 |