Map matching method, device, electronic device, and storage medium
The map matching method enhances vehicle positioning by transforming and matching semantic features within vector semantic maps, addressing storage and efficiency issues in existing technologies, and achieving accurate real-time matching with diverse sensors.
Patent Information
- Application Number
- JP2023516484
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-09-27
- Filing Date
- 2020-10-23
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-10-23
AI Technical Summary
Existing vehicle positioning technologies, such as vslam and lslam, require high-density localization maps that consume significant storage resources and lack descriptors, leading to inefficiencies in real-time matching with sparse vector semantic maps.
A map matching method that utilizes initial positioning information and vehicle sensor data to determine candidate positioning information, transform semantic features, and match observed features with map features using vector semantic maps, without additional descriptors, to achieve real-time matching.
Realizes efficient and accurate real-time matching of observed features with map features, reducing storage capacity and computing power while maintaining robustness, applicable to various sensors like cameras and laser radars.
Smart Images

Figure 0007542284000010 
Figure 0007542284000015 
Figure 0007542284000012
Abstract
Description
[Technical field]
[0001] The embodiments of the present application relate to the field of intelligent driving technology, and in particular to a map matching method, apparatus, electronic device and non-transitory computer-readable storage medium.
[0002] <Related Applications> This application claims priority to a Chinese patent application, application number 2020110314570, entitled "Map matching method, apparatus, electronic device and storage medium," filed with the China Patent Office on September 27, 2020, the entire contents of which are incorporated herein by reference. [Background technology]
[0003] In the field of intelligent driving technologies such as assisted driving and autonomous driving, vehicle positioning technology occupies an important position. At present, the mainstream of vehicle positioning technology includes VSLA (visual simultaneous localization and mapping) technology using vision and LSLA (laser simultaneous localization and mapping) technology using laser radar, etc. These methods usually need to create a high-density localization map in advance and store information such as descriptors and intensity for matching, which consumes a lot of storage resources.
[0004] To reduce the size of the localization map while improving robustness in certain scenarios, there are localization methods that perform localization based on vector semantic maps. However, while the sparsity of vector maps enables significant size reduction, they do not contain information such as descriptors, which poses a challenge in achieving efficient and accurate real-time matching.
[0005] The above problem discovery process description is intended only as an aid for understanding the technical solution of the present invention, and is not an admission that the above is prior art. Summary of the Invention [Problem to be solved by the invention]
[0006] To solve at least one of the problems in the prior art, at least one embodiment of the present application provides a map matching method, an apparatus, an electronic device, and a non-transitory computer-readable storage medium. [Means for solving the problem]
[0007] In a first aspect, an embodiment of the present application provides a map matching method, the method comprising: obtaining initial vehicle positioning information and vehicle sensor data; determining a plurality of candidate positioning information based on the initial positioning information; determining a plurality of observation semantic features based on the vehicle sensor data; obtaining local map information based on the initial positioning information, the local map information including a plurality of map semantic features; For each of the candidate positioning information, transforming the plurality of map semantic features under a coordinate system of the vehicle sensor based on the candidate positioning information to obtain a plurality of candidate map semantic features under the coordinate system; matching the plurality of observed semantic features with the plurality of candidate map semantic features to obtain match pairs; and determining an optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information based on a matching pair corresponding to each of the candidate positioning information.
[0008] In a second aspect, an embodiment of the present application further provides a map matching device, the device comprising: an acquisition unit for acquiring initial positioning information of a vehicle and vehicle sensor data, and acquiring local map information including a plurality of map semantic features based on the initial positioning information; a first determination unit for determining a plurality of candidate positioning information based on the initial positioning information and for determining a plurality of observation semantic features based on the vehicle sensor data; For each of the candidate positioning information, Transforming the plurality of map semantic features under a coordinate system of the vehicle sensor based on the candidate positioning information to obtain a plurality of candidate map semantic features under the coordinate system; a matching unit for matching the plurality of observed semantic features with the plurality of candidate map semantic features to obtain matching pairs; and a second determination unit for determining, based on a matching pair corresponding to each of the candidate positioning information, an optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information.
[0009] In a third aspect, an embodiment of the present application further provides an electronic device comprising a processor and a memory, the processor calling a program or instructions stored in the memory to perform steps of the method according to the first aspect.
[0010] In a fourth aspect, embodiments of the present application further provide a non-transitory computer readable storage medium having stored thereon a program or instructions for causing a computer to perform the steps of the method according to the first aspect.
[0011] As described above, in at least one embodiment of the present application, a plurality of observed semantic features are determined based on vehicle sensor data, local map information (the local map information includes a plurality of map semantic features) is obtained based on initial positioning information of the vehicle, and a plurality of candidate positioning information (including the initial positioning information) is determined, and further, for each candidate positioning information, the observed semantic features are matched with the candidate map semantic features to obtain a matching pair, and optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information are determined based on the matching pair corresponding to each candidate positioning information. Effect of the Invention
[0012] The embodiments of the present application are applied to vector semantic maps, and only use the vector information of the vector semantic map (e.g., map semantic feature information) to realize real-time matching of observed features and map features, and can achieve good matching effect while reducing memory capacity and computing power without relying on additional data such as additional descriptors and intensities. In addition, the embodiments of the present application have no special requirements for the type of sensor (cameras, laser radars, etc. are all applicable). [Brief description of the drawings]
[0013] In order to more clearly explain the technical solutions of the embodiments of the present application, the following will briefly describe the drawings used in the embodiments or prior art description. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings. [Figure 1] FIG. 2 is an exemplary scenario diagram of a matching problem provided by an embodiment of the present application. [Diagram 2] FIG. 1 is an exemplary structural diagram of an intelligent driving vehicle provided by an embodiment of the present application. [Diagram 3] FIG. 1 is an exemplary block diagram of an intelligent driving system provided by an embodiment of the present application. [Figure 4]1 is an exemplary block diagram of a map matching device provided by an embodiment of the present application; [Diagram 5] FIG. 1 is an exemplary block diagram of an electronic device provided by an embodiment of the present application. [Figure 6] 1 is an exemplary flowchart of a map matching method provided by an embodiment of the present application. [Figure 7] FIG. 2 is a diagram showing an example of a semantic-Euclidean distance matrix provided by an embodiment of the present application; [Figure 8] FIG. 8 is a diagram showing an example of a distance ranking matrix determined based on the semantic-Euclidean distance matrix shown in FIG. 7. [Figure 9] FIG. 9 is a diagram showing an example of a matrix obtained after updating the distance ranking matrix shown in FIG. 8. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] In order to more clearly describe the above objects, features and advantages of the present application, the present application will be described in more detail below with reference to the drawings and examples. It should be understood that the described examples are only some of the examples of the present application, and are not all of the examples. The specific examples described herein are for interpreting the present application, and do not limit the present application. Those skilled in the art will recognize that other examples obtained based on the described examples of the present application are all within the scope of protection of the present application.
[0015] It should be noted that, in this specification, relational terms such as "first" and "second" are used only to refer to one entity or operation with respect to another entity or operation, and do not necessarily require or imply that any such actual relationship or order exists between those entities or operations.
[0016] In order to perform map matching in real time during the intelligent driving process, in the embodiment of the present application, the matching problem is described as follows in conjunction with FIG.
[0017] In Figure 1, we set a set M{m1,m2} and a set M'{m'1,m'2}, and under the constraint of the minimum distance, we find as many matching elements from M' as possible for an element in M to form matching pairs, where each matching pair contains one element in M and one element in M'.
[0018] In Figure 1, there are two matching pairs, (m1, m'2) and (m2, m'1), and naturally, due to the minimum distance constraint, the distance between m1 and m'2 is smaller than the distance between m1 and m'1, and similarly, the distance between m2 and m'1 is smaller than the distance between m2 and m'2.
[0019] Based on the above description of the matching problem, when applied to map matching, the set M can be understood as a set of observed features and the set M′ can be understood as a set of map features. In some embodiments, the observed features can be real-time observed features, and both the observed features and the map features are semantic features, i.e., the observed features are observed semantic features and the map features are map semantic features.
[0020] Observation semantic features can be understood as observed semantic features of targets for positioning determined based on vehicle sensor data, for example, the vehicle sensor data is image data, and the image data is processed by a target detection algorithm to determine the types and positions of targets contained in the image, and the targets can be understood as observed semantic features. For example, the image includes lanes, traffic signs (e.g., go straight, turn left, turn right, etc.), traffic lights (traffic lights), traffic sign boards, etc., which are all observed semantic features of targets for positioning.
[0021] Map semantic features can be understood as semantic features of targets for positioning included in a map (e.g., a vector map), for example, lanes, traffic signs, traffic lights, traffic sign boards, etc. in a map are all map semantic features of targets for positioning. In some embodiments, to easily obtain map semantic features from a map, the map can be pre-processed so that the map includes information of the map semantic features, for example, the map includes information related to the map semantic features, such as the semantic labels and positions of the map semantic features, and the information of the map semantic features can be obtained from the map at the same time as obtaining the map.
[0022] In map matching, the most matching pairs are found according to certain constraints, and the map features corresponding to each of the different observation features are determined, providing a basis for subsequent vehicle positioning. Note that in map matching, the constraints include not only the minimum distance constraint but also other constraints, which together determine the matching pairs, and the contents included in the constraints will be described in detail below.
[0023] Therefore, an embodiment of the present application provides a map matching method, which determines a plurality of observation semantic features based on vehicle sensor data, obtains local map information (the local map information includes a plurality of map semantic features) and a plurality of candidate positioning information (including the initial positioning information) based on the initial positioning information of the vehicle, and further matches the observation semantic features with the candidate map semantic features for each candidate positioning information to obtain a matching pair, and determines optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information based on the matching pair corresponding to each candidate positioning information.
[0024] The embodiments of the present application are applicable to vector semantic maps, and only use the vector information of the vector semantic map (e.g., map semantic feature information) to realize real-time matching of observed features and map features, and achieve good matching effect while reducing memory capacity and computing power without relying on additional data such as additional descriptors and intensities. In addition, the embodiments of the present application have no special requirements for the type of sensor (cameras, laser radars, etc. are all applicable).
[0025] In some embodiments, the semantic-Euclidean distance between the map semantic features and the observation semantic features can be determined, and a distance matrix can be further determined to realize vector semantic map matching based on the distance matrix. In some embodiments, the matching method based on the distance matrix can be widely applied to various matching scenarios in which a metric distance can be defined.
[0026] The embodiments of the present application are applicable to intelligent driving vehicles and electronic devices. The intelligent driving vehicles are vehicles equipped with different classes of intelligent driving systems, and the intelligent driving systems include, for example, driverless systems, assisted driving systems, driving assistance systems, highly autonomous driving systems, and fully autonomous driving vehicles. The electronic device is equipped with an intelligent driving system, and for example, the electronic device can be applied to testing intelligent driving algorithms, and for example, the electronic device can be an in-vehicle device, and in some embodiments, the electronic device can be applied in other fields. It should be understood that the application scenarios of the embodiments of the present application are merely some examples or examples of the present application, and those skilled in the art can apply the present application to other similar scenarios without creative labor. In the following, in order to provide a clearer and more unambiguous description, the embodiments of the present application take an intelligent driving vehicle as an example to describe the map matching method, the map matching device, the electronic device, or the non-transitory computer-readable storage medium.
[0027] 2 is an exemplary structural diagram of an intelligent driving vehicle provided by an embodiment of the present application. As shown in FIG. 2, the intelligent driving vehicle includes a sensor set, an intelligent driving system 200, a vehicle basic operating system, and components for vehicle driving and vehicle driving control, such as a brake pedal, a steering wheel, and an accelerator pedal.
[0028] The sensor set is used to collect data of the vehicle's external environment and detection data of the vehicle's position, and the sensor set may include, but is not limited to, at least one of a camera, a laser radar, a millimeter wave radar, an ultrasonic radar, a GPS (Global Positioning System), and an IMU (Inertial Measurement Unit).
[0029] In some embodiments, the sensor set is also used to collect vehicle dynamics data, such as, but not limited to, at least one of a wheel speed sensor, a speed sensor, an acceleration sensor, a steering wheel cornering sensor, and a front wheel cornering sensor.
[0030] The intelligent driving system 200 is used to obtain sensing data of a sensor set, where the sensing data includes, but is not limited to, images, videos, laser point clouds, millimeter waves, GPS information, vehicle status, etc. In some embodiments, the intelligent driving system 200 performs environment sensing and vehicle positioning based on the sensing data, and generates sensing information and vehicle attitude, the intelligent driving system 200 makes plans and decisions based on the sensing information and vehicle attitude, and generates planning and decision information, and the intelligent driving system 200 generates vehicle control commands based on the planning and decision information and sends them to a vehicle basic operating system.
[0031] In some embodiments, the intelligent driving system 200 may be a software system, a hardware system, or a combination of software and hardware systems, for example, the intelligent driving system 200 may be a software system that operates on an operating system, and the in-vehicle hardware system may be a hardware system that supports the operation of the operating system.
[0032] In some embodiments, the intelligent driving system 200 interacts with a cloud server. In some embodiments, the intelligent driving system 200 interacts with the cloud server through a wireless communication network (such as, but not limited to, a wireless communication network such as a GPRS network, a Zigbee network, a Wifi network, a 3G network, a 4G network, a 5G network, etc.).
[0033] In some embodiments, a cloud server is used to interact with a vehicle, where the cloud server transmits environmental information, positioning information, control information, and other information required for vehicle intelligent driving processes to the vehicle. In some embodiments, the cloud server is used to receive sensing data, vehicle status information, vehicle driving information, and related information of vehicle requirements from the vehicle side. In some embodiments, the cloud server can remotely control the vehicle according to user settings or vehicle requirements. In some embodiments, the cloud server can be a single server or a server cluster. The server cluster can be centralized or distributed. In some embodiments, the cloud server can be local or remote.
[0034] The vehicle foundation operating system is used to receive vehicle control commands and control vehicle driving based on the vehicle control commands. In some embodiments, the vehicle foundation operating system includes, but is not limited to, a steering system, a braking system, and a driving system. In some embodiments, the vehicle foundation operating system further includes a foundation controller for analyzing and sending the vehicle control commands to corresponding systems, such as the steering system, the braking system, and the driving system, respectively.
[0035] In some embodiments, the intelligent driving vehicle further includes a vehicle CAN bus, not shown in Fig. 1, which is used to connect the vehicle-based operating system. Information interaction between the intelligent driving system 200 and the vehicle-based operating system is transferred via the vehicle CAN bus.
[0036] 3 is a block diagram illustrating an example of an intelligent driving system 300 provided by an embodiment of the present application. In some embodiments, the intelligent driving system 300 is implemented as the intelligent driving system 200 or a part of the intelligent driving system 200 in FIG. 2 to control vehicle driving.
[0037] As shown in FIG. 3, the intelligent driving system 300 is divided into multiple modules, such as a sensing module 301, a planning module 302, a control module 303, a map matching module 304 and other modules for intelligent driving.
[0038] The sensing module 301 is used for environment sensing and positioning. In some embodiments, the sensing module 301 is used to obtain data such as sensor data, V2X (Vehicle to X, in-vehicle wireless communication) data, high-precision maps, etc., and perform environment sensing and positioning based on at least one of the above data to generate sensing information and positioning information. Here, the sensing information includes at least one of obstacle information, road signs / marks, pedestrian / vehicle information, and drivable area, but is not limited thereto. The positioning information includes vehicle attitude.
[0039] The planning module 302 is used for path planning and decision. In some embodiments, the planning module 302 generates planning and decision information based on the sensing information and positioning information generated by the sensing module 301. In some embodiments, the planning module 302 may generate planning and decision information by combining at least one of data such as V2X data, high-precision maps, etc. Here, the planning information includes, but is not limited to, a planned route, etc., and the decision information includes, but is not limited to, at least one of behaviors (e.g., including, but not limited to, following, overtaking, stopping, detouring, etc.), vehicle heading, vehicle speed, desired acceleration of the vehicle, desired steering cornering, etc.
[0040] The control module 303 is used to generate a control command for the vehicle-based operating system according to the planning and decision information, and send the control command to make the vehicle-based operating system control the vehicle driving, where the control command includes, but is not limited to, steering wheel steering, lateral control command, longitudinal control command, etc.
[0041] The map matching module 304 determines a plurality of observed semantic features based on the vehicle sensor data, obtains local map information (the local map information includes a plurality of map semantic features) and a plurality of candidate positioning information (including the initial positioning information) based on the initial positioning information of the vehicle, and further matches the observed semantic features with the candidate map semantic features for each candidate positioning information to obtain a matching pair, which is used to determine optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information based on the matching pair corresponding to each candidate positioning information.
[0042] In some embodiments, the functionality of the map matching module 304 may be integrated into the sensing module 301, the planning module 302, or the control module 303, or may be configured as a module independent of the intelligent driving system 300, and the map matching module 304 may be a software module, a hardware module, or a combined software and hardware module. For example, the map matching module 304 is a software module that runs on an operating system, and the in-vehicle hardware system is a hardware system that supports the operation of the operating system.
[0043] 4 is a block diagram showing an example of a map matching device 400 provided by an embodiment of the present application. In some embodiments, the map matching device 400 may be implemented as the map matching module 304 or a part of the map matching module 304 in FIG.
[0044] As shown in FIG. 4 , the map matching device 400 includes, but is not limited to, an obtaining unit 401, a first determining unit 402, a matching unit 403 and a second determining unit 404.
[0045] Acquired unit 401 The acquiring unit 401 is used to acquire relevant information of the vehicle, where the relevant information includes information directly or indirectly related to the vehicle, such as initial positioning information and vehicle sensor data, where the initial positioning information may be a priori information outside the vehicle or may be estimated by the second determining unit 404, and the vehicle sensor data may be acquired through data interaction with sensors mounted on the vehicle.
[0046] In some embodiments, the acquiring unit 404 can acquire local map information based on the initial positioning information. In some embodiments, the acquiring unit 404 can acquire local map information in a pre-constructed vector semantic map based on the initial positioning information, and the local map information is a part of the vector semantic map. In some embodiments, the acquiring unit 404 can acquire local map information by indexing the vector semantic map with an algorithm such as fast nearest neighbor based on the initial positioning information.
[0047] The pre-constructed vector semantic map includes information of map semantic features, such as lanes, traffic signs, traffic lights, traffic sign boards, etc. in the map. The information of the map semantic features includes information related to the map semantic features, such as the semantic labels and positions of the map semantic features.
[0048] In this embodiment, the obtaining unit 404 can obtain information of map semantic features from the local map information while obtaining the local map information, that is, obtain multiple map semantic features contained in the local map information.
[0049] First decision unit 402 The first determining unit 402 is used to determine a plurality of candidate positioning information according to the initial positioning information, and these plurality of candidate behavior information include the initial positioning information. In this embodiment, the initial positioning information generally has a large error, and at the same time, the map semantic feature has strong sparsity, so if the initial positioning information is used as it is for map matching, the matching accuracy is low or the effective matching feature is small, so that the accuracy of the subsequent map matching can be improved or the number of effective matching features can be increased by determining a plurality of candidate positioning information.
[0050] In some embodiments, the first determining unit 402 can perform discrete random sampling on the space within a certain range of the initial positioning information to obtain multiple candidate positioning information. In some embodiments, the first determining unit 402 generates n candidate positioning information including the initial positioning information with a certain probability distribution within a certain spatial range r of the initial positioning information by Monte Carlo random sampling. Here, the spatial range r and the number n of candidate positioning information are both related to the uncertainty of the initial positioning information, and the higher the uncertainty of the initial positioning information, the larger the values of r and n will generally be.
[0051] In some embodiments, the first determining unit 402 can determine a plurality of observation semantic features based on the vehicle sensor data, and the plurality of observation semantic features are real-time observation semantic features. For example, the vehicle sensor data is image data, and the first determining unit 402 processes the image data with a target detection algorithm to determine the type and position of a target included in the image, and the target can be understood as an observation semantic feature. For example, lanes, traffic signs (e.g., go straight, turn left, turn right, etc.), traffic signals (i.e., traffic lights), traffic sign boards, etc. included in the image are all observation semantic features. It should be noted that the above sensor data examples are used for explanation only and do not limit the present application, and in practical applications, the vehicle sensor data can be any (e.g., laser radar data) as long as observation semantic features can be identified from the sensor data.
[0052] Matching Unit 403 The matching unit 403 is used to perform map matching for each candidate positioning information. In some embodiments, for each candidate positioning information, the matching unit 403 transforms a plurality of map semantic features under a coordinate system of a vehicle sensor based on the candidate positioning information to obtain a plurality of candidate map semantic features under the coordinate system, and then matches a plurality of observation semantic features with the plurality of candidate map semantic features to obtain matching pairs. In some embodiments, the matching unit 403 transforms a plurality of observation semantic features under a coordinate system of a same vehicle sensor, and then matches a plurality of observation semantic features transformed under the coordinate system of the same vehicle sensor with a plurality of candidate map semantic features to obtain matching pairs.
[0053] In some embodiments, the matching unit 403 performs observability filtering on each candidate map semantic feature, i.e., determines whether the candidate map semantic feature is within the dead zone of the vehicle sensor, and if so, determines that this candidate map semantic feature cannot be matched by the observed semantic features and removes it from participating in further matching.
[0054] Specifically, for each candidate positioning information, the matching unit 403 transforms a plurality of map semantic features under the coordinate system of the vehicle sensor based on the candidate positioning information to obtain a plurality of candidate map semantic features under this coordinate system, and then removes the candidate map semantic features within the dead zone of the vehicle sensor, and further matches the observed semantic features with the remaining candidate map semantic features to obtain matching pairs.
[0055] In some embodiments, in order to improve the accuracy of map matching or increase the number of valid matching features, the embodiments clarify that a matching pair satisfies the following conditions 1 to 4.
[0056] Condition 1: There is a one-to-one correspondence between a candidate map semantic feature and its matching observed semantic feature, i.e., one candidate map semantic feature matches only one observed semantic feature, and one observed semantic feature matches only one candidate map semantic feature.
[0057] Condition 2: The semantic label of a candidate map semantic feature and the semantic label of its matching observed semantic feature are the same.
[0058] Condition 3: The semantic-Euclidean distance between a candidate map semantic feature and its matching observed semantic feature is less than or equal to a Euclidean distance threshold, the semantic-Euclidean distance being used to characterize the degree of similarity between one candidate map semantic feature and one observed semantic feature, and the Euclidean distance threshold being inversely correlated to the Euclidean distance between the candidate map semantic feature and the candidate positioning information, where the Euclidean distance between the candidate map semantic feature and the candidate positioning information can be understood as the Euclidean distance between the position (coordinate value) corresponding to the candidate map semantic feature and the candidate positioning information (coordinate value).
[0059] In some embodiments, the Euclidean distance threshold is determined according to the following formula:
number
[0060] Condition 4: The semantic-Euclidean distance between the candidate map semantic feature and its matching observed semantic feature is the smallest among all semantic-Euclidean distances corresponding to the candidate map semantic feature and the smallest among all semantic-Euclidean distances corresponding to the observed semantic feature. In some embodiments, a semantic-Euclidean distance is calculated based on the candidate map semantic feature and each observed semantic feature. In some embodiments, if a semantic-Euclidean distance is the smallest among multiple semantic-Euclidean distances corresponding to the candidate semantic feature but is not the smallest among multiple semantic-Euclidean distances corresponding to the observed semantic feature, the two are not a matching pair.
[0061] In some embodiments, the matching pairs further satisfy condition 5 below.
[0062] Condition 5: If a candidate map semantic feature has a higher semantic feature, the semantic label of the higher semantic feature of the candidate map semantic feature and the semantic label of the higher semantic feature of the matching observed semantic feature are the same. In some embodiments, the semantic-Euclidean distance between the higher semantic feature of the candidate map semantic feature and the higher semantic feature of the matching observed semantic feature is less than or equal to the Euclidean distance threshold.
[0063] In some examples, the high-level semantic features characterize global information of a target for positioning, and the low-level semantic features characterize local or end points of the target for positioning, e.g., the high-level semantic features are lanes and the low-level semantic features are end points of the lanes.
[0064] The purpose of setting condition 5 is to reduce the probability of a matching error, for example, reducing the probability of an event in which the end of one lane coincides with the end of another lane.
[0065] Incidentally, current matching algorithms such as nearest neighbor matching and brute force matching do not satisfy the above conditions 1 to 5.
[0066] In some embodiments, the matching unit 403 determines a semantic-Euclidean distance between any candidate map semantic feature and any observed semantic feature in the following manner: If the semantic label of the observed semantic feature and the semantic label of the candidate map semantic feature are different, the semantic-Euclidean distance is an invalid value INF; If the semantic label of this observed semantic feature and the semantic label of this candidate map semantic feature are the same, determining a Euclidean distance and a Euclidean distance threshold between coordinate values corresponding to the observed semantic feature and coordinate values corresponding to the candidate map semantic feature; the Euclidean distance between the coordinate values corresponding to the observed semantic feature and the coordinate values corresponding to the candidate mapped semantic feature is less than or equal to the Euclidean distance threshold, the semantic-Euclidean distance being the Euclidean distance between the coordinate values corresponding to the observed semantic feature and the coordinate values corresponding to the candidate mapped semantic feature; If the Euclidean distance between the coordinate values corresponding to the observed semantic feature and the coordinate values corresponding to the candidate map semantic feature is greater than the Euclidean distance threshold, the semantic-Euclidean distance is an invalid value INF.
[0067] In some embodiments, the semantic-Euclidean distance is determined according to the following formula:
number
[0068] In some embodiments, to satisfy condition 5, when the semantic label of an observed semantic feature and the semantic label of a candidate mapped semantic feature are the same, and the observed semantic feature or the candidate mapped semantic feature is observed to have a higher semantic feature, it is determined whether the semantic label of the higher semantic feature of the observed semantic feature and the semantic label of the higher semantic feature of the candidate mapped semantic feature are the same, and if they are different, it is determined that the semantic-Euclidean distance between the observed semantic feature and the mapped semantic feature is an invalid value INF.
[0069] In some embodiments, the matching unit 403 determines a semantic-Euclidean distance matrix composed of a plurality of observed semantic features and a plurality of candidate map semantic features. In the semantic-Euclidean distance matrix shown in FIG. 7, m1, m2, m3, m4, and m5 are observed semantic features, and m'1, m'2, m'3, m'4, and m'5 are candidate map semantic features. In FIG. 7, the semantic-Euclidean distance between m1 and m'1 is 0.5, the semantic-Euclidean distance between m1 and m'2 is INF, and the semantic-Euclidean distance between m1 and m'3 is 0.1, so that each element in the semantic-Euclidean distance matrix shown in FIG. 7 represents a semantic-Euclidean distance. In some embodiments, since there are invalid values INF in the semantic-Euclidean distance matrix shown in FIG. 7, the semantic-Euclidean distance matrix is a sparse matrix, and there is no need to store the invalid values INF, and only valid values are stored, which further improves the efficiency of subsequent matching.
[0070] In some embodiments, the matching unit 403 determines a distance ranking matrix based on a semantic-Euclidean distance matrix, where each element in the distance ranking matrix is a binary group, and the binary group represents the ranking of the row and column where the semantic-Euclidean distance is located, where the smaller the distance, the smaller the ranking value, and the ranking value of 1 indicates the closest distance. The distance ranking matrix shown in FIG. 8 is a distance ranking matrix determined based on the semantic-Euclidean distance matrix shown in FIG. 7. For example, in FIG. 7, the rankings of the row and column where the semantic-Euclidean distance between m1 and m'1 is located are 1 and 3, respectively, so in FIG. 8, the values of the corresponding elements of m1 and m'1 are (1, 3).
[0071] In some embodiments, the matching unit 403 can determine the observed semantic feature and the candidate map semantic feature corresponding to the binary group (1,1) in the distance ranking matrix as a matching pair. For example, in FIG. 8, m1 and m'3 are determined as a matching pair, and m5 and m'5 are determined as a matching pair.
[0072] In some embodiments, after the matching unit 403 determines the observed semantic feature and the candidate map semantic feature corresponding to the binary group (1,1) in the distance ranking matrix as a matching pair, it modifies all elements in the row and column corresponding to the binary group (1,1) to an invalid value INF and updates the distance ranking matrix.
[0073] Fig. 9 is a diagram showing an example of a matrix obtained after updating the distance ranking matrix shown in Fig. 8. To satisfy condition 1, all elements in the row and column corresponding to the binary group (1,1) in Fig. 8 are modified to the invalid value INF, and the values of the elements in the same matrix are changed by the elements modified to INF to form a new matrix as shown in Fig. 9. Note that the modification to the invalid value INF is merely an intermediate operation in updating the distance ranking matrix, and does not mean that the semantic-Euclidean distance is the invalid value INF.
[0074] In some embodiments, the matching unit 403 may determine the observed semantic feature and the map semantic feature corresponding to the binary group (1,1) in the updated distance ranking matrix as a matching pair. For example, in FIG. 9, m3 and m'2, and m4 and m'4 are determined as matching pairs.
[0075] The matching unit 403 iteratively updates the distance ranking matrix and determines matching pairs until the updated distance ranking matrix does not contain the binary group (1,1).
[0076] In some embodiments, in any matching scenario, if a metric distance is defined, a distance matrix can be constructed and further matched to obtain a matching result, so that the distance matrix-based matching method presented in the embodiments of the present application has wide applicability.
[0077] Second Decision Unit 404 The second determination unit 404 is used to determine an optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information based on the matching pair corresponding to each candidate positioning information. In some embodiments, the optimized candidate positioning information is used as the initial positioning information to map match the observed semantic features acquired in real time.
[0078] In some embodiments, the second determining unit 404 selects the candidate positioning information with the highest number of matching pairs as the optimized candidate positioning information for the vehicle.
[0079] In some embodiments, the second determining unit 404 can determine an evaluation value of each candidate positioning information based on the a priori contributions of different candidate map semantic features to vehicle positioning and matching pairs corresponding to each candidate positioning information, where the a priori contributions of ground semantic features, such as lanes, that have a larger contribution to vehicle positioning than non-ground features, such as road signs, can be set in advance, so that the a priori contributions of lanes can be set higher than the a priori contributions of road signs.
[0080] In some embodiments, the evaluation value of the candidate positioning information is determined according to the following formula:
number
[0081] In some embodiments, the second determination unit 404 may select the candidate positioning information with the highest evaluation value as the optimized candidate positioning information for the vehicle.
[0082] In some embodiments, the second determining unit 404 selects the candidate positioning information with the highest evaluation value, and then determines whether the highest evaluation value is less than an evaluation value threshold, and if so, determines that the map matching is unsuccessful. Here, the evaluation value threshold is an a priori value, i.e., a value determined in advance, and is not limited to a specific value in this embodiment, and those skilled in the art may set it according to actual needs.
[0083] In some embodiments, the division of each unit in the map matching device 400 is only a logical functional division, and may be a different division in practice, for example, at least two units among the acquisition unit 401, the first determination unit 402, the matching unit 403, and the second determination unit 404 can be realized as one unit, and the acquisition unit 401, the first determination unit 402, the matching unit 403, or the second determination unit 404 may be divided into multiple sub-units. It should be understood that each unit or sub-unit can be realized by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are realized by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to realize the described functions for each specific application scenario.
[0084] FIG. 5 is a schematic diagram showing the structure of an electronic device provided by an embodiment of the present application.
[0085] As shown in FIG. 5, the electronic device includes at least one processor 501, at least one memory 502, and at least one communication interface 503. Each component in the electronic device is coupled via a bus system 504. The communication interface 503 is used for information transfer with external devices. The bus system 504 is used to realize connection and communication between these components. The bus system 504 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of explanation, various buses are jointly referred to as the bus system 504 in FIG. 5.
[0086] It should be noted that the memory 502 in this embodiment may be a volatile memory, a non-volatile memory, or may include both volatile and non-volatile memory.
[0087] In some embodiments, memory 502 stores executable units or data structures, or a subset or an extended set thereof, such as an operating system and application programs.
[0088] Here, the operating system includes various system programs, such as a framework layer, a core library layer, drivers, and various basic tasks and hardware-based processing tasks. The application programs include various application programs, a media player, a browser, and the like for realizing various application tasks. A program for realizing the map matching method provided by the embodiments of the present application may be included in the application programs.
[0089] In an embodiment of the present application, the processor 501 calls a program or instruction stored in the memory 502, specifically, a program or instruction stored in an application program, and the processor 501 is used to execute steps of each embodiment of the map matching method provided in the embodiment of the present application.
[0090] The map matching method provided in the embodiments of the present application can be applied in or realized by a processor 501. The processor 501 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be achieved by an integrated logic circuit of hardware or a software-type instruction in the processor 501. The above processor 501 can be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. The general-purpose processor can be a microprocessor or any ordinary processor, etc.
[0091] The steps of the map matching method provided in the embodiments of the present application may be directly embodied to be executed by a hardware decoding processor, or may be embodied to be executed by a combination of hardware and software units in the decoding processor. The software units may be arranged in a storage medium matured in the field, such as a random memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is arranged in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
[0092] 6 is a flow chart showing an example of a map matching method provided by an embodiment of the present application. The execution body of the method is an electronic device, and in some embodiments, the execution body of the method may be an intelligent driving system supported by an in-vehicle device. For convenience of explanation, the flow of the map matching method is described in the following embodiments by taking the electronic device as the execution body.
[0093] As shown in FIG. 6, in step 601, the electronic device obtains initial vehicle positioning information and vehicle sensor data.
[0094] In step 602, the electronic device determines a number of candidate positioning information based on the initial positioning information.
[0095] In step 603, the electronics determines a number of observation semantic features based on the vehicle sensor data.
[0096] In step 604, the electronic device obtains local map information based on the initial positioning information, the local map information including a plurality of map semantic features.
[0097] In step 605, the electronic device performs the following for each of the candidate positioning information: 6051, based on the candidate positioning information, transforming the plurality of map semantic features under the coordinate system of the vehicle sensor to obtain a plurality of candidate map semantic features under the coordinate system; 6052, matching the plurality of observed semantic features with the plurality of candidate map semantic features to obtain matching pairs.
[0098] In step 606, the electronic device determines an optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information based on a matching pair corresponding to each of the candidate positioning information.
[0099] In some embodiments, prior to matching the plurality of observed semantic features with the plurality of candidate map semantic features, the method further comprises: The method further includes removing candidate map semantic features within a dead zone of the vehicle sensor.
[0100] In some embodiments, the matching pairs satisfy the following conditions 1 to 4: Condition 1: There is a one-to-one correspondence between the candidate map semantic features and their matching observed semantic features.
[0101] Condition 2: The semantic label of a candidate map semantic feature and the semantic label of its matching observed semantic feature are the same.
[0102] Condition 3: The semantic-Euclidean distance between a candidate map semantic feature and its matching observed semantic feature is less than or equal to a Euclidean distance threshold, the semantic-Euclidean distance characterizing the degree of similarity between one candidate map semantic feature and one observed semantic feature, and the Euclidean distance threshold being inversely correlated to the Euclidean distance between the candidate map semantic feature and the candidate positioning information.
[0103] Condition 4: The semantic-Euclidean distance between a candidate mapped semantic feature and its matching observed semantic feature is the smallest among all semantic-Euclidean distances corresponding to the candidate mapped semantic feature and is the smallest among all semantic-Euclidean distances corresponding to the observed semantic feature.
[0104] In some embodiments, the matching pair further satisfies the following condition 5: Condition 5: When a candidate map semantic feature has a higher semantic feature, the semantic label of the higher semantic feature of the candidate map semantic feature and the semantic label of the higher semantic feature of the matching observed semantic feature are the same.
[0105] In some embodiments, a semantic-Euclidean distance between a top semantic feature of the candidate map semantic feature and a top semantic feature of the matching observed semantic feature is less than or equal to the Euclidean distance threshold.
[0106] In some embodiments, the semantic-Euclidean distance between any candidate map semantic feature and any observed semantic feature is determined in the following manner: If the semantic label of the observed semantic feature and the semantic label of the candidate map semantic feature are different, the semantic-Euclidean distance is an invalid value INF; If the semantic label of this observed semantic feature and the semantic label of this candidate map semantic feature are the same, determining a Euclidean distance and a Euclidean distance threshold between coordinate values corresponding to the observed semantic feature and coordinate values corresponding to the candidate map semantic feature; if the Euclidean distance between the coordinate values corresponding to the observed semantic feature and the coordinate values corresponding to the candidate mapped semantic feature is less than or equal to the Euclidean distance threshold, the semantic-Euclidean distance is the Euclidean distance between the coordinate values corresponding to the observed semantic feature and the coordinate values corresponding to the candidate mapped semantic feature; If the Euclidean distance between the coordinate values corresponding to the observed semantic feature and the coordinate values corresponding to the candidate map semantic feature is greater than the Euclidean distance threshold, the semantic-Euclidean distance is an invalid value INF.
[0107] In some embodiments, the Euclidean distance threshold is determined according to the following formula:
number
[0108] In some embodiments, if the semantic label of an observed semantic feature and the semantic label of a candidate mapped semantic feature are the same, and the observed semantic feature or the candidate mapped semantic feature is a superior semantic feature, it is determined whether the semantic label of the superior semantic feature of the observed semantic feature and the semantic label of the superior semantic feature of the candidate mapped semantic feature are the same, and if they are different, it is determined that the semantic-Euclidean distance between the observed semantic feature and the mapped semantic feature is an invalid value INF.
[0109] In some embodiments, matching the plurality of observed semantic features with the plurality of candidate map semantic features to obtain match pairs comprises: determining a semantic-Euclidean distance matrix composed of the plurality of observed semantic features and the plurality of candidate map semantic features; determining a distance ranking matrix based on the semantic-Euclidean distance matrix, each element in the distance ranking matrix being a binary group, the binary group indicating a ranking of a row and a column in which a semantic-Euclidean distance is located; determining an observed semantic feature and a candidate map semantic feature corresponding to a binary group (1,1) in the distance ranking matrix as a matching pair;
[0110] In some embodiments, after determining the observed semantic feature and the candidate map semantic feature corresponding to the binary group (1,1) in the distance ranking matrix as a matching pair, the method includes: modifying all elements of the row and column corresponding to the binary group (1,1) to an invalid value INF and updating a distance ranking matrix; determining an observed semantic feature and a candidate map semantic feature corresponding to a binary group (1,1) in the updated distance ranking matrix as a matching pair; repeating the above two steps until the updated distance ranking matrix does not contain any binary group (1,1).
[0111] In some embodiments, the step of determining the optimized candidate positioning information of the vehicle and the matching pair corresponding to the optimized candidate positioning information based on the matching pair corresponding to each of the candidate positioning information includes: The method includes selecting the candidate positioning information with the highest number of matching pairs as an optimized candidate positioning information for the vehicle.
[0112] In some embodiments, the step of determining the optimized candidate positioning information of the vehicle and the matching pair corresponding to the optimized candidate positioning information based on the matching pair corresponding to each of the candidate positioning information includes: determining an evaluation value for each of the candidate positioning information based on a priori contributions of different candidate map semantic features to the vehicle positioning and a matching pair corresponding to each of the candidate positioning information; Selecting the candidate positioning information with the highest evaluation value as the optimized candidate positioning information for the vehicle.
[0113] In some embodiments, the evaluation value of the candidate positioning information is determined by the following formula:
number
[0114] In some embodiments, after selecting the candidate positioning information with the highest evaluation value, the method further comprises: It is determined whether the highest evaluation value is greater than a threshold evaluation value, and if so, it is determined that the map matching has failed.
[0115] Although the above method embodiments are all expressed as a series of operations for ease of explanation, those skilled in the art should understand that the embodiments of the present application are not limited by the order of operations described, and that some steps may be performed in other orders or simultaneously according to the embodiments of the present application. In addition, those skilled in the art should understand that all the embodiments described in the specification are optional.
[0116] An embodiment of the present application further provides a non-transitory computer-readable storage medium, which stores a program or instructions for causing a computer to execute steps of each embodiment of the map matching method, which will not be repeated here to avoid redundant description.
[0117] It should be noted that, as used herein, "comprises," "having," or any variation thereof, is intended to be non-exclusive inclusive, and a process, method, article, or apparatus that comprises a set of elements includes not only those elements, but also other elements not expressly listed or that are inherent to the process, method, article, or apparatus. Without further limitation, an element defined as "comprising..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0118] Although some of the above embodiments include some features and not others included in other embodiments, it will be understood by those skilled in the art that combinations of features of different embodiments mean that they fall within the scope of the present application and form different embodiments.
[0119] It will be understood by those skilled in the art that the description of each embodiment has its own focus, and the parts not described in detail in one embodiment may be referred to the relevant descriptions of other embodiments.
[0120] Although the embodiments of the present application have been described with reference to the drawings, those skilled in the art will recognize that various modifications and variations made without departing from the spirit and scope of the present application are all included within the scope of the claims.
[0121] <Industrial Applicability> The embodiments of the present application are applicable to vector semantic maps, and utilize the vector information of the vector semantic map (e.g., information on map semantic features) to realize real-time matching of observed features and map features, and can achieve good matching effect while reducing memory capacity and computing power without relying on additional data such as additional descriptors and intensities. In addition, there are no special requirements for the type of sensor in the embodiments of the present application (cameras, laser radars, etc. are all applicable). High industrial applicability.
Claims
1. obtaining initial vehicle positioning information and vehicle sensor data; determining a plurality of candidate positioning information based on the initial positioning information; determining a plurality of observation semantic features based on the vehicle sensor data; obtaining local map information based on the initial positioning information, the local map information including a plurality of map semantic features; For each of the candidate positioning information, transforming the plurality of map semantic features under a coordinate system of the vehicle sensor based on the candidate positioning information to obtain a plurality of candidate map semantic features under the coordinate system; matching the plurality of observed semantic features with the plurality of candidate map semantic features to obtain match pairs; determining an optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information based on a matching pair corresponding to each of the candidate positioning information; The matching pair satisfies the following conditions: a candidate map semantic feature and a matching observed semantic feature have a one-to-one correspondence; The semantic label of the candidate map semantic feature and the semantic label of the matching observed semantic feature are the same; a semantic-Euclidean distance between a candidate map semantic feature and a matching observed semantic feature is less than or equal to a Euclidean distance threshold, the semantic-Euclidean distance being used to characterize a degree of similarity between a candidate map semantic feature and an observed semantic feature, the Euclidean distance threshold being inversely correlated with a Euclidean distance between the candidate map semantic feature and the candidate positioning information; A map matching method, wherein a semantic-Euclidean distance between a candidate map semantic feature and its matching observed semantic feature is the smallest among all semantic-Euclidean distances corresponding to the candidate map semantic feature and is the smallest among all semantic-Euclidean distances corresponding to the observed semantic feature.
2. The method of claim 1 , prior to matching the plurality of observation semantic features with the plurality of candidate map semantic features, the method further comprising removing candidate map semantic features within a dead zone of the vehicle sensor.
3. The matched pairs further satisfy the following conditions: The method of claim 1 , wherein when a candidate map semantic feature has a superordinate semantic feature, the semantic label of the superordinate semantic feature of the candidate map semantic feature and the semantic label of the superordinate semantic feature of the matching observed semantic feature are the same.
4. The method of claim 3 , wherein a semantic-Euclidean distance between the top semantic features of the candidate map semantic features and the top semantic features of the matching observed semantic features is less than or equal to the Euclidean distance threshold.
5. The semantic-Euclidean distance between any candidate map semantic feature and any observed semantic feature is determined in the following manner: If the semantic label of the observed semantic feature and the semantic label of the candidate map semantic feature are different, the semantic-Euclidean distance is an invalid value INF; If the semantic label of this observed semantic feature and the semantic label of this candidate map semantic feature are the same, determining a Euclidean distance and a Euclidean distance threshold between coordinate values corresponding to the observed semantic feature and coordinate values corresponding to the candidate map semantic feature; if a Euclidean distance between the coordinate values corresponding to the observed semantic feature and the coordinate values corresponding to the candidate mapped semantic feature is less than or equal to the Euclidean distance threshold, the semantic-Euclidean distance is the Euclidean distance between the coordinate values corresponding to the observed semantic feature and the coordinate values corresponding to the candidate mapped semantic feature; The method of claim 1 , wherein if a Euclidean distance between coordinate values corresponding to the observed semantic feature and coordinate values corresponding to the candidate map semantic feature is greater than the Euclidean distance threshold, then the semantic-Euclidean distance is an invalid value INF.
6. The Euclidean distance threshold is determined by the following formula: [0010] where th is the Euclidean distance threshold, 0 The method of claim 1 , wherein ∇t is a fixed a priori threshold, t is the Euclidean distance between the candidate map semantic features and the candidate positioning information, and f(t) is a mapping function that is inversely related to t.
7. 6. The method of claim 5, further comprising: determining whether a semantic label of the higher semantic feature of the observed semantic feature and a semantic label of the higher semantic feature of the candidate map semantic feature are the same when the semantic label of the observed semantic feature and the semantic label of the higher semantic feature of the candidate map semantic feature are the same, and if they are different, determining that the semantic-Euclidean distance between the observed semantic feature and the map semantic feature is an invalid value INF.
8. The step of matching the plurality of observed semantic features with the plurality of candidate map semantic features to obtain matching pairs includes: determining a semantic-Euclidean distance matrix composed of the plurality of observed semantic features and the plurality of candidate map semantic features; determining a distance ranking matrix based on the semantic-Euclidean distance matrix, each element in the distance ranking matrix being a binary group, the binary group representing a ranking of a row and a column in which a semantic-Euclidean distance is located; The method of claim 1 , comprising: determining an observed semantic feature and a candidate map semantic feature corresponding to a binary group (1,1) in the distance ranking matrix as a matching pair.
9. After determining the observed semantic feature and the candidate map semantic feature corresponding to the binary group (1,1) in the distance ranking matrix as a matching pair, the method includes: modifying all elements of the row and column corresponding to the binary group (1,1) to an invalid value INF and updating a distance ranking matrix; determining an observed semantic feature and a candidate map semantic feature corresponding to a binary group (1,1) in the updated distance ranking matrix as a matching pair; 9. The method of claim 8, further comprising: repeating the above two steps until the updated distance ranking matrix has no binary group (1,1).
10. The step of determining an optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information based on a matching pair corresponding to each of the candidate positioning information includes: The method of claim 1 , comprising selecting the candidate positioning information with the highest number of matching pairs as the optimized candidate positioning information for the vehicle.
11. The step of determining an optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information based on a matching pair corresponding to each of the candidate positioning information includes: determining an evaluation value for each of the candidate positioning information based on a priori contributions of different candidate map semantic features to the vehicle positioning and a matching pair corresponding to each of the candidate positioning information; The method of claim 1 , comprising selecting the candidate positioning information with the highest evaluation value as the optimized candidate positioning information for the vehicle.
12. The evaluation value of the candidate positioning information is determined by the following formula: [0025] Here, score is the evaluation value of the candidate positioning information, and λ c and λ d is the a priori assigned weight, and c i is the a priori contribution of the candidate map semantic feature in the i-th matching pair to the vehicle positioning, and d i is the semantic-Euclidean distance of the i-th matching pair, and f(d i ) is d i The method of claim 12, wherein the mapping function is inversely related to
13. After selecting the candidate positioning information with the highest evaluation value, the method further comprises: The method of claim 12 , further comprising determining whether the highest evaluation value is less than a threshold evaluation value, and if so, determining that map matching has failed.
14. an acquisition unit for acquiring initial positioning information of a vehicle and data of a vehicle sensor, and acquiring local map information including a plurality of map semantic features based on the initial positioning information; a first determination unit for determining a plurality of candidate positioning information based on the initial positioning information and for determining a plurality of observation semantic features based on data of the vehicle sensors; For each of the candidate positioning information, Transforming the plurality of map semantic features under a coordinate system of the vehicle sensor based on the candidate positioning information to obtain a plurality of candidate map semantic features under the coordinate system; a matching unit for matching the plurality of observed semantic features with the plurality of candidate map semantic features to obtain matching pairs; a second determination unit for determining an optimized candidate positioning information of the vehicle and a matching pair corresponding to the optimized candidate positioning information according to a matching pair corresponding to each of the candidate positioning information; The matching pair satisfies the following conditions: a candidate map semantic feature and a matching observed semantic feature have a one-to-one correspondence; The semantic label of the candidate map semantic feature and the semantic label of the matching observed semantic feature are the same; a semantic-Euclidean distance between a candidate map semantic feature and a matching observed semantic feature is less than or equal to a Euclidean distance threshold, the semantic-Euclidean distance being used to characterize a degree of similarity between a candidate map semantic feature and an observed semantic feature, the Euclidean distance threshold being inversely correlated with a Euclidean distance between the candidate map semantic feature and the candidate positioning information; A map matching apparatus, wherein a semantic-Euclidean distance between a candidate map semantic feature and its matching observed semantic feature is the smallest among all semantic-Euclidean distances corresponding to the candidate map semantic feature and is the smallest among all semantic-Euclidean distances corresponding to the observed semantic feature.
15. 13. An electronic device comprising a processor and a memory, the processor invoking programs or instructions stored in the memory to perform the steps of the method of claim 1.
16. A non-transitory computer readable storage medium having stored thereon a program or instructions that cause a computer to perform the steps of the method of claim 1.
Citation Information
Patent Citations
Object detection device
JP2020076711A
Video-based localization and mapping method and system
JP2020516853A
Method for estimating pose of moving object of electronic apparatus
KR1020190076815A
Vehicle Localization Using Cameras
US20180268566A1
Semantic Obstacle Recognition For Path Planning
US20190187703A1
