Vehicle environment sensing method and device, terminal and storage medium
By adopting pre-fusion technology in vehicle environment perception, using multi-layer perception network and convolutional neural network to extract feature vectors and perform cross-attention mechanism fusion, the problem of low accuracy of vehicle environment perception in the existing technology is solved, and a better High-precision environmental information capture and safer driving experience.
Patent Information
- Application Number
- CN202410959933.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-22
AI Technical Summary
The accuracy of vehicle environment perception in the existing technology is low, especially in terms of short-range perception. The existing ultrasonic perception and visual perception fusion solutions rely on post-fusion methods, making it difficult to provide high-precision environmental information in complex situations.
A vehicle environment perception method is adopted to perform pre-fusion by acquiring data collected by ultrasonic sensors and visual processing equipment, using multi-layer perception networks and convolutional neural networks to extract feature vectors, and perform fusion processing through a cross-attention mechanism to generate fusion features. vectors to improve the accuracy of environment perception.
It effectively improves the accuracy and comprehensiveness of vehicle environment perception, enhances the intelligence and reliability of the assisted driving system, and ensures the safety and comfort of the driving process.
Smart Images

Figure CN118823716A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of environmental perception technology, and in particular to a vehicle environment perception method, device, terminal and storage medium. Background Art
[0002] With the popularization of assisted driving systems in vehicles, customers have higher and higher requirements for intelligent driving technology, especially focusing on missed detection, false detection and position accuracy. Among them, missed detection may cause safety risks, false detection may lead to uncomfortable braking or emergency braking experience, and position accuracy directly affects the success rate of the function.
[0003] Taking position accuracy as an example, in the automatic parking function, the vehicle needs to park accurately in the target position in a narrow space; in the driving assistance function, it is often necessary to pass through narrow passages. These situations put forward higher requirements for the perception module, requiring centimeter-level close-range perception accuracy. At present, close-range perception mainly relies on pure visual solutions such as fisheye cameras, but there is an upper limit to its position detection accuracy. In order to improve the accuracy, ultrasonic sensors (USS) are usually used for assistance, because ultrasonic sensors have certain advantages in close-range perception based on the physical characteristics of sound propagation. However, most of the existing ultrasonic perception and visual perception fusion solutions adopt a post-fusion method. Specifically, the visual perception module and the ultrasonic sensor perception module output environmental information respectively, and then align and fuse them through the post-processing fusion module. This post-fusion method requires human judgment on whether to rely more on visual perception or ultrasonic perception in different situations, and formulate a large number of rules and strategies to handle various situations, but the actual situation is complex and changeable, and this method is difficult to cover everything, which ultimately leads to low accuracy of vehicle environmental perception.
[0004] Therefore, the prior art has defects and needs to be improved and developed. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a vehicle environment perception method, system and storage medium in view of the above-mentioned defects of the prior art, aiming to solve the problem of low accuracy of vehicle environment perception in the prior art.
[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0007] In a first aspect, an embodiment of the present invention provides a vehicle environment perception method, the method comprising:
[0008] Acquire ultrasonic environmental data acquired by all ultrasonic sensors on the vehicle body to collect the vehicle environment, and environmental images acquired by all visual processing devices on the vehicle body to collect the vehicle environment;
[0009] Preprocessing the ultrasonic environment data to obtain second ultrasonic environment data;
[0010] Inputting the second ultrasonic environmental data and the environmental image into a fusion model to be trained, and processing them by the fusion model to obtain a fusion feature vector;
[0011] The fused feature vector is processed to obtain an environment perception result.
[0012] In one implementation, the ultrasonic environment data includes an echo peak value, an echo width, a confidence level, and a measurement distance; and the preprocessing of the ultrasonic environment data to obtain the second ultrasonic environment data includes:
[0013] The echo peak value, the echo width, the confidence level and the measurement distance are normalized to obtain second ultrasonic environment data.
[0014] In one embodiment, the fusion model includes a text processing module, an image processing module and a fusion module; the second ultrasonic environment data and the environment image are input into the fusion model to be trained, and the fusion feature vector is obtained by processing the fusion model, including:
[0015] Inputting the second ultrasonic environment data into the text processing module, processing the text processing module, and outputting a text feature vector;
[0016] Input the environment image into the image processing module, process it through the image processing module, and output an image feature vector;
[0017] The text feature vector and the image feature vector are input into the fusion module, and the fusion module performs fusion processing using a cross attention mechanism to obtain a fused feature vector.
[0018] In one embodiment, the text processing module includes a multi-layer perception network and a self-attention module; the step of inputting the second ultrasonic environment data into the text processing module, processing the text processing module, and outputting a text feature vector includes:
[0019] Inputting the second ultrasonic environment data into the multi-layer perception network, and processing the multi-layer perception network to obtain an initial text feature vector;
[0020] The initial text feature vector is input into the self-attention module and processed by the self-attention module to obtain a text feature vector.
[0021] In one implementation, the image processing module includes a convolutional neural network encoder and a form conversion module; the step of inputting the environment image into the image processing module, processing the environment image by the image processing module, and outputting an image feature vector includes:
[0022] Inputting the environment image into the convolutional neural network encoder, and extracting features of the environment image by the convolutional neural network encoder to obtain preliminary image features;
[0023] The preliminary image features are input into the form conversion module and processed by the form conversion module to obtain an image feature vector.
[0024] In one implementation, the processing of the fused feature vector to obtain an environment perception result includes:
[0025] Inputting the fused feature vector into a preset environment analysis model;
[0026] After being processed by the environmental analysis model, an environmental perception result is obtained.
[0027] In one embodiment, the visual processing device is a fisheye camera.
[0028] In a second aspect, an embodiment of the present invention further provides a vehicle environment perception device, including:
[0029] A data acquisition module is used to respectively acquire ultrasonic environmental data acquired by all ultrasonic sensors on the vehicle body to acquire the vehicle environment, and environmental images acquired by all visual processing devices on the vehicle body to acquire the vehicle environment;
[0030] A data preprocessing module, used for preprocessing the ultrasonic environment data to obtain second ultrasonic environment data;
[0031] A feature fusion module, used for inputting the second ultrasonic environment data and the environment image into a fusion model to be trained, and obtaining a fusion feature vector after being processed by the fusion model;
[0032] The environment perception module is used to process the fused feature vector to obtain an environment perception result.
[0033] In a third aspect, an embodiment of the present invention further provides a terminal, comprising: a memory, a processor, and a vehicle environment perception program stored in the memory and executable on the processor, wherein the vehicle environment perception program implements the steps of the vehicle environment perception method as described above when executed by the processor.
[0034] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a vehicle environment perception program, and the vehicle environment perception program can be executed to implement the steps of the vehicle environment perception method as described above.
[0035] Beneficial effects of the present invention: The present invention obtains ultrasonic environmental data obtained by collecting the vehicle environment by all ultrasonic sensors on the vehicle body, and environmental images obtained by collecting the vehicle environment by all visual processing devices on the vehicle body; pre-processes the ultrasonic environmental data to obtain second ultrasonic environmental data; inputs the second ultrasonic environmental data and the environmental image into a fusion model to be trained, and obtains a fusion feature vector after being processed by the fusion model; and processes the fusion feature vector to obtain an environmental perception result. The fusion model to be trained of the present invention performs feature fusion on the ultrasonic environmental data and the environmental image, and then performs environmental perception based on the fused features, which can more accurately capture environmental information and effectively improve the accuracy of vehicle environmental perception. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flow chart of a preferred embodiment of the vehicle environment perception method in the present invention.
[0037] Figure 2 It is a schematic diagram of the data processing flow in the present invention.
[0038] Figure 3 It is a functional principle block diagram of a preferred embodiment of the vehicle environment perception device in the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0040] With the popularization of assisted driving systems in vehicles, customers have higher and higher requirements for intelligent driving technology, especially focusing on missed detection, false detection and position accuracy. Among them, missed detection may cause safety risks, false detection may lead to uncomfortable braking or emergency braking experience, and position accuracy directly affects the success rate of the function.
[0041] Taking position accuracy as an example, in the automatic parking function, the vehicle needs to park accurately in the target position in a narrow space; in the driving assistance function, it is often necessary to pass through narrow passages. These situations put forward higher requirements for the perception module, requiring centimeter-level close-range perception accuracy. At present, close-range perception mainly relies on pure visual solutions such as fisheye cameras, but there is an upper limit to its position detection accuracy. In order to improve the accuracy, ultrasonic sensors (USS) are usually used for assistance, because ultrasonic sensors have certain advantages in close-range perception based on the physical characteristics of sound propagation. However, most of the existing ultrasonic perception and visual perception fusion solutions adopt a post-fusion method. Specifically, the visual perception module and the ultrasonic sensor perception module output environmental information respectively, and then align and fuse them through the post-processing fusion module. This post-fusion method requires human judgment on whether to rely more on visual perception or ultrasonic perception in different situations, and formulate a large number of rules and strategies to handle various situations, but the actual situation is complex and changeable, and this method is difficult to cover everything, which ultimately leads to low accuracy of vehicle environmental perception.
[0042] In view of the above-mentioned defects of the prior art, the present invention provides a vehicle environment perception method, system and storage medium, the method comprising: respectively obtaining ultrasonic environment data obtained by all ultrasonic sensors on the vehicle body to collect the vehicle environment, and environmental images obtained by all visual processing devices on the vehicle body to collect the vehicle environment; preprocessing the ultrasonic environment data to obtain second ultrasonic environment data; inputting the second ultrasonic environment data and the environmental image into a fusion model to be trained, and obtaining a fusion feature vector after processing by the fusion model; processing the fusion feature vector to obtain an environmental perception result. The fusion model to be trained of the present invention performs feature fusion on the ultrasonic environment data and the environmental image, and then performs environmental perception based on the fused features, which can more accurately capture environmental information and effectively improve the accuracy of vehicle environmental perception.
[0043] See also Figure 1 The vehicle environment perception method according to the embodiment of the present invention comprises the following steps:
[0044] Step S100, respectively acquiring ultrasonic environmental data acquired by all ultrasonic sensors on the vehicle body to collect the vehicle environment, and environmental images acquired by all visual processing devices on the vehicle body to collect the vehicle environment.
[0045] Specifically, the vehicle body is equipped with multiple ultrasonic sensors and visual processing equipment. By acquiring ultrasonic environmental data and environmental images separately, the two can be combined for feature fusion later, effectively avoiding the problem of inaccurate environmental perception caused by using only a single data source.
[0046] In one embodiment, the number of ultrasonic sensors is 8-15.
[0047] In one embodiment, the number of ultrasonic sensors is 12, 6 of which are arranged on the front side of the vehicle body and 6 on the rear side of the vehicle body. Each ultrasonic sensor can sense objects within a certain range.
[0048] In one embodiment, the number of visual processing devices is 2-8.
[0049] See also Figure 1 The vehicle environment perception method according to the embodiment of the present invention further includes the following steps:
[0050] Step S200: pre-process the ultrasonic environment data to obtain second ultrasonic environment data.
[0051] Specifically, after the ultrasonic environmental data is acquired, the ultrasonic data is normalized. Since the ultrasonic environmental data contains multiple types of data, normalization can eliminate scale differences and facilitate subsequent data analysis and processing.
[0052] In one implementation, the ultrasonic environment data includes an echo peak value, an echo width, a confidence level, and a measurement distance; and the preprocessing of the ultrasonic environment data to obtain the second ultrasonic environment data includes:
[0053] The echo peak value, the echo width, the confidence level and the measurement distance are normalized to obtain second ultrasonic environment data.
[0054] Specifically, the measured distance in the present invention may be a distance calculated by self-transmission and other-reception, or a distance calculated by self-transmission and self-reception, and is not limited here.
[0055] See also Figure 1 The vehicle environment perception method according to the embodiment of the present invention further includes the following steps:
[0056] Step S300: input the second ultrasonic environment data and the environment image into a fusion model to be trained, and obtain a fusion feature vector after being processed by the fusion model.
[0057] Specifically, the present invention simultaneously inputs the second ultrasonic environmental data and the environmental image into the fusion model to be trained to perform feature fusion. The present invention utilizes this pre-fusion strategy to effectively avoid the problem of the post-fusion strategy in the prior art being overly dependent on artificial rules and strategies for judgment, and effectively improves the accuracy of vehicle environmental perception.
[0058] In one implementation, the fusion model includes a text processing module, an image processing module and a fusion module; the second ultrasonic environment data and the environment image are input into the fusion model to be trained, and the fusion feature vector is obtained after being processed by the fusion model, including:
[0059] Inputting the second ultrasonic environment data into the text processing module, processing the text processing module, and outputting a text feature vector;
[0060] Input the environment image into the image processing module, process it through the image processing module, and output an image feature vector;
[0061] The text feature vector and the image feature vector are input into the fusion module, and the fusion module performs fusion processing using a cross attention mechanism to obtain a fused feature vector.
[0062] Specifically, the fusion module of the present invention adopts a cross-attention mechanism to fuse the text feature vector and the image feature vector to obtain a fused feature vector. Since the present invention utilizes a cross-attention mechanism, the text feature vector and the image feature vector are allowed to influence each other, ensuring that the fused feature vector contains both accurate information from the ultrasonic data and rich information from the image data. This two-way information complementary mechanism greatly enriches the connotation of the fused feature vector, enabling it to provide more comprehensive environmental perception when the fused feature vector is subsequently used to perform perception tasks.
[0063] In the prior art, there is a pre-fusion method that renders the distance detected by the ultrasonic sensor into an image and then fuses it with the environmental image. This method is due to the fact that the ultrasonic sensor probe can only identify the distance information of the obstacle and lacks the support of directional data, resulting in the final rendered image not being rich and complete in content information. In addition, this fusion method is only a simple splicing of the features of two different modes, ignoring the interaction between multiple ultrasonic sensors, and failing to effectively achieve deep interaction and fusion between ultrasonic sensors and image data.
[0064] In one implementation, the text processing module includes a multi-layer perception network and a self-attention module; the second ultrasonic environment data is input into the text processing module, and the text processing module processes and outputs a text feature vector, including:
[0065] Inputting the second ultrasonic environment data into the multi-layer perception network, and processing the multi-layer perception network to obtain an initial text feature vector;
[0066] The initial text feature vector is input into the self-attention module and processed by the self-attention module to obtain a text feature vector.
[0067] Specifically, the text processing module in the present invention includes a multilayer perception network (MLP, MultilayerPerceptron) and a self-attention module (i.e., self-attention module). The ultrasonic data collected by each ultrasonic sensor is normalized to form the second ultrasonic environment data, and then all the second ultrasonic environment data are input into the multilayer perception network (i.e., MLP network), and processed by the multilayer perception network to obtain the initial text feature vector. Later, all the initial text feature vectors are input into the self-attention module (i.e., self-attention module) for processing, and the text feature vector is output. The dimension of the text feature vector is determined by the number of nodes in the last layer of the multilayer perception network. In the self-attention module, the self-attention calculation formula is used for calculation, which is expressed as: In the formula, Q represents the query vector, K represents the key vector, and V represents the value vector. Here, Q, K, and V all come from the linear transformation of the same set of input data, and the self-attention mechanism is used to effectively capture the internal dependencies in the sequence. It should be noted that the cross-attention mechanism in this invention also uses Formula for calculation. In the cross attention mechanism, Q, K and V can be three different sets of vectors.
[0068] In one implementation, the image processing module includes a convolutional neural network encoder and a form conversion module; the step of inputting the environment image into the image processing module, processing the environment image by the image processing module, and outputting an image feature vector includes:
[0069] Inputting the environment image into the convolutional neural network encoder, and extracting features of the environment image by the convolutional neural network encoder to obtain preliminary image features;
[0070] The preliminary image features are input into the form conversion module and processed by the form conversion module to obtain an image feature vector.
[0071] Specifically, in the present invention, after the environment image is input into the convolutional neural network encoder (i.e., CNN encoder network), the convolutional neural network encoder performs feature extraction on the environment image to obtain preliminary image features. After the preliminary image features are obtained, they need to be converted into a set of feature vectors. The convolutional neural network in the present invention may be a residual network (ResNet) or a swin transformer (swin-transformer), etc., which is not limited here. When the convolutional neural network encoder is a residual network, the preliminary image features are divided into blocks or regions in the form conversion module. Each block or region can be expanded into a feature vector. When the convolutional neural network encoder is a swin transformer, a set of feature vectors is directly output.
[0072] See also Figure 1 The vehicle environment perception method according to the embodiment of the present invention further includes the following steps:
[0073] Step S400: Process the fused feature vector to obtain an environment perception result.
[0074] Specifically, after the fused feature vector is obtained, it is processed to complete various perception tasks.
[0075] In one implementation, the processing of the fused feature vector to obtain an environment perception result includes:
[0076] Inputting the fused feature vector into a preset environment analysis model;
[0077] After being processed by the environmental analysis model, an environmental perception result is obtained.
[0078] Specifically, the preset environment analysis model can be used to detect, segment, track and classify the environment. Inputting the fused feature vector into this model can obtain the environmental perception result, which provides the vehicle's assisted driving system with important information about road conditions, traffic participants, obstacle locations, etc. Based on these environmental perception results, the assisted driving system can make more reasonable and safe decisions, improving driving comfort and safety.
[0079] In one implementation, the visual processing device is a fisheye camera.
[0080] In one implementation, four fisheye cameras are disposed on the vehicle body.
[0081] The data processing flow diagram of the present invention is as follows Figure 2As shown, after obtaining ultrasonic environmental data and environmental images respectively, the ultrasonic environmental data is normalized and then input into the multi-layer perception network, and then input into the self-attention module after being processed by the multi-layer perception network, and then processed by the self-attention module to obtain the text feature vector. At the same time, the environmental image is input into the convolutional neural network encoder, and after the initial image features are extracted by the convolutional neural network encoder, the initial image features are input into the form conversion module for processing, and finally the image feature vector is obtained. In the fusion feature module, the text feature vector and the image feature vector are fused by the cross attention mechanism to obtain the fusion feature vector, and then the fusion feature vector is used for processing to obtain the environmental perception result. Due to the use of the query-based attention mechanism, the ultrasonic environmental data and the environmental image can be effectively fused, and the accurate capture and comprehensive analysis of the vehicle's surrounding environmental information can be achieved. Through this method, not only the accuracy and comprehensiveness of environmental perception can be improved, but also the intelligence and reliability of the vehicle assisted driving system can be enhanced, thereby making the driving process safer, more comfortable and more efficient.
[0082] In one embodiment, if Figure 3 As shown, based on the above vehicle environment perception method, the present invention also provides a vehicle environment perception device, including:
[0083] The data acquisition module 100 is used to respectively acquire ultrasonic environmental data acquired by all ultrasonic sensors on the vehicle body to acquire the vehicle environment, and environmental images acquired by all visual processing devices on the vehicle body to acquire the vehicle environment;
[0084] The data preprocessing module 200 is used to preprocess the ultrasonic environment data to obtain second ultrasonic environment data;
[0085] A feature fusion module 300, used for inputting the second ultrasonic environment data and the environment image into a fusion model to be trained, and obtaining a fusion feature vector after being processed by the fusion model;
[0086] The environment perception module 400 is used to process the fused feature vector to obtain an environment perception result.
[0087] In one embodiment, the ultrasonic environment data includes echo peak value, echo width, confidence level and measurement distance; the data preprocessing module includes:
[0088] A normalization unit is used to perform normalization processing on the echo peak value, the echo width, the confidence level and the measurement distance to obtain second ultrasonic environment data.
[0089] In one embodiment, the fusion model includes a text processing module, an image processing module and a fusion module; the feature fusion module includes:
[0090] A text processing unit, used for inputting the second ultrasonic environment data into the text processing module, processing the text processing module, and outputting a text feature vector;
[0091] An image processing unit, used for inputting the environment image into the image processing module, processing the environment image by the image processing module, and outputting an image feature vector;
[0092] The fusion unit is used to input the text feature vector and the image feature vector into the fusion module, and the fusion module performs fusion processing using a cross attention mechanism to obtain a fused feature vector.
[0093] In one embodiment, the text processing module includes a multi-layer perception network and a self-attention module; the data preprocessing module also includes:
[0094] An initial text feature vector generating unit, used for inputting the second ultrasonic environment data into the multi-layer perception network, and obtaining an initial text feature vector through processing by the multi-layer perception network;
[0095] The text feature vector generating unit is used to input the initial text feature vector into the self-attention module, and obtain the text feature vector after the self-attention module processes it.
[0096] In one embodiment, the image processing module includes a convolutional neural network encoder and a form conversion module; the data preprocessing module also includes:
[0097] A preliminary image feature generating unit, used for inputting the environment image into the convolutional neural network encoder, and extracting features of the environment image through the convolutional neural network encoder to obtain preliminary image features;
[0098] The image feature vector generating unit is used to input the preliminary image features into the form conversion module, and obtain the image feature vector after being processed by the form conversion module.
[0099] In one embodiment, the environment perception module includes:
[0100] A vector input unit, used for inputting the fused feature vector into a preset environment analysis model;
[0101] The result generating unit is used to obtain the environment perception result through processing by the environment analysis model.
[0102] An embodiment of the present invention further provides a computer-readable storage medium, on which a vehicle environment perception program is stored. When the vehicle environment perception program is executed by a processor, the steps of any one of the vehicle environment perception methods provided in the embodiments of the present invention are implemented.
[0103] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0104] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0105] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0106] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0107] In the embodiments provided by the present invention, it should be understood that the disclosed apparatus / terminal equipment and method can be implemented in other ways. For example, the apparatus / terminal equipment embodiments described above are only illustrative, for example, the division of the above modules or units is only a logical function division, and in actual implementation, other division methods can be used, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0108] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features therein may be replaced by equivalents. However, these modifications or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A vehicle environment perception method, characterized in that: The method comprises: Acquire ultrasonic environmental data acquired by all ultrasonic sensors on the vehicle body to collect the vehicle environment, and environmental images acquired by all visual processing devices on the vehicle body to collect the vehicle environment; Preprocessing the ultrasonic environment data to obtain second ultrasonic environment data; Inputting the second ultrasonic environmental data and the environmental image into a fusion model to be trained, and processing them by the fusion model to obtain a fusion feature vector; The fused feature vector is processed to obtain an environment perception result.
2. The vehicle environment perception method according to claim 1, characterized in that: The ultrasonic environment data includes an echo peak value, an echo width, a confidence level, and a measurement distance; and the preprocessing of the ultrasonic environment data to obtain the second ultrasonic environment data includes: The echo peak value, the echo width, the confidence level and the measurement distance are normalized to obtain second ultrasonic environment data.
3. The vehicle environment perception method according to claim 2, characterized in that: The fusion model includes a text processing module, an image processing module and a fusion module; the second ultrasonic environment data and the environment image are input into the fusion model to be trained, and the fusion feature vector is obtained after being processed by the fusion model, including: Inputting the second ultrasonic environment data into the text processing module, processing the text processing module, and outputting a text feature vector; Input the environment image into the image processing module, process it through the image processing module, and output an image feature vector; The text feature vector and the image feature vector are input into the fusion module, and the fusion module performs fusion processing using a cross attention mechanism to obtain a fused feature vector.
4. The vehicle environment perception method according to claim 3, characterized in that: The text processing module includes a multi-layer perception network and a self-attention module; the second ultrasonic environment data is input into the text processing module, and the text processing module processes and outputs a text feature vector, including: Inputting the second ultrasonic environment data into the multi-layer perception network, and processing the multi-layer perception network to obtain an initial text feature vector; The initial text feature vector is input into the self-attention module and processed by the self-attention module to obtain a text feature vector.
5. The vehicle environment perception method according to claim 3, characterized in that: The image processing module includes a convolutional neural network encoder and a form conversion module; the environment image is input into the image processing module, and the image processing module processes and outputs an image feature vector, including: Inputting the environment image into the convolutional neural network encoder, and extracting features of the environment image by the convolutional neural network encoder to obtain preliminary image features; The preliminary image features are input into the form conversion module and processed by the form conversion module to obtain an image feature vector.
6. The vehicle environment perception method according to claim 1, characterized in that: The step of processing the fused feature vector to obtain an environmental perception result includes: Inputting the fused feature vector into a preset environment analysis model; After being processed by the environmental analysis model, an environmental perception result is obtained.
7. The vehicle environment perception method according to claim 1, characterized in that: The visual processing device is a fisheye camera.
8. A vehicle environment perception device, characterized in that: include: A data acquisition module is used to respectively acquire ultrasonic environmental data acquired by all ultrasonic sensors on the vehicle body to acquire the vehicle environment, and environmental images acquired by all visual processing devices on the vehicle body to acquire the vehicle environment; A data preprocessing module, used for preprocessing the ultrasonic environment data to obtain second ultrasonic environment data; A feature fusion module, used for inputting the second ultrasonic environment data and the environment image into a fusion model to be trained, and obtaining a fusion feature vector after being processed by the fusion model; The environment perception module is used to process the fused feature vector to obtain an environment perception result.
9. A terminal, characterized in that: The terminal includes a memory, a processor, and a vehicle environment perception program stored in the memory and executable on the processor. When the vehicle environment perception program is executed by the processor, the steps of the vehicle environment perception method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vehicle environment perception program, and the vehicle environment perception program can be executed to implement the steps of the vehicle environment perception method as described in any one of claims 1-7.
Citation Information
Patent Citations
Image target positioning method based on twin network
CN113192124A
Fusion sensing method and system based on multi-source vehicle-mounted equipment
CN116129553A
Data processing method and device based on multi-sensor fusion, and multi-sensor fusion method
US20210012165A1
Cited By
Ultrasonic sensor environment compensation method and system based on multi-modal feature fusion
CN121763267A
Ultrasonic sensor environment compensation method and system based on multi-modal feature fusion
CN121763267B
