A mapping and vehicle positioning system and method for underground parking environment
By using a forward-looking camera and a convolutional neural network to detect semantic features in an underground parking lot environment, combined with the pose information of the odometry module, a global semantic map is established and positioned, which solves the problem of traditional visual positioning solutions under changes in lighting and environment. It solves the problem of insufficient robustness and achieves long-term stable positioning of vehicles and low-cost accurate positioning.
Patent Information
- Application Number
- CN202210580720.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-05-25
AI Technical Summary
It is difficult to achieve long-term stable positioning of vehicles in an underground parking lot environment with existing technology, especially when lighting, viewing angles and environmental changes occur. Traditional visual positioning solutions are not robust and real-time enough, making it difficult to cope with environmental changes and vehicle changes. Relocation.
A system including a forward-looking camera, inverse perspective transformation module, semantic feature detection module, odometry module, mapping module and positioning module is used to detect semantic features through a convolutional neural network, establish a global semantic map, and use the odometry module The provided pose is used for vehicle positioning, and loop detection and global optimization are combined to eliminate accumulated errors.
It achieves long-term stable positioning in an underground parking lot environment, improves the robustness to environmental changes, has low cost, is suitable for mass production vehicles, and can maintain accurate positioning for a long time.
Smart Images

Figure CN114964236B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle positioning, and in particular to a mapping and vehicle positioning system and method for an underground parking environment. Background Art
[0002] Automatic parking is a specific application in the field of autonomous driving. In this task, vehicles often need to navigate autonomously in narrow, crowded, low-light parking lots without GPS signals. Therefore, accurate positioning of the vehicle is crucial. In the past decade, a large number of positioning solutions have emerged, including vision-based positioning solutions, visual inertial navigation-based positioning solutions, and lidar-based positioning solutions. In order to save costs, a large number of studies are based on visual positioning. Traditional visual positioning solutions mostly use geometric features such as sparse points, line segments or planes in the environment. Among them, corner points are widely used in visual mileage calculation methods. The general process of these solutions is to estimate the location of map points through feature point matching, build a map, and estimate the camera pose based on this map.
[0003] In recent years, the mapping and positioning scheme based on ORB features has attracted much attention in academia and industry. For example, the invention patent application with publication number CN113808203A discloses a navigation and positioning method based on LK optical flow method and ORB-SLAM2. This method adds a GPU-based LK optical flow algorithm before ORB-SLAM2, and uses the number of optical flow tracking feature points as the judgment condition for whether the current frame is a key frame. For non-key frames, it will not enter the three threads of ORBSLAM2, which prevents the extraction of feature points and subsequent calculations of non-key frames, thereby speeding up ORBSLAM2 to process the Tracking thread, enhancing the real-time performance of the algorithm, and does not affect its robustness. It is suitable for the positioning and navigation of automatic driving of automobiles and AGV logistics vehicles. However, this positioning method is easily affected by changes in lighting, viewing angle and environmental appearance, and cannot be effectively positioned for a long time. Especially in the environment of underground parking lots, traditional visual positioning schemes such as ORB-SLAM are faced with huge challenges. On the one hand, the parking lot in the basement is mainly composed of walls, floors and columns. This weak texture structure makes the detection and matching of feature points very unstable, and positioning is prone to tracking loss. On the other hand, the parking lot environment changes due to the entry and exit of different vehicles at different time periods. Long-term vehicle relocation is almost impossible for traditional visual positioning solutions. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is: how to provide a mapping and vehicle positioning system and method for underground parking environments that can achieve long-term stable positioning of vehicles in underground parking environments, respond more robustly to environmental changes, and at a lower cost.
[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0006] A mapping and vehicle positioning system for an underground parking environment, comprising a front-view camera, an inverse perspective transformation module, a semantic feature detection module, an odometer module, a mapping module and a positioning module;
[0007] The front-view camera is used to obtain the original image of the area in front of the vehicle and input it to the inverse perspective transformation module;
[0008] The inverse perspective transformation module is used to perform inverse perspective transformation on the original image input by the front-view camera to obtain a top view and input it to the semantic feature detection module;
[0009] The semantic feature detection module is used to obtain the image after semantic segmentation of the top view through a convolutional neural network, and obtain the semantic features and input them into the mapping module and the positioning module;
[0010] The odometer module is used to obtain the vehicle's position and posture and input it into the mapping module and the positioning module;
[0011] The mapping module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a global semantic map;
[0012] The positioning module is used to obtain the global coordinate point of the current semantic feature of the vehicle, and match the global coordinate point with the global semantic map to obtain the current semantic positioning result of the vehicle.
[0013] Preferably, the odometer module includes an inertial measurement unit and two wheel speed sensors;
[0014] The mapping module includes a local map module and a global map module;
[0015] The local map module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a local map and input it to the global map module;
[0016] The global map module is used to generate a global semantic map after adding loop detection and global optimization to the local map.
[0017] A mapping and vehicle positioning method for an underground parking environment, using the above-mentioned mapping and vehicle positioning system for an underground parking environment, the mapping and vehicle positioning method comprising a mapping method and a vehicle positioning method;
[0018] The mapping method comprises the following steps:
[0019] Step A1) the front-view camera acquires an original image of the area in front of the vehicle and inputs it to the inverse perspective transformation module;
[0020] Step A2) the inverse perspective transformation module performs inverse perspective transformation on the original image input by the front-view camera to obtain a top view and inputs the top view to the semantic feature detection module;
[0021] Step A3) the semantic feature detection module obtains the top view semantically segmented image through a convolutional neural network, and obtains the semantic features and inputs them into the mapping module;
[0022] Step A4) the odometer module obtains the vehicle's position and posture and inputs it into the mapping module;
[0023] Step A5) the mapping module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a global semantic map;
[0024] Step A6) Complete the map construction;
[0025] The vehicle positioning method comprises the following steps:
[0026] Step S1) the front-view camera obtains an original image of the area in front of the current position of the vehicle and inputs it to the inverse perspective transformation module;
[0027] Step S2) the inverse perspective transformation module performs inverse perspective transformation on the original image input by the front-view camera to obtain a top view and inputs the top view to the semantic feature detection module;
[0028] Step S3) the semantic feature detection module obtains the top view semantically segmented image through a convolutional neural network, and obtains the semantic features and inputs them into the positioning module;
[0029] Step S4) the odometer module obtains the current position of the vehicle and inputs it into the positioning module;
[0030] Step S5) the positioning module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the current position and posture of the vehicle provided by the odometer module to obtain the global coordinate point of the current semantic features of the vehicle;
[0031] Step S6) matches the global coordinate points obtained in step S5) with the global semantic map obtained in the mapping method to obtain the current semantic positioning result of the vehicle and complete the vehicle positioning.
[0032] Preferably, the formula for inverse perspective transformation is:
[0033]
[0034] Where: π c (·) is the projection model of the forward-looking camera, [R c t c ] is the external parameter matrix transformed from the forward camera coordinate system to the vehicle body coordinate system, [uv] is the pixel coordinate of the semantic feature, [x v y v ] is the coordinate of the semantic feature in the vehicle body coordinate system, and λ is the scale factor.
[0035] Preferably, the convolutional neural network of the semantic feature detection module is trained and classified using the parking lot picture set collected by the forward-looking camera, and the classification categories of the convolutional neural network include lane lines, stop lines, guide lines, speed bumps, passable areas, obstacles and walls, and the semantic features obtained by the semantic feature detection module through the convolutional neural network include lane lines, stop lines, guide lines and speed bumps.
[0036] Preferably, the formula for projecting the semantic features from the vehicle body coordinate system to the global coordinate system is:
[0037]
[0038] Where: [x w, y w z w ] is the coordinate of the semantic feature in the global coordinate system, R o is the rotation matrix from the vehicle coordinate system to the global coordinate system, t o is the translation vector from the vehicle coordinate system to the global coordinate system.
[0039] Preferably, the odometer module includes an inertial measurement unit and two wheel speed sensors;
[0040] The mapping module includes a local map module and a global map module;
[0041] The local map module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a local map and input it to the global map module;
[0042] The global map module is used to generate a global semantic map after adding loop closure detection and global optimization to the local map;
[0043] In step A5), the local map module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle's posture provided by the odometer module to obtain a local map and input it to the global map module; the global map module then adds loop detection and global optimization to the local map to generate a global semantic map.
[0044] Preferably, in step A5), the method for the global map module to add loop detection to the local map is: using a data registration method to match the current local map with the previously generated local map. If the matching result meets the set value, it proves that a loop occurs, and the calculated relative pose is used to optimize the pose graph to eliminate the accumulated error.
[0045] Preferably, in step A5), the method for the global map module to globally optimize the local map includes constraining the measurement value of the odometer module of two consecutive local map frames, and constraining the relative posture obtained based on the data registration method during loop detection between loop frames.
[0046] Preferably, in step A5), the method by which the global map module performs global optimization on the local map is the Gauss-Newton method, and the objective function is:
[0047]
[0048] Where: χ is the pose set, T t,t+1 is the relative pose estimate of the forward-looking camera at frame t and frame t+1, is the relative pose measurement obtained from the odometer module, L is the set of loop frame pairs, is the relative pose between the i-th frame and the j-th frame obtained based on the data registration method, used as the measurement value, T i,j is the relative pose estimate with cumulative error between the i-th frame and the j-th frame.
[0049] Compared with the prior art, the present invention has the following advantages:
[0050] 1. The present invention is different from the geometric features in the environment used by traditional visual positioning solutions. The present invention uses semantic features in the environment. For parking environments, they mainly include lane lines, guide lines, parking lines, speed bumps, etc. Compared with geometric features, semantic features can exist stably for a long time and remain robust when the lighting, viewing angle and environment change. These semantic features are detected by convolutional neural networks, and the global semantic map is established using the semantic features, and then the global semantic map is used to locate the vehicle. Therefore, this solution can respond to environmental changes more robustly than traditional positioning solutions, and can maintain a stable and accurate use state for a long time.
[0051] 2. The sensors used in the present invention are only a forward-looking camera, an IMU (inertial measurement unit) and two wheel speed sensors, wherein the IMU and the wheel speed sensors constitute an odometer module, which provides the relative position and posture of the vehicle during mapping and positioning. Therefore, the use cost of the present invention is very low, and mass-produced vehicles can also be easily configured.
[0052] 3. The framework of the present invention mainly includes two parts, mapping and positioning. As the name implies, mapping is to establish a global semantic map of the parking environment; the original image of the area in front of the vehicle is obtained by the front-view camera, and a top view is obtained after inverse perspective transformation, and then the image after semantic segmentation is input into the convolutional neural network, and the semantic features such as lane lines, parking lines, guide lines and speed bumps are obtained; then based on the posture provided by the odometer module, the semantic features are projected into the global coordinate system. In view of the data drift of the odometer module, the present invention also uses loop detection and global optimization to eliminate these accumulated errors, and finally saves these feature points to establish a global semantic map of the parking lot. After the global semantic map is generated, the vehicle entering the parking lot obtains the global coordinate points of the semantic features through the front-view camera to obtain the image, inverse perspective transformation, semantic feature detection and the posture provided by the odometer module, and then the ICP algorithm (based on data registration method) is used to match and correct the vehicle posture with the established global semantic map, and finally an accurate vehicle positioning result is obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a system block diagram of the mapping and vehicle positioning system for underground parking environments of the present invention. DETAILED DESCRIPTION
[0054] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0055] As attached Figure 1 As shown, a mapping and vehicle positioning system for an underground parking environment includes a front-view camera, an inverse perspective transformation module, a semantic feature detection module, an odometer module, a mapping module, and a positioning module;
[0056] The front-view camera is used to obtain the original image of the area in front of the vehicle and input it into the inverse perspective transformation module;
[0057] The inverse perspective transformation module is used to perform inverse perspective transformation on the original image input by the front-view camera to obtain a top view and input it to the semantic feature detection module;
[0058] The semantic feature detection module is used to obtain the top view semantically segmented image through a convolutional neural network, and obtain the semantic features to input into the mapping module and the positioning module;
[0059] The odometer module is used to obtain the vehicle's position and posture and input it into the mapping module and the positioning module;
[0060] The mapping module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle's position and posture provided by the odometer module to obtain a global semantic map.
[0061] The positioning module is used to obtain the global coordinate point of the vehicle's current semantic features and match the global coordinate point with the global semantic map to obtain the vehicle's current semantic positioning result.
[0062] In this embodiment, the odometer module includes an inertial measurement unit and two wheel speed sensors;
[0063] The mapping module includes a local map module and a global map module;
[0064] Based on the vehicle's position and posture provided by the odometer module, the local map module projects the semantic features from the vehicle coordinate system to the global coordinate system to obtain a local map and input it into the global map module;
[0065] The global map module is used to generate a global semantic map after adding loop closure detection and global optimization to the local map.
[0066] A method for mapping and positioning a vehicle in an underground parking environment, using the above-mentioned mapping and positioning system for an underground parking environment, the method for mapping and positioning a vehicle includes a mapping method and a vehicle positioning method;
[0067] The mapping method includes the following steps:
[0068] Step A1) The front-view camera obtains the original image of the area in front of the vehicle and inputs it to the inverse perspective transformation module;
[0069] Step A2) the inverse perspective transformation module performs inverse perspective transformation on the original image input by the front-view camera to obtain a top view and inputs it to the semantic feature detection module;
[0070] Step A3) The semantic feature detection module obtains the top view semantically segmented image through a convolutional neural network, and obtains the semantic features and inputs them into the mapping module;
[0071] Step A4) The odometer module obtains the vehicle's position and posture and inputs it into the mapping module;
[0072] Step A5) The mapping module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a global semantic map;
[0073] Step A6) Complete the map construction;
[0074] The vehicle positioning method comprises the following steps:
[0075] Step S1) The front-view camera obtains the original image of the area in front of the current position of the vehicle and inputs it to the inverse perspective transformation module;
[0076] Step S2) the inverse perspective transformation module performs inverse perspective transformation on the original image input by the front-view camera to obtain a top view and inputs it to the semantic feature detection module;
[0077] Step S3) the semantic feature detection module obtains the top view semantically segmented image through a convolutional neural network, and obtains the semantic features and inputs them into the positioning module;
[0078] Step S4) the odometer module obtains the current position of the vehicle and inputs it into the positioning module;
[0079] Step S5) the positioning module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the current position and posture of the vehicle provided by the odometer module to obtain the global coordinate point of the current semantic features of the vehicle;
[0080] Step S6) matches the global coordinate points obtained in step S5) with the global semantic map obtained in the mapping method to obtain the current semantic positioning result of the vehicle and complete the vehicle positioning.
[0081] In this embodiment, the internal and external parameters of the forward-looking camera have been calibrated offline, and the original image acquired by the forward-looking camera is projected onto the ground through inverse perspective transformation. The formula of inverse perspective transformation is:
[0082]
[0083] Where: π c (·) is the projection model of the forward-looking camera, [R c t c ] is the external parameter matrix transformed from the forward camera coordinate system to the vehicle body coordinate system, [uv] is the pixel coordinate of the semantic feature, [x v y v ] is the coordinate of the semantic feature in the vehicle body coordinate system, and λ is the scale factor.
[0084] In this embodiment, the semantic feature detection module uses a convolutional neural network U-Net for semantic segmentation, and the convolutional neural network uses a parking lot picture set collected by a forward-looking camera for training and classification, and the classification categories of the convolutional neural network include lane lines, stop lines, guide lines, speed bumps, passable areas, obstacles and walls, and the semantic features obtained by the semantic feature detection module through the convolutional neural network include lane lines, stop lines, guide lines and speed bumps. This is because the semantic features of lane lines, stop lines, guide lines and speed bumps are highly recognizable and stable, and are suitable for the mapping and positioning of the present invention.
[0085] In this embodiment, the semantic features are projected from the vehicle coordinate system to the global coordinate system using the following formula using the posture provided by the odometer module, and the global coordinate points of the semantic features are saved to generate a local map, and the local map range is 30m; wherein, the formula for projecting the semantic features from the vehicle coordinate system to the global coordinate system is:
[0086]
[0087] Where: [x w, y w z w ] is the coordinate of the semantic feature in the global coordinate system, R o is the rotation matrix from the vehicle coordinate system to the global coordinate system, t o is the translation vector from the vehicle coordinate system to the global coordinate system.
[0088] In this embodiment, in step A5), the local map module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle's posture provided by the odometer module to obtain a local map and input it to the global map module; the global map module then adds loop detection and global optimization to the local map to generate a global semantic map.
[0089] In this embodiment, in step A5), the method for the global map module to add loop detection to the local map is: use a data-based registration method to match the current local map with the previously generated local map. If the matching result meets the set value, it proves that a loop occurs, and the calculated relative posture is used to optimize the posture graph to eliminate the accumulated error.
[0090] In this embodiment, in step A5), the method for the global map module to globally optimize the local map includes constraining the measurement value of the odometer module of two consecutive local map frames, and constraining the relative posture obtained based on the data registration method during loop detection between loop frames.
[0091] In this embodiment, in step A5), the method by which the global map module performs global optimization on the local map is the Gauss-Newton method, and the objective function is:
[0092]
[0093] Where: χ is the pose set, T t,t+1 is the relative pose estimate of the forward-looking camera at frame t and frame t+1, is the relative pose measurement obtained from the odometer module, L is the set of loop frame pairs, is the relative pose between the i-th frame and the j-th frame obtained based on the data registration method, used as the measurement value, T i,j is the relative pose estimate with cumulative error between the i-th frame and the j-th frame.
[0094] Compared with the prior art, the present invention is different from the geometric features in the environment used in the traditional visual positioning scheme. The present invention uses the semantic features in the environment. For the parking lot environment, it mainly includes lane lines, guide lines, parking lines and speed bumps. Compared with geometric features, semantic features can exist stably for a long time and remain robust when the illumination, viewing angle and environment change. These semantic features are detected by a convolutional neural network, and the semantic features are used to establish a global semantic map, and then the global semantic map is used to locate the vehicle. Therefore, this solution can respond to environmental changes more robustly than traditional positioning solutions, and can maintain a stable and accurate use state for a long time. The sensors used in the present invention are only a forward-looking camera, an IMU (inertial measurement unit) and two wheel speed sensors, wherein the IMU and the wheel speed sensor constitute an odometer module, which provides the relative position and posture of the vehicle during mapping and positioning, so the use cost of the present invention is very low, and mass-produced vehicles can also be easily configured. The framework of the present invention mainly includes two parts, mapping and positioning. As the name implies, mapping is to build a global semantic map of the parking environment; the original image of the area in front of the vehicle is obtained by the front-view camera, and a top view is obtained after inverse perspective transformation, and then the image after semantic segmentation is input into the convolutional neural network, and the semantic features such as lane lines, parking lines, guide lines and speed bumps are obtained; then based on the posture provided by the odometer module, the semantic features are projected into the global coordinate system. In view of the data drift of the odometer module, the present invention also uses loop detection and global optimization to eliminate these accumulated errors, and finally, by saving these feature points, a global semantic map of the parking lot is established. After the global semantic map is generated, the vehicle entering the parking lot obtains the global coordinate points of the semantic features through the front-view camera to obtain the image, inverse perspective transformation, semantic feature detection and the posture provided by the odometer module, and then the ICP algorithm (based on the data registration method) is used to match and correct the vehicle posture with the built global semantic map, and finally an accurate vehicle positioning result is obtained.
[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.
Claims
1. A mapping and vehicle positioning system for underground parking environments, characterized in that: It includes a front-view camera, an inverse perspective transformation module, a semantic feature detection module, an odometer module, a mapping module, and a positioning module; The front-view camera is used to obtain the original image of the area in front of the vehicle and input it to the inverse perspective transformation module; The inverse perspective transformation module is used to perform inverse perspective transformation on the original image input by the front-view camera to obtain a top view and input it to the semantic feature detection module; The semantic feature detection module is used to obtain the image after semantic segmentation of the top view through a convolutional neural network, and obtain the semantic features and input them into the mapping module and the positioning module; The odometer module is used to obtain the vehicle's position and posture and input it into the mapping module and the positioning module; The mapping module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a global semantic map; The positioning module is used to obtain the global coordinate point of the current semantic feature of the vehicle, and match the global coordinate point with the global semantic map to obtain the current semantic positioning result of the vehicle; The mapping module includes a local map module and a global map module; The method by which the global map module performs global optimization on the local map is the Gauss-Newton method, and the objective function is: Where: χ is the pose set, T t,t+1 is the relative pose estimate of the forward-looking camera at frame t and frame t+1, is the relative pose measurement obtained from the odometer module, L is the set of loop frame pairs, is the relative pose between the i-th frame and the j-th frame obtained based on the data registration method, used as the measurement value, T i,j is the relative pose estimate with cumulative error between the i-th frame and the j-th frame.
2. The mapping and vehicle positioning system for underground parking environments according to claim 1, characterized in that: The odometer module includes an inertial measurement unit and two wheel speed sensors; The local map module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a local map and input it to the global map module; The global map module is used to generate a global semantic map after adding loop detection and global optimization to the local map.
3. A method for mapping and positioning vehicles in an underground parking environment, characterized in that: Using the mapping and vehicle positioning system for underground parking environments as described in claim 1, the mapping and vehicle positioning method includes a mapping method and a vehicle positioning method; The mapping method comprises the following steps: Step A1) the front-view camera acquires an original image of the area in front of the vehicle and inputs it to the inverse perspective transformation module; Step A2) the inverse perspective transformation module performs inverse perspective transformation on the original image input by the front-view camera to obtain a top view and inputs the top view to the semantic feature detection module; Step A3) the semantic feature detection module obtains the top view semantically segmented image through a convolutional neural network, and obtains the semantic features and inputs them into the mapping module; Step A4) the odometer module obtains the vehicle's position and posture and inputs it into the mapping module; Step A5) the mapping module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a global semantic map; Step A6) Complete the map construction; The vehicle positioning method comprises the following steps: Step S1) the front-view camera obtains an original image of the area in front of the current position of the vehicle and inputs it to the inverse perspective transformation module; Step S2) the inverse perspective transformation module performs inverse perspective transformation on the original image input by the front-view camera to obtain a top view and inputs the top view to the semantic feature detection module; Step S3) the semantic feature detection module obtains the top view semantically segmented image through a convolutional neural network, and obtains the semantic features and inputs them into the positioning module; Step S4) the odometer module obtains the current position of the vehicle and inputs it into the positioning module; Step S5) the positioning module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the current position and posture of the vehicle provided by the odometer module to obtain the global coordinate point of the current semantic features of the vehicle; Step S6) matches the global coordinate points obtained in step S5) with the global semantic map obtained in the mapping method to obtain the current semantic positioning result of the vehicle and complete the vehicle positioning.
4. The method for mapping and positioning vehicles in an underground parking environment according to claim 3, characterized in that: The formula for inverse perspective transformation is: Where: π c (·) is the forward-looking camera projection model, [R c t c ] is the external parameter matrix transformed from the forward camera coordinate system to the vehicle body coordinate system, [uv] is the pixel coordinate of the semantic feature, [x v y v ] is the coordinate of the semantic feature in the vehicle body coordinate system, and λ is the scale factor.
5. The method for mapping and positioning vehicles in underground parking environments according to claim 3, characterized in that: The convolutional neural network of the semantic feature detection module uses the parking lot picture set collected by the front-view camera for training and classification, and the classification categories of the convolutional neural network include lane lines, stop lines, guide lines, speed bumps, passable areas, obstacles and walls, and the semantic features obtained by the semantic feature detection module through the convolutional neural network include lane lines, stop lines, guide lines and speed bumps.
6. The method for mapping and positioning vehicles in an underground parking lot environment according to claim 3, characterized in that: The formula for projecting semantic features from the vehicle body coordinate system to the global coordinate system is: Where: [x w, y w z w ] is the coordinate of the semantic feature in the global coordinate system, R o is the rotation matrix from the vehicle coordinate system to the global coordinate system, t o is the translation vector from the vehicle coordinate system to the global coordinate system.
7. The method for mapping and positioning vehicles in an underground parking lot environment according to claim 6, characterized in that: The odometer module includes an inertial measurement unit and two wheel speed sensors; The mapping module includes a local map module and a global map module; The local map module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a local map and input it to the global map module; The global map module is used to generate a global semantic map after adding loop closure detection and global optimization to the local map; In step A5), the local map module projects the semantic features from the vehicle body coordinate system to the global coordinate system based on the vehicle posture provided by the odometer module to obtain a local map and input it to the global map module; The global map module then adds loop detection and global optimization to the local map to generate a global semantic map.
8. The method for mapping and positioning vehicles in an underground parking lot environment according to claim 7, characterized in that: In step A5), the method for the global map module to add loop detection to the local map is: using a data-based registration method to match the current local map with the previously generated local map. If the matching result meets the set value, it proves that a loop occurs, and the calculated relative pose is used to optimize the pose graph to eliminate the accumulated error.
9. The method for mapping and positioning vehicles in an underground parking environment according to claim 8, characterized in that: In step A5), the method for the global map module to globally optimize the local map includes constraining the measurement value of the odometer module of two consecutive local map frames, and constraining the relative posture obtained based on the data registration method during loop detection between loop frames.
Citation Information
Patent Citations
Navigation positioning method based on LK optical flow method and ORB-SLAM2
CN113808203A
Monocular vision SLAM algorithm based on semi-direct method and sliding window optimization
CN107610175A
Positioning method and system based on visual inertial navigation information fusion
CN107869989A
