Vehicle sensing information acquisition method and device, equipment and storage medium

By generating three-dimensional features containing depth information and converting them into bird's-eye view features, and using position encoding vectors to predict the category of perceptual information, the problem of difficulty in maintaining the accuracy of perceptual information in the existing technology is solved, and the accuracy and robustness of autonomous driving perceptual information are improved. Great sex.

CN118537834APending Publication Date: 2024-08-23QINGKE LINGJING (ANHUI) TECHNOLOGY CO LTD

Patent Information

Application Number
CN202410459646.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When the existing automatic driving perception information prediction method is damaged or the position of the camera is changed, it is difficult to maintain the accuracy of the perception information, and the lack of depth information results in weak performance of the perception algorithm.

Method used

By extracting image features of the target image, three-dimensional features containing depth information are generated and converted into bird's-eye view features. Position encoding vectors are used to predict the category of perceptual information, reducing the learning difficulty of image perspective conversion and improving the accuracy of perceptual information.

Benefits of technology

It improves the accuracy and robustness of perception information, enhances the adaptability to changes in camera installation position, and improves the perception performance of autonomous driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537834A
    Figure CN118537834A
Patent Text Reader

Abstract

The invention provides a vehicle perception information acquisition method and device, equipment and a storage medium, relates to the technical field of automatic driving, and can be applied to an automatic driving simulation scene. According to the specific implementation scheme, the method comprises the steps of extracting image features of a target image, wherein the target image is an image collected by a sensor of a target vehicle; according to the image features, performing conversion to generate three-dimensional features containing depth information; converting the three-dimensional features into aerial view features; performing convolution on the aerial view features to obtain a position coding vector of the target image; and predicting the category of the perceptual information around the target vehicle according to the position coding vector and the image features. According to the invention, the image segmentation performance can be improved, the position coding vector is predicted based on the three-dimensional features, the geometric information is implicitly coded, the learning difficulty of converting the image view angle to the BEV view angle is reduced, and the accuracy of the perceptual information is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of autonomous driving technology, and in particular to a method, device, equipment and storage medium for acquiring vehicle perception information, which can be applied in scenarios of autonomous driving simulation. Background Art

[0002] In the field of autonomous driving, images can be collected by setting up cameras on the vehicle, and the images and the camera's internal and external parameters can be input into a pre-trained perception model. The perception model can be used to predict perception information such as lane lines, drivable areas, and objects around the vehicle, and then autonomous driving control can be achieved based on the perception information.

[0003] Currently, in some implementations, the perception model can first generate image features from a bird's eye view (BEV) perspective (BEV features for short) based on the image and the camera's internal and external parameters, and then predict the perception information based on the BEV features. This can reduce the impact of camera damage or position change on the perception information and improve the accuracy of the perception information.

[0004] However, in the current perception information prediction methods, the accuracy of perception information still has room for further improvement. Summary of the invention

[0005] The present disclosure provides a vehicle perception information acquisition method, device, equipment and storage medium, which can improve image segmentation performance, predict position coding vectors based on three-dimensional features, implicitly encode geometric information, reduce the learning difficulty of converting image perspective to BEV perspective, and thus improve the accuracy of perception information.

[0006] According to a first aspect of the present disclosure, a method for acquiring vehicle perception information is provided, the method comprising:

[0007] Extract image features of a target image, where the target image is an image captured by a sensor of a target vehicle; convert and generate three-dimensional features containing depth information based on the image features; convert the three-dimensional features into bird's-eye view features; convolve the bird's-eye view features to obtain a position encoding vector of the target image; and predict the category of the perceived information around the target vehicle based on the position encoding vector and the image features.

[0008] In some possible implementations, extracting image features of the target image includes: extracting image features of the target image at at least two scales; and fusing the image features at at least two scales to obtain the image features of the target image.

[0009] In some possible implementations, fusing image features at at least two scales includes: fusing image features at at least two scales using a pyramid feature fusion network.

[0010] In some possible implementations, a pyramid feature fusion network is used to fuse image features at at least two scales, including: inputting image features at at least two scales into the pyramid feature fusion network, and fusing image features at at least two scales through the pyramid feature fusion network to obtain candidate fused image features corresponding to at least two scales; determining a target fused image feature from the candidate fused image features according to the resolutions of the candidate fused image features corresponding to the at least two scales; and separating the target fused image feature in a feature channel dimension to obtain a first image feature and a second image feature, wherein the first image feature contains depth information of the target image, and the image features of the target image include the first image feature and the second image feature.

[0011] In some possible implementations, the image features of the target image include: a first image feature and a second image feature, the first image feature including depth information of the target image, and based on the image feature, converting and generating a three-dimensional feature including the depth information, including: inputting the first image feature into a deep network, and outputting the depth distribution probability of the target image through the deep network; and generating the three-dimensional feature of the target image based on the depth distribution probability and the second image feature.

[0012] In some possible implementations, the category of perceptual information around a target vehicle is predicted based on a position coding vector and image features, including: inputting the position coding vector into a self-attention module of a deep self-attention transform network, and outputting a self-attention position coding vector through the self-attention module, wherein the self-attention module uses deformation convolution to output the self-attention position coding vector; inputting the self-attention position coding vector and a second image feature into a cross-attention module of a deep self-attention transform network, and outputting a cross-attention position coding vector through the cross-attention module; inputting the cross-attention position coding vector into a forward module of the deep self-attention transform network, pooling the cross-attention position coding vector through a multi-layer perceptron of the forward module, and outputting a forward position coding vector; and predicting the category of perceptual information around the target vehicle based on the forward position coding vector.

[0013] In some possible implementations, converting the three-dimensional features into bird's-eye view features includes: inputting the three-dimensional features into a bird's-eye view feature extractor, and compressing the three-dimensional features through the bird's-eye view feature extractor to obtain the bird's-eye view features.

[0014] In some possible implementations, extracting image features of a target image includes: inputting the target image into a backbone network, and extracting image features of the target image through the backbone network; convolving a bird's-eye view feature to obtain a position encoding vector of the target image, including: inputting the bird's-eye view feature into a first convolution module of the backbone network, and convolving the bird's-eye view feature through the first convolution module to obtain a position encoding vector of the target image.

[0015] According to a second aspect of the present disclosure, a vehicle perception information acquisition device is provided, the device comprising: an extraction unit, a conversion unit, a processing unit, and a prediction unit.

[0016] The extraction unit is used to extract image features of a target image, where the target image is an image captured by a sensor of a target vehicle; the conversion unit is used to convert and generate three-dimensional features containing depth information based on the image features; the conversion unit is also used to convert the three-dimensional features into bird's-eye view features; the processing unit is used to convolve the bird's-eye view features to obtain a position coding vector of the target image; and the prediction unit is used to predict the category of the perception information around the target vehicle based on the position coding vector and the image features.

[0017] Optionally, the extraction unit is specifically used to: extract image features of the target image at at least two scales; and fuse the image features at at least two scales to obtain image features of the target image.

[0018] Optionally, the extraction unit is specifically used to: use a pyramid feature fusion network to fuse image features at at least two scales.

[0019] Optionally, the extraction unit is specifically used to: input image features at at least two scales into a pyramid feature fusion network, perform feature fusion on the image features at at least two scales through the pyramid feature fusion network, and obtain candidate fused image features corresponding to at least two scales; determine a target fused image feature from the candidate fused image features according to the resolution of the candidate fused image features corresponding to the at least two scales; separate the target fused image feature in the feature channel dimension to obtain a first image feature and a second image feature, the first image feature contains depth information of the target image, and the image features of the target image include the first image feature and the second image feature.

[0020] Optionally, the image features of the target image include: a first image feature and a second image feature, the first image feature contains depth information of the target image, and the conversion unit is specifically used to: input the first image feature into a deep network, output the depth distribution probability of the target image through the deep network; and generate a three-dimensional feature of the target image according to the depth distribution probability and the second image feature.

[0021] Optionally, the prediction unit is specifically used to: input the position coding vector into the self-attention module of the deep self-attention transform network, and output the self-attention position coding vector through the self-attention module, wherein the self-attention module uses deformation convolution to output the self-attention position coding vector; input the self-attention position coding vector and the second image feature into the cross-attention module of the deep self-attention transform network, and output the cross-attention position coding vector through the cross-attention module; input the cross-attention position coding vector into the forward module of the deep self-attention transform network, pool the cross-attention position coding vector through the multi-layer perceptron of the forward module, and output the forward position coding vector; and predict the category of the perceptual information around the target vehicle according to the forward position coding vector.

[0022] Optionally, the conversion unit is specifically used to: input the three-dimensional feature into a bird's-eye view feature extractor, and compress the three-dimensional feature through the bird's-eye view feature extractor to obtain the bird's-eye view feature.

[0023] Optionally, the extraction unit is specifically used to: input the target image into the backbone network, and extract the image features of the target image through the backbone network; the processing unit is specifically used to: input the bird's-eye view features into the first convolution module of the backbone network, convolve the bird's-eye view features through the first convolution module, and obtain the position encoding vector of the target image.

[0024] According to a third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in the first aspect.

[0025] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause a computer to execute the method according to the first aspect.

[0026] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method according to the first aspect.

[0027] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0029] Figure 1 A schematic diagram of a process for obtaining vehicle perception information provided by an embodiment of the present disclosure;

[0030] Figure 2 The embodiments of the present disclosure provide Figure 1 A schematic diagram of an implementation process of S101;

[0031] Figure 3 Another schematic diagram of a process for acquiring vehicle perception information provided by an embodiment of the present disclosure;

[0032] Figure 4 The embodiments of the present disclosure provide Figure 1 A schematic diagram of an implementation process of S102;

[0033] Figure 5 The embodiments of the present disclosure provide Figure 1 A schematic diagram of an implementation process of S105;

[0034] Figure 6 Another schematic diagram of a process of obtaining vehicle perception information provided by an embodiment of the present disclosure;

[0035] Figure 7 A schematic diagram of the composition of a vehicle perception information acquisition device provided in an embodiment of the present disclosure;

[0036] Figure 8 FIG. 8 is a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present disclosure. DETAILED DESCRIPTION

[0037] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0038] It should be understood that in the embodiments of the present disclosure, the character " / " generally indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", etc. are used only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.

[0039] In the field of autonomous driving, images can be collected by setting up cameras on the vehicle, and the images and the camera's internal and external parameters can be input into a pre-trained perception model. The perception model can be used to predict perception information such as lane lines, drivable areas, and objects around the vehicle, and then autonomous driving control can be achieved based on the perception information.

[0040] Currently, in some implementations, the perception model can first generate image features from a bird's eye view (BEV) perspective (BEV features for short) based on the image and the camera's internal and external parameters, and then predict the perception information based on the BEV features. This can reduce the impact of camera damage or position change on the perception information and improve the accuracy of the perception information.

[0041] However, in the current perception information prediction methods, the accuracy of perception information still has room for further improvement.

[0042] For example, in recent years, along with the vigorous development of deep learning, autonomous driving based on deep learning has also ushered in a blowout development. To achieve complete autonomous driving, it involves the coordination of multiple modules including hardware and software, and it is necessary to comprehensively consider multiple mass production factors such as performance and cost. At present, autonomous driving adopts an autonomous driving framework based on pure vision or an autonomous driving framework based on multi-sensor fusion including lidar. The core starting point of the camera-based pure vision solution and the lidar-based multi-sensor fusion solution is economic factors, and the cost of the camera is much lower than that of the lidar. Among them, the difficulty of the camera-based pure vision solution is that the camera's perception and imaging process will cause the image to lack depth information. The lack of depth information in the image will cause the image-based perception algorithm to perform worse than the lidar algorithm in predicting obstacles such as pedestrians and vehicles. The perception algorithm is the most important link in autonomous driving and is crucial to subsequent modules such as autonomous driving prediction and planning. Because it is easy to integrate features in the BEV space and facilitate subsequent prediction and planning, the camera-based BEV algorithm has been enthusiastically sought after by the industry and academia. Since the images produced by the camera lack depth information, the camera-based BEV algorithms are divided into two categories. One is to construct depth information based on the input image, combine the depth information with image features, construct point cloud information, and then use point cloud-based algorithms to achieve detection and segmentation tasks. The other is to use the powerful fitting ability of the deep network to implicitly learn 3D information in a data-driven way. With the development of the transformer model, the BEV algorithm based on the transformer model has gradually become the mainstream. The transformer model can be understood as a deep learning model that uses a self-attention mechanism.

[0043] The input of the transformer-based BEV algorithm can include two parts, one is the input of multiple cameras, and the other is the camera external parameters and internal parameters obtained from the camera's installation position and its own information. Multiple cameras usually surround the car to ensure that the perception algorithm obtains 360-degree information around the vehicle. Considering that the image lacks depth information, different cameras are installed in different positions, and the parameters of the camera itself are also different. In order to ensure that the network learns complex geometric information, the camera external parameters and internal parameters obtained from the camera's installation position and its own information will also be sent to the perception algorithm. Existing perception algorithms often use fixed camera internal and external parameters and multi-view images to train perception models. Since the camera's installation position is fixed when the vehicle leaves the factory, the camera's internal and external parameters are fixed. Therefore, the disadvantage of this training method is that the camera's installation position will change during the use of the vehicle, and even the camera may be damaged and cannot be used. Data-driven deep learning models are very sensitive to changes in input information. Changes in camera information will reduce the performance of the perception model and cause problems in subsequent modules such as prediction and planning, which will eventually endanger autonomous driving.

[0044] Against this background, the present disclosure provides a method for acquiring vehicle perception information, which can further improve the accuracy of perception information.

[0045] Exemplarily, the vehicle perception information acquisition method provided by the present disclosure can be applied to the following scenarios.

[0046] For example, the execution subject of the vehicle perception information acquisition method provided in the embodiment of the present disclosure may be a computer or a server, or may be other devices with data processing capabilities. The execution subject of the method is not limited here.

[0047] In some embodiments, the server may be a single server, or a server cluster composed of multiple servers. In some implementations, the server cluster may also be a distributed cluster. The present disclosure does not limit the specific implementation of the server.

[0048] Figure 1 The flowchart of the vehicle perception information acquisition method provided by the embodiment of the present disclosure is as follows. Figure 1 As shown, the method may include S101-S105.

[0049] S101, extracting image features of a target image.

[0050] The target image is an image captured by a sensor of the target vehicle.

[0051] For example, a target image may be collected by a sensor (e.g., a camera) of a target vehicle, and then feature extraction may be performed on the collected target image by a backbone network (e.g., RegNet) to obtain image features of the target image. The target image may include images from multiple different perspectives.

[0052] S102: Convert and generate three-dimensional features including depth information according to the image features.

[0053] For example, the image features obtained in S101 and the depth distribution probability of the target image can be input into a preset three-dimensional feature extractor, and the three-dimensional feature F containing the depth information can be obtained in the form of an outer product. 3d .

[0054] S103: Convert the three-dimensional features into bird's-eye view features.

[0055] Exemplarily, the three-dimensional features converted and generated in S102 may be compressed by a bird's-eye view feature extractor to obtain a bird's-eye view feature.

[0056] Based on the above embodiment, for example, the bird's-eye view feature loses height information compared to the three-dimensional feature, but retains the width and depth information of the feature, which is in line with planning and control as well as the fusion of different source features. The input of the bird's-eye view feature extractor is the three-dimensional feature F 3d , the output is the bird's-eye view feature F bev , Among them, W bev and D bev represent the length and width of the BEV feature, respectively, and C final Indicates the feature channel dimension. You can set W bev and D bev The number of grids is 200, and each grid represents an actual physical size of 0.5 meters, which means that the actual physical meaning is the range of 100 meters around the target vehicle coordinate system. 3d The PointPillars method is used to process point cloud features. That is, PointPillars assigns each point of the point cloud feature to its nearest cylinder, and then compresses the cylinder features through pooling to obtain the BEV feature.

[0057] S104, convolve the bird's-eye view features to obtain a position encoding vector of the target image.

[0058] Exemplarily, the position encoding vector can be obtained according to the bird's-eye view features by a position encoding vector generator (eg, a Query generator), wherein the position encoding vector generator can adopt a preset convolutional network.

[0059] S105: predict the category of the perception information around the target vehicle based on the position encoding vector and the image features.

[0060] Exemplarily, the position encoding vector and the image features may be input into a preset deep self-attention transformation network, which may be a Transformer model, and the category of the perception information around the target vehicle is predicted and outputted through the preset Transformer model.

[0061] The disclosed embodiment extracts the image features of the target image, converts the extracted image features to generate three-dimensional features containing depth information, then converts the three-dimensional features into bird's-eye view features, and then convolves the bird's-eye view features to obtain the position coding vector of the target image, and finally predicts the category of the perceptual information around the target vehicle based on the position coding vector and the image features. A connection between two-dimensional (2D) images and three-dimensional (3D) segmentation can be established to improve segmentation performance, and the position coding vector is predicted based on the three-dimensional features, implicitly encoding geometric information, reducing the learning difficulty of converting the image perspective to the BEV perspective, thereby improving the accuracy of the perceptual information.

[0062] Figure 2 The embodiments of the present disclosure provide Figure 1 A schematic diagram of an implementation flow of S101 in FIG. Figure 2 As shown, Figure 1 S101 in the example may include S201 - S202 .

[0063] S201: Extract image features of a target image at at least two scales.

[0064] S202: Fusing image features at at least two scales to obtain image features of a target image.

[0065] For example, the features of the target image can be extracted through a backbone network (e.g., RegNet), and the backbone network can output multiple features of different scales. The multiple features of different scales output by the backbone network are then input into a preset fusion network for fusion to obtain the image features of the target image.

[0066] For example, RegNet is used to extract image features F from the target image 2d , f 2d ∈R V×H×W×C , where V represents the number of cameras, C represents the feature channel dimension, H represents the feature height, and W represents the feature width. RegNet can output multiple features of different scales. Among them, V represents the number of cameras, L represents the multi-scale feature index, which can also be understood as L represents the specific scale, S represents the number of multi-scale features, and C Lrepresents the feature channel, and P represents the image. When V is 6, C is 3, H is 800, W is 1600, and S is 3, C L =64×2 L , Specifically, RegNet can output three scale features: 25×32×512, 50×64×256, and 100×128×128, where 64 is the default number of channels of the network, and C is 3, indicating that the image is in color.

[0067] This embodiment obtains the image features of the target image by extracting the image features of the target image at at least two scales and then fusing the image features at at least two scales. Features of different scales can be fused, and the fusion of multi-scale features ensures the robustness of the model to data and internal and external parameters of the camera, improves the fitting ability and generalization ability of the model, and is also conducive to the detection of small targets.

[0068] In some embodiments, the fusing of image features at at least two scales may include: fusing image features at at least two scales using a pyramid feature fusion network.

[0069] Exemplarily, the multi-scale features output by the backbone network can be input into the feature pyramid networks (FPN) network, and the FPN network can be used to fuse features of different scales. The FPN network is a deep neural network architecture designed specifically to solve the multi-scale problem in object detection. The main advantage of the FPN network is that it significantly improves the performance of small object detection without significantly increasing the computational complexity of the original model. The FPN network takes into account that the underlying large-scale features contain more positioning information, and the top-level small-scale features contain more semantic information. It can aggregate positioning information and semantic information by fusing information of different scales.

[0070] This embodiment uses a pyramid feature fusion network to fuse image features at at least two scales, so as to retain information of small objects in the features, thereby improving the segmentation performance of small targets.

[0071] Figure 3 Another flow chart of the method for acquiring vehicle perception information provided by the embodiment of the present disclosure. Figure 3 As shown, the method may include S301-S303.

[0072] S301, inputting image features at at least two scales into a pyramid feature fusion network, performing feature fusion on the image features at at least two scales through the pyramid feature fusion network, and obtaining candidate fused image features corresponding to at least two scales.

[0073] S302: Determine a target fused image feature from the candidate fused image features according to the resolutions of the candidate fused image features corresponding to at least two scales.

[0074] Exemplarily, image features at at least two scales may be input into the FPN network, and the image features at at least two scales input may be fused through the FPN network to obtain candidate fused image features corresponding to at least two scales. Then, the resolution of the candidate fused image features corresponding to the obtained at least two scales is obtained, and a target fused image feature that meets the preset requirements is selected from all the candidate fused image features according to the resolution of each candidate fused image feature.

[0075] For example, when the three image features input into the FPN network are image feature 1, image feature 2, and image feature 3, the FPN network can be used to obtain candidate fused image features corresponding to image feature 1, image feature 2, and image feature 3. When the resolution of image feature 3 is the highest and the preset requirement is that the resolution of the output image feature is the largest, the candidate fused image feature corresponding to image feature 3 can be determined as the target fused image feature.

[0076] S303 , separating the target fused image features in the feature channel dimension to obtain a first image feature and a second image feature.

[0077] The first image feature includes depth information of the target image, and the image feature of the target image includes the first image feature and the second image feature.

[0078] For example, the determined target fusion image features can be separated in the feature channel dimension by the FPN network. The FPN network can output features of two dimensions, namely, the first image feature and the second image feature, which can be represented by F depth Denote the first image feature, and use F final In order to ensure that the network learns deep information, this part of the output will calculate the loss. The true value calculated by the loss function is obtained by projecting the laser radar point cloud onto the image plane. Then F depth It has a clear physical meaning, indicating that each point of the image feature is in the range of 0-C depth The probability that the range belongs to which depth, F depth satisfy F depth and F final The inherent difference is that F depth Normalized in the channel dimension.

[0079] For example, when H final It is 100, W final is 128, C finalis 128, H depth It is 100, W depth is 128, C depth When it is 128, the category of the perception information within 128 meters in front of the target vehicle can be predicted.

[0080] In this embodiment, image features at at least two scales are input into a pyramid feature fusion network, and feature fusion is performed on the image features at at least two scales through the pyramid feature fusion network to obtain candidate fused image features corresponding to at least two scales. Then, according to the resolution of the candidate fused image features corresponding to at least two scales, the target fused image features are determined from the candidate fused image features. Finally, the target fused image features are separated in the feature channel dimension to obtain the first image feature and the second image feature. The first image feature containing depth information can be obtained to provide data support for the subsequent generation of three-dimensional features containing depth information.

[0081] Figure 4 The embodiments of the present disclosure provide Figure 1 A schematic diagram of an implementation flow of S102 is shown in FIG. Figure 4 As shown, Figure 1 S102 in the example may include S401 - S402 .

[0082] S401, inputting the first image feature into a deep network, and outputting the depth distribution probability of the target image through the deep network.

[0083] For example, the image feature of the target image may be the first image feature F depth and the second image feature F final , the first image feature F depth Contains the depth information of the target image. depth Input the deep network and output the depth distribution probability F of the target image through the deep network d The deep network is composed of convolutional modules that constitute the backbone network. In this embodiment, the deep network can use the first network module of the backbone network in the above embodiment, where the step size is set to 1, that is, the output size of the network does not change, and the deep network can output F d , D final Represents the depth prediction distribution probability.

[0084] S402: Generate a three-dimensional feature of the target image according to the depth distribution probability and the second image feature.

[0085] For example, the second image feature F final And the depth distribution probability F of the target image d Input the preset three-dimensional feature extractor and use the outer product form to obtain the three-dimensional feature F containing depth information3d ,in, C final Represents the feature channel dimension.

[0086] In this embodiment, the first image feature is input into a deep network, and the depth distribution probability of the target image is output through the deep network. The depth information can be predicted based on the extracted image feature to obtain the depth distribution probability of the target image. Then, the three-dimensional feature of the target image is generated based on the depth distribution probability and the second image feature, thereby ensuring that the texture information of the image is integrated into the subsequently generated position encoding vector.

[0087] Figure 5 The embodiments of the present disclosure provide Figure 1 A schematic diagram of an implementation flow of S105 is shown in FIG. Figure 5 As shown, Figure 1 S105 in the example may include S501 - S504 .

[0088] S501. Input the position encoding vector into the self-attention module of the deep self-attention transform network, and output the self-attention position encoding vector through the self-attention module.

[0089] Among them, the self-attention module uses deformable convolution to output the self-attention position encoding vector.

[0090] Exemplarily, the deep self-attention transformation network can be a Transformer model, and the Transformer model can include 6 attention modules of the same structure, each of which includes a self-attention module, a cross-attention module, and a forward module. The position encoding vector is input into the self-attention module of the Transformer model, and the self-attention position encoding vector is outputted through the self-attention module of the Transformer model using deformable convolution according to formula (1).

[0091]

[0092] In formula (1), Q is the abbreviation of Query, which represents the position encoding vector. self represents the self-attention position encoding vector, h represents the multi-head index of the multi-head attention mechanism, k represents the number of sampling points, r corresponds to the initial position of Q, φ represents the sampling function, and W represents the weight matrix, where Δr hk is the coordinate offset calculated according to formula (2), and A is calculated according to formula (3).

[0093] Δr hk =W hk Q+b hk Formula (2)

[0094] A=softmaxk (WQ) Formula (3)

[0095] In formula (2), b represents the bias value.

[0096] S502. Input the self-attention position encoding vector and the second image feature into the cross-attention module of the deep self-attention transformation network, and output the cross-attention position encoding vector through the cross-attention module.

[0097] Exemplarily, the self-attention position encoding vector obtained in S501 and the above-mentioned second image feature can be input into the cross-attention module of the Transformer model, and the cross-attention position encoding vector can be output through the cross-attention module of the Transformer model according to formula (4).

[0098]

[0099] In formula (4), Q cross represents the cross-attention position encoding vector, r represents the position coordinate of Q, M (t) is the coordinate transformation matrix calculated based on the camera intrinsic parameters, Δr htk is the coordinate offset calculated according to formula (5). A is calculated according to formula (6).

[0100] Δr htk =W htk Q self +b ht Formula (5)

[0101] A=softmax tk (WQ self ) Formula (6)

[0102] In formula (5), b represents the bias value.

[0103] S503, input the cross-attention position coding vector into the forward module of the deep self-attention transformation network, pool the cross-attention position coding vector through the multi-layer perceptron of the forward module, and output the forward position coding vector.

[0104] Exemplarily, the cross-attention position encoding vector obtained in S502 can be input into the forward module of the Transformer model, and the cross-attention position encoding vector is pooled according to formula (7) by the multi-layer perceptron of the forward module, and then the forward position encoding vector is output.

[0105] Q final =MLP(Relu(MLP(Q cross ))) Formula (7)

[0106] In formula (7), Q final Represents the forward position encoding vector, MLP represents a multi-layer perceptron, and Relu represents a pooling operation.

[0107] S504: predict the category of the perception information around the target vehicle according to the forward position coding vector.

[0108] Exemplarily, the forward position encoding vector obtained in S503 may be input into a segmentation head, and the segmentation head outputs P. Among them, C class Represents the prediction category, which can include lane lines, drivable areas and objects.

[0109] In this embodiment, the position coding vector is input into the self-attention module of the Transformer model, the self-attention position coding vector is output through the self-attention module, and then the self-attention position coding vector and the second image feature are input into the cross-attention module of the Transformer model, the cross-attention position coding vector is output through the cross-attention module, and then the cross-attention position coding vector is input into the forward module of the Transformer model, the cross-attention position coding vector is pooled through the multi-layer perceptron of the forward module, and the forward position coding vector is output, and finally, the category of the perceptual information around the target vehicle is predicted according to the forward position coding vector. Based on the deformable Transformer attention mechanism, deformable convolution can be used to implicitly learn geometric priors, give full play to the Transformer fitting ability, reduce the learning difficulty of the task, and ensure that the network focuses on local important information while reducing the amount of calculation.

[0110] In some embodiments, the above S103 may include: inputting the three-dimensional feature into a bird's-eye view feature extractor, and compressing the three-dimensional feature through the bird's-eye view feature extractor to obtain the bird's-eye view feature.

[0111] For example, the three-dimensional features converted and generated in S102 can be compressed by a bird's-eye view feature extractor to obtain a bird's-eye view feature. The input of the bird's-eye view feature extractor is the three-dimensional feature F 3d , the output is the bird's-eye view feature F bev , Among them, W bev and D bev represent the length and width of the BEV feature, respectively, and C final Indicates the feature channel dimension. You can set W bev and D bev The number of grids is 200, and each grid represents an actual physical size of 0.5 meters, which means that the actual physical meaning is the range of 100 meters around the target vehicle coordinate system. 3dThe PointPillars method is used to process point cloud features. That is, PointPillars assigns each point of the point cloud feature to its nearest cylinder, and then compresses the cylinder features through pooling to obtain the BEV feature.

[0112] In this embodiment, the three-dimensional features are input into the bird's-eye view feature extractor, and the three-dimensional features are compressed by the bird's-eye view feature extractor to obtain the bird's-eye view features. The bird's-eye view features can be generated without height information and retaining the width and depth information of the features, which is in line with planning and control and the fusion of different source features.

[0113] Figure 6 This is another flow chart of the vehicle perception information acquisition method provided by the embodiment of the present disclosure. Figure 6 As shown, the method may include S601-S602.

[0114] S601, inputting the target image into the backbone network, and extracting the image features of the target image through the backbone network.

[0115] S602: Input the bird's-eye view feature into the first convolution module of the backbone network, and convolve the bird's-eye view feature through the first convolution module to obtain a position encoding vector of the target image.

[0116] Exemplarily, the first convolution module of the backbone network can be used as a position encoding vector generator. After the image features of the target image are extracted through the backbone network, the image features of the target image are processed to obtain bird's-eye view features, and then the bird's-eye view features are input into the first convolution module of the backbone network. The bird's-eye view features are convolved through the first convolution module to obtain the position encoding vector of the target image. The output of the position encoding vector generator is Q, Each query encodes the geometry and texture information of the location for feature interaction to obtain object prediction information at that location.

[0117] In this embodiment, the target image is input into the backbone network, the image features of the target image are extracted through the backbone network, and then the bird's-eye view features are input into the first convolution module of the backbone network, and the bird's-eye view features are convolved through the first convolution module to obtain the position encoding vector of the target image. The first convolution module of the backbone network can be used to convolve the BEV features to obtain the position encoding vector of the target image, thereby avoiding the introduction of additional convolution networks and achieving a lightweight effect.

[0118] In an exemplary embodiment, the present disclosure also provides a vehicle perception information acquisition device, which can be used to implement the vehicle perception information acquisition method as described in the above embodiment. Figure 7 The following is a schematic diagram of the composition of the vehicle perception information acquisition device provided in the embodiment of the present disclosure. Figure 7As shown, the device may include: an extraction unit 701, a conversion unit 702, a processing unit 703, and a prediction unit 704.

[0119] The extraction unit 701 is used to extract image features of a target image, where the target image is an image captured by a sensor of a target vehicle.

[0120] The conversion unit 702 is used to convert and generate three-dimensional features containing depth information according to the image features.

[0121] The conversion unit 702 is further used to convert the three-dimensional features into bird's-eye view features.

[0122] The processing unit 703 is used to perform convolution on the bird's-eye view features to obtain a position encoding vector of the target image.

[0123] The prediction unit 704 is used to predict the category of the perception information around the target vehicle according to the position encoding vector and the image features.

[0124] Optionally, the extraction unit 701 is specifically configured to extract image features of the target image at at least two scales; and fuse the image features at at least two scales to obtain image features of the target image.

[0125] Optionally, the extraction unit 701 is specifically configured to fuse image features at at least two scales using a pyramid feature fusion network.

[0126] Optionally, the extraction unit 701 is specifically used to input image features at at least two scales into a pyramid feature fusion network, perform feature fusion on the image features at at least two scales through the pyramid feature fusion network, and obtain candidate fused image features corresponding to at least two scales; determine a target fused image feature from the candidate fused image features according to the resolutions of the candidate fused image features corresponding to the at least two scales; separate the target fused image feature in the feature channel dimension to obtain a first image feature and a second image feature, the first image feature contains depth information of the target image, and the image features of the target image include the first image feature and the second image feature.

[0127] Optionally, the image features of the target image include: a first image feature and a second image feature, the first image feature includes depth information of the target image, and the conversion unit 702 is specifically used to input the first image feature into a deep network, and output the depth distribution probability of the target image through the deep network; generate a three-dimensional feature of the target image according to the depth distribution probability and the second image feature.

[0128] Optionally, the prediction unit 704 is specifically used to input the position coding vector into the self-attention module of the deep self-attention transform network, and output the self-attention position coding vector through the self-attention module, wherein the self-attention module uses deformation convolution to output the self-attention position coding vector; input the self-attention position coding vector and the second image feature into the cross-attention module of the deep self-attention transform network, and output the cross-attention position coding vector through the cross-attention module; input the cross-attention position coding vector into the forward module of the deep self-attention transform network, pool the cross-attention position coding vector through the multi-layer perceptron of the forward module, and output the forward position coding vector; and predict the category of the perceptual information around the target vehicle according to the forward position coding vector.

[0129] Optionally, the conversion unit 702 is specifically configured to input the three-dimensional feature into a bird's-eye view feature extractor, and compress the three-dimensional feature through the bird's-eye view feature extractor to obtain the bird's-eye view feature.

[0130] Optionally, the extraction unit 701 is specifically used to input the target image into the backbone network and extract the image features of the target image through the backbone network; the processing unit 703 is specifically used to input the bird's-eye view features into the first convolution module of the backbone network, convolve the bird's-eye view features through the first convolution module, and obtain the position encoding vector of the target image.

[0131] The beneficial effects of the above-mentioned vehicle perception information acquisition device can refer to the beneficial effects of the vehicle perception information acquisition method described in the above-mentioned embodiment, and will not be repeated here.

[0132] According to an embodiment of the present disclosure, the present disclosure further provides an electronic device, which may be a server, a computer or other device as described in the above embodiments, and can be used to implement the vehicle perception information acquisition method provided in the embodiment of the present disclosure.

[0133] In an exemplary embodiment, the electronic device may include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the road network structure generation method based on vehicle trajectory data as described in the above embodiments.

[0134] For example, Figure 88 is a schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0135] like Figure 8 As shown, the electronic device 800 may include a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit 808 into a random access memory (RAM). In RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface is also connected to the bus 804.

[0136] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0137] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as a road network structure generation method based on vehicle trajectory data. For example, in some embodiments, the road network structure generation method based on vehicle trajectory data may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808.

[0138] In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the method for generating a road network structure based on vehicle trajectory data described above may be performed.

[0139] Alternatively, in other embodiments, the computing unit 801 may be configured to execute the road network structure generation method based on vehicle trajectory data in any other appropriate manner (for example, by means of firmware).

[0140] According to an embodiment of the present disclosure, the present disclosure also provides a readable storage medium and a computer program product.

[0141] In an exemplary embodiment, the readable storage medium may be a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to the above embodiments.

[0142] In an exemplary embodiment, a computer program product includes a computer program, and when the computer program is executed by a processor, the method according to the above embodiments is implemented.

[0143] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0144] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0145] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0146] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0147] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0148] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0149] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0150] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for acquiring vehicle perception information, the method comprising: Extracting image features of a target image, where the target image is an image acquired by a sensor of a target vehicle; According to the image features, convert and generate three-dimensional features containing depth information; Converting the three-dimensional features into bird's-eye view features; Convolving the bird's-eye view features to obtain a position encoding vector of the target image; According to the position encoding vector and the image feature, a category of the perception information around the target vehicle is predicted.

2. According to the method of claim 1, extracting the image features of the target image comprises: Extracting image features of the target image at at least two scales; The image features at the at least two scales are fused to obtain the image features of the target image.

3. The method according to claim 2, wherein fusing the image features at the at least two scales comprises: A pyramid feature fusion network is used to fuse the image features at the at least two scales.

4. The method according to claim 3, wherein the step of fusing the image features at the at least two scales using a pyramid feature fusion network comprises: Inputting the image features at the at least two scales into the pyramid feature fusion network, and performing feature fusion on the image features at the at least two scales through the pyramid feature fusion network to obtain candidate fused image features corresponding to the at least two scales; Determining a target fused image feature from the candidate fused image features according to the resolutions of the candidate fused image features corresponding to the at least two scales; The target fused image feature is separated in the feature channel dimension to obtain a first image feature and a second image feature, wherein the first image feature contains depth information of the target image, and the image feature of the target image includes the first image feature and the second image feature.

5. The method according to claim 1, wherein the image features of the target image include: The first image feature and the second image feature, wherein the first image feature includes depth information of the target image, and the converting and generating a three-dimensional feature including the depth information according to the image feature includes: Inputting the first image feature into a deep network, and outputting the depth distribution probability of the target image through the deep network; A three-dimensional feature of the target image is generated according to the depth distribution probability and the second image feature.

6. The method according to claim 5, wherein predicting the category of the perceptual information around the target vehicle according to the position encoding vector and the image feature comprises: Inputting the position encoding vector into a self-attention module of a deep self-attention transformer network, and outputting the self-attention position encoding vector through the self-attention module, wherein the self-attention module outputs the self-attention position encoding vector using deformation convolution; Inputting the self-attention position encoding vector and the second image feature into a cross-attention module of the deep self-attention transform network, and outputting the cross-attention position encoding vector through the cross-attention module; Inputting the cross-attention position encoding vector into the forward module of the deep self-attention transformation network, pooling the cross-attention position encoding vector through the multi-layer perceptron of the forward module, and outputting the forward position encoding vector; According to the forward position encoding vector, a category of the perception information around the target vehicle is predicted.

7. The method according to claim 1, wherein converting the three-dimensional features into bird's-eye view features comprises: The three-dimensional features are input into a bird's-eye view feature extractor, and the three-dimensional features are compressed by the bird's-eye view feature extractor to obtain the bird's-eye view features.

8. The method according to any one of claims 1 to 7, wherein extracting the image features of the target image comprises: Inputting the target image into a backbone network, and extracting image features of the target image through the backbone network; The step of convolving the bird's-eye view features to obtain a position encoding vector of the target image includes: The bird's-eye view feature is input into the first convolution module of the backbone network, and the bird's-eye view feature is convolved by the first convolution module to obtain a position encoding vector of the target image.

9. A vehicle perception information acquisition device, the device comprising: An extraction unit, used to extract image features of a target image, wherein the target image is an image acquired by a sensor of a target vehicle; A conversion unit, used for converting and generating a three-dimensional feature containing depth information according to the image feature; The conversion unit is further used to convert the three-dimensional features into bird's-eye view features; A processing unit, configured to convolve the bird's-eye view features to obtain a position encoding vector of the target image; A prediction unit is used to predict the category of the perception information around the target vehicle according to the position encoding vector and the image feature.

10. An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Multi-sensor information fusion method and device

    CN114782785A

  • Method and system for realizing aerial view semantic segmentation based on implicit set prediction

    CN115965970A

  • Automatic driving real-time three-dimensional target detection method combining point cloud shape features

    CN116030445A

  • Autonomous vehicle localization using a lidar intensity map

    US20190383945A1

Cited By

  • View feature conversion method and system, storage medium and product

    CN118840621A

  • Monocular vision odometer system based on aerial view representation and method thereof

    CN119374627A

  • Monocular visual odometry system and method based on bird's eye view representation

    CN119374627B

  • BEV feature-based vehicle tracking method, apparatus and device, and medium

    CN120279533A