Photoelectric scanning and camera integrated six-degree-of-freedom positioning method and system

By combining photoelectric scanning and cameras, using PnP and SVD algorithms for hand-eye calibration, and combining it with graph optimization algorithms, the problems of low visual SLAM positioning accuracy and poor photoelectric scanning robustness in VR/AR equipment are solved, achieving high precision and robustness. Six degrees of freedom positioning.

CN118567496APending Publication Date: 2024-08-30TIANJIN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410633320.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The visual SLAM positioning technology in existing VR/AR equipment has low accuracy, small measurement range, and poor external photoelectric scanning robustness, making it difficult to achieve high-precision six-degree-of-freedom attitude estimation in complex environments.

Method used

Combining photoelectric scanning with cameras, the advantages of high photoelectric scanning measurement accuracy and strong visual SLAM perception are used. Through the joint use of photoelectric scanning receivers and cameras, the PnP algorithm and SVD algorithm are used for hand-eye calibration, and the graph optimization algorithm is combined to achieve six degrees of freedom. Positioning to ensure measurement accuracy and stability.

Benefits of technology

It achieves high-precision and robust six-degree-of-freedom positioning, enhances the stability and measurement accuracy of the system, reduces the cumulative error of visual navigation, and provides global drift-free positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567496A
    Figure CN118567496A
Patent Text Reader

Abstract

The invention discloses a photoelectric scanning and camera integrated six-degree-of-freedom positioning method and a photoelectric scanning and camera integrated six-degree-of-freedom positioning system. The method comprises the following steps: installing and debugging a photoelectric scanning transmitting station and a wearable VR / AR combined measuring device in a to-be-measured area; according to the VR / AR combined measurement device, at least one photoelectric scanning receiver and at least one camera are arranged on an existing VR / AR head-mounted display device; signals of the photoelectric scanning receiver are continuously collected to obtain a photoelectric scanning angle measurement value, and the pose relation between the photoelectric scanning receiver and the camera is calibrated through the image collected by the camera and the photoelectric scanning angle measurement value; and an optimal six-degree-of-freedom positioning result is solved by fusing the spatial position postures of the photoelectric scanning emission station and the current VR / AR combined measurement device, and is used for positioning and attitude determination of a virtual scene. According to the positioning method, photoelectric scanning measurement and visual simultaneous localization and mapping (SLAM) are combined, and an accurate positioning method for VR / AR measurement fused with photoelectric scanning is provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of virtual reality (VR) and augmented reality (AR), and in particular to a VR / AR six-degree-of-freedom positioning method and system integrating photoelectric scanning and a camera. Background Art

[0002] At present, head-mounted VR / AR devices are the interactive bridge between virtual reality and the real world. The posture estimation results of VR / AR devices in the real world will be directly transmitted to the virtual world for three-dimensional real-time rendering. In order to provide the wearer with good immersive interaction, it is necessary to accurately estimate the dynamic posture of VR / AR devices in six degrees of freedom. Photoelectric scanning, as a large-scale three-dimensional coordinate precision measurement device, can realize external tracking and measurement services with high measurement accuracy. It is often used in production processes such as parts assembly and docking in industrial manufacturing. However, since photoelectric scanning belongs to laser measurement technology, it is easily interfered in a more complex use environment, and it is necessary to maintain the optical path connectivity between the transmitter and the receiver. Therefore, more transmitting station nodes are required to ensure the observability of any posture of the target, resulting in high deployment costs. The positioning method based on visual simultaneous localization and mapping (SLAM) is usually used for 6DoF real-time posture estimation. At the same time, it can reconstruct the scene based on the rich features of the image. It has the advantages of rich perception information, low cost and good real-time measurement. However, it has limitations such as low precision and limited scope of use. The invention patent with application number "CN201911111128.4" discloses a walking redirection control method, device and storage medium in a virtual reality space. The method determines the posture information of the VR terminal and the three-dimensional point cloud map corresponding to the environment based on simultaneous positioning and map construction; performs contour extraction on the three-dimensional point cloud map to determine the boundary corresponding to the activity range of the VR terminal; determines the predicted posture of the VR terminal based on the posture information, and adjusts the walking speed of the VR terminal in the VR space according to the predicted posture and the boundary. However, for high-precision pose estimation, this method still has certain limitations: (1) The measurement stability is strongly related to the on-site environment: it needs to operate well in areas with rich textures and is easily affected by changes in the surrounding environment, resulting in errors in camera pose estimation, affecting subsequent measurement results, and has weak anti-interference ability; (2) The measurement accuracy and measurement range are proportional to the system complexity: the embedded computer module makes the system computing resources limited, and can only use filtering technology to roughly predict and update the real-time pose estimation, which brings about a contradiction between measurement accuracy and range and real-time computing efficiency. If you want to expand the measurement range, you need to increase the complexity of the algorithm, which introduces problems such as increased system cost, increased volume, and increased system complexity;

[0003] In view of the above problems, it is urgent to develop a VR / AR visual positioning device with a large measurement range, high accuracy and good real-time performance for large-scale space positioning, so as to overcome the defects of low accuracy and small measurement range of visual SLAM positioning technology in VR / AR devices, as well as the poor robustness of photoelectric scanning of external measurement equipment. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and propose a VR / AR six-degree-of-freedom positioning method and system integrating photoelectric scanning and camera. The method and system of the present invention combine the advantages of high measurement accuracy and large measurement range of photoelectric scanning with strong visual SLAM perception ability, and provide a VR / AR measurement device and measurement method integrating photoelectric scanning, which can ensure stable tracking and positioning of the entire device while also ensuring high measurement accuracy.

[0005] A six-degree-of-freedom positioning method integrating photoelectric scanning and camera, comprising:

[0006] Step 1: Install and debug the photoelectric scanning transmitter station and the wearable VR / AR combined measuring device in the area to be measured; the VR / AR combined measuring device is to set at least one photoelectric scanning receiver and at least one camera on the existing VR / AR head-mounted display device;

[0007] Step 2: Continuously collect the photoelectric scanning receiver signal to obtain the photoelectric scanning angle measurement value, and use the image collected by the camera and the photoelectric scanning angle measurement value to calibrate the posture relationship between the photoelectric scanning receiver and the camera;

[0008] Step 3: Fusion of real-time images and photoelectric scanning angle measurement values ​​to calculate the optimal six-degree-of-freedom positioning result of the VR / AR combined measurement device for virtual scene positioning and attitude determination.

[0009] Furthermore, step 2 specifically includes:

[0010] S201: First, select the coordinates of any photoelectric scanning receiver as the origin of the main body coordinate system, and establish a right-handed coordinate system O r -X r Y r Z r , and express the coordinates of all photoelectric scanning receivers in this coordinate system;

[0011] S202: The PnP (Perspective-n-Points) algorithm is used to solve the transformation relationship between the world coordinate system and the camera pose for the images collected by the camera at multiple stations, and then the SVD algorithm is used to calculate the transformation relationship between the photoelectric scanning angle measurement value of each photoelectric scanning receiver and the body coordinate system to solve the body coordinate system pose of the current station, thereby solving the hand-eye calibration equation based on the camera pose and the photoelectric scanning receiver pose

[0012]

[0013] in, is the transformation relationship from the camera to the body coordinate system, is the transformation from the world coordinate system to the current camera pose, It is the transformation relationship from the current body coordinate system to the world coordinate system. By solving the hand-eye calibration relationship, the posture relationship calibration between the photoelectric scanning receiver and the camera is completed.

[0014] Furthermore, step three specifically includes:

[0015] S301: Use the camera on the VR / AR combined measurement device to continuously shoot natural features of the surrounding environment, and use the natural corner point features extracted from the image to track using a uniform motion model or an optical flow method to obtain the initial value of the image space attitude orientation parameter;

[0016] S302: Based on the obtained initial values ​​of the spatial attitude orientation parameters of the image and the photoelectric scanning angle measurement value of the photoelectric scanning receiver obtained in step 2, a graph optimization algorithm is used to perform a joint bundle adjustment to solve the precise position and posture of the VR / AR combined measurement device and the initial map of the current environment;

[0017] S303: A six-degree-of-freedom positioning of the wearer is achieved according to the obtained precise position and initial map of the current environment, and virtual reality is rendered or virtual objects are superimposed on the real environment.

[0018] Furthermore, step S301 specifically includes:

[0019] S3011: Continuously capture natural features of the surrounding environment through multiple cameras on the VR / AR combined measurement device to extract image corner features in the image;

[0020] S3012: performing two-view geometric reconstruction on two consecutive images with a parallax range using epipolar constraints according to the obtained image corner point features, to obtain the camera's position and initial map of the current environment; the parallax range is a preset threshold range;

[0021] S3013: Perform robust tracking using a uniform motion model or an optical flow method according to the obtained initial spatial map, the camera motion model, and natural corner features in subsequent images, and obtain the initial position and posture of subsequent images using a PnP algorithm;

[0022] If the natural corner features of 3-5 consecutive images are less than the preset number of features (an environment with too single texture will cause tracking loss), return to step S301 to re-collect.

[0023] Furthermore, step S302 specifically includes:

[0024] S3021: Modeling the photoelectric scanning angle measurement value of the photoelectric scanning receiver, the initial value of the image space attitude orientation parameter obtained in S301, and the external parameters of the space calibration in step 2 as a unified system state estimation problem, and formulating it under the factor graph optimization framework;

[0025] S3022: Reduce outliers by maximizing the posterior probability of all given measurements, minimize the residual of the error term, obtain the system state that best matches all measurements, and then obtain the optimal accurate posture.

[0026] Furthermore, the positioning method also includes, before step one: planning one or more photoelectric scanning transmission stations in the area to be measured, so that all possible activities of the wearer wearing the VR / AR device in the area to be measured can be observed by the photoelectric scanning transmission station; and the posture of the photoelectric scanning transmission station is kept horizontal with the ground.

[0027] Furthermore, the natural corner feature is an ORB feature or a Shi-Tomas feature.

[0028] A six-degree-of-freedom positioning system integrating photoelectric scanning and camera, characterized by comprising:

[0029] The acquisition module is used to obtain the position and posture information of the VR / AR combined measurement device;

[0030] The map construction and spatial attitude preliminary orientation module is used to obtain the initial values ​​of the spatial attitude orientation parameters of the camera photos and the initial map of the current environment based on the images taken by the camera using two-view geometric reconstruction and optical flow method;

[0031] The precise pose module is used to solve the precise pose of the VR / AR combined measurement device based on the optimization algorithm of graph optimization.

[0032] The positioning system also includes: at least one photoelectric scanning transmitting station and a VR / AR combined measuring device; the VR / AR combined measuring device is to set at least one photoelectric scanning receiver and at least one camera on an existing VR / AR head-mounted display device (hereinafter referred to as VR / AR glasses).

[0033] A six-degree-of-freedom positioning device integrating photoelectric scanning and a camera comprises a processor and a memory for storing a computer program that can be run on the processor; wherein the processor is used to execute the steps of the above-mentioned positioning method when running the computer program.

[0034] Furthermore, the VR / AR combined measuring device includes a power supply unit, a display unit, a camera, a photoelectric scanning receiver and a processor; the power supply unit is used to power the display unit, the camera and the processor; the processor is used to receive the image of the camera and the optical signal transmitted by the photoelectric scanning receiver, perform timing alignment of the camera timestamp and the photoelectric scanning angle measurement value timestamp on the time stream, calculate the spatial scanning angle of the photoelectric scanning receiver according to the parameters of the photoelectric scanning transmitting station, and perform visual navigation on the collected image; the display unit, the photoelectric scanning receiver and the camera are respectively connected to the processor via USB wire.

[0035] A storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the above-mentioned direction method are implemented.

[0036] The beneficial effects of the present invention are:

[0037] 1. In the present invention, the working mode of the photoelectric scanning transmitting station is Outside-in mode, and the working mode of the VR / AR combined measuring device is Inside-out. The present invention adopts a combination of photoelectric scanning positioning Outside-in and VR / AR combined measuring device Inside-out to achieve high-precision, robust six-degree-of-freedom positioning; combining the advantages of large-space high-precision measurement and visual navigation positioning of photoelectric scanning equipment, photoelectric scanning technology is used to provide VR / AR equipment with multiple posture measurement constraints, which improves the measurement accuracy while also increasing the stability of the system.

[0038] 2. The present invention proposes an optoelectronic scanning visual navigation method based on graph optimization to solve the global optimal solution; constructs the geometric relationship between the optoelectronic scanning receiver and the camera to provide effective prior information for camera posture estimation, thereby providing high-weighted observation information for real-time high-precision posture.

[0039] 3. Through a tightly coupled sensor fusion method, the camera and photoelectric scanning are combined to effectively reduce the cumulative error of visual navigation and achieve drift-free global positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 The above picture shows an operator wearing a VR / AR combined measurement device. Figure 1 The following figure shows an optoelectronic scanning transmitting station;

[0041] Figure 2 This is a structural schematic diagram of a VR / AR positioning device integrating a photoelectric scanning receiver according to an embodiment of the present invention;

[0042] Figure 3 This is a flow chart of a six-degree-of-freedom positioning method described in the present invention.

[0043] in:

[0044] 1: Photoelectric scanning transmitter station 2: VR / AR combined measurement device 3: Camera

[0045] 4: Photoelectric scanning receiver DETAILED DESCRIPTION

[0046] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The described specific embodiments are only used to explain the present invention and are not intended to limit the present invention.

[0047] like Figure 3 As shown, a six-degree-of-freedom positioning method integrating photoelectric scanning and camera includes:

[0048] Step 1: Install the photoelectric scanning transmitter station and wear the VR / AR combined measurement device

[0049] The installation position of the photoelectric scanning transmitting station 1 is planned for the area to be measured, and the installation position ensures that it can cover as large an area as possible, so that all possible activities of the wearer wearing the VR / AR combined measuring device 2 in the area to be measured can be observed by the photoelectric scanning transmitting station 1;

[0050] If there is a serious obstruction in the area to be measured (multiple rooms are not visible to each other), it is necessary to install multiple photoelectric scanning transmission stations 1 for observation to ensure that the measurement network can cover the entire area to be measured and that the VR / AR combined measurement device can receive the scanning light signal of at least one of the photoelectric scanning transmission stations 1 at every moment as much as possible;

[0051] During installation, one or more photoelectric scanning transmitting stations 1 are distributed and installed according to the principle of coverage range, at least 1.5m from the ground, and kept horizontal with the ground, to ensure that the measurement network of the photoelectric scanning transmitting station 1 can cover the entire area to be measured; and the photoelectric scanning transmitting station 1 emits synchronous pulse laser and two scanning line lasers, the receiver is used to receive the scanning light signal, and solve the spatial scanning angle and spatial coordinates of the receiver according to the parameters of the photoelectric scanning transmitting station.

[0052] The VR / AR combined measuring device 2 includes a power supply unit, a display unit, a visual camera 3, a photoelectric scanning receiver 4 and a processor; the power supply unit is used to power the display unit, the camera 3 and the processor; the processor is used to receive the image of the camera 3 and the optical signal transmitted by the photoelectric scanning receiver 4, perform timing alignment of the camera timestamp and the photoelectric scanning angle measurement value timestamp on the time stream, calculate the spatial scanning angle of the photoelectric scanning receiver 4 according to the parameters of the photoelectric scanning transmitting station, perform visual navigation on the collected image, and run the optimal sensor fusion algorithm.

[0053] The working mode of the VR / AR combined measuring device 2 is Inside-out (positioning from the inside out); the photoelectric scanning positioning of the photoelectric scanning transmitting station 1 is Outside-in mode.

[0054] The operator wears the VR / AR combined measuring device 2 and enters the area to be measured. Figure 2 As shown, the VR / AR combined measuring device 2 is a device that is provided with at least one photoelectric scanning receiver 4 and at least one camera 3 on an existing VR head mounted display device (hereinafter referred to as VR glasses). Figure 1 It is shown that an operator wears a VR / AR combined measuring device 2 in the area to be measured and is applied to real-time VR glasses posture estimation, and an optoelectronic scanning transmitting station 1 is exemplarily shown in the area to be measured.

[0055] The VR glasses, the photoelectric scanning receiver 4 and the camera 3 are respectively connected to the processor via USB wires.

[0056] Step 2: Test whether the photoelectric scanning receiver 4 can normally receive the scanning light signal of the photoelectric scanning transmitting station 1 in the test area, whether the coverage range of the photoelectric scanning transmitting station 1 is normal, and whether the image acquisition and display functions of the camera 3 are normal; if normal, proceed to the next step; if not normal, adjust the VR / AR combined measuring device 2;

[0057] Step 3: The output end of the photoelectric scanning receiver 4 is connected to the processor, and the photoelectric scanning receiver 4 receives the omnidirectional scanning laser angle measurement value emitted by the photoelectric scanning transmitting station 1, continuously collects the photoelectric scanning receiver signal to obtain the photoelectric scanning angle measurement value, and uses the image collected by the camera and the photoelectric scanning angle measurement value to calibrate the posture relationship between the photoelectric scanning receiver and the camera, and calculates the real-time and accurate posture of the current VR / AR combined measurement device to be positioned. Specifically including:

[0058] S301: First, select the coordinates of any one of the three-dimensional coordinate sets of multiple photoelectric scanning receivers 4 as the origin of the main body coordinate system, and arbitrarily establish a right-handed coordinate system O r -X r Y r Zr , and the coordinates of all photoelectric scanning receivers 4 are expressed in this coordinate system;

[0059] S302: using camera 3 to simultaneously capture multiple preset coordinate points at different positions, using the PnP (Perspective-n-Points) algorithm to solve the camera position for the captured images, obtaining the camera position at different positions, and solving the transformation relationship between the world coordinate system and the position of camera 3;

[0060] S303: Collect all the coordinates of the photoelectric scanning receivers 4 at all postures at the same time, and use the singular value decomposition algorithm to calculate the transformation relationship between the photoelectric scanning angle measurement value of each photoelectric scanning receiver 4 and the body coordinate system to solve the current station body coordinate system posture, thereby solving the hand-eye calibration equation based on the camera posture and the photoelectric scanning receiver posture

[0061]

[0062] in, is the transformation relationship from the camera to the body coordinate system, is the transformation from the world coordinate system to the current camera pose, It is the transformation relationship from the current body coordinate system to the world coordinate system. By solving the hand-eye calibration relationship, the posture relationship calibration between the photoelectric scanning receiver and the camera is completed.

[0063] Step 4: Integrate the spatial position and attitude of the photoelectric scanning transmitter and the current VR / AR combined measurement device to calculate the optimal six-degree-of-freedom positioning result for virtual scene positioning and attitude determination. Specifically include:

[0064] S401: Use the photoelectric scanning transmitting station 1 to continuously measure the signal of the photoelectric scanning receiver 4 on the VR / AR combined measuring device 2, and calculate the photoelectric scanning angle measurement value of the current VR / AR combined measuring device 2. The light plane equation satisfied by the photoelectric scanning receiver 4 when collecting the scanning light of the photoelectric scanning transmitting station 1 can be expressed as:

[0065] a klθ x+b klθ y+c klθ z=-d klθ (2)

[0066] Then the solution of the light plane equation of all scanning lights satisfied by a single photoelectric scanning receiver 4 is the scanning angle of the current photoelectric scanning receiver 4 .

[0067] S402: After adjusting the multiple cameras 3 on the VR / AR combined measurement device 2 to the appropriate exposure, exposure time and depth of field, the natural features of the surrounding environment are continuously photographed, the ORB or Shi-Tomas features are extracted, and the initial values ​​of the spatial attitude orientation parameters of the images are obtained by tracking using a uniform motion model or an optical flow method. Specifically, it includes: using epipolar constraints to perform two-view geometric reconstruction on two consecutive images with a certain parallax to obtain the camera's posture and the initial map of the current environment, wherein the parallax threshold is predetermined by the user; robust tracking is performed using the optical flow method based on the obtained initial spatial map, the camera motion model and the natural features in the subsequent images, and the initial posture of the subsequent images is obtained using the PnP algorithm. If the natural corner point features of 3-5 consecutive images are less than the preset number of features (an environment with too single texture will cause tracking loss), return to step S401 for re-collection.

[0068] S403: According to the spatial calibration external parameters obtained in step 3, the angle scanning measurement value of the photoelectric scanning receiver obtained in S401, and the initial value of the image space attitude orientation parameter obtained in S402 are uniformly modeled as a system state estimation problem. The system state estimation problem is formulated in a probabilistic framework, and a graph optimization algorithm is used to solve the precise position and environment map of the combined measurement of the VR / AR combined measurement device 2 and the photoelectric scanning transmitting station 1, and infer it by maximizing the posterior probability of all given measurements.

[0069] Assuming that all noises are Gaussian distributed and independent of each other, maximum a posteriori (MAP) inference is equivalent to solving a nonlinear least squares optimization problem.

[0070]

[0071] The estimated state Including camera pose and map point, z k represents the measurement value of the camera and photoelectric scanning receiver at time k, and denote the camera reprojection residual and the residual between the photoelectric scanning receiver measurement and the estimated value, respectively. The Huber kernel function ρ(·) is used to reduce the influence of outliers, such as mismatches in visual reprojection, and wrong poses due to fast motion of the photoelectric scanning and unstable measurements. Since there is no prior information about the system state, the prior state is ignored. The residual is normalized using the Mahalanobis norm Residual They are the inverse of the covariance matrix of visual reprojection and photoelectric scanning angle measurement, respectively;

[0072] Formula (3) significantly eliminates scale drift by minimizing the residual of the error term and avoids inaccurate positioning caused by poor image quality and erroneous feature matching. The accurate VR / AR combined measurement device pose and accurate map points can be calculated.

[0073] Step 5: Based on the precise posture and environment map obtained in step 4, the six-degree-of-freedom positioning of the VR / AR combined measurement device is realized, and the virtual reality is rendered or virtual objects are superimposed on the real environment.

[0074] Although the preferred embodiments of the present invention have been described above in conjunction with the accompanying drawings, the present invention is not limited to the above-mentioned specific implementation methods, which are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims. As long as it involves the use of visual images for simultaneous positioning and mapping and solving capabilities, and a multi-degree-of-freedom measurement method combined with photoelectric scanning measurement, these all fall within the scope of protection of the present invention.

Claims

1. A six-degree-of-freedom positioning method integrating photoelectric scanning and camera, characterized in that: include: Step 1: Install and debug the photoelectric scanning transmitter station (1) and the wearable VR / AR combined measurement device in the area to be measured; The VR / AR combined measuring device (2) is provided with at least one photoelectric scanning receiver (4) and at least one camera on an existing VR / AR head mounted display device; Step 2: continuously collecting signals from the photoelectric scanning receiver (4) to obtain photoelectric scanning angle measurement values, and using the images collected by the camera and the photoelectric scanning angle measurement values ​​to calibrate the posture relationship between the photoelectric scanning receiver (4) and the camera (3); Step 3: The real-time image and the photoelectric scanning angle measurement value are integrated to calculate the optimal six-degree-of-freedom positioning result of the VR / AR combined measurement device (2), which is used for virtual scene positioning and posture determination.

2. The six-degree-of-freedom positioning method integrating photoelectric scanning and camera according to claim 1, characterized in that: Step 2 specifically includes: S201: Select the coordinates of any photoelectric scanning receiver (4) as the origin of the main body coordinate system, and establish a right-handed coordinate system O r -X r Y r Z r and expressing the coordinates of all photoelectric scanning receivers (4) in the coordinate system; S202: Using the PnP algorithm to solve the transformation relationship between the world coordinate system and the camera (3) posture for the images collected by the camera at multiple stations, and then using the SVD algorithm to calculate the transformation relationship between the photoelectric scanning angle measurement value of each photoelectric scanning receiver (4) and the body coordinate system to solve the body coordinate system posture of the current station, thereby solving the hand-eye calibration equation based on the camera (3) posture and the photoelectric scanning receiver (4) posture in, is the transformation relationship from camera (3) to the body coordinate system, is the transformation from the world coordinate system to the current camera (3) pose, The transformation relationship between the current body coordinate system posture and the world coordinate system is obtained; by solving the hand-eye calibration relationship, the posture relationship calibration between the photoelectric scanning receiver (4) and the camera (3) is completed.

3. The six-degree-of-freedom positioning method integrating photoelectric scanning and camera according to claim 1, characterized in that: Step three specifically includes: S301: Using the camera on the VR / AR combined measurement device (2) to continuously photograph natural features of the surrounding environment, and using the natural corner point features extracted from the image to track using a uniform motion model or an optical flow method to obtain initial values ​​of the image space attitude orientation parameters; S302: Based on the obtained initial values ​​of the spatial attitude orientation parameters of the image and the photoelectric scanning angle measurement value of the photoelectric scanning receiver obtained in step 2, a graph optimization algorithm is used to perform a joint bundle adjustment to solve the precise position and posture of the VR / AR combined measurement device and the initial map of the current environment; S303: A six-degree-of-freedom positioning of the wearer is achieved according to the obtained precise position and initial map of the current environment, and virtual reality is rendered or virtual objects are superimposed on the real environment.

4. The six-degree-of-freedom positioning method integrating photoelectric scanning and camera according to claim 3, characterized in that: Step S301 specifically includes: S3011: Continuously photographing natural features of the surrounding environment using multiple cameras on the VR / AR combined measurement device (2) to extract image corner features in the image; S3012: performing two-view geometric reconstruction on two consecutive images with a parallax range using epipolar constraints according to the obtained image corner point features, to obtain the camera's position and initial map of the current environment; the parallax range is a preset threshold range; S3013: Robust tracking is performed using a uniform motion model or optical flow method based on the obtained initial spatial map, camera motion model and natural corner features in subsequent images, and the initial pose of subsequent images is obtained using the PnP algorithm; if the natural corner features of 3-5 consecutive images are less than the preset number of features, return to step S301 for re-collection.

5. The six-degree-of-freedom positioning method integrating photoelectric scanning and camera according to claim 4, characterized in that: Step S302 specifically includes: S3021: Based on the photoelectric scanning angle measurement value of the photoelectric scanning receiver and the initial value of the image space attitude orientation parameter obtained in S301, the spatial calibration external parameters in step 2 are modeled as a unified system state estimation problem, and are formulated under the factor graph optimization framework; S3022: By maximizing the posterior probability of all given measurements, outliers are reduced, the residual of the error term is minimized, and the most likely system state that best matches all angle measurements is obtained, thereby obtaining the optimal precise pose.

6. The six-degree-of-freedom positioning method integrating photoelectric scanning and camera according to claim 1, characterized in that: The positioning method further comprises, before step 1, planning one or more photoelectric scanning and transmitting stations (1) in the area to be measured, so that all possible activity ranges of a wearer wearing the VR / AR combined measuring device (2) in the area to be measured can be observed by the photoelectric scanning and transmitting stations (1); and the posture of the photoelectric scanning and transmitting stations (1) is kept horizontal with the ground.

7. A six-degree-of-freedom positioning system integrating photoelectric scanning and camera, characterized in that: include: An acquisition module, used for acquiring position and posture information of the VR / AR combined measurement device (2); A map construction and spatial attitude preliminary orientation module is used to obtain the initial values ​​of the spatial attitude orientation parameters of the camera image and the initial map of the current environment by using two-view geometric reconstruction and optical flow method according to the image taken by the camera (3); The precise pose module is used to solve the precise pose of the VR / AR combined measurement device based on the optimization algorithm of graph optimization.

8. The six-degree-of-freedom positioning system integrating photoelectric scanning and camera according to claim 7, characterized in that: The positioning system further comprises: at least one photoelectric scanning transmitting station (1) and a VR / AR combined measuring device (2); the VR / AR combined measuring device (2) is a device comprising at least one photoelectric scanning receiver (4) and at least one camera (3) arranged on an existing VR / AR head mounted display device.

9. A six-degree-of-freedom positioning device integrating photoelectric scanning and camera, characterized in that comprising a processor and a memory for storing a computer program running on the processor; Wherein, the processor is used to execute the steps of the positioning method described in any one of claims 1-6 when running the computer program.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the positioning method according to any one of claims 1 to 6 are implemented.