Automatic driving perception function modularization method and device
By extracting and fusing sensory image features, the environment perception information of the autonomous driving system is generated, which solves the problem of low data processing efficiency in the autonomous driving perception function, achieves adaptability and robustness under different vehicle models and sensor configurations, and reduces development costs and project cycle time.
Patent Information
- Application Number
- CN202410710329.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-10-25
AI Technical Summary
The data processing process of the autonomous driving perception function is cumbersome and inefficient, resulting in a waste of manpower, time and development costs. The algorithm has poor versatility and adaptability, cannot meet the speed of autonomous driving system platform diversification and function updates, and hinders technological development. .
By extracting the basic features of the perceptual image, converting them into bird's-eye visual image features, and performing temporal feature fusion, obstacles are detected to generate the environmental perception information required by the autonomous driving system, thereby realizing shared data under different models, functions and sensor configurations. Enhance robustness and adaptability.
It improves the independence and platform adaptability of the perception algorithm module components, reduces development costs, shortens the project cycle, solves the problem of low data processing efficiency, and accelerates the development speed of autonomous driving technology.
Smart Images

Figure CN118840718A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving perception technology, and in particular to a modular method and device for autonomous driving perception functions. Background Art
[0002] The perception function of autonomous driving uses sensors such as cameras, lidar, and millimeter-wave radar to enable the vehicle to understand the driving environment around the vehicle in real time, such as static obstacle information and dynamic obstacle information, like the user, analyze and understand the driving environment, and then make correct judgments. The perception function not only plays the role of "sensory" to identify the surrounding driving environment, but also is the absolute basis for the safe and efficient operation of the autonomous driving system, and can provide important input information for the vehicle's positioning, prediction, decision-making, planning, and control.
[0003] In related technologies, CBDES (Computing Brain Development System) can be used to quickly build an autonomous driving system that meets user needs, and perform flexible function adaptation and parameter adjustment; deep learning methods based on neural networks can also be used to achieve perception of the vehicle's driving environment.
[0004] However, in related technologies, the data processing process is cumbersome and inefficient, resulting in a huge waste of manpower, time and development costs. The algorithm has poor versatility and adaptability, and cannot meet the speed of diversification of autonomous driving system platforms and functional updates, which hinders the development of autonomous driving technology and urgently needs improvement. Summary of the invention
[0005] The present application provides a modular method and device for autonomous driving perception functions to solve the problems in related technologies, such as cumbersome and inefficient data processing procedures, resulting in a large waste of manpower, time, and development costs, poor algorithm versatility and adaptability, and inability to meet the speed of diversification of autonomous driving system platforms and functional updates, which hinders the development of autonomous driving technology.
[0006] The first aspect of the present application provides a modular method for autonomous driving perception functions, including: extracting at least one basic feature of an image from at least one perception image to obtain at least one image feature of perspective vision; converting the at least one image feature into at least one bird's-eye view image feature of bird's-eye vision, and fusing the at least one bird's-eye view image feature to obtain a bird's-eye view image; fusing the temporal features of the bird's-eye view image to obtain a fused image; detecting obstacles in the fused image to generate environmental perception information required by the autonomous driving system.
[0007] Optionally, in one embodiment of the present application, extracting at least one basic feature of an image from at least one perceived image to obtain at least one image feature of perspective vision includes: obtaining performance requirements of the perceived image corresponding to tasks in different scenarios; selecting a backbone network that matches the perceived image based on the performance requirements; and extracting the at least one basic feature using the backbone network.
[0008] Optionally, in one embodiment of the present application, converting the at least one image feature into at least one bird's-eye vision image feature of a bird's-eye vision, and fusing the at least one bird's-eye vision image feature to obtain a bird's-eye vision image includes: using MLP (Multilayer Perceptron) or Transformer to convert the at least one image feature into the at least one bird's-eye vision image feature; spatially fusing the bird's-eye vision image features according to a preset fusion scheme to obtain the bird's-eye vision image.
[0009] Optionally, in one embodiment of the present application, the fusing the temporal features of the bird's-eye view image to obtain a fused image includes: fusing the temporal features of a preceding bird's-eye view image and a subsequent bird's-eye view image that are aligned in time and space using DFA (Deformable Attention) to obtain the fused image.
[0010] Optionally, in one embodiment of the present application, detecting obstacles in the fused image and generating environmental perception information required by the autonomous driving system includes: acquiring a perception task for the perceived image, and obtaining a preliminary recognition result of obstacles in the image based on the perception task; combining the preliminary recognition result and at least one scene fusion data under the perception task to obtain final obstacle information to generate the environmental perception information required by the autonomous driving system.
[0011] The second aspect of the present application provides a modular device for autonomous driving perception function, including: at least one image feature extraction module, used to extract at least one basic feature of the image from at least one perception image to obtain at least one image feature of perspective vision; at least one image feature conversion module, used to convert the at least one image feature into at least one bird's-eye vision image feature of bird's-eye vision, and fuse the at least one bird's-eye vision image feature to obtain a bird's-eye vision image; at least one image feature fusion module, used to fuse the temporal features of the bird's-eye vision image to obtain a fused image; an obstacle detection head, used to detect obstacles in the fused image and generate environmental perception information required by the autonomous driving system.
[0012] Optionally, in one embodiment of the present application, the at least one image feature extraction module includes: an acquisition unit, used to acquire the performance requirements of the corresponding tasks of the perceived image in different scenarios; a selection unit, used to select a backbone network matching the perceived image based on the performance requirements; an extraction unit, used to extract the at least one basic feature using the backbone network; the at least one image feature conversion module includes: a conversion unit, used to convert the at least one image feature into the at least one bird's-eye vision image feature using MLP or Transformer; a fusion unit, used to spatially fuse the bird's-eye vision image features according to a preset fusion scheme to obtain the bird's-eye vision image; the at least one image feature fusion module is further used to fuse the preceding bird's-eye vision image and the subsequent bird's-eye vision image after time and space alignment using DFA to obtain the fused image; the obstacle detection head includes: a first generation unit, used to acquire the perception task of the perceived image, and obtain a preliminary recognition result of the obstacle in the image based on the perception task; a second generation unit, used to combine the preliminary recognition result and at least one scene fusion data under the perception task to obtain the final obstacle information to generate the environmental perception information required by the autonomous driving system.
[0013] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the modular method of autonomous driving perception function as described in the above embodiments.
[0014] The fourth aspect embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, it implements the above-mentioned modular method of autonomous driving perception function.
[0015] The fifth aspect embodiment of the present application provides a computer program product, including a computer program, which, when executed, implements the above-mentioned modular method of autonomous driving perception function.
[0016] The embodiment of the present application can extract the features of the perceived image and convert it into a bird's-eye view image, and then fuse the time series features to obtain a fused image, realize obstacle detection, generate the environmental perception information required by the autonomous driving system, and realize data sharing under different vehicle models, functions and sensor configurations, thereby enhancing the robustness of the data, improving the independence of the perception algorithm module components and the adaptability of different platforms, reducing development costs, and shortening project cycles. As a result, the problems in the related technology that the data processing process is cumbersome and inefficient, resulting in a large waste of manpower, time, and development costs, the algorithm has poor versatility and adaptability, and cannot meet the speed of diversification of autonomous driving system platforms and function updates, hindering the development of autonomous driving technology, etc.
[0017] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0019] Figure 1 A flowchart of a modular method for autonomous driving perception functions provided according to an embodiment of the present application;
[0020] Figure 2 A flowchart of the temporal fusion of bird's-eye view visual features provided according to an embodiment of the present application;
[0021] Figure 3 A schematic diagram of a structure based on the disassembly and reassembly of a perception function module according to an embodiment of the present application;
[0022] Figure 4 A block diagram of a modular device for autonomous driving perception function provided according to an embodiment of the present application;
[0023] Figure 5 It is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0025] The following describes the modular method and device of the autonomous driving perception function of the embodiment of the present application with reference to the accompanying drawings. In view of the cumbersome and inefficient data processing process mentioned in the above background technology, which causes a lot of waste of manpower, time and development costs, the versatility and adaptability of the algorithm are poor, and it is impossible to meet the diversification of the autonomous driving system platform and the speed of function update, which hinders the development of autonomous driving technology. The present application provides a modular method of autonomous driving perception function, in which the features of the perception image can be extracted and converted into a bird's-eye view visual image, and then the time series features are fused to obtain the fused image, so as to realize the detection of obstacles and generate the environmental perception information required by the autonomous driving system. It can realize the sharing of data under different vehicle models, functions and sensor configurations, enhance the robustness of the data, improve the independence of the perception algorithm module components and the adaptability of different platforms, reduce the development cost, and shorten the project cycle. Therefore, it solves the problems in the related technology that the data processing process is cumbersome and inefficient, which causes a lot of waste of manpower, time and development costs, the versatility and adaptability of the algorithm are poor, and it is impossible to meet the diversification of the autonomous driving system platform and the speed of function update, which hinders the development of autonomous driving technology.
[0026] Specifically, Figure 1 This is a flowchart of a modular method for autonomous driving perception functions provided according to an embodiment of the present application.
[0027] like Figure 1 As shown, the modular method of autonomous driving perception function includes the following steps:
[0028] In step S101, at least one basic feature of an image is extracted from at least one perceived image to obtain at least one image feature of perspective vision.
[0029] It is understandable that the images perceived by the embodiments of the present application may be, but are not limited to, images acquired by cameras, vehicle-mounted cameras, radars, etc., and may also be images acquired by other means, and the present application does not impose any specific limitations.
[0030] In addition, the embodiment of the present application extracts at least one basic feature of an image from at least one perceived image, which can be understood as extracting a basic feature, such as a color feature, from a perceived image, or can be understood as extracting multiple basic features, such as color features, texture features, shape features, etc., from a perceived image, or can be understood as extracting multiple basic features from multiple perceived images, etc., and the present application does not impose specific restrictions. In other words, at least one embodiment of the present application can be set by a person skilled in the art according to actual conditions, and the present application does not impose specific restrictions. In addition, the basic features can be set by a person skilled in the art according to actual conditions, and the present application does not impose specific restrictions.
[0031] As a possible implementation method, the embodiment of the present application can extract the basic features of the image from the perceived image, and then obtain the image features of the perspective vision to form a universal visual representation.
[0032] Optionally, in one embodiment of the present application, extracting at least one basic feature of an image from at least one perceived image to obtain at least one image feature of perspective vision includes: obtaining performance requirements of the perceived image corresponding to tasks in different scenarios; selecting a backbone network that matches the perceived image based on the performance requirements; and extracting at least one basic feature using the backbone network.
[0033] Those skilled in the art will appreciate that different scenarios in the embodiments of the present application may be understood as the autonomous driving environment when acquiring perceived images, such as whether the light is good, whether it is at night, or whether it is in low light, etc., and may also have other meanings, and the present application does not impose any specific limitations.
[0034] Furthermore, the task of the embodiment of the present application can be understood as obtaining the global features of the perceived image, or processing the features of the perceived image at different levels, or improving the performance and computational efficiency of the model, etc., and the present application does not impose any specific restrictions.
[0035] Furthermore, the performance requirements of the embodiments of the present application depend not only on many factors, but may include but are not limited to task requirements, data sets, training strategies, etc., and the present application does not impose any specific limitations.
[0036] In some embodiments, in the pre-training stage, the embodiments of the present application can use the ResNet (Residual Neural Network) series as the backbone network for extracting the basic features of the perceived image, wherein ResNet can solve the gradient vanishing problem in the deep neural network by directly passing the perceived image input to the subsequent layers, and can also avoid the loss of basic features during transmission. In addition, compared with the traditional network structure, the ResNet of the embodiment of the present application can better learn features when the network layers are deeper.
[0037] In some embodiments, in the pre-training stage of the embodiments of the present application, the backbone network of the Transformer can be used as the backbone network for extracting the basic features of the perceived image, wherein the backbone network of the Transformer has a better global receptive field and can better extract global features. In addition, the hierarchical Transformer structure of the embodiments of the present application, such as the Swin Transformer, can also divide the entire network into multiple stages, thereby helping to better balance computational efficiency and model performance when processing features at different levels, and can more flexibly process perceived images of different sizes. Moreover, compared with some larger models, the backbone network of the Transformer has better parameter efficiency, which is an advantage for some resource-constrained scenarios.
[0038] In step S102, at least one image feature is converted into at least one bird's-eye view image feature of the bird's-eye view, and at least one bird's-eye view image feature is fused to obtain a bird's-eye view image.
[0039] As a possible implementation method, the embodiment of the present application can convert image features into bird's-eye view image features to adapt to changes in different sensor layouts and vehicle models, and then fuse the bird's-eye view image features generated by different sensors to obtain a bird's-eye view image with more comprehensive and accurate information.
[0040] Optionally, in one embodiment of the present application, converting at least one image feature into at least one bird's-eye vision image feature of a bird's-eye vision, and fusing at least one bird's-eye vision image feature to obtain a bird's-eye vision image includes: using MLP or Transformer to convert at least one image feature into at least one bird's-eye vision image feature; spatially fusing the bird's-eye vision image features according to a preset fusion scheme to obtain a bird's-eye vision image.
[0041] It can be understood by those skilled in the art that, in the related art, IPM (Integrated Projective Mapping) can generally be used to convert image features into bird's-eye view image features. Bird's-eye view image conversion is a pioneering work for converting a front view into a top view. However, since IPM relies on ground assumptions, methods based on IPM are usually unable to accurately detect objects above the ground plane. Therefore, the embodiment of the present application can use MLP or Transformer to convert image features into bird's-eye view image features.
[0042] Among them, the MLP in the embodiment of the present application is a complex mapping function, which avoids errors in camera calibration. In addition, the MLP in the embodiment of the present application can also be used to learn the implicit representation of camera calibration, thereby realizing the conversion of image features into bird's-eye view image features. However, it should be noted that the MLP in the embodiment of the present application is more suitable for single view input, and the weights are fixed in the reasoning stage, so the mapped bird's-eye view learned by the MLP does not depend on data input.
[0043] The Transformer with cross-attention in the embodiment of the present application can also realize the conversion of an image under perspective vision into an image under bird's-eye vision, but the cross-attention in the Transformer depends on data, and the weight depends on the input data. Therefore, this data-dependent property makes the Transformer more expressive, but difficult to train.
[0044] Furthermore, when selecting MLP or Transformer, the embodiments of the present application also need to consider their advantages, applicable scenarios, and conduct a comprehensive evaluation of the adaptability of other perception function modules.
[0045] Furthermore, in the embodiment of the present application, in the process of performing spatial fusion according to a preset fusion scheme to obtain a bird's-eye view visual image, the fusion scheme involved may include but is not limited to: front fusion, middle fusion and back fusion.
[0046] Among them, pre-fusion can be understood as data-level fusion, which can process information as a whole, allowing data to be integrated earlier, thus making the data more relevant.
[0047] Medium fusion can be understood as feature-level fusion, which can be cross-camera fusion or multi-mode fusion, and solve the problem of needing many post-processing rules to associate the perception results of different sensors due to different data spaces.
[0048] Post-fusion can be understood as target-level fusion, where each sensor performs deep learning model inference on the target object separately, thereby outputting results with the sensor's own attributes and fusing them at the decision-making level.
[0049] For example, the embodiment of the present application can achieve cross-camera fusion through a mid-fusion solution to obtain a bird's-eye view visual image, and then perform time-series fusion.
[0050] In step S103, the temporal features of the bird's-eye view image are fused to obtain a fused image.
[0051] It can be understood that, on the one hand, the timing features can serve as a supplement to spatial information, enhance the ability to perceive obstacles, better detect objects that are currently obscured, or provide more reference information for locating the position of objects; on the other hand, the timing features are critical for judging the motion state of objects in bird's-eye view images. Previous methods based on pure vision could hardly effectively judge the movement speed of objects in the absence of timing features. Therefore, the embodiments of the present application can effectively perceive the motion state of objects through the fusion of timing features.
[0052] In the actual implementation process, the embodiment of the present application can fuse the temporal features of the bird's-eye view visual image to better understand the environment.
[0053] Optionally, in one embodiment of the present application, the temporal features of the bird's-eye view image are fused to obtain a fused image, including: fusing the temporal features of the preceding bird's-eye view image and the succeeding bird's-eye view image that are aligned in time and space using DFA to obtain the fused image.
[0054] As a possible implementation method, the embodiment of the present application can be as follows Figure 2 As shown in the figure, based on the Transformer method, DFA is performed on the preceding bird's-eye view image and the subsequent bird's-eye view image after spatiotemporal alignment to perform temporal feature fusion. Among them, the advantage of temporal fusion is obvious. The fusion of T1 and T2 bird's-eye view features can make up for the limitations of single-frame perception. The fusion of adjacent frame features can provide more reference information for the next moment and increase the receptive field, thereby improving the jump between target detection frames and target occlusion problems, and ultimately improving the accuracy and continuity of the perception algorithm.
[0055] In step S104, obstacles in the fused image are detected to generate environmental perception information required by the autonomous driving system.
[0056] As a possible implementation method, the embodiment of the present application can provide the required environmental perception information for the autonomous driving system by detecting obstacles in the fused image.
[0057] Optionally, in one embodiment of the present application, detecting obstacles in the fused image and generating environmental perception information required by the autonomous driving system includes: acquiring a perception task for perceiving the image, and obtaining a preliminary recognition result of the obstacles in the image based on the perception task; combining the preliminary recognition result and at least one scene fusion data under the perception task to obtain the final obstacle information to generate the environmental perception information required by the autonomous driving system.
[0058] It is understandable that the perception tasks of the embodiments of the present application may be, but are not limited to, 3D obstacle detection, lane line detection, occupancy grid, etc., and the present application does not impose any specific limitations.
[0059] That is to say, the embodiments of the present application can obtain preliminary recognition results of obstacles based on different perception tasks, and then combine the scene fusion data to obtain the final obstacle information, thereby providing the required environmental perception information for the autonomous driving system.
[0060] In some embodiments, for 3D obstacle detection, the embodiments of the present application can process obstacles in the image after feature extraction, feature conversion, and feature fusion of the perceived image, thereby realizing 3D obstacle detection and tracking, usually using a 3D box regression prediction method, or other methods, which are not specifically limited in the present application.
[0061] In some embodiments, for lane line detection, the embodiments of the present application can detect lane lines in an image by using image processing technology or a deep learning model, or other methods, which are not specifically limited by the present application, after the perceived image has been subjected to feature extraction, feature conversion, and feature fusion. Specifically, the embodiments of the present application can extract lane lines by analyzing lines and edges in the image to achieve lane line detection. In addition, the embodiments of the present application can also combine fusion information of multi-sensor data, such as laser radar or millimeter-wave radar, which is not specifically limited by the present application, to provide additional depth information and enhance the robustness of lane line detection.
[0062] In some embodiments, the embodiments of the present application can use occupancy grids to detect obstacles in images. It can be understood that the images of the embodiments of the present application after feature extraction, feature conversion, and feature fusion can more comprehensively represent the occupancy of each grid in the environment, that is, divide the environment into grids, where each grid is marked as occupied, unoccupied or unknown. Furthermore, the bird's-eye view visual features in the images of the embodiments of the present application help to integrate and analyze sensor data on a plane in these different tasks, providing a global view of the environment, thereby making more effective perception and decision-making.
[0063] The working principle of the modular method for autonomous driving perception function proposed in the embodiment of the present application is introduced in detail below with reference to a specific embodiment.
[0064] in, Figure 3 This is a schematic diagram of a structure based on the disassembly and reassembly of a perception function module according to an embodiment of the present application.
[0065] It can be understood that the embodiments of the present application can divide the perception function into various common functions, which may include but are not limited to: image feature extraction, image feature conversion, image feature fusion and obstacle detection head. The present application does not make specific restrictions. Therefore, the embodiments of the present application can achieve a high degree of modularization and componentization, thereby improving the flexibility of the perception algorithm, being able to adapt to the combination of different vehicle models and modules, and reducing the complexity of development and adaptation.
[0066] Specifically, the present application implements, for example Figure 3 The shown shows this hierarchical decoupled architecture, which classifies and arranges 5 functions, and each function can have multiple different methods for module combination. If the embodiment of the present application assumes that the image feature extraction function has 5 functional modules, respectively represented as A1, A2, A3, A4 and A5, the image feature conversion function includes: conversion function and fusion function, wherein the conversion function has 2 functional modules, respectively represented as B1 and B2, the fusion function has 2 functional modules, respectively represented as C1 and C2, the image feature fusion function 1 has 2 functional modules, respectively represented as D1 and D2, and the obstacle detection head has 2 functional modules, respectively represented as E1 and E2, then, the embodiment of the present application can have a total of 5*2*2*2*2=80 combinations. Furthermore, if the embodiment of the present application adds a new functional module, the combination method will increase exponentially.
[0067] In some embodiments, the embodiments of the present application can traverse each module combination scheme for training during the pre-training stage, thereby ensuring that each perception function module has matching upstream and downstream function module weights, and users can personalize the selection of perception function modules that adapt to the current computing power platform, so as to facilitate their rapid application algorithm construction. In addition, users can also expand and edit the network structure, modify the network structure according to user needs, randomly initialize the newly added network weights, and the pre-trained network weights remain unchanged. This method of combined training of perception function modules has brought new development directions for perception algorithms in autonomous driving.
[0068] According to the modular method of autonomous driving perception function proposed in the embodiment of the present application, the features of the perception image can be extracted and converted into a bird's-eye view image, and then the time series features can be fused to obtain the fused image, to detect obstacles, and to generate the environmental perception information required by the autonomous driving system. It can realize the sharing of data under different vehicle models, functions and sensor configurations, enhance the robustness of the data, improve the independence of the perception algorithm module components and the adaptability of different platforms, reduce the development cost, and shorten the project cycle. As a result, the problems in the related technology that the data processing process is cumbersome and inefficient, resulting in a large waste of manpower, time, and development costs, the algorithm has poor versatility and adaptability, cannot meet the speed of diversification of autonomous driving system platforms and function updates, and hinder the development of autonomous driving technology are solved.
[0069] Next, a modular device for autonomous driving perception function proposed in accordance with an embodiment of the present application will be described with reference to the accompanying drawings.
[0070] Figure 4 This is a block diagram of a modular device for autonomous driving perception function provided according to an embodiment of the present application.
[0071] like Figure 4 As shown, the autonomous driving perception function modular device 10 includes: at least one image feature extraction module (image feature extraction module 101, image feature extraction module 102,..., image feature extraction module 10n), at least one image feature conversion module (image feature conversion module 201, image feature conversion module 202,..., image feature conversion module 20n), at least one image feature fusion module (image feature fusion module 301, image feature fusion module 302,..., image feature fusion module 30n) and an obstacle detection head 400.
[0072] At least one image feature extraction module is used to extract at least one basic feature of the image from at least one perceived image to obtain at least one image feature of perspective vision.
[0073] At least one image feature conversion module is used to convert at least one image feature into at least one bird's-eye view image feature of bird's-eye view, and fuse at least one bird's-eye view image feature to obtain a bird's-eye view image.
[0074] At least one image feature fusion module is used to fuse the temporal features of the bird's-eye view image to obtain a fused image.
[0075] The obstacle detection head 400 is used to detect obstacles in the fused image and generate the environmental perception information required by the autonomous driving system.
[0076] Optionally, in one embodiment of the present application, at least one image feature extraction module includes: an acquisition unit, a selection unit and an extraction unit.
[0077] The acquisition unit is used to obtain the performance requirements of the corresponding tasks of the perceived image in different scenarios.
[0078] A selection unit is used to select a backbone network that matches the perceived image based on performance requirements.
[0079] The extraction unit is used to extract at least one basic feature using the backbone network.
[0080] At least one image feature conversion module includes: a conversion unit and a fusion unit.
[0081] The conversion unit is used to convert at least one image feature into at least one bird's-eye view image feature using MLP or Transformer.
[0082] The fusion unit is used to spatially fuse the features of the bird's-eye view image according to a preset fusion scheme to obtain a bird's-eye view image.
[0083] At least one image feature fusion module is further used to perform temporal feature fusion on the preceding bird's-eye view image and the succeeding bird's-eye view image that are aligned in time and space using DFA to obtain a fused image.
[0084] The obstacle detection head 400 includes a first generating unit and a second generating unit.
[0085] The first generating unit is used to obtain a perception task for perceiving an image, and obtain a preliminary recognition result of obstacles in the image based on the perception task.
[0086] The second generation unit is used to combine the preliminary recognition result and at least one scene fusion data under the perception task to obtain the final obstacle information to generate the environmental perception information required by the autonomous driving system.
[0087] It should be noted that the aforementioned explanation of the embodiment of the modular method of the autonomous driving perception function is also applicable to the modular device of the autonomous driving perception function of this embodiment, and will not be repeated here.
[0088] According to the modular device of autonomous driving perception function proposed in the embodiment of the present application, at least one image feature extraction module can be used to extract features, and at least one image feature conversion module can be used to obtain a bird's-eye view visual image, and then at least one image feature fusion module can be used to fuse the time series features to obtain a fused image, realize obstacle detection, and generate environmental perception information required by the autonomous driving system. It can realize data sharing under different vehicle models, functions and sensor configurations, enhance the robustness of data, improve the independence of perception algorithm module components and the adaptability of different platforms, reduce development costs, and shorten project cycles. As a result, the problems in the related technology that the data processing process is cumbersome and inefficient, resulting in a large waste of manpower, time, and development costs, the algorithm has poor versatility and adaptability, cannot meet the speed of diversification of autonomous driving system platforms and function updates, and hinder the development of autonomous driving technology are solved.
[0089] Figure 5 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. The electronic device may include:
[0090] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .
[0091] When the processor 502 executes the program, the modular method of the autonomous driving perception function provided in the above embodiment is implemented.
[0092] Furthermore, the electronic device further comprises:
[0093] The communication interface 503 is used for communication between the memory 501 and the processor 502 .
[0094] The memory 501 is used to store computer programs that can be executed on the processor 502 .
[0095] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0096] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0097] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.
[0098] The processor 502 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0099] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned modular method of autonomous driving perception function is implemented.
[0100] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed, implements the above-mentioned modular method of autonomous driving perception functions.
[0101] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0102] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0103] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0104] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.
[0105] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0106] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0107] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0108] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A modular approach to autonomous driving perception functions, It is characterized in that The following steps are involved: Extracting at least one basic feature of the image from at least one perceived image to obtain at least one image feature of perspective vision; Converting the at least one image feature into at least one bird's-eye view image feature of a bird's-eye view, and fusing the at least one bird's-eye view image feature to obtain a bird's-eye view image; fusing the temporal features of the bird's-eye view image to obtain a fused image; Detect obstacles in the fused image and generate environmental perception information required by the autonomous driving system.
2. The method according to claim 1, It is characterized in that The step of extracting at least one basic feature of the image from at least one perceived image to obtain at least one image feature of perspective vision comprises: Obtaining performance requirements of tasks corresponding to the perceived images in different scenarios; Selecting a backbone network matching the perceived image based on the performance requirement; The at least one basic feature is extracted using the backbone network.
3. The method according to claim 1, It is characterized in that Converting the at least one image feature into at least one bird's-eye view image feature of a bird's-eye view, and fusing the at least one bird's-eye view image feature to obtain a bird's-eye view image comprises: Using a multi-layer perceptron MLP or a transformer Transformer, the at least one image feature is converted into the at least one bird's-eye view image feature; The bird's-eye view visual image features are spatially fused according to a preset fusion scheme to obtain the bird's-eye view visual image.
4. The method according to claim 1, It is characterized in that The temporal features of the bird's-eye view image are fused to obtain a fused image including: The spatiotemporally aligned preceding bird's-eye view image and the subsequent bird's-eye view image are fused using a deformable attention DFA to obtain the fused image.
5. The method according to claim 1, It is characterized in that Detecting obstacles in the fused image and generating environmental perception information required by the autonomous driving system includes: Acquiring a perception task of the perceived image, and obtaining a preliminary recognition result of obstacles in the image based on the perception task; The preliminary recognition result and at least one scene fusion data under the perception task are combined to obtain final obstacle information to generate environmental perception information required by the autonomous driving system.
6. A modular device for autonomous driving perception function, It is characterized in that include: At least one image feature extraction module, used to extract at least one basic feature of the image from at least one perceived image to obtain at least one image feature of perspective vision; At least one image feature conversion module, used to convert the at least one image feature into at least one bird's-eye view image feature of the bird's-eye view, and fuse the at least one bird's-eye view image feature to obtain a bird's-eye view image; At least one image feature fusion module, used for fusing the temporal features of the bird's-eye view image to obtain a fused image; The obstacle detection head is used to detect obstacles in the fused image and generate environmental perception information required by the autonomous driving system.
7. The device according to claim 6, It is characterized in that The at least one image feature extraction module comprises: An acquisition unit, used to acquire the performance requirements of the perceived image corresponding to the task in different scenarios; A selection unit, configured to select a backbone network matching the perceived image based on the performance requirement; An extraction unit, configured to extract the at least one basic feature using the backbone network; The at least one image feature conversion module comprises: A conversion unit, configured to convert the at least one image feature into the at least one bird's-eye view image feature using an MLP or a Transformer; A fusion unit, configured to spatially fuse the features of the bird's-eye view image according to a preset fusion scheme to obtain the bird's-eye view image; The at least one image feature fusion module is further used to fuse the preceding bird's-eye view image and the subsequent bird's-eye view image after time-space alignment using DFA to obtain the fused image; The obstacle detection head comprises: A first generating unit, configured to obtain a perception task of the perceived image, and obtain a preliminary recognition result of obstacles in the image based on the perception task; The second generating unit is used to combine the preliminary recognition result and at least one scene fusion data under the perception task to obtain final obstacle information to generate environmental perception information required by the autonomous driving system.
8. An electronic device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the modular method for autonomous driving perception functions as described in any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The program is executed by a processor to implement the modular method of autonomous driving perception function as described in any one of claims 1 to 5.
10. A computer program product, It is characterized in that It includes a computer program which, when executed, is used to implement the modular method of autonomous driving perception function as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Data secondary cascade fusion method, data secondary cascade fusion system, vehicle-mounted equipment and storage medium
CN108776333A
Unified space-time fusion look-around aerial view perception method
CN115115713A
Multi-mode BEV look-around perception method, device and equipment and storage medium
CN117392625A
Autonomous vehicle environmental perception software architecture
US20220398851A1
Image processing method, apparatus and device, and computer-readable storage medium
US20230316742A1
Cited By
Vehicle control method and device, electronic equipment and storage medium
CN121469550A
Driving environment sensing method and device, vehicle, medium and program product
CN122574810A
Driving environment perception method, device, vehicle, medium and program product
CN122574810B
