Positioning and tracking method for virtual reality tennis ball
By acquiring and analyzing racket posture and positioning signals, combining scene image information, real-time data is formed to display standard tennis postures in virtual reality environments, the problem of tennis sport tracking accuracy in virtual reality is solved, and user experience and teaching efficiency are improved.
Patent Information
- Application Number
- CN202411358765.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-10
AI Technical Summary
The prior art is difficult to achieve accurate tennis sport tracking in a virtual reality environment, affecting users' immersion and sports experience.
By obtaining racket posture signals, racket positioning signals and scene real-time images, analyzing and identifying object feature information, fusing them to form real-time data, and transmitting them to smart devices to generate posture correction signals to display standard tennis postures in virtual scenes.
It realizes the precise positioning of virtual reality tennis, enhances immersion and sports experience, is suitable for teaching and multiple usage needs, is simple to implement and has good versatility.
Abstract
Description
Technical Field
[0001] The present invention relates to the field of virtual reality technology, and in particular to a positioning and tracking method for virtual reality tennis. Background Art
[0002] With the rapid development of virtual reality (VR) technology, various virtual environments can be simulated through various VR devices that have been designed, allowing users to experience a variety of rich game content in the simulated virtual environment. At this time, in order to ensure the user's real movement experience in the VR device, it is necessary to track the position of each interactive device in the VR device (such as a head-mounted display, a handle, etc.) as the user moves, so as to simulate the user's movement process in the virtual environment.
[0003] Therefore, those skilled in the art are in urgent need of designing a positioning and tracking method for virtual reality tennis to achieve precise positioning so as to simulate the movement process of the user in a virtual environment. Summary of the invention
[0004] In view of the above shortcomings, the technical problem to be solved by the present invention is: to provide a positioning and tracking method for virtual reality tennis, which realizes precise positioning, enhances the sense of immersion, and accurately simulates the movement process of the user in the virtual environment.
[0005] In order to solve the above technical problems, the technical solution of the present invention is:
[0006] A positioning and tracking method for virtual reality tennis, comprising the following steps:
[0007] S10, obtaining a racket posture signal, a racket positioning signal and a real-time image of the scene;
[0008] S20, analyzing and identifying the real-time image of the scene, and obtaining feature information of objects and background in the scene;
[0009] S30, fusing the racket posture signal and the racket positioning signal into racket data;
[0010] S40, fusing the object feature information, the background feature information and the racket data to form real-time fused data;
[0011] S50, transmitting real-time fusion data to smart devices;
[0012] S60, the smart device displays a corresponding content scene according to the received real-time fusion data;
[0013] S70, the intelligent device generates a corresponding posture correction signal according to the real-time fusion data;
[0014] S80: Displaying a standard tennis posture in a content scene according to the posture correction signal.
[0015] Preferably, the racket posture signal includes a racket swing acceleration, a racket swing angular velocity and a racket hitting the ball signal.
[0016] Preferably, the positioning tracking method further comprises the following steps:
[0017] Generating and storing training data according to the swing acceleration, the swing angular velocity and the racket hitting the ball signal;
[0018] Then get the current time;
[0019] Determine whether the current time is the preset training data transmission time;
[0020] If the current time is the training data transmission time, the training data is transmitted to the remote terminal.
[0021] The preferred method further comprises the following steps:
[0022] Generating and storing training data according to the swing acceleration, the swing angular velocity and the racket hitting the ball signal;
[0023] Then determine whether a data transmission instruction is received;
[0024] If a data transmission instruction is received, the training data is transmitted to the remote terminal.
[0025] Preferably, the racket positioning signal includes the three-dimensional coordinates of the racket.
[0026] Preferably, the S80 includes:
[0027] determining whether a calibration signal is received;
[0028] If the calibration signal is received, the standard tennis posture is displayed in the content scene according to the posture correction signal.
[0029] A preferred method is to use a positioning tracking system for virtual reality tennis, wherein the positioning tracking system includes a tracking unit and a positioning unit, wherein the tracking unit is disposed on a tennis racket, and the positioning unit is disposed on a tennis court; the tracking unit is wirelessly connected to the positioning unit, and the tracking unit is communicatively connected to a smart device.
[0030] After adopting the above technical solution, the beneficial effects of the present invention are:
[0031] The positioning and tracking method of virtual reality tennis of the present invention includes the following steps: obtaining a racket posture signal, a racket positioning signal and a real-time image of a scene; analyzing and identifying the real-time image of the scene, obtaining object feature information and background feature information in the scene; fusing the racket posture signal and the racket positioning signal into racket data; fusing the object feature information, the background feature information and the racket data to form real-time fusion data; transmitting the real-time fusion data to the smart device; the smart device displays the corresponding content scene according to the received real-time fusion data; the smart device generates a corresponding posture correction signal according to the real-time fusion data; and displays the standard tennis posture in the content scene according to the posture correction signal. It can be seen that the positioning and tracking method of virtual reality tennis of the present invention realizes accurate positioning through the racket posture signal and the racket positioning signal, improves the sense of immersion, and accurately simulates the movement process of the user in the virtual environment. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail in the following embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0033] It should be noted that, in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0034] A positioning and tracking method for virtual reality tennis is applied to a positioning and tracking system for virtual reality tennis. The positioning and tracking system comprises a tracking unit and a positioning unit. The tracking unit is arranged on a tennis racket, and the positioning unit is arranged on a tennis court. The tracking unit is wirelessly connected to the positioning unit, and the tracking unit is communicatively connected to an intelligent device.
[0035] The positioning tracking method of the present invention comprises the following steps:
[0036] Step S10, obtaining a racket posture signal, a racket positioning signal and a real-time image of the scene;
[0037] In this embodiment, the racket posture signal includes the racket swing acceleration, the racket swing angular velocity and the racket hitting the ball signal; the racket positioning signal includes the three-dimensional coordinates of the racket.
[0038] It should be noted that the tracking unit may include a wireless communication unit and a racket posture detection unit. The racket posture detection unit may include an acceleration sensor, a gyroscope sensor and a piezoelectric sensor. The acceleration sensor is used to detect the acceleration of the racket swing, the gyroscope sensor is used to detect the angular velocity of the racket swing, and the piezoelectric sensor is used to detect whether the racket hits the ball.
[0039] The positioning module may include a wireless communication unit and a data acquisition processing unit, and the data acquisition processing unit is connected to the smart device. The wireless communication unit may include four Bluetooth receivers, and the four Bluetooth receivers are arranged at four different positions of the venue to accurately obtain the three-dimensional coordinates of the racket.
[0040] The real-time image of the scene can be collected by a camera installed at the site. The smart device is provided with an image processing unit. The camera transmits the collected real-time image of the scene to the image processing unit, which performs analysis and recognition processing.
[0041] Step S20: Analyze and identify the real-time image of the scene to obtain feature information of objects and background in the scene;
[0042] Step S30, fusing the racket posture signal and the racket positioning signal into racket data;
[0043] Step S40, fusing the object feature information, the background feature information and the racket data to form real-time fused data;
[0044] Step S50: transmitting the real-time fusion data to the smart device;
[0045] Step S60: The smart device displays the corresponding content scene according to the received real-time fusion data;
[0046] Step S70: the smart device generates a corresponding posture correction signal according to the real-time fusion data;
[0047] Step S80: Displaying a standard tennis posture in the content scene according to the posture correction signal.
[0048] The virtual reality tennis positioning tracking method of the present invention accurately tracks and locates the tennis racket by acquiring the racket posture signal and the racket positioning signal, and displays it in real time in the content scene through data fusion, thereby improving the immersive feeling; achieving precise positioning and accurately simulating the movement process of the user in the virtual environment.
[0049] Especially in the teaching process, the standard posture can be displayed or not according to the actual needs of the teacher or the students, which improves the teaching efficiency, reduces the teaching difficulty, and meets various usage needs; and the positioning and tracking method of the virtual reality tennis of the present invention is simple and easy to implement, and has good versatility.
[0050] The positioning tracking method in this embodiment further includes the following steps:
[0051] Generating and storing training data according to the swing acceleration, the swing angular velocity and the racket hitting the ball signal;
[0052] Then get the current time;
[0053] Determine whether the current time is the preset training data transmission time;
[0054] If the current time is the training data transmission time, the training data is transmitted to the remote terminal.
[0055] Through the above steps, the training data can be uploaded to the remote terminal within the preset time. The remote terminal can be but not limited to a tablet, etc. After the training data is transmitted to the remote terminal, it can be used for teaching analysis, meeting the usage requirements.
[0056] The positioning tracking method in this embodiment further includes the following steps:
[0057] Generating and storing training data according to the swing acceleration, the swing angular velocity and the racket hitting the ball signal;
[0058] Then determine whether a data transmission instruction is received;
[0059] If a data transmission instruction is received, the training data is transmitted to the remote terminal.
[0060] Through the above steps, when receiving the instruction, the training data can be sent to the remote terminal, that is, the data transmission instruction can be sent by the teacher through the remote terminal, and the remote terminal can be but not limited to a tablet, etc. After the training data is transmitted to the remote terminal, it can be used for teaching analysis.
[0061] In the positioning and tracking method of this embodiment, step S80 includes:
[0062] determining whether a calibration signal is received;
[0063] It should be noted that the calibration signal can be input by a remote terminal, smart device, etc.
[0064] If the calibration signal is received, the standard tennis posture is displayed in the content scene according to the posture correction signal.
[0065] Through the above steps, when calibration is not required, the standard tennis posture is not displayed in the scene, so that the present invention can meet various usage requirements, and is simple to operate and low in cost.
[0066] The above-described preferred embodiments of the present invention are only intended to limit the present invention. Any modifications made within the spirit and principles of the present invention, as well as improvements to the positioning and tracking method of a virtual reality tennis, shall be included in the protection scope of the present invention.
Claims
1. A positioning and tracking method for virtual reality tennis, characterized in that: The following steps are involved: S10, obtaining a racket posture signal, a racket positioning signal and a real-time image of the scene; S20, analyzing and identifying the real-time image of the scene, and obtaining feature information of objects and background in the scene; S30, fusing the racket posture signal and the racket positioning signal into racket data; S40, fusing the object feature information, the background feature information and the racket data to form real-time fused data; S50, transmitting real-time fusion data to smart devices; S60, the smart device displays a corresponding content scene according to the received real-time fusion data; S70, the intelligent device generates a corresponding posture correction signal according to the real-time fusion data; S80: Displaying a standard tennis posture in a content scene according to the posture correction signal.
2. The method for positioning and tracking virtual reality tennis according to claim 1, characterized in that: The racket posture signal includes a swing acceleration, a swing angular velocity and a racket hitting the ball signal.
3. The method for positioning and tracking virtual reality tennis according to claim 2, characterized in that: The positioning tracking method further includes the following steps: Generating and storing training data according to the swing acceleration, the swing angular velocity and the racket hitting the ball signal; Then get the current time; Determine whether the current time is the preset training data transmission time; If the current time is the training data transmission time, the training data is transmitted to the remote terminal.
4. The method for positioning and tracking virtual reality tennis according to claim 2, characterized in that: The following steps are also included: Generating and storing training data according to the swing acceleration, the swing angular velocity and the racket hitting the ball signal; Then determine whether a data transmission instruction is received; If a data transmission instruction is received, the training data is transmitted to the remote terminal.
5. The method for positioning and tracking virtual reality tennis according to claim 1, characterized in that: The racket positioning signal includes the three-dimensional coordinates of the racket.
6. The method for positioning and tracking virtual reality tennis according to claim 1, characterized in that: The S80 includes: determining whether a calibration signal is received; If the calibration signal is received, the standard tennis posture is displayed in the content scene according to the posture correction signal.
7. The method for positioning and tracking virtual reality tennis according to claim 1, characterized in that: A positioning tracking system applied to virtual reality tennis, the positioning tracking system comprising a tracking unit and a positioning unit, the tracking unit being arranged on a tennis racket, and the positioning unit being arranged on a tennis court; The tracking unit is wirelessly connected to the positioning unit, and the tracking unit is communicatively connected to the smart device.