Distance prediction method, model training method, regulation and control system, and related device thereof
By training a distance prediction model that does not rely on high-precision maps, it can automatically predict the maximum reachable distance of each lane in front of the vehicle, solving the high-cost problem caused by high-precision map updates and achieving economical and efficient planning control in intelligent driving.
Patent Information
- Application Number
- PCT/CN2023/095192
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-23
- Filing Date
- 2023-05-19
- Publication Date
- 2024-10-31
AI Technical Summary
The economic and time costs required for planning and control based on high-precision maps are high, and the need for frequent updates of high-precision maps results in a huge workload of data collection.
Provide a distance prediction method and model training method. By obtaining the global pose of the vehicle, expanding the navigation path and landmark information, training a distance prediction model that does not rely on high-precision maps, and automatically predicting the longest reachable distance of each lane in front of the vehicle. , and then realize path planning.
Without having to update high-precision maps, it saves economic and time costs, realizes planning control in intelligent driving, and improves the efficiency of path planning.
Smart Images

Figure CN2023095192_31102024_PF_FP_ABST
Abstract
Description
Distance prediction method, model training method, regulation and control system and related devices Technical Field
[0001] The present application relates to the field of intelligent driving technology, and more specifically, to a distance prediction method, a model training method, a regulation and control system, and related devices. Background Art
[0002] An intelligent driving system is a complex combination of hardware and software, encompassing multiple modules such as sensor integration, environmental perception, prediction, and planning and control. High-precision maps, as a crucial support for intelligent driving systems, provide more accurate and detailed information than traditional navigation maps, enabling the commercial application of intelligent driving technology. For example, during planning and control, intelligent driving systems can use HD maps to plan routes and determine whether the vehicle should continue in its current lane or change lanes. However, the acquisition and production of HD maps is complex. To ensure their freshness and meet the safety requirements of intelligent driving, HD maps require frequent updates. The data collection workload is enormous, requiring significant time, manpower, and material resources. Consequently, planning and control based on HD maps is costly, both financially and time-consuming.
[0003] Summary of the Invention
[0004] The present application provides a distance prediction method, a model training method, a planning and control system and related devices, which can solve the problem of high economic and time costs required for planning and control based on high-precision maps.
[0005] The specific technical solutions are as follows:
[0006] In a first aspect, an embodiment of the present application provides a distance prediction method, the method comprising:
[0007] Obtaining a first global pose, a first extended navigation path, and first landmark information of a first vehicle, wherein the first global pose is the global pose of the first vehicle at a current moment, the first extended navigation path includes an extended path of a first on-board navigation path determined based on the first global pose, and the first landmark information includes landmark information contained in a first road environment image captured by the first vehicle at the first global pose;
[0008] Processing the first global pose, the first expanded navigation path, and the first landmark information based on a distance prediction model to obtain a maximum reachable distance on each lane in the first landmark information;
[0009] The training method of the distance prediction model includes:
[0010] Obtaining a distance training sample set, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global pose, and a maximum reachable distance true value, the second extended navigation path including an extended path of a second on-vehicle navigation path, the second landmark information including landmark information contained in a second road environment image collected by a second vehicle on the second extended navigation path, the second global pose including a global pose of the second vehicle when collecting the second road environment image, and the maximum reachable distance true value including the maximum reachable distance true value of each lane in the second landmark information;
[0011] The distance prediction model is obtained by training using the distance training sample set.
[0012] Through the above scheme, it can be seen that the embodiment of the present application can first train a distance prediction model based on a distance training sample set including the second extended navigation path, the second landmark information, the second global pose, and the true value of the farthest reachable distance of each lane in the second landmark information, and then input the first global pose, the first extended navigation path, and the first landmark information into the distance prediction model to predict the farthest reachable distance on each lane in the first landmark information. Since the second global pose, the second extended navigation path, the second landmark information required in the model training, and the first global pose, the first extended navigation path, and the first landmark information required in the model application do not rely on high-precision maps, the embodiment of the present application can automatically train a distance prediction model that can predict the farthest reachable distance of the vehicle in each lane ahead without frequently updating the high-precision map, and use the distance prediction model to automatically predict the farthest reachable distance of each lane ahead of the vehicle, so as to quickly perform path planning based on the farthest reachable distance of each lane ahead of the vehicle, thereby realizing planning control in intelligent driving while saving economic and time costs.
[0013] In a first possible implementation manner of the first aspect, when the target expanded navigation path includes the first expanded navigation path and / or the second expanded navigation path, the method for acquiring the target expanded navigation path includes:
[0014] Obtaining a target in-vehicle navigation path and a target global pose of the target vehicle when traveling on the target in-vehicle navigation path, wherein, when the target extended navigation path is the first extended navigation path, the target in-vehicle navigation path is the first in-vehicle navigation path, the target vehicle is the first vehicle, and the target global pose is the first global pose; when the target extended navigation path is the second extended navigation path, the target in-vehicle navigation path is the second in-vehicle navigation path, and the target global pose is the second global pose;
[0015] Extracting POI (Point of Interest) information corresponding to the target global posture from target data, wherein the target data includes navigation events and / or an on-board navigation map, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the target global posture includes POI information within a preset distance range ahead of the target global posture on the on-board navigation path of the target;
[0016] The POI information is added to the target vehicle navigation path to obtain the target expanded navigation path.
[0017] It can be seen from the above scheme that the embodiment of the present application can extract POI information corresponding to the second global posture from the navigation event and / or the on-board navigation map, and add the extracted POI information to the second on-board navigation path to obtain a second extended navigation path that is more conducive to training a high-quality distance prediction model than the second on-board navigation path. The embodiment of the present application can also extract POI information corresponding to the first global posture from the navigation event and / or the on-board navigation map, and add the extracted POI information to the first on-board navigation path to obtain a second extended navigation path that is more conducive to predicting the farthest reachable distance than the first on-board navigation path, and the acquisition of the first extended navigation path and the second extended navigation path can be based only on the navigation event and / or the on-board navigation map, without relying on the high-precision map.
[0018] In a second possible implementation manner of the first aspect, when the target landmark information includes the first landmark information and / or the second landmark information, a method for acquiring the target landmark information contained in a target road environment image captured by the target vehicle at a target time includes:
[0019] Obtain input data for a landmark perception model, wherein the input data includes the target road environment image at the target moment and the target local pose at the target moment, the target local pose including an offset of the global pose of the target vehicle when the target road environment image is collected relative to the global pose at the target starting point, the target moment being any moment when the target vehicle collects the target road environment image on the target extended navigation path, when the target landmark information is the first landmark information, the target vehicle is the first vehicle, the target road environment image is the first road environment image, the target extended navigation path is the first extended navigation path, and the target local pose is the first local pose; when the target landmark information is the second landmark information, the target vehicle is the second vehicle, the target road environment image is the second road environment image, the target extended navigation path is the second extended navigation path, and the target local pose is the second local pose;
[0020] The input data is processed based on the landmark perception model to obtain the target landmark information contained in the target road environment image at the target moment.
[0021] From the above scheme, it can be seen that the embodiment of the present application can not only automatically perceive the target landmark information contained in the target road environment image at any time based on the pre-trained landmark perception model, but also the input data of the landmark perception model only includes the target road environment image and the target local posture, and has nothing to do with the high-precision map, so the target landmark information can be obtained without getting rid of the high-precision map.
[0022] In a third possible implementation of the first aspect, when the target moment is the moment when the target road environment image is collected for the Nth time on the target expanded navigation path, the input data also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the target landmark information contained in the target road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
[0023] It can be seen from the above scheme that when the target moment is not the moment when the target road environment image is first collected on the target expansion navigation path, the embodiment of the present application can use the output result of the landmark perception model at the previous moment as one of the input data of the landmark perception model corresponding to the target moment, thereby improving the accuracy of the landmark perception model perception.
[0024] In a fourth possible implementation of the first aspect, the method for generating the landmark perception model includes:
[0025] Obtaining a landmark training sample set, wherein each training sample in the landmark training sample set includes: a road environment sample image group, a third local pose corresponding to each frame of the road environment sample image in the road environment sample image group, and a landmark true value corresponding to each frame of the road environment sample image, wherein the road environment image group includes multiple consecutive frames of road environment sample images;
[0026] The landmark training sample set is used to perform training to obtain a landmark perception model, and the landmark perception model is used to perceive and output landmark information in the road environment sample image.
[0027] The above scheme shows that since the landmark perception model is trained based on multiple groups of road environment sample images, during the machine learning process, when perceiving landmark information for each frame of the road environment sample image, the preceding and following adjacent frames in the road environment sample image group (which can be a single adjacent frame or multiple adjacent frames) are referenced. Therefore, when performing landmark perception on a single frame of the road environment image based on the landmark perception model, invisible landmark information in the road environment image can be perceived, including landmark information that is not included in the current image or cannot be clearly displayed, such as landmark information outside the sensor detection range, obscured landmark information, and landmark information that cannot be clearly displayed due to poor image quality (night, glare scenes, etc.), thereby achieving an invisible perception effect. In addition, the acquisition of the third local pose and landmark truth value in the landmark training sample set does not rely on high-precision maps. Therefore, it is possible to automatically train a distance prediction model that can perceive landmark information in road environment sample images without frequently updating high-precision maps.
[0028] In a fifth possible implementation of the first aspect, the method for obtaining the ground truth value includes:
[0029] For each of the road environment sample image groups to be processed, obtaining the drive test time series data corresponding to the road environment sample image group according to the third local pose of each frame of the road environment sample image in the road environment sample image group;
[0030] constructing a first local map based on the drive test time series data;
[0031] The landmark true value of each frame of the road environment sample image is obtained by projecting the first local map onto each frame of the road environment sample image in the road environment sample image group.
[0032] It can be seen from the above scheme that the embodiment of the present application can construct a first local map based on the road test time series data corresponding to the road environment sample image group, and obtain the landmark true value of each frame of the road environment sample image by projecting the first local map onto the road environment sample image. In this way, the invisible landmark information in the road environment sample image can be automatically marked without getting rid of the high-precision map, providing a technical basis for the landmark perception model to have invisible technical effects.
[0033] In a sixth possible implementation manner of the first aspect, the method for obtaining the true value of the farthest reachable distance includes:
[0034] generating a second local map including the second extended navigation route based on the continuous video stream, and driving along the second extended navigation route in the second local map;
[0035] Based on the second local map, respectively calculating the maximum reachable distance on each lane ahead of each second global pose on the second expanded navigation path;
[0036] The calculated farthest reachable distance is used as the true value, and the corresponding second landmark information is annotated with the true value to obtain the true value of the farthest reachable distance of each lane in the second landmark information.
[0037] It can be seen from the above scheme that the embodiment of the present application can generate a second local map containing a second extended navigation path and a second extended navigation path based on a continuous video stream to realize the annotation of the true value of the farthest reachable distance in the second landmark information without manual participation, thereby improving the efficiency of the true value annotation of the farthest reachable distance.
[0038] In a second aspect, an embodiment of the present application provides a method for training a distance prediction model, the method comprising:
[0039] Obtaining a distance training sample set, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global pose, and a true value of a maximum reachable distance, the second extended navigation path including an extended path of a second vehicle-mounted navigation path, the second landmark information including landmark information contained in a second road environment image captured by a second vehicle on the second extended navigation path, and the second global pose including a global pose of the second vehicle when the second road environment image is captured;
[0040] The distance training sample set is used to perform training to obtain a distance prediction model, where the distance prediction model is used to predict the maximum reachable distance of any vehicle in each lane ahead.
[0041] It can be seen from the above scheme that the embodiment of the present application can obtain a distance prediction model based on a distance training sample set including the second extended navigation path, the second landmark information, the second global posture and the true value of the farthest reachable distance of each lane in the second landmark information. Obviously, the acquisition of these sample information does not rely on high-precision maps, so that without frequently updating high-precision maps, a distance prediction model that can predict the farthest reachable distance of the vehicle in each lane ahead can be automatically trained, and the distance prediction model can be used to automatically predict the farthest reachable distance of each lane ahead of the vehicle, so as to quickly plan the path according to the farthest reachable distance of each lane ahead of the vehicle, thereby realizing planning control in intelligent driving while saving economic and time costs.
[0042] In a first possible implementation manner of the second aspect, the method for acquiring the second expanded navigation path includes:
[0043] Acquire a second vehicle-mounted navigation path and a second global pose of the second vehicle when traveling along the second vehicle-mounted navigation path;
[0044] Extracting point of interest (POI) information corresponding to the second global pose from target data, wherein the target data includes a navigation event and / or an in-vehicle navigation map, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the second global pose includes POI information within a preset distance range ahead of the second global pose on the second in-vehicle navigation path;
[0045] The POI information is added to the second vehicle-mounted navigation route to obtain the second extended navigation route.
[0046] Through the above scheme, it can be seen that the embodiment of the present application can extract the POI information corresponding to the second global posture from the navigation event and / or the on-board navigation map, and add the extracted POI information to the second on-board navigation path to obtain a second extended navigation path that is more conducive to training a high-quality distance prediction model than the second on-board navigation path. Therefore, the acquisition of the second extended navigation path only requires based on the navigation event and / or the on-board navigation map, without relying on the high-precision map.
[0047] In a second possible implementation manner of the second aspect, a method for acquiring the second landmark information contained in a second road environment image collected by the second vehicle at a target time includes:
[0048] Obtaining input data for a landmark perception model, wherein the input data includes the second road environment image at the target time and a second local pose at the target time, the second local pose including an offset of the second vehicle's global pose when the second road environment image is collected relative to the global pose at the target starting point, and the target time is any time when the second vehicle collects the second road environment image on the second expanded navigation path;
[0049] The input data is processed based on the landmark perception model to obtain the second landmark information contained in the second road environment image at the target moment.
[0050] From the above scheme, it can be seen that the embodiment of the present application can not only automatically perceive the second landmark information contained in the second road environment image at any time based on the pre-trained landmark perception model, but also the input data of the landmark perception model only includes the second road environment image and the second local posture, and has nothing to do with the high-precision map, so the second landmark information can be obtained without getting rid of the high-precision map.
[0051] In a third possible implementation of the second aspect, when the target moment is the moment when the second road environment image is collected for the Nth time on the second extended navigation path, the input data also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the second landmark information contained in the second road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
[0052] It can be seen from the above scheme that when the target moment is not the moment when the second road environment image is first collected on the second extended navigation path, the embodiment of the present application can use the output result of the landmark perception model at the previous moment as one of the input data of the landmark perception model corresponding to the target moment, thereby improving the accuracy of the landmark perception model perception.
[0053] In a fourth possible implementation of the second aspect, the method for generating the landmark perception model includes:
[0054] Obtaining a landmark training sample set, wherein each training sample in the landmark training sample set includes: a road environment sample image group, a third local pose corresponding to each frame of the road environment sample image in the road environment sample image group, and a landmark true value corresponding to each frame of the road environment sample image, wherein the road environment image group includes multiple consecutive frames of road environment sample images;
[0055] The landmark training sample set is used to perform training to obtain a landmark perception model, and the landmark perception model is used to perceive and output landmark information in the road environment sample image.
[0056] The above scheme shows that since the landmark perception model is trained based on multiple groups of road environment sample images, during the machine learning process, when perceiving landmark information for each frame of the road environment sample image, the preceding and following adjacent frames in the road environment sample image group (which can be a single adjacent frame or multiple adjacent frames) are referenced. Therefore, when performing landmark perception on a single frame of the road environment image based on the landmark perception model, invisible landmark information in the road environment image can be perceived, including landmark information that is not included in the current image or cannot be clearly displayed, such as landmark information outside the sensor detection range, obscured landmark information, and landmark information that cannot be clearly displayed due to poor image quality (night, glare scenes, etc.), thereby achieving an invisible perception effect. In addition, the acquisition of the third local pose and landmark truth value in the landmark training sample set does not rely on high-precision maps. Therefore, it is possible to automatically train a distance prediction model that can perceive landmark information in road environment sample images without frequently updating high-precision maps.
[0057] In a fifth possible implementation of the second aspect, the method for obtaining the ground truth value includes:
[0058] For each of the road environment sample image groups to be processed, obtaining the drive test time series data corresponding to the road environment sample image group according to the third local pose of each frame of the road environment sample image in the road environment sample image group;
[0059] constructing a first local map based on the drive test time series data;
[0060] The landmark true value of each frame of the road environment sample image is obtained by projecting the first local map onto each frame of the road environment sample image in the road environment sample image group.
[0061] It can be seen from the above scheme that the embodiment of the present application can construct a first local map based on the road test time series data corresponding to the road environment sample image group, and obtain the landmark true value of each frame of the road environment sample image by projecting the first local map onto the road environment sample image. In this way, the invisible landmark information in the road environment sample image can be automatically marked without getting rid of the high-precision map, providing a technical basis for the landmark perception model to have invisible technical effects.
[0062] In a sixth possible implementation manner of the second aspect, the method for obtaining the true value of the farthest reachable distance includes:
[0063] generating a second local map including the second extended navigation route based on the continuous video stream, and driving along the second extended navigation route in the second local map;
[0064] Based on the second local map, respectively calculating the maximum reachable distance on each lane ahead of each second global pose on the second expanded navigation path;
[0065] The calculated farthest reachable distance is used as the true value, and the corresponding second landmark information is annotated with the true value to obtain the true value of the farthest reachable distance of each lane in the second landmark information.
[0066] It can be seen from the above scheme that the embodiment of the present application can generate a second local map containing a second extended navigation path and a second extended navigation path based on a continuous video stream to realize the annotation of the true value of the farthest reachable distance in the second landmark information without manual participation, thereby improving the efficiency of the true value annotation of the farthest reachable distance.
[0067] In a third aspect, an embodiment of the present application provides a vehicle regulation and control system, the system comprising: a positioning module, an expansion path module, a perception module, a distance prediction module, and a regulation and control module;
[0068] The positioning module is configured to obtain a first global pose and a first local pose of the first vehicle, wherein the first local pose includes an offset of the global pose of the first vehicle relative to the global pose of the target starting point when the first road environment image is collected;
[0069] The extended path module is configured to determine a first extended navigation path based on the first global posture, wherein the first extended navigation path includes an extended path of the first vehicle-mounted navigation path;
[0070] The perception module is configured to perceive first landmark information and target object information around the first vehicle, wherein the first landmark information includes landmark information contained in a first road environment image captured by the first vehicle at the first global pose, and the target object information includes at least one of traffic light information in front of the first vehicle, static object information around the first vehicle, and dynamic object information around the first vehicle;
[0071] The distance prediction module is configured to obtain the maximum reachable distance on each lane in the first landmark information based on the method described in any one of the embodiments of the first aspect;
[0072] The planning and control module is used to determine the planned trajectory of the first vehicle based on user expectation information, the maximum reachable distance on each lane in the first landmark information, the first local posture and the target object information, and control the driving of the first vehicle based on the planned trajectory.
[0073] Through the above scheme, it can be seen that the embodiment of the present application provides a regulation and control system including a positioning module, an expansion path module, a perception module, a distance prediction module and a regulation and control module. It can not only use the distance prediction model that is not dependent on high-precision maps and is automatically trained to automatically predict the maximum reachable distance on each lane in the first landmark information, but also determine the planned trajectory of the first vehicle based on user expectation information, the maximum reachable distance on each lane in the first landmark information, the first local posture and the target object information, and control the driving of the first vehicle based on the planned trajectory, thereby realizing planning and control in intelligent driving while saving economic and time costs. Moreover, the global positioning and local positioning adopt a decoupled design, that is, each module only needs one positioning result of global positioning and local positioning when performing data processing, and there is no influence between each other. Moreover, the decrease in global positioning accuracy will not affect the local positioning, so it will not affect the real-time perception and regulation and control results, nor will it cause erroneous emergency braking.
[0074] In a first possible implementation manner of the third aspect, the extended path module is used to obtain the first global posture and a first vehicle navigation path determined based on the first global posture; extract point of interest (POI) information corresponding to the first global posture from target data, wherein the target data includes navigation events and / or vehicle navigation maps, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the first global posture includes the POI information on the first vehicle navigation path within a preset distance range in front of the first global posture; the POI information is added to the first vehicle navigation path to obtain the first extended navigation path.
[0075] In a second possible implementation of the third aspect, the perception module is used to obtain input data of a landmark perception model, wherein the input data includes the first road environment image at the target moment and the first local posture at the target moment, and the target moment is any moment when the first vehicle collects the first road environment image on the first extended navigation path; the input data is processed based on the landmark perception model to obtain the first landmark information contained in the first road environment image at the target moment.
[0076] In a third possible implementation of the third aspect, when the target moment is the moment when the first road environment image is collected for the Nth time on the first extended navigation path, the input data acquired by the perception module also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the first landmark information contained in the first road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
[0077] In a fourth aspect, an embodiment of the present application provides a distance prediction device, the device comprising:
[0078] an acquisition unit, configured to acquire a first global pose, a first extended navigation path, and first landmark information of a first vehicle, wherein the first global pose is the global pose of the first vehicle at a current moment, the first extended navigation path comprises an extended path of a first on-vehicle navigation path determined based on the first global pose, and the first landmark information comprises landmark information contained in a first road environment image captured by the first vehicle at the first global pose;
[0079] a distance prediction unit, configured to process the first global posture, the first expanded navigation path, and the first landmark information based on a distance prediction model to obtain a maximum reachable distance on each lane in the first landmark information;
[0080] The acquisition unit is further configured to acquire a distance training sample set before processing the first global pose, the first extended navigation path, and the first landmark information based on the distance prediction model, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global pose, and a maximum reachable distance true value, the second extended navigation path includes an extended path of a second on-vehicle navigation path, the second landmark information includes landmark information contained in a second road environment image collected by a second vehicle on the second extended navigation path, the second global pose includes a global pose of the second vehicle when collecting the second road environment image, and the maximum reachable distance true value includes the maximum reachable distance true value of each lane in the second landmark information;
[0081] The device further comprises:
[0082] A training unit is used to use the distance training sample set to perform training to obtain the distance prediction model.
[0083] In a first possible implementation manner of the fourth aspect, the acquiring unit includes:
[0084] a first acquisition module, configured to, when a target extended navigation path includes the first extended navigation path and / or the second extended navigation path, acquire a target in-vehicle navigation path and a target global pose of the target vehicle when traveling on the target in-vehicle navigation path, wherein, when the target extended navigation path is the first extended navigation path, the target in-vehicle navigation path is the first in-vehicle navigation path, the target vehicle is the first vehicle, and the target global pose is the first global pose; and when the target extended navigation path is the second extended navigation path, the target in-vehicle navigation path is the second in-vehicle navigation path, and the target global pose is the second global pose;
[0085] an extraction module, configured to extract point of interest (POI) information corresponding to the target global posture from target data, wherein the target data includes navigation events and / or an on-board navigation map, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the target global posture includes POI information within a preset distance range ahead of the target global posture on the target on-board navigation path;
[0086] The adding module is used to add the POI information to the target vehicle navigation path to obtain the target expanded navigation path.
[0087] In a second possible implementation manner of the fourth aspect, the acquiring unit includes:
[0088] a second acquisition module, configured to acquire input data of a landmark perception model when the target landmark information includes the first landmark information and / or the second landmark information, wherein the input data includes the target road environment image at the target moment and the target local pose at the target moment, the target local pose including an offset of the global pose of the target vehicle relative to the global pose at the target starting point when the target road environment image is collected, the target moment being any moment when the target vehicle collects the target road environment image on the target extended navigation path, when the target landmark information is the first landmark information, the target vehicle is the first vehicle, the target road environment image is the first road environment image, the target extended navigation path is the first extended navigation path, and the target local pose is the first local pose; when the target landmark information is the second landmark information, the target vehicle is the second vehicle, the target road environment image is the second road environment image, the target extended navigation path is the second extended navigation path, and the target local pose is the second local pose;
[0089] A processing module is used to process the input data based on the landmark perception model to obtain the target landmark information contained in the target road environment image at the target moment.
[0090] In a third possible implementation of the fourth aspect, when the target moment is the moment when the target road environment image is collected for the Nth time on the target expanded navigation path, the input data also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the target landmark information contained in the target road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
[0091] In a fourth possible implementation manner of the fourth aspect, the acquiring unit further includes:
[0092] a first generating module, configured to generate the landmark perception model before the processing module processes the input data based on the landmark perception model to obtain the target landmark information contained in the target road environment image at the target moment;
[0093] The first generating module includes:
[0094] an acquisition submodule, configured to acquire a landmark training sample set, wherein each training sample in the landmark training sample set comprises: a road environment sample image group, a third local pose corresponding to each frame of the road environment sample image in the road environment sample image group, and a landmark true value corresponding to each frame of the road environment sample image, wherein the road environment image group comprises a continuous plurality of frames of road environment sample images;
[0095] The training submodule is used to use the landmark training sample set to perform training to obtain a landmark perception model, wherein the landmark perception model is used to perceive and output landmark information in the road environment sample image.
[0096] In a fifth possible implementation of the fourth aspect, the acquisition submodule is used to obtain, for each of the road environment sample image groups to be processed, the road test time series data corresponding to the road environment sample image group according to the third local pose of each frame of the road environment sample image in the road environment sample image group; construct a first local map based on the road test time series data; and obtain the landmark true value of each frame of the road environment sample image by projecting the first local map onto each frame of the road environment sample image in the road environment sample image group.
[0097] In a sixth possible implementation manner of the fourth aspect, the acquiring unit includes:
[0098] A second generating module, configured to generate a second local map including the second expanded navigation path based on the continuous video stream;
[0099] a driving module, configured to drive along the second expanded navigation path in the second local map;
[0100] a calculation module, configured to calculate, based on the second local map, the maximum reachable distance on each lane ahead of each second global pose on the second expanded navigation path;
[0101] A true value labeling module is used to use the calculated maximum reachable distance as the true value, perform true value labeling on the corresponding second landmark information, and obtain the true value of the maximum reachable distance for each lane in the second landmark information.
[0102] Through the above scheme, it can be seen that the embodiment of the present application can first train a distance prediction model based on a distance training sample set including the second extended navigation path, the second landmark information, the second global pose, and the true value of the farthest reachable distance of each lane in the second landmark information, and then input the first global pose, the first extended navigation path, and the first landmark information into the distance prediction model to predict the farthest reachable distance on each lane in the first landmark information. Since the second global pose, the second extended navigation path, the second landmark information required in the model training, and the first global pose, the first extended navigation path, and the first landmark information required in the model application do not rely on high-precision maps, the embodiment of the present application can automatically train a distance prediction model that can predict the farthest reachable distance of the vehicle in each lane ahead without frequently updating the high-precision map, and use the distance prediction model to automatically predict the farthest reachable distance of each lane ahead of the vehicle, so as to quickly perform path planning based on the farthest reachable distance of each lane ahead of the vehicle, thereby realizing planning control in intelligent driving while saving economic and time costs.
[0103] In a fifth aspect, an embodiment of the present application provides a training device for a distance prediction model, the device comprising:
[0104] an acquisition unit, configured to acquire a distance training sample set, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global pose, and a true value of a maximum reachable distance, the second extended navigation path including an extended path of a second on-vehicle navigation path, the second landmark information including landmark information contained in a second road environment image collected by a second vehicle on the second extended navigation path, and the second global pose including a global pose of the second vehicle when collecting the second road environment image;
[0105] A training unit is used to use the distance training sample set to perform training to obtain a distance prediction model, where the distance prediction model is used to predict the maximum reachable distance of any vehicle in each lane ahead.
[0106] In a first possible implementation manner of the fifth aspect, the acquiring unit includes:
[0107] A first acquisition module is used to acquire a second vehicle-mounted navigation path and a second global pose of the second vehicle when traveling on the second vehicle-mounted navigation path;
[0108] an extraction module, configured to extract point of interest (POI) information corresponding to the second global pose from target data, wherein the target data includes a navigation event and / or an in-vehicle navigation map, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the second global pose includes POI information within a preset distance range ahead of the second global pose on the second in-vehicle navigation path;
[0109] An adding module is used to add the POI information to the second vehicle-mounted navigation route to obtain the second extended navigation route.
[0110] In a second possible implementation manner of the fifth aspect, the acquiring unit includes:
[0111] a second acquisition module, configured to acquire input data of a landmark perception model, wherein the input data includes the second road environment image at the target time and a second local pose at the target time, the second local pose including an offset of the global pose of the second vehicle when the second road environment image is collected relative to the global pose at the target starting point, and the target time is any time when the second vehicle collects the second road environment image on the second expanded navigation path;
[0112] A processing module is used to process the input data based on the landmark perception model to obtain the second landmark information contained in the second road environment image at the target moment.
[0113] In a third possible implementation of the fifth aspect, when the target moment is the moment when the second road environment image is collected for the Nth time on the second extended navigation path, the input data also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the second landmark information contained in the second road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
[0114] In a fourth possible implementation manner of the fifth aspect, the acquiring unit further includes:
[0115] a first generating module, configured to generate the landmark perception model before processing the input data based on the landmark perception model to obtain the second landmark information contained in the second road environment image at the target moment;
[0116] The first generation module includes:
[0117] an acquisition submodule, configured to acquire a landmark training sample set, wherein each training sample in the landmark training sample set comprises: a road environment sample image group, a third local pose corresponding to each frame of the road environment sample image in the road environment sample image group, and a landmark true value corresponding to each frame of the road environment sample image, wherein the road environment image group comprises a continuous plurality of frames of road environment sample images;
[0118] The training submodule is used to use the landmark training sample set to perform training to obtain a landmark perception model, wherein the landmark perception model is used to perceive and output landmark information in the road environment sample image.
[0119] In a fifth possible implementation of the fifth aspect, the acquisition submodule is used to obtain, for each of the road environment sample image groups to be processed, the road test time series data corresponding to the road environment sample image group according to the third local pose of each frame of the road environment sample image in the road environment sample image group; construct a first local map based on the road test time series data; and obtain the landmark true value of each frame of the road environment sample image by projecting the first local map onto each frame of the road environment sample image in the road environment sample image group.
[0120] In a sixth possible implementation manner of the fifth aspect, the acquiring unit includes:
[0121] A second generating module, configured to generate a second local map including the second expanded navigation path based on the continuous video stream;
[0122] a driving module, configured to drive along the second expanded navigation path in the second local map;
[0123] a calculation module, configured to calculate, based on the second local map, the maximum reachable distance on each lane ahead of each second global pose on the second expanded navigation path;
[0124] A true value labeling module is used to use the calculated maximum reachable distance as the true value, perform true value labeling on the corresponding second landmark information, and obtain the true value of the maximum reachable distance for each lane in the second landmark information.
[0125] It can be seen from the above scheme that the embodiment of the present application can obtain a distance prediction model based on a distance training sample set including the second extended navigation path, the second landmark information, the second global posture and the true value of the farthest reachable distance of each lane in the second landmark information. Obviously, the acquisition of these sample information does not rely on high-precision maps, so that without frequently updating high-precision maps, a distance prediction model that can predict the farthest reachable distance of the vehicle in each lane ahead can be automatically trained, and the distance prediction model can be used to automatically predict the farthest reachable distance of each lane ahead of the vehicle, so as to quickly plan the path according to the farthest reachable distance of each lane ahead of the vehicle, thereby realizing planning control in intelligent driving while saving economic and time costs.
[0126] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any possible implementation of the first aspect or any possible implementation of the second aspect.
[0127] In a seventh aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:
[0128] one or more processors;
[0129] The processor is coupled to a storage device, wherein the storage device is configured to store one or more programs;
[0130] When one or more programs are executed by one or more processors, the electronic device implements the method described in any possible implementation of the first aspect or any possible implementation of the second aspect.
[0131] In an eighth aspect, an embodiment of the present application provides a vehicle, which includes the system described in any possible implementation of the third aspect, or includes the device described in any possible implementation of the third aspect or any possible implementation of the fourth aspect, or includes the electronic device described in the fourth aspect.
[0132] In the ninth aspect, an embodiment of the present application provides a computer program product, which contains instructions. When the instructions are run on a computer or a processor, the computer or the processor executes the method described in any possible implementation of the first aspect or any possible implementation of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0133] To more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are merely some embodiments of the present application. Those skilled in the art can derive other drawings based on these drawings without inventive effort.
[0134] FIG1 is a flow chart of a distance prediction method provided in an embodiment of the present application;
[0135] FIG2 is an example diagram of the farthest reachable distance in landmark information provided by an embodiment of the present application;
[0136] FIG3 is a flow chart of a distance prediction model training method provided in an embodiment of the present application;
[0137] FIG4 is an example diagram of an in-vehicle navigation path and an expanded navigation path provided in an embodiment of the present application;
[0138] FIG5 is a structural diagram of a vehicle regulation and control system provided in an embodiment of the present application;
[0139] FIG6 is an example diagram of a vehicle regulation and control system according to an embodiment of the present application;
[0140] FIG7 is a block diagram of a distance prediction device provided in an embodiment of the present application;
[0141] FIG8 is a block diagram of a training device for a distance prediction model provided in an embodiment of the present application;
[0142] FIG9 is a schematic structural diagram of an electronic device or computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0143] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0144] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. The terms "including" and "having" in the embodiments of this application and the accompanying drawings, as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0145] Figure 1 is a flow chart of a distance prediction method, which can be applied to electronic devices or computer devices, specifically vehicles or servers. Specifically, the method may include the following steps:
[0146] S110: Obtain a first global position, a first extended navigation path, and first landmark information of a first vehicle.
[0147] Among them, the first global posture is the global posture of the first vehicle at the current moment, the first extended navigation path includes an extended path of the first vehicle navigation path determined based on the first global posture, and the first landmark information includes the landmark information contained in the first road environment image collected by the first vehicle at the first global posture.
[0148] Pose includes vehicle position and attitude. Global pose includes both vehicle position and attitude based on global positioning. Acquiring global pose does not require high-precision positioning such as RTK (Real-time kinematic, carrier phase differential technology); road-level positioning, such as navigation positioning, is sufficient. Global positioning uses the Earth as a reference system, meaning the coordinate system for global positioning can be the Earth coordinate system.
[0149] When a user enters a starting point (which may also be the default current location) and an end point in the in-vehicle navigation software, the in-vehicle navigation software generates a first in-vehicle navigation path based on the starting point and the end point, and the navigation positioning system locates the first global position of the first vehicle in real time. The in-vehicle navigation software may be software on the vehicle computer or software on a mobile terminal that communicates with the vehicle computer. Thus, the in-vehicle navigation path may be a path generated by the in-vehicle navigation software on the vehicle computer or by the in-vehicle navigation software on a mobile terminal that communicates with the vehicle computer. The present embodiment of the application does not limit the source of the in-vehicle navigation path.
[0150] The specific method for obtaining the first extended navigation path and the first landmark information may refer to the subsequent method for obtaining the target extended navigation path and the target landmark information, which will not be described in detail here.
[0151] S120: Processing the first global posture, the first extended navigation path, and the first landmark information based on the distance prediction model to obtain the maximum reachable distance on each lane in the first landmark information.
[0152] After obtaining the first global pose, the first extended navigation path, and the first landmark information, the first global pose, the first extended navigation path, and the first landmark information can be input into a pre-trained distance prediction model for calculation to obtain the maximum reachable distance for each lane in the first landmark information output by the distance prediction model. The maximum reachable distance obtained for each lane in the first landmark information can be represented by an actual distance, such as 2000 meters, or by a symbol that has a mapping relationship with the actual distance, such as 0 for 0 meters, 1 for (0, 200], 2 for (200, 400] meters, 3 for (400, 600] meters, 4 for (600, 800] meters, 5 for (800, 1000] meters, 6 for (1000, 2000] meters, and 7 for more than 2000 meters. As shown in Figure 2, there are 4 lanes in the first landmark information, and the maximum reachable distances from left to right are 7, 7, 0, and 7, respectively, so there are 3 lanes that can be driven.
[0153] After obtaining the maximum reachable distance for each lane from the first landmark information, the maximum reachable distance for each lane from the first landmark information, user expectation information, the first local pose, and target object information surrounding the first vehicle can be input into a planning and control module to obtain planning and control results, such as whether to change lanes, when to change lanes, whether to accelerate or decelerate, when to accelerate or decelerate, and the future planned path trajectory. User expectation information includes user operations on the vehicle, such as shifting the lane lever, turning on the lane change lights, or applying the brakes. Target object information includes at least one of the following: traffic light information in front of the first vehicle, static object information surrounding the first vehicle, and dynamic object information surrounding the first vehicle, such as surrounding vehicles, pedestrians, obstacles, and traffic lights. When the maximum reachable distance of the lane currently being traveled by the vehicle decreases, the planning and control module can determine whether and when to change lanes by combining the user expectation information, the first local pose, and the target object information.
[0154] The distance prediction method of the embodiment of the present application can first train a distance prediction model based on a distance training sample set including a second extended navigation path, second landmark information, a second global pose, and the true value of the maximum reachable distance of each lane in the second landmark information, and then input the first global pose, the first extended navigation path, and the first landmark information into the distance prediction model to predict the maximum reachable distance of each lane in the first landmark information. Since the second global pose, the second extended navigation path, and the second landmark information required for model training, and the first global pose, the first extended navigation path, and the first landmark information required for model application do not rely on high-precision maps, the embodiment of the present application can automatically train a distance prediction model that can predict the maximum reachable distance of the vehicle in each lane ahead without frequently updating high-precision maps, and use the distance prediction model to automatically predict the maximum reachable distance of each lane ahead of the vehicle, so as to quickly perform path planning based on the maximum reachable distance of each lane ahead of the vehicle, thereby realizing planning control in intelligent driving while saving economic and time costs.
[0155] Figure 3 is a flow chart of a distance prediction model training method, which can be applied to electronic devices or computer devices, specifically vehicles or servers. Specifically, the method may include the following steps:
[0156] S210: Obtain a distance training sample set, wherein each training sample in the distance training sample set includes a second extended navigation path, second landmark information, a second global pose, and a maximum reachable distance true value.
[0157] Among them, the second extended navigation path includes the extended path of the second on-board navigation path, the second landmark information includes the landmark information contained in the second road environment image collected by the second vehicle on the second extended navigation path, the second global posture includes the global posture of the second vehicle when collecting the second road environment image, and the farthest reachable distance true value includes the farthest reachable distance true value of each lane in the second landmark information. The specific method for obtaining the second extended navigation path and the second landmark information can be found in the subsequent target extended navigation path and target landmark information acquisition method, which will not be repeated here. The navigation and positioning system will locate the second global posture of the second vehicle in real time.
[0158] The following describes the method for obtaining the true value of the farthest reachable distance:
[0159] The true value of the maximum reachable distance can be manually or automatically annotated. The automatic annotation method may include: generating a second local map containing a second extended navigation path based on the continuous video stream, driving according to the second extended navigation path in the second local map; calculating the maximum reachable distance for each lane ahead of each second global posture on the second extended navigation path based on the second local map; using the calculated maximum reachable distance as the true value, annotating the corresponding second landmark information with the true value, and obtaining the true value of the maximum reachable distance for each lane in the second landmark information.
[0160] The continuous video stream can be generated by an image capture device, a driving recorder, or other device in the second vehicle, as long as it can record information about the road environment in front of or around the second vehicle while it is in motion. The term "continuous" here not only includes literal continuity but also includes the total number of frames of the video stream captured within a predetermined time period exceeding a preset value.
[0161] It should be added that the maximum reachable distance can be the maximum reachable distance within a certain distance range, and this distance range is usually larger than the distance range contained in the road environment image. For example, when the road environment image is within a range of 100 meters, the distance range limited by the maximum reachable distance can be within a range of 2 kilometers.
[0162] S220: Perform training using the distance training sample set to obtain a distance prediction model.
[0163] The distance prediction model is used to predict the farthest reachable distance of the vehicle in each lane ahead. The embodiment of the present application can obtain the distance prediction model through multiple iterative training, wherein, after each iteration of training based on the distance training sample set to obtain the distance prediction model obtained by this iterative training, at least one frame of the second road environment image is processed based on the distance prediction model obtained by this iterative training to obtain the farthest reachable distance prediction value of each frame of the second road environment image in the at least one frame of the second road environment image, and based on the difference between the farthest reachable distance prediction value and the corresponding farthest reachable distance true value, a loss value is calculated. When the loss value is greater than a second loss threshold, iterative training is continued until the loss value is less than or equal to the second loss threshold, and the training is stopped, and the distance prediction model obtained by the final training is used as the final required distance prediction model.
[0164] It should be noted that the first vehicle may be the vehicle used in the distance prediction model training, or it may not participate in the distance prediction model training. Therefore, the first vehicle may be the second vehicle, or it may not be the second vehicle. The number of second vehicles participating in the distance prediction model may be one or more.
[0165] For the first road environment image and the second road environment image, if after the distance prediction model is obtained by the first training and convergence based on the second road environment image, the information in the first road environment image is processed using the distance prediction model, then the acquisition time of the second road environment image is earlier than that of the first road environment image, that is, relative to the first road environment image, the second road environment image belongs to the historical road environment image; if after the distance prediction model is obtained by the first training and convergence based on a batch of second road environment images, in order to further improve the quality of the distance prediction model, a batch of second road environment images containing road scenes to be supplemented are collected to continue training the distance prediction model, then the acquisition time of the second road environment images used to continue training the distance prediction model may be later than that of the first road environment images, that is, at this time, relative to the first road environment image, the second road environment image may not belong to the historical road environment image.
[0166] Correspondingly, relative to the first global posture, the second global posture may belong to the historical global posture, or may not belong to the historical global posture; relative to the first extended navigation path, the second extended navigation path may belong to the historical extended navigation path, or may not belong to the historical extended navigation path; relative to the first landmark information, the second landmark information may belong to the historical landmark information, or may not belong to the historical landmark information.
[0167] The training method of the distance prediction model provided in the embodiment of the present application obtains the distance prediction model by training based on a distance training sample set including a second extended navigation path, second landmark information, a second global pose, and the true value of the farthest reachable distance of each lane in the second landmark information. Obviously, the acquisition of these sample information does not rely on high-precision maps, so that a distance prediction model that can predict the farthest reachable distance of the vehicle in each lane ahead can be automatically trained without frequently updating high-precision maps, and the distance prediction model can be used to automatically predict the farthest reachable distance of each lane ahead of the vehicle, so as to quickly perform path planning based on the farthest reachable distance of each lane ahead of the vehicle, thereby realizing planning control in intelligent driving while saving economic and time costs.
[0168] In one embodiment, when the target expanded navigation path includes the first expanded navigation path and / or the second expanded navigation path, a method for obtaining the target expanded navigation path is described as follows:
[0169] When a user enters a starting point (or the default current location) and an end point in the in-car navigation software, the software generates at least one target navigation path based on the starting and ending points. The target navigation path includes the road name, road type, and road geometry (composed of a set of global positioning points). To help the distance prediction model accurately predict the maximum achievable distance for each lane, some auxiliary information can be added to the target navigation path for the distance prediction model to use.
[0170] The electronic device or computer device can first obtain the target vehicle navigation path and the target global posture of the vehicle when traveling on the target vehicle navigation path; then extract the POI information corresponding to the target global posture from the target data; finally, add the POI information to the target vehicle navigation path to obtain the target extended navigation path.
[0171] Among them, the target data includes navigation events and / or in-vehicle navigation maps. Navigation events refer to events broadcast in the in-vehicle navigation system, for example, there is a ramp about to enter 1 km ahead, there is a merging point 1 km ahead, there is a fork in the road ahead, please take the left fork, and there is about to enter a tunnel ahead, etc. POI information includes road attribute information related to the predicted maximum reachable distance, such as the number of lanes, merging points, speed limit information, long solid lines, and other information. The POI information corresponding to the target global posture is the POI information on the target in-vehicle navigation path, within a preset distance range ahead of the target global posture. The preset distance range is greater than or equal to the path length contained in the target road environment image collected by the vehicle at the target global posture.
[0172] As shown in Figure 4, (a) shows the in-vehicle navigation route, including basic information such as road geometry, road type, and road name. (b) shows the expanded navigation route after adding POI information to (a). To save storage space, the road geometry can be removed, retaining a simple line-and-attribute graphic. Specifically, as shown in (c), roads can be represented by straight lines, and incoming and outgoing routes can be represented by dots at corresponding locations, with corresponding attribute information assigned to the dots.
[0173] It should be noted that when the target extended navigation path is the first extended navigation path, the target vehicle navigation path is the first vehicle navigation path, the target vehicle is the first vehicle, and the target global posture is the first global posture. When the target extended navigation path is the second extended navigation path, the target vehicle navigation path is the second vehicle navigation path, and the target global posture is the second global posture.
[0174] An embodiment of the present application can extract POI information corresponding to the second global pose from the navigation event and / or the on-board navigation map, and add the extracted POI information to the second on-board navigation path to obtain a second extended navigation path that is more conducive to training a high-quality distance prediction model than the second on-board navigation path. An embodiment of the present application can also extract POI information corresponding to the first global pose from the navigation event and / or the on-board navigation map, and add the extracted POI information to the first on-board navigation path to obtain a second extended navigation path that is more conducive to predicting the farthest reachable distance than the first on-board navigation path, and the first extended navigation path and the second extended navigation path can be obtained only based on the navigation event and / or the on-board navigation map, without relying on the high-precision map.
[0175] In one embodiment, when the target landmark information includes first landmark information and / or second landmark information, a method for obtaining the target landmark information is described as follows:
[0176] The target landmark information obtained from the target road environment image is not the landmark information marked in the target road environment image, but the target landmark information extracted from the target road environment image, and the obtained target landmark information is the landmark information that retains the geometric shape and the relative position relationship between each landmark, and its display effect is similar to a simple map.
[0177] A method for obtaining target landmark information contained in a target road environment image collected by a vehicle at a target time includes: obtaining input data of a landmark perception model, wherein the input data includes the target road environment image at the target time and the target local posture at the target time, the target local posture includes the offset of the global posture of the target vehicle when collecting the target road environment image relative to the global posture at the target starting point, and the target time is any time when the target vehicle collects the target road environment image on the target extended navigation path; processing the input data based on the landmark perception model to obtain the target landmark information contained in the target road environment image at the target time.
[0178] The coordinate system for the local pose can be the boot coordinate system. In this boot coordinate system, the point at which the vehicle is powered on is the origin of the coordinate system, so this coordinate system is also called the power-on coordinate system. Alternatively, the local pose can be determined using a navigation and positioning system, without the need for high-precision positioning. The target starting point can be any specified location, such as the position of the target vehicle when it is powered on, or any specified location during the vehicle's driving.
[0179] When there is a difference between the acquisition period of the target road environment image acquired by the image acquirer and the positioning period of the navigation and positioning system, for example, if the target road environment image is acquired at the target moment but positioning is not performed at the target moment, then the target local pose at the most recent positioning moment can be taken as the target local pose at the target moment. However, since the orders of magnitude of the acquisition period and the positioning period are relatively small, when there is a time difference, the error generated when taking the target road environment image and the target local pose for the same target moment is negligible.
[0180] It should be noted that when the target landmark information is the first landmark information, the target vehicle is the first vehicle, the target road environment image is the first road environment image, the target extended navigation path is the first extended navigation path, and the target local posture is the first local posture; when the target landmark information is the second landmark information, the target vehicle is the second vehicle, the target road environment image is the second road environment image, the target extended navigation path is the second extended navigation path, and the target local posture is the second local posture.
[0181] The embodiment of the present application can not only automatically perceive the target landmark information contained in the target road environment image at any moment based on the pre-trained landmark perception model, but also the input data of the landmark perception model only includes the target road environment image and the target local posture, and has nothing to do with the high-precision map, so the target landmark information can be obtained without the high-precision map.
[0182] In one embodiment, the landmark perception model can be a generative model or another neural network model. The embodiments of the present application do not limit the specific model algorithm adopted by the landmark perception model. The method for generating the landmark perception model includes: obtaining a landmark training sample set, wherein each training sample in the landmark training sample set includes: a road environment sample image group, a local pose corresponding to each frame of the road environment sample image in the road environment sample image group, and a landmark true value corresponding to each frame of the road environment sample image; using the landmark training sample set to perform training to obtain a landmark perception model, the landmark perception model is used to perceive and output landmark information in the road environment sample image.
[0183] Among them, the road environment image group includes multiple frames of continuous road environment sample images. The "continuous" here not only includes the literal meaning of continuous, but also includes that the total number of frames of road environment sample images collected within a predetermined time period exceeds a preset value.
[0184] The above scheme shows that since the landmark perception model is trained based on multiple groups of road environment sample images, during the machine learning process, when perceiving landmark information for each frame of the road environment sample image, the preceding and following adjacent frames in the road environment sample image group (which can be a single adjacent frame or multiple adjacent frames) are referenced. Therefore, when performing landmark perception on a single frame of the road environment image based on the landmark perception model, invisible landmark information in the road environment image can be perceived, including landmark information that is not included in or cannot be clearly displayed in the current image, such as landmark information outside the sensor detection range, obscured landmark information, and landmark information that cannot be clearly displayed due to poor image quality (night, glare scenes, etc.), thereby achieving an invisible perception effect. In addition, the acquisition of the local pose and landmark truth value in the landmark training sample set does not rely on high-precision maps. Therefore, a distance prediction model that can perceive landmark information in road environment sample images can be automatically trained without frequently updating high-precision maps.
[0185] In one embodiment, the true landmark values can be manually or automatically annotated. The automatic annotation method includes: for each road environment sample image group to be processed, obtaining the drive test time series data corresponding to the road environment sample image group based on the third local pose of each road environment sample image frame in the road environment sample image group; constructing a first local map based on the drive test time series data; and obtaining the true landmark value of each road environment sample image frame by projecting the first local map onto each road environment sample image frame in the road environment sample image group.
[0186] Road test time series data includes the vehicle's driving trajectory and road environment images collected during the vehicle's driving process. The road test time series data can be data recorded by a driving recorder, data collected by on-board sensors, data recorded when the server interacts with the vehicle, or data recorded by other devices, as long as it is real time series data.
[0187] When obtaining the road test timing data corresponding to the road environment sample image group based on the third local posture of each frame of the road environment sample image in the road environment sample image group, you can first obtain the third local posture of each frame of the road environment sample image in the road environment sample image group, then search for the road test timing data containing these third local postures, and use the road test timing data containing these third local postures as the road test timing data corresponding to the road environment sample image group.
[0188] The method of projecting a first local map onto a road environment sample image to obtain a landmark true value of the road environment sample image includes: converting the first local map from a map coordinate system to an image coordinate system, and using the landmark information of the first local map converted to the image coordinate system in the road environment sample image as the landmark true value of the road environment sample image.
[0189] The embodiment of the present application can construct a first local map based on the road test time series data corresponding to the road environment sample image group, and obtain the landmark true value of each frame of the road environment sample image by projecting the first local map onto the road environment sample image. In this way, the invisible landmark information in the road environment sample image can be automatically marked without getting rid of the high-precision map, providing a technical basis for the landmark perception model to have invisible technical effects.
[0190] After each iteration of training based on the landmark training sample set to obtain the landmark perception model obtained in this iterative training, at least one road environment sample image group is processed based on the landmark perception model obtained in this iterative training to obtain the landmark prediction value of each frame of the road environment sample image in the at least one road environment sample image group, and the loss value is calculated based on the difference between the landmark prediction value and the corresponding landmark true value. When the loss value is greater than a first loss threshold, the iterative training is continued until the loss value is less than or equal to the first loss threshold, the training is stopped, and the landmark perception model finally obtained by training is used as the final required landmark perception model.
[0191] After training the final landmark perception model, each frame of road environment image collected by the second vehicle on the second extended navigation path and the third local pose corresponding to the frame of road environment image can be directly input into the landmark perception model for processing, and the landmark information contained in the frame of road environment image output by the landmark perception model can be obtained.
[0192] In order to further improve the accuracy of target landmark information and further enhance the invisible but achievable perception effect, after the embodiment of the present application perceives the target landmark information contained in a frame of target road environment image based on the landmark perception model, the target landmark information can also be used as the input information of the landmark perception model when perceiving the next frame of road environment image. That is to say, when the target moment is the moment when the target road environment image is collected for the Nth time on the target expansion navigation path, the input information of the landmark perception model, in addition to including the target road environment image at the target moment and the target local pose at the target moment, can also include the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the target landmark information contained in the target road environment image collected at the previous moment, so that when the landmark perception model performs landmark perception on the current frame of road environment image, it can also use the perception result of the previous frame as an intermediate value for reference, where N is a positive integer greater than or equal to 2.
[0193] Based on the above method embodiment, another embodiment of the present application provides a vehicle regulation and control system, as shown in Figures 5 and 6, the system includes: a positioning module 310, a path expansion module 320, a perception module 330, a distance prediction module 340 and a regulation and control module 350;
[0194] The positioning module 310 is configured to obtain a first global pose and a first local pose of the first vehicle, wherein the first local pose includes an offset of the global pose of the first vehicle relative to the global pose of the target starting point when the first road environment image is collected;
[0195] The extended path module 320 is configured to determine a first extended navigation path based on the first global posture, wherein the first extended navigation path includes an extended path of the first vehicle-mounted navigation path;
[0196] The perception module 330 is configured to perceive first landmark information and target object information around the first vehicle, wherein the first landmark information includes landmark information contained in a first road environment image captured by the first vehicle at the first global pose, and the target object information includes at least one of traffic light information in front of the first vehicle, static object information around the first vehicle, and dynamic object information around the first vehicle;
[0197] The distance prediction module 340 is configured to obtain the maximum reachable distance on each lane in the first landmark information based on the method described in any of the above distance prediction method embodiments;
[0198] The planning and control module 350 is used to determine the planned trajectory of the first vehicle based on user expectation information, the maximum reachable distance on each lane in the first landmark information, the first local posture and the target object information, and control the driving of the first vehicle based on the planned trajectory.
[0199] Through the above scheme, it can be seen that the embodiment of the present application provides a regulation and control system including a positioning module, an expansion path module, a perception module, a distance prediction module and a regulation and control module. It can not only use the distance prediction model that is not dependent on high-precision maps and is automatically trained to automatically predict the maximum reachable distance on each lane in the first landmark information, but also determine the planned trajectory of the first vehicle based on user expectation information, the maximum reachable distance on each lane in the first landmark information, the first local posture and the target object information, and control the driving of the first vehicle based on the planned trajectory, thereby realizing planning and control in intelligent driving while saving economic and time costs. Moreover, the global positioning and local positioning adopt a decoupled design, that is, each module only needs one positioning result of global positioning and local positioning when performing data processing, and there is no influence between each other. Moreover, the decrease in global positioning accuracy will not affect the local positioning, so it will not affect the real-time perception and regulation and control results, nor will it cause erroneous emergency braking.
[0200] In a possible implementation, as shown in FIG6 , the system further includes:
[0201] The vehicle navigation module 360 is used to obtain the start and end points (i.e., the starting point and the end point) input by the user and generate a first vehicle navigation route and target data based on the start and end points. The starting point can be the default current position, i.e., the first global pose at the current moment. In Figure 6, user 1 is used as an example.
[0202] In one possible implementation, the extended path module 320 is used to obtain the first global posture and a first vehicle navigation path determined based on the first global posture; extract point of interest (POI) information corresponding to the first global posture from target data, wherein the target data includes navigation events and / or vehicle navigation maps, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the first global posture includes the POI information on the first vehicle navigation path within a preset distance range ahead of the first global posture; and add the POI information to the first vehicle navigation path to obtain the first extended navigation path.
[0203] In one possible implementation, the perception module 330 is used to obtain input data of a landmark perception model, wherein the input data includes the first road environment image at the target moment and the first local posture at the target moment, and the target moment is any moment when the first vehicle collects the first road environment image on the first extended navigation path; the input data is processed based on the landmark perception model to obtain the first landmark information contained in the first road environment image at the target moment.
[0204] In a possible implementation, as shown in FIG6 , the system further includes:
[0205] The image collector 370 is used to collect a first road environment image.
[0206] In one possible implementation, when the target moment is the moment when the first road environment image is collected for the Nth time on the first extended navigation path, the input data acquired by the perception module 330 also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the first landmark information contained in the first road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
[0207] Corresponding to the above method embodiment, another embodiment of the present application provides a distance prediction device, as shown in FIG7 , the device includes:
[0208] An acquisition unit 410 is configured to acquire a first global pose, a first extended navigation path, and first landmark information of a first vehicle, wherein the first global pose is the global pose of the first vehicle at a current moment, the first extended navigation path includes an extended path of a first on-board navigation path determined based on the first global pose, and the first landmark information includes landmark information contained in a first road environment image captured by the first vehicle at the first global pose;
[0209] a distance prediction unit 420 configured to process the first global pose, the first extended navigation path, and the first landmark information based on a distance prediction model to obtain a maximum reachable distance on each lane in the first landmark information;
[0210] The acquisition unit 410 is further configured to acquire a distance training sample set before processing the first global pose, the first extended navigation path, and the first landmark information based on the distance prediction model, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global pose, and a maximum reachable distance true value, the second extended navigation path includes an extended path of a second on-vehicle navigation path, the second landmark information includes landmark information contained in a second road environment image collected by a second vehicle on the second extended navigation path, the second global pose includes a global pose of the second vehicle when collecting the second road environment image, and the maximum reachable distance true value includes the maximum reachable distance true value of each lane in the second landmark information;
[0211] The device further comprises:
[0212] The training unit 430 is configured to perform training using the distance training sample set to obtain the distance prediction model.
[0213] In a possible implementation, the acquiring unit 410 includes:
[0214] a first acquisition module, configured to, when a target extended navigation path includes the first extended navigation path and / or the second extended navigation path, acquire a target in-vehicle navigation path and a target global pose of the target vehicle when traveling on the target in-vehicle navigation path, wherein, when the target extended navigation path is the first extended navigation path, the target in-vehicle navigation path is the first in-vehicle navigation path, the target vehicle is the first vehicle, and the target global pose is the first global pose; and when the target extended navigation path is the second extended navigation path, the target in-vehicle navigation path is the second in-vehicle navigation path, and the target global pose is the second global pose;
[0215] an extraction module, configured to extract point of interest (POI) information corresponding to the target global posture from target data, wherein the target data includes navigation events and / or an on-board navigation map, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the target global posture includes POI information within a preset distance range ahead of the target global posture on the target on-board navigation path;
[0216] The adding module is used to add the POI information to the target vehicle navigation path to obtain the target expanded navigation path.
[0217] In a possible implementation, the acquiring unit 410 includes:
[0218] a second acquisition module, configured to acquire input data of a landmark perception model when the target landmark information includes the first landmark information and / or the second landmark information, wherein the input data includes the target road environment image at the target moment and the target local pose at the target moment, the target local pose including an offset of the global pose of the target vehicle relative to the global pose at the target starting point when the target road environment image is collected, the target moment being any moment when the target vehicle collects the target road environment image on the target extended navigation path, when the target landmark information is the first landmark information, the target vehicle is the first vehicle, the target road environment image is the first road environment image, the target extended navigation path is the first extended navigation path, and the target local pose is the first local pose; when the target landmark information is the second landmark information, the target vehicle is the second vehicle, the target road environment image is the second road environment image, the target extended navigation path is the second extended navigation path, and the target local pose is the second local pose;
[0219] A processing module is used to process the input data based on the landmark perception model to obtain the target landmark information contained in the target road environment image at the target moment.
[0220] In one possible implementation, when the target moment is the moment when the target road environment image is collected for the Nth time on the target expanded navigation path, the input data also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the target landmark information contained in the target road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
[0221] In a possible implementation, the acquiring unit 410 further includes:
[0222] a first generating module, configured to generate the landmark perception model before the processing module processes the input data based on the landmark perception model to obtain the target landmark information contained in the target road environment image at the target moment;
[0223] The first generating module includes:
[0224] an acquisition submodule, configured to acquire a landmark training sample set, wherein each training sample in the landmark training sample set comprises: a road environment sample image group, a third local pose corresponding to each frame of the road environment sample image in the road environment sample image group, and a landmark true value corresponding to each frame of the road environment sample image, wherein the road environment image group comprises a continuous plurality of frames of road environment sample images;
[0225] The training submodule is used to use the landmark training sample set to perform training to obtain a landmark perception model, wherein the landmark perception model is used to perceive and output landmark information in the road environment sample image.
[0226] In one possible implementation, the acquisition submodule is used to obtain, for each of the road environment sample image groups to be processed, the road test time series data corresponding to the road environment sample image group according to the third local pose of each frame of the road environment sample image in the road environment sample image group; construct a first local map based on the road test time series data; and obtain the landmark true value of each frame of the road environment sample image by projecting the first local map onto each frame of the road environment sample image in the road environment sample image group.
[0227] In a possible implementation, the acquiring unit 410 includes:
[0228] A second generating module, configured to generate a second local map including the second expanded navigation path based on the continuous video stream;
[0229] a driving module, configured to drive along the second expanded navigation path in the second local map;
[0230] a calculation module, configured to calculate, based on the second local map, the maximum reachable distance on each lane ahead of each second global pose on the second expanded navigation path;
[0231] A true value labeling module is used to use the calculated maximum reachable distance as the true value, perform true value labeling on the corresponding second landmark information, and obtain the true value of the maximum reachable distance for each lane in the second landmark information.
[0232] The distance prediction device provided in the embodiment of the present application can first train a distance prediction model based on a distance training sample set including a second extended navigation path, second landmark information, a second global pose, and the true value of the maximum reachable distance of each lane in the second landmark information, and then input the first global pose, the first extended navigation path, and the first landmark information into the distance prediction model to predict the maximum reachable distance of each lane in the first landmark information. Since the second global pose, the second extended navigation path, and the second landmark information required for model training, and the first global pose, the first extended navigation path, and the first landmark information required for model application do not rely on high-precision maps, the embodiment of the present application can automatically train a distance prediction model that can predict the maximum reachable distance of the vehicle in each lane ahead without frequently updating high-precision maps, and use the distance prediction model to automatically predict the maximum reachable distance of each lane ahead of the vehicle, so as to quickly perform path planning based on the maximum reachable distance of each lane ahead of the vehicle, thereby realizing planning control in intelligent driving while saving economic and time costs.
[0233] Corresponding to the above method embodiment, another embodiment of the present application provides a training device for a distance prediction model, as shown in FIG8 , the device comprising:
[0234] An acquisition unit 510 is configured to acquire a distance training sample set, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global pose, and a true value of a maximum reachable distance, wherein the second extended navigation path includes an extended path of a second on-vehicle navigation path, the second landmark information includes landmark information contained in a second road environment image collected by a second vehicle on the second extended navigation path, and the second global pose includes a global pose of the second vehicle when collecting the second road environment image;
[0235] The training unit 520 is configured to use the distance training sample set to perform training to obtain a distance prediction model, wherein the distance prediction model is configured to predict the maximum achievable distance of any vehicle in each lane ahead.
[0236] In a possible implementation, the acquiring unit 510 includes:
[0237] A first acquisition module is used to acquire a second vehicle-mounted navigation path and a second global pose of the second vehicle when traveling on the second vehicle-mounted navigation path;
[0238] an extraction module, configured to extract point of interest (POI) information corresponding to the second global pose from target data, wherein the target data includes a navigation event and / or an in-vehicle navigation map, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the second global pose includes POI information within a preset distance range ahead of the second global pose on the second in-vehicle navigation path;
[0239] An adding module is used to add the POI information to the second vehicle-mounted navigation route to obtain the second extended navigation route.
[0240] In a possible implementation, the acquiring unit 510 includes:
[0241] a second acquisition module, configured to acquire input data of a landmark perception model, wherein the input data includes the second road environment image at the target time and a second local pose at the target time, the second local pose including an offset of the global pose of the second vehicle when the second road environment image is collected relative to the global pose at the target starting point, and the target time is any time when the second vehicle collects the second road environment image on the second expanded navigation path;
[0242] A processing module is used to process the input data based on the landmark perception model to obtain the second landmark information contained in the second road environment image at the target moment.
[0243] In one possible implementation, when the target moment is the moment when the second road environment image is collected for the Nth time on the second extended navigation path, the input data also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the second landmark information contained in the second road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
[0244] In a possible implementation, the acquiring unit 510 further includes:
[0245] a first generating module, configured to generate the landmark perception model before processing the input data based on the landmark perception model to obtain the second landmark information contained in the second road environment image at the target moment;
[0246] The first generation module includes:
[0247] an acquisition submodule, configured to acquire a landmark training sample set, wherein each training sample in the landmark training sample set comprises: a road environment sample image group, a third local pose corresponding to each frame of the road environment sample image in the road environment sample image group, and a landmark true value corresponding to each frame of the road environment sample image, wherein the road environment image group comprises a continuous plurality of frames of road environment sample images;
[0248] The training submodule is used to use the landmark training sample set to perform training to obtain a landmark perception model, wherein the landmark perception model is used to perceive and output landmark information in the road environment sample image.
[0249] In one possible implementation, the acquisition submodule is used to obtain, for each of the road environment sample image groups to be processed, the road test time series data corresponding to the road environment sample image group according to the third local pose of each frame of the road environment sample image in the road environment sample image group; construct a first local map based on the road test time series data; and obtain the landmark true value of each frame of the road environment sample image by projecting the first local map onto each frame of the road environment sample image in the road environment sample image group.
[0250] In a possible implementation, the acquiring unit 510 includes:
[0251] A second generating module, configured to generate a second local map including the second expanded navigation path based on the continuous video stream;
[0252] a driving module, configured to drive along the second expanded navigation path in the second local map;
[0253] a calculation module, configured to calculate, based on the second local map, the maximum reachable distance on each lane ahead of each second global pose on the second expanded navigation path;
[0254] A true value labeling module is used to use the calculated maximum reachable distance as the true value, perform true value labeling on the corresponding second landmark information, and obtain the true value of the maximum reachable distance for each lane in the second landmark information.
[0255] The training device for the distance prediction model provided in the embodiment of the present application can obtain a distance prediction model based on a distance training sample set including a second extended navigation path, second landmark information, a second global pose, and the true value of the farthest reachable distance of each lane in the second landmark information. Obviously, the acquisition of these sample information does not rely on high-precision maps, so that a distance prediction model that can predict the farthest reachable distance of the vehicle in each lane ahead can be automatically trained without frequently updating high-precision maps, and the distance prediction model can be used to automatically predict the farthest reachable distance of each lane ahead of the vehicle, so as to quickly perform path planning based on the farthest reachable distance of each lane ahead of the vehicle, thereby realizing planning control in intelligent driving while saving economic and time costs.
[0256] Based on the above method embodiments, another embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the method described in any of the above embodiments when executed by a processor.
[0257] Based on the above method embodiment, another embodiment of the present application provides an electronic device or a computer device, as shown in FIG9 , including:
[0258] one or more processors 610;
[0259] The processor 610 is coupled to a storage device 620 , and the storage device 620 is used to store one or more programs;
[0260] When the one or more programs are executed by the one or more processors 610 , the electronic device or computer device implements the method described in any of the above embodiments.
[0261] Based on the above method embodiments, another embodiment of the present application provides a vehicle, which includes the system described in any of the above embodiments, or includes the device described in any of the above embodiments, or includes the electronic device described above.
[0262] The vehicle includes a CPU (Central Processing Unit), a T-Box (TelematicsBox), an image collector, and a navigation and positioning device. Among them, the image collector is used to collect road environment images, the navigation and positioning device is used to locate the vehicle and obtain the global posture and local posture of the vehicle, the CPU is used to obtain the road environment image, the global posture and the local posture, and obtain the distance prediction module through the above-mentioned distance prediction model training method embodiment, and predict the farthest reachable distance on each lane in the current landmark information through the above-mentioned distance prediction method embodiment. The CPU can also send the road environment image, the global posture and the local posture to the server through the T-Box, and the server obtains the distance prediction module through the above-mentioned distance prediction model training method embodiment, and predicts the farthest reachable distance on each lane in the current landmark information through the above-mentioned distance prediction method embodiment.
[0263] Based on the above embodiments, another embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed on a computer or a processor, the computer or the processor executes the method described in any of the above embodiments.
[0264] The above-mentioned device embodiment corresponds to the method embodiment and has the same technical effects as the method embodiment. For specific descriptions, please refer to the method embodiment. The device embodiment is obtained based on the method embodiment. For specific descriptions, please refer to the method embodiment section and will not be repeated here. It should be understood by those skilled in the art that the accompanying drawings are only schematic diagrams of one embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement this application.
[0265] Those skilled in the art will appreciate that the modules in the apparatuses of the embodiments may be distributed in the apparatuses of the embodiments as described in the embodiments, or may be located in one or more apparatuses different from the embodiments with corresponding changes. The modules in the above embodiments may be combined into one module or further divided into multiple sub-modules.
[0266] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A distance prediction method, characterized in that: The method comprises: Acquire a first global posture, a first extended navigation path, and first landmark information of a first vehicle, wherein the first global posture is the global posture of the first vehicle at a current moment, the first extended navigation path includes an extended path of a first on-vehicle navigation path determined based on the first global posture, and the first landmark information includes landmark information contained in a first road environment image collected by the first vehicle at the first global posture; Processing the first global posture, the first extended navigation path, and the first landmark information based on a distance prediction model to obtain a maximum reachable distance on each lane in the first landmark information; Wherein, the training method of the distance prediction model includes: Acquire a distance training sample set, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global posture, and a farthest reachable distance true value, the second extended navigation path includes an extended path of a second vehicle-mounted navigation path, the second landmark information includes landmark information contained in a second road environment image collected by a second vehicle on the second extended navigation path, the second global posture includes a global posture when the second vehicle collects the second road environment image, and the farthest reachable distance true value includes the farthest reachable distance true value of each lane in the second landmark information; The distance prediction model is obtained by training using the distance training sample set.
2. The method according to claim 1, characterized in that In the case where the target expanded navigation path includes the first expanded navigation path and / or the second expanded navigation path, the method for acquiring the target expanded navigation path includes: Acquire a target vehicle navigation path and a target global pose of the target vehicle when traveling on the target vehicle navigation path, wherein when the target extended navigation path is the first extended navigation path, the target vehicle navigation path is the first vehicle navigation path, the target vehicle is the first vehicle, and the target global pose is the first global pose; when the target extended navigation path is the second extended navigation path, the target vehicle navigation path is the second vehicle navigation path, and the target global pose is the second global pose; Extracting point of interest (POI) information corresponding to the target global posture from target data, wherein the target data includes navigation events and / or a vehicle navigation map, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the target global posture includes the POI information within a preset distance range ahead of the target global posture on the target vehicle navigation path; The POI information is added to the target vehicle navigation path to obtain the target expanded navigation path.
3. The method according to claim 1, characterized in that In the case where the target landmark information includes the first landmark information and / or the second landmark information, a method for acquiring the target landmark information contained in a target road environment image collected by a target vehicle at a target time includes: Acquire input data of a landmark perception model, wherein the input data includes the target road environment image at the target time and the target local posture at the target time, the target local posture includes the offset of the global posture of the target vehicle when collecting the target road environment image relative to the global posture at the target starting point, the target time is any time when the target vehicle collects the target road environment image on the target extended navigation path, when the target landmark information is the first landmark information, the target vehicle is the first vehicle, the target road environment image is the first road environment image, the target extended navigation path is the first extended navigation path, and the target local posture is the first local posture, when the target landmark information is the second landmark information, the target vehicle is the second vehicle, the target road environment image is the second road environment image, the target extended navigation path is the second extended navigation path, and the target local posture is the second local posture; The input data is processed based on the landmark perception model to obtain the target landmark information contained in the target road environment image at the target moment.
4. The method according to claim 3, characterized in that: When the target moment is the moment when the target road environment image is collected for the Nth time on the target expanded navigation path, the input data also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the target landmark information contained in the target road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
5. The method according to claim 3, characterized in that: The method for generating the landmark perception model includes: Acquire a landmark training sample set, wherein each training sample in the landmark training sample set includes: a road environment sample image group, a third local pose corresponding to each frame of the road environment sample image in the road environment sample image group, and a landmark true value corresponding to each frame of the road environment sample image, and the road environment image group includes multiple consecutive frames of road environment sample images; The landmark training sample set is used to perform training to obtain a landmark perception model, and the landmark perception model is used to perceive and output landmark information in the road environment sample image.
6. The method according to claim 5, characterized in that The method for obtaining the true value of the landmark includes: For each of the road environment sample image groups to be processed, obtaining the road test time series data corresponding to the road environment sample image group according to the third local pose of each frame of the road environment sample image in the road environment sample image group; Constructing a first local map based on the drive test time series data; The landmark true value of each frame of the road environment sample image is obtained by projecting the first local map onto each frame of the road environment sample image in the road environment sample image group.
7. The method according to any one of claims 1 to 6, characterized in that The method for obtaining the true value of the farthest reachable distance comprises: generating a second local map including the second extended navigation path based on the continuous video stream, and driving according to the second extended navigation path in the second local map; Based on the second local map, respectively calculating the farthest reachable distance on each lane ahead of each second global posture on the second extended navigation path; The calculated farthest reachable distance is taken as the true value, and the corresponding second landmark information is annotated with the true value to obtain the true value of the farthest reachable distance of each lane in the second landmark information.
8. A training method for a distance prediction model, characterized in that: The method comprises: Acquire a distance training sample set, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global posture, and a true value of the farthest reachable distance, the second extended navigation path includes an extended path of a second vehicle-mounted navigation path, the second landmark information includes landmark information contained in a second road environment image collected by a second vehicle on the second extended navigation path, and the second global posture includes a global posture when the second vehicle collects the second road environment image; The distance training sample set is used to perform training to obtain a distance prediction model, where the distance prediction model is used to predict the maximum reachable distance of any vehicle on each lane ahead.
9. A vehicle control system, characterized in that: The system includes: a positioning module, a path expansion module, a perception module, a distance prediction module and a regulation and control module; The positioning module is used to obtain a first global posture and a first local posture of the first vehicle, wherein the first local posture includes an offset of the global posture of the first vehicle relative to the global posture at a target starting point when the first road environment image is collected; The extended path module is used to determine a first extended navigation path based on the first global posture, wherein the first extended navigation path includes an extended path of the first vehicle-mounted navigation path; The perception module is configured to perceive first landmark information and target object information around the first vehicle, wherein the first landmark information includes landmark information contained in a first road environment image collected by the first vehicle at the first global posture, and the target object information includes at least one of traffic light information in front of the first vehicle, static object information around the first vehicle, and dynamic object information around the first vehicle; The distance prediction module is used to obtain the farthest reachable distance on each lane in the first landmark information based on the method according to any one of claims 1 to 7; The planning and control module is used to determine the planned trajectory of the first vehicle according to user expected information, the farthest reachable distance on each lane in the first landmark information, the first local posture and the target object information, and control the driving of the first vehicle based on the planned trajectory.
10. A distance prediction device, characterized in that: The device comprises: an acquisition unit, configured to acquire a first global posture, a first extended navigation path, and first landmark information of a first vehicle, wherein the first global posture is a global posture of the first vehicle at a current moment, the first extended navigation path includes an extended path of a first vehicle-mounted navigation path determined based on the first global posture, and the first landmark information includes landmark information contained in a first road environment image collected by the first vehicle at the first global posture; a distance prediction unit, configured to process the first global posture, the first extended navigation path, and the first landmark information based on a distance prediction model to obtain a maximum reachable distance on each lane in the first landmark information; The acquisition unit is further used to acquire a distance training sample set before processing the first global posture, the first extended navigation path and the first landmark information based on the distance prediction model, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global posture and a maximum reachable distance true value, the second extended navigation path includes an extended path of a second on-vehicle navigation path, the second landmark information includes landmark information contained in a second road environment image collected by a second vehicle on the second extended navigation path, the second global posture includes a global posture when the second vehicle collects the second road environment image, and the maximum reachable distance true value includes the maximum reachable distance true value of each lane in the second landmark information; The device also includes: A training unit is used to use the distance training sample set to perform training to obtain the distance prediction model.
11. The device according to claim 10, characterized in that The acquisition unit comprises: a first acquisition module, configured to acquire a target vehicle-mounted navigation path and a target global posture when the target vehicle is traveling on the target vehicle-mounted navigation path when the target extended navigation path includes the first extended navigation path and / or the second extended navigation path, wherein when the target extended navigation path is the first extended navigation path, the target vehicle-mounted navigation path is the first vehicle-mounted navigation path, the target vehicle is the first vehicle, and the target global posture is the first global posture; and when the target extended navigation path is the second extended navigation path, the target vehicle-mounted navigation path is the second vehicle-mounted navigation path, and the target global posture is the second global posture; An extraction module is used to extract the point of interest (POI) information corresponding to the target global posture from the target data, wherein the target data includes navigation events and / or a vehicle navigation map, the POI information includes road attribute information related to the predicted maximum reachable distance, and the POI information corresponding to the target global posture includes the POI information within a preset distance range ahead of the target global posture on the target vehicle navigation path; The adding module is used to add the POI information to the target vehicle-mounted navigation path to obtain the target expanded navigation path.
12. The device according to claim 10, characterized in that The acquisition unit comprises: a second acquisition module, configured to acquire input data of a landmark perception model when the target landmark information includes the first landmark information and / or the second landmark information, wherein the input data includes the target road environment image at the target moment and the target local posture at the target moment, the target local posture includes an offset of the global posture of the target vehicle relative to the global posture at the target starting point when the target road environment image is collected, the target moment is any moment when the target vehicle collects the target road environment image on the target extended navigation path, when the target landmark information is the first landmark information, the target vehicle is the first vehicle, the target road environment image is the first road environment image, the target extended navigation path is the first extended navigation path, and the target local posture is the first local posture, when the target landmark information is the second landmark information, the target vehicle is the second vehicle, the target road environment image is the second road environment image, the target extended navigation path is the second extended navigation path, and the target local posture is the second local posture; A processing module is used to process the input data based on the landmark perception model to obtain the target landmark information contained in the target road environment image at the target moment.
13. The device according to claim 12, characterized in that When the target moment is the moment when the target road environment image is collected for the Nth time on the target expanded navigation path, the input data also includes the output result of the landmark perception model at the previous moment adjacent to the target moment, and the output result of the previous moment includes the target landmark information contained in the target road environment image collected at the previous moment, and N is a positive integer greater than or equal to 2.
14. The device according to claim 12, characterized in that The acquisition unit further includes: A first generating module, configured to generate the landmark perception model before the processing module processes the input data based on the landmark perception model to obtain the target landmark information contained in the target road environment image at the target moment; The first generating module comprises: An acquisition submodule is used to acquire a landmark training sample set, wherein each training sample in the landmark training sample set includes: a road environment sample image group, a third local pose corresponding to each frame of the road environment sample image in the road environment sample image group, and a landmark true value corresponding to each frame of the road environment sample image, and the road environment image group includes multiple consecutive frames of road environment sample images; The training submodule is used to obtain a landmark perception model by training with the landmark training sample set, and the landmark perception model is used to perceive and output landmark information in the road environment sample image.
15. The device according to claim 14, characterized in that The acquisition submodule is used to obtain, for each of the road environment sample image groups to be processed, the road test time series data corresponding to the road environment sample image group according to the third local pose of each frame of the road environment sample image in the road environment sample image group; construct a first local map based on the road test time series data; and obtain the landmark true value of each frame of the road environment sample image by projecting the first local map onto each frame of the road environment sample image in the road environment sample image group.
16. The device according to any one of claims 10 to 15, characterized in that The acquisition unit comprises: A second generating module, configured to generate a second local map including the second extended navigation path based on the continuous video stream; a driving module, configured to drive according to the second extended navigation path in the second local map; a calculation module, configured to calculate, based on the second local map, the farthest reachable distance on each lane ahead of each second global posture on the second extended navigation path; A true value labeling module is used to use the calculated farthest reachable distance as the true value, perform true value labeling on the corresponding second landmark information, and obtain the true value of the farthest reachable distance of each lane in the second landmark information.
17. A training device for a distance prediction model, characterized in that: The device comprises: an acquisition unit, configured to acquire a distance training sample set, wherein each training sample in the distance training sample set includes: a second extended navigation path, second landmark information, a second global posture, and a true value of a farthest reachable distance, the second extended navigation path includes an extended path of a second vehicle-mounted navigation path, the second landmark information includes landmark information contained in a second road environment image collected by a second vehicle on the second extended navigation path, and the second global posture includes a global posture when the second vehicle collects the second road environment image; A training unit is used to use the distance training sample set to perform training to obtain a distance prediction model, wherein the distance prediction model is used to predict the maximum reachable distance of any vehicle in each lane ahead.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 or the method according to claim 8 is implemented.
19. An electronic device, characterized in that: The electronic device comprises: one or more processors; The processor is coupled to a storage device, and the storage device is used to store one or more programs; When the one or more programs are executed by the one or more processors, the electronic device implements the method according to any one of claims 1 to 7 or the method according to claim 8.
20. A vehicle, characterized in that: The vehicle comprises the system according to claim 9, or comprises the apparatus according to any one of claims 10 to 16 or claim 17, or comprises the electronic device according to claim 19.
Citation Information
Patent Citations
AGV navigation positioning method based on landmark identification
CN113074729A
Vehicle control method and device, electronic equipment and storage medium
CN113978484A
SLAM autonomous navigation method and device of mobile robot
CN115200588A
Path planning method, vehicle and storage medium
CN115235499A
Remote calling method and system based on scene reconstruction and readable storage medium
CN115237121A
