A spatial positioning tracking method
By using depth cameras, inertial sensors and image sensors in the positioning management system to establish multiple coordinate systems for comparison, the problem of spatial positioning and tracking precision and accuracy is solved, higher positioning precision and tracking accuracy are achieved, and the Immersive experience for users.
Patent Information
- Application Number
- CN202210243591.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-03-12
AI Technical Summary
Existing technologies are difficult to improve the precision and accuracy of spatial positioning and tracking, especially in augmented reality and virtual reality systems, which affects the user's immersive experience.
By using depth cameras, inertial sensors and image sensors in the positioning management system, multiple coordinate systems are established for comparison, difference values are generated and error correction is performed to ensure the accuracy of position determination, and the main display is used to display movement behavior to achieve precise positioning .
It improves the accuracy of spatial positioning and tracking, and enhances the user's immersive experience in the virtual environment.
Smart Images

Figure CN114739395B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of positioning technology, and in particular to a spatial positioning tracking method. Background Art
[0002] Augmented reality (AR) and / or virtual reality (VR) systems can generate a three-dimensional (3D) immersive environment that users can experience by interacting with various electronic devices (e.g., helmets or other head-mounted devices).
[0003] In order to improve the user's immersive experience, it is necessary to improve the accuracy of spatial positioning tracking. Therefore, a spatial positioning tracking method is urgently needed. Summary of the invention
[0004] In view of this, the technical problem to be solved by the present invention is: to provide a spatial positioning and tracking method, which can improve the precision of spatial positioning; at the same time, improve the accuracy of tracking.
[0005] In order to solve the above technical problems, the technical solution of the present invention is:
[0006] A spatial positioning tracking method is applied to a positioning management system, the positioning management system includes a processor, the processor is electrically connected to a memory, a depth camera, an image sensor, an inertial sensor and a main display, the depth camera, the image sensor, and the inertial sensor are all in the same position in the same space;
[0007] The positioning tracking method comprises the following steps:
[0008] S1. Based on the depth camera, infrared response data of the surrounding environment is obtained and the processor generates current position data, and a first coordinate system is established to determine the current position of the depth camera and store it in the memory;
[0009] S2, simultaneously moving the depth camera, the inertial sensor and the image sensor, determining angle data generated after the movement through the first coordinate system based on the inertial sensor, receiving and establishing a second coordinate system by the processor, and storing the data in the memory;
[0010] S3, based on the image sensor, acquiring image data of the surrounding environment after the movement, receiving and processing by the processor, establishing a third coordinate system, determining the current position of the image sensor, and storing in the memory;
[0011] S4, the processor compares the second coordinate system with the third coordinate system to generate a current difference;
[0012] S5, based on the current difference value, compare it with the preset difference value stored in the memory to determine the current error value, if the current error value is greater than the preset error value, return to execute S1;
[0013] If the current error value is not greater than the preset error value, the current position is determined and the next step is executed;
[0014] S6. Displaying the movement behaviors of the depth camera, the inertial sensor, and the image sensor on the main display to generate corresponding actions.
[0015] Preferably, the S5 further includes:
[0016] S51, determining the number of times the current error value is greater than the preset error value, if it is not greater than three times, returning to execute S1;
[0017] If the current error value is greater than the preset error value for more than three times, execute S52;
[0018] S52, taking the average of the sum of the three current error values, replacing the preset error value, and completing the data update;
[0019] S53: After the data update is completed, the main display is used to prompt the data update, and S1 is performed.
[0020] Preferably, the positioning management system further comprises a communication module and a secondary display, wherein the communication module is electrically connected to the processor, and the secondary display is electrically connected to the communication module;
[0021] Through the communication module, the picture on the main display is synchronously displayed on the secondary display.
[0022] Preferably, the angle data includes three items of data: pitch angle, yaw angle and roll angle.
[0023] Preferably, the image data includes content data and boundary data in the current environment.
[0024] Preferably, the content data includes edge data of each object existing in the current environment to determine the number and position of each object.
[0025] Preferably, the main display is a virtual reality main display or an augmented reality main display.
[0026] After adopting the above technical solution, the beneficial effects of the present invention are:
[0027] The present invention discloses a spatial positioning and tracking method, including: S1, based on a depth camera, obtaining infrared response data of the surrounding environment and generating current position data by a processor, and establishing a first coordinate system to determine the current position of the depth camera and store it in a memory; S2, moving the depth camera, the inertial sensor and the image sensor at the same time, and based on the inertial sensor, determining the angle data generated after the movement through the first coordinate system, receiving and establishing a second coordinate system by the processor, and storing it in the memory; S3, based on the image sensor, obtaining image data of the surrounding environment after the movement, receiving and processing by the processor, establishing a third coordinate system, determining the current position of the image sensor, and storing it in the memory; S4, the processor compares the second coordinate system with the third coordinate system to generate a current difference; S5, based on the current difference, comparing with the preset difference stored in the memory, determining the current error value, if the current error value is greater than the preset error value, returning to execute S1; if the current error value is not greater than the preset error value, determining the current position and executing the next step; S6, displaying the movement behavior of the depth camera, the inertial sensor and the image sensor on the main display to generate corresponding actions. The second coordinate system generated by the joint movement of the depth camera and the inertial sensor is compared with the third coordinate system generated by the movement of the image sensor, thereby improving the accuracy of spatial positioning. At the same time, the current difference after comparison is compared with the preset difference to determine the size, thereby achieving multiple confirmations of spatial positioning and improving the accuracy of tracking. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0029] Figure 1 is a flow chart of an embodiment of the present invention;
[0030] Figure 2 It is a flow chart of comparing the current difference value with the preset difference value in an embodiment of the present invention. DETAILED DESCRIPTION
[0031] 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 below in conjunction with the accompanying drawings and 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.
[0032] like Figure 1 and Figure 2 As shown, the present invention is applied to a positioning management system, which includes a processor, which is electrically connected to a memory, a depth camera, an image sensor, an inertial sensor and a main display, respectively, and the depth camera, the image sensor and the inertial sensor are all in the same position in the same space.
[0033] Preferably, the positioning management system further comprises a communication module and a secondary display, the communication module is electrically connected to the processor, and the secondary display is electrically connected to the communication module;
[0034] Through the communication module, the image on the main display is synchronously displayed on the secondary display.
[0035] Preferably, the main display is a virtual reality main display or an augmented reality main display.
[0036] The positioning tracking method includes the following steps:
[0037] S1. Based on the depth camera, infrared response data of the surrounding environment is obtained and the processor generates current position data, and a first coordinate system is established to determine the current position of the depth camera and store it in the memory;
[0038] S2, simultaneously moving the depth camera, the inertial sensor and the image sensor, determining angle data generated after the movement through the first coordinate system based on the inertial sensor, receiving and establishing a second coordinate system by the processor, and storing the angle data in the memory, wherein the angle data includes three items of data: pitch angle, yaw angle and roll angle;
[0039] S3, based on the image sensor, acquiring image data of the surrounding environment after the movement, receiving and processing by the processor, establishing a third coordinate system, determining the current position of the image sensor, and storing in the memory, wherein the image data includes content data and boundary data in the current environment, and the content data includes edge data of each object in the current environment, so as to determine the number and position of each object;
[0040] S4, the processor compares the second coordinate system with the third coordinate system to generate a current difference;
[0041] S5, based on the current difference value, compare it with the preset difference value stored in the memory to determine the current error value. If the current error value is greater than the preset error value, return and execute S1;
[0042] If the current error value is not greater than the preset error value, the current position is determined and the next step is executed;
[0043] S6. Display the movement behaviors of the depth camera, the inertial sensor, and the image sensor on the main display to generate corresponding actions.
[0044] Preferably, S5 also includes:
[0045] S51, determine the number of times the current error value is greater than the preset error value, if it is not greater than three times, return and execute S1;
[0046] If the current error value is greater than the preset error value for more than three times, execute S52;
[0047] S52, taking the average of the sum of three current error values, replacing the preset error value, and completing the data update;
[0048] S53. After the data update is completed, a data update prompt is given through the main display, and S1 is performed.
[0049] The present invention compares the second coordinate system generated by the joint movement of the depth camera and the inertial sensor with the third coordinate system generated by the movement of the image sensor, thereby improving the accuracy of spatial positioning; at the same time, based on the current difference after the comparison, it is compared with the preset difference to determine the size, thereby achieving multiple confirmations of the spatial positioning and improving the accuracy of tracking.
[0050] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A spatial positioning tracking method, characterized in that: Applied to a positioning management system, the positioning management system includes a processor, the processor is electrically connected to a memory, a depth camera, an image sensor, an inertial sensor and a main display, the depth camera, the image sensor, and the inertial sensor are all located at the same position in the same space; The positioning tracking method comprises the following steps: S1. Based on the depth camera, infrared response data of the surrounding environment is obtained and the processor generates current position data, and a first coordinate system is established to determine the current position of the depth camera and store it in the memory; S2, simultaneously moving the depth camera, the inertial sensor and the image sensor, determining angle data generated after the movement through the first coordinate system based on the inertial sensor, receiving and establishing a second coordinate system by the processor, and storing the data in the memory; S3, based on the image sensor, acquiring image data of the surrounding environment after the movement, receiving and processing by the processor, establishing a third coordinate system, determining the current position of the image sensor, and storing in the memory; S4, the processor compares the second coordinate system with the third coordinate system to generate a current difference; S5, based on the current difference value, compare it with the preset difference value stored in the memory to determine the current error value, if the current error value is greater than the preset error value, return to execute S1; If the current error value is not greater than the preset error value, the current position is determined and the next step is executed; S6. Displaying the movement behaviors of the depth camera, the inertial sensor, and the image sensor on the main display to generate corresponding actions.
2. The spatial positioning tracking method according to claim 1, characterized in that: The S5 also includes: S51, determining the number of times the current error value is greater than the preset error value, if it is not greater than three times, returning to execute S1; If the current error value is greater than the preset error value for more than three times, execute S52; S52, taking the average of the sum of the three current error values, replacing the preset error value, and completing the data update; S53: After the data update is completed, the main display is used to prompt the data update, and S1 is performed.
3. The spatial positioning tracking method according to claim 1, characterized in that: The positioning management system further includes a communication module and a secondary display, wherein the communication module is electrically connected to the processor, and the secondary display is electrically connected to the communication module; Through the communication module, the picture on the main display is synchronously displayed on the secondary display.
4. The spatial positioning tracking method according to claim 1, characterized in that: The angle data includes three items of data: pitch angle, yaw angle and roll angle.
5. The spatial positioning tracking method according to claim 1, characterized in that: The image data includes content data and boundary data in the current environment.
6. The spatial positioning tracking method according to claim 5, characterized in that: The content data includes edge data of each object existing in the current environment to determine the number and position of each object.
7. The spatial positioning tracking method according to claim 1, characterized in that: The main display is a virtual reality main display or an augmented reality main display.
