A perception fusion method, device, equipment and storage medium based on convolutional neural network and vehicle-road collaboration

By processing the detection frames of the main observation and auxiliary observation through the convolutional neural network, combined with time and distance information, it solves the problem of improving observation confidence in vehicle-road collaboration scenarios and achieves a more accurate perception fusion effect.

CN115438712BActive Publication Date: 2024-09-06CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210884732.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2024-09-06
Estimated Expiration
2042-07-26

AI Technical Summary

Technical Problem

The existing technology cannot use other observations to improve the confidence of the current observation in the vehicle-road collaboration scenario, resulting in the final result being still not detected when both observations are not detected.

Method used

A method based on convolutional neural networks is used to obtain the detection frames of the main observation and auxiliary observation, calculate and create tensors, extract the intersection detection frame combination, and use 1*1 convolution and maximum pooling to improve the confidence of the detection frame. Combining time and distance information as feature inputs to the network.

Benefits of technology

It effectively improves the confidence of the current observation, uses other observation information to enhance the detection results, and improves the perception capability of the vehicle-road collaborative system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115438712B
    Figure CN115438712B
Patent Text Reader

Abstract

The present invention discloses a perception fusion method based on convolutional neural network and vehicle-road collaboration, which relates to the field of vehicle-road collaboration technology, including obtaining detection frames of main observation and auxiliary observation; calculating the first tensor of the main observation and auxiliary observation detection frames; extracting the combination of the main observation detection frame and the auxiliary observation detection frame with intersection to form a second tensor; convolving the second tensor to obtain a one-dimensional feature of each group of detection frame combination; putting the confidence of the obtained detection frame combination into the empty sparse matrix of the first tensor; using maximum pooling to select the maximum confidence from a number of confidences of each main observation detection frame adjusted by auxiliary observation as the confidence of the main observation. The present invention combines the idea of ​​CLOCs with the vehicle-road collaboration system, inputs the time of the candidate frame given by the two observations and the distance information from the observation point as new features into the network, and can use other observations to improve the confidence of the current observation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle-road collaboration technology, and in particular to a perception fusion method, device, equipment and storage medium based on convolutional neural network and vehicle-road collaboration. Background Art

[0002] CLOCs is a method based on convolutional neural networks to fuse candidate boxes detected by cameras and lidars to obtain better results. Objects seen by the camera are used to assist in improving lidar object detection. For the same object seen by the camera and lidar, the input of CLOCs consists of four parts: IOU: projecting the 3D box to the 2D plane through calibration parameters, and then calculating the IOU between the 2D box and the 3D projected box; the output probability of the 2D model; the output probability of the 3D model; the normalized distance of the object from the lidar observation point. After the above network operation, the adjusted new probability is obtained.

[0003] The application field of CLOCs in the prior art is the fusion of the lidar and camera of a single vehicle. A common fusion method in the vehicle-road collaborative scenario is to directly match the vehicle and road perception results according to the most recent timestamp, and perform NSM operations on the vehicle-road candidate box set to remove suboptimal solutions. The advantage of this method is that it can fuse the perception results from multiple data sources to supplement blind spots and beyond-visual-range perception. However, this method cannot use other observations to improve the confidence of the current observation. Therefore, for the case where both observations are not detected, the final result is still not detected. Summary of the invention

[0004] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art and provide a perception fusion method, device, equipment and storage medium based on convolutional neural network and vehicle-road collaboration.

[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0006] A perception fusion method based on convolutional neural network and vehicle-road collaboration, including:

[0007] Get the detection frames of the main observation and auxiliary observation;

[0008] Calculate the first tensor of the main observation and auxiliary observation detection boxes, and create an empty sparse matrix of the first tensor;

[0009] Extract the combination of the main observation detection frame and the auxiliary observation detection frame that have intersections based on the first tensor of the main observation and auxiliary observation detection frames, record the index of each group of detection frame combinations extracted in the first tensor, and compose the extracted detection frame combinations into a second tensor as the input tensor of the convolutional neural network;

[0010] Use 1*1 convolution to convolve the second tensor to obtain the one-dimensional features of each group of detection box combinations in the second tensor, and use it as the confidence of the corresponding main observation after adjustment by the auxiliary observation;

[0011] According to the index of each detection box combination in the first tensor, the confidence of the obtained detection box combination is put into the empty sparse matrix of the first tensor;

[0012] Use maximum pooling to select the maximum confidence from several confidences of each main observation detection box after auxiliary observation adjustment as the confidence of the main observation.

[0013] As a preferred solution of the perception fusion method based on convolutional neural network and vehicle-road collaboration of the present invention, wherein: the detection frame for obtaining the main observation and the auxiliary observation includes:

[0014] Determine the categories of the detection frames of the main observation and auxiliary observation;

[0015] If the main observation detection frame is a three-dimensional frame and the auxiliary observation detection frame is a two-dimensional frame, the main observation detection frame is converted to the plane where the auxiliary observation detection frame is located. The expression form of the two-dimensional frame is {x, y, h, w}, where x, y are the coordinates of the center point of the two-dimensional frame, h is the height of the two-dimensional frame, and w is the width of the two-dimensional frame;

[0016] If both the main observation and the auxiliary observation are three-dimensional bounding boxes, the detection box of the auxiliary observation is converted to the three-dimensional space of the main observation. The expression of the three-dimensional bounding box is {x, y, z, l, w, h, r}, where x, y, z are the coordinates of the center point of the three-dimensional bounding box, l is the length of the three-dimensional bounding box, w is the width of the three-dimensional bounding box, h is the height of the three-dimensional bounding box, and r is the rotation angle of the three-dimensional bounding box around the z-axis.

[0017] As a preferred solution of the perception fusion method based on convolutional neural network and vehicle-road collaboration of the present invention, wherein: the first tensor for calculating the main observation and auxiliary observation detection frames includes:

[0018] If the detection frames of the main observation and the auxiliary observation are both three-dimensional frames, then the first tensor T i,j ={t i,j , IoU i,j ,s i ,s j , d i , d j}, where i represents the i-th object in the main observation and j represents the j-th object in the auxiliary observation; t i,j represents the normalized weight of the time difference between the i-th object in the main observation and the j-th object in the auxiliary observation, and the t i,j The calculation method is: where δt∈(0,D],α∈(0,1], where δt represents the time difference, D represents the maximum delay, and α is a coefficient inversely proportional to the curvature of the curve; IoU i,j It represents the intersection over union of the i-th object in the main observation detection frame and the j-th object detection frame in the auxiliary observation detection frame. i,j The calculation method is as follows: first calculate the intersection area S of the main observation detection frame and the auxiliary observation detection frame projected on the xy plane, then calculate the intersection length L of the main observation detection frame and the auxiliary observation detection frame projected on the z axis, and multiply it with the intersection area S and the intersection length L to obtain the intersection volume V1, then subtract the intersection volume V1 from the sum of the volume of the main observation detection frame and the volume of the auxiliary observation detection frame to obtain the union volume V2, and finally divide the intersection volume V1 by the union volume V2 to obtain IoU; s represents the confidence of the model output about the main observation detection frame; d represents the normalized distance of the detected object from the observation center;

[0019] If the detection frames of the main observation and the auxiliary observation are both two-dimensional frames, then the first tensor T i,j ={t i,j , IoU i,j ,s i ,s j , d i}, where i represents the i-th object in the main observation and j represents the j-th object in the auxiliary observation; t i,j represents the normalized weight of the time difference between the i-th object in the main observation and the j-th object in the auxiliary observation, and the t i,j The calculation method is: where δt∈(0,D],α∈(0,1], where δt represents the time difference, D represents the maximum delay, and α is a coefficient inversely proportional to the curvature of the curve; IoU i,j It represents the intersection over union of the i-th object in the main observation detection frame and the j-th object detection frame in the auxiliary observation detection frame. i , j The calculation method is: Among them, A and B represent the detection box areas of the main observation and auxiliary observation; s represents the confidence of the model output about the main observation detection box; d represents the normalized distance of the detected object from the observation center.

[0020] As a preferred solution of the perception fusion method based on convolutional neural network and vehicle-road collaboration of the present invention, wherein: the combination of the main observation detection frame and the auxiliary observation detection frame with intersection is extracted,

[0021] Extract the combination of the main observation detection box and the auxiliary observation detection box with IoU>0.

[0022] As a preferred solution of the perception fusion method based on convolutional neural network and vehicle-road collaboration of the present invention, wherein: the second tensor is convolved using 1*1 convolution to obtain a one-dimensional feature of each group of detection frame combinations in the second tensor, and the confidence adjusted by the auxiliary observation as the corresponding main observation includes:

[0023] Use 1*1 convolution to linearly transform the feature space constructed by the second tensor into another feature space, increase the dimension of the feature to 18 dimensions, and use the RELU activation function to increase nonlinear excitation for the result after dimensionality increase;

[0024] Use 1*1 convolution to linearly transform the feature space obtained in the previous step into another feature space, increase the dimension of the feature to thirty-six dimensions, and use the RELU activation function to increase nonlinear excitation for the result after dimensionality increase;

[0025] Use 1*1 convolution to linearly transform the feature space obtained in the previous step into another feature space, and use the RELU activation function to add nonlinear excitation to the new feature space result;

[0026] Use 1*1 convolution to linearly transform the feature space obtained in the previous step into another feature space, reduce the dimension of the feature to one dimension, and obtain the one-dimensional feature of each group of detection box combinations in the second tensor, which is used as the confidence of the main observation after adjustment by the auxiliary observation.

[0027] The present invention also provides a perception fusion device based on convolutional neural network and vehicle-road collaboration, comprising:

[0028] An acquisition module is used to obtain the detection frames of the main observation and the auxiliary observation;

[0029] A calculation module, used to calculate the first tensor of the main observation and auxiliary observation detection boxes, and create an empty sparse matrix of the first tensor;

[0030] An extraction module is used to extract the combination of the main observation detection frame and the auxiliary observation detection frame that have an intersection based on the first tensor of the main observation detection frame and the auxiliary observation detection frame, record the index of each group of detection frame combinations extracted in the first tensor, and compose the extracted detection frame combinations into a second tensor as an input tensor of the convolutional neural network;

[0031] A convolution module is used to convolve the second tensor using a 1*1 convolution to obtain a one-dimensional feature of each group of detection box combinations in the second tensor, and use it as the confidence of the corresponding main observation after adjustment by the auxiliary observation;

[0032] A homing module, used for putting the confidence of each detection box combination into an empty sparse matrix of the first tensor according to the index of each detection box combination in the first tensor;

[0033] The pooling module is used to use maximum pooling to select the maximum confidence from several confidences of each main observation detection box adjusted by auxiliary observation as the confidence of the main observation.

[0034] The present invention also discloses a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, a method as described in any one of the above-mentioned perception fusion methods based on convolutional neural network and vehicle-road collaboration is implemented.

[0035] The present invention also discloses a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method described in any one of the above-mentioned perception fusion methods based on convolutional neural network and vehicle-road collaboration is implemented.

[0036] The beneficial effects of the present invention are:

[0037] The present invention combines the idea of ​​CLOCs with the vehicle-road cooperative system, and inputs the time of the candidate boxes given by the two observations and their distance information from the observation point into the network as new features, and can use other observations to improve the confidence of the current observation. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0039] Figure 1 A schematic diagram of the flow of the perception fusion method based on convolutional neural network and vehicle-road collaboration provided by the present invention;

[0040] Figure 2 Schematic diagram of IoU calculation when the detection boxes of the main observation and auxiliary observation are both two-dimensional boxes;

[0041] Figure 3 It is a schematic diagram of the relationship between the normalized time difference and the time difference between the main observation and the auxiliary observation;

[0042] Figure 4 A schematic diagram of a specific process of step S104 in the perception fusion method based on convolutional neural network and vehicle-road collaboration provided by the present invention;

[0043] Figure 5 A flowchart of a perception fusion method based on a convolutional neural network and vehicle-road collaboration when both the detection frames of the main observation and the auxiliary observation are three-dimensional frames;

[0044] Figure 6A schematic diagram of the structure of a perception fusion device based on convolutional neural network and vehicle-road collaboration provided by the present invention;

[0045] Figure 7 A schematic diagram of a computer device provided by the present invention. DETAILED DESCRIPTION

[0046] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific implementation modes and in combination with the accompanying drawings.

[0047] Figure 1 A flow chart of a perception fusion method based on a convolutional neural network and vehicle-road collaboration provided in an embodiment of the present application. The method is a fusion method for improving the confidence of the target detection frame of the current road-side device through the surrounding road-side devices, including steps S101 to S106, and the specific steps are described as follows:

[0048] Step S101: Obtain the detection frames of the main observation and the auxiliary observation.

[0049] Specifically, the detection frames of the main observation and the auxiliary observation can be directly obtained through the current roadside device and the surrounding roadside devices. After the detection frames of the main observation and the auxiliary observation are obtained, the categories of the detection frames of the main observation and the auxiliary observation need to be determined.

[0050] It can be understood that the main observation is a laser radar, so the detection frame of the main observation is a three-dimensional frame. The auxiliary observation can be a camera or a laser radar. When the auxiliary observation is a camera, the detection frame of the auxiliary observation is a two-dimensional frame. When the auxiliary observation is a laser radar, the detection frame of the auxiliary observation is a three-dimensional frame.

[0051] If the auxiliary observation detection frame is a two-dimensional frame, the projection matrix needs to be obtained through the calibration parameters of the camera extrinsic parameters and the camera intrinsic parameters, and the detection frames of the two main observations are transformed to the camera plane through the projection matrix. The expression of the two-dimensional frame is {x, y, h, w}, where the unit is pixel, x, y are the coordinates of the center point of the two-dimensional frame, h is the height of the two-dimensional frame, and w is the width of the two-dimensional frame.

[0052] If the auxiliary observation is a 3D bounding box, the detection box of the auxiliary observation is converted to the 3D space of the main observation. The expression of the 3D bounding box is {x, y, z, l, w, h, r}, where the unit is meter, x, y, z are the coordinates of the center point of the 3D bounding box, l is the length of the 3D bounding box, w is the width of the 3D bounding box, h is the height of the 3D bounding box, and r is the rotation angle of the 3D bounding box around the z axis.

[0053] Step S102: Calculate the first tensor of the main observation and auxiliary observation detection boxes, and create an empty sparse matrix of the first tensor.

[0054] Specifically, when the detection frames of the main observation and the auxiliary observation are both three-dimensional frames, the first tensor T i,j ={t i,j , IoU i,j ,s i ,s j , d i , d j}.

[0055] Among them, i represents the i-th object in the main observation, and j represents the j-th object in the auxiliary observation.

[0056] t i,j represents the normalized weight of the time difference between the i-th object in the main observation and the j-th object in the auxiliary observation, t i,j The calculation method is: where δt∈(0,D],α∈(0,1], where δt represents the time difference, D represents the maximum delay, and α represents alpha, which is a coefficient inversely proportional to the curvature of the curve. The smaller α is, the higher the curvature of the curve is.

[0057] IoU i,j It represents the intersection-over-union ratio of the i-th object in the main observation detection frame and the j-th object detection frame in the auxiliary observation detection frame. i,j The calculation method is:

[0058] First, calculate the intersection area S of the main observation detection frame and the auxiliary observation detection frame projected onto the xy plane, then calculate the intersection length L of the main observation detection frame and the auxiliary observation detection frame projected onto the z-axis, and multiply it with the intersection area S and the intersection length L to obtain the intersection volume V1, then subtract the intersection volume V1 from the sum of the volume of the main observation detection frame and the volume of the auxiliary observation detection frame to obtain the union volume V2, and finally divide the intersection volume V1 by the union volume V2 to obtain IoU.

[0059] s represents the confidence of the model output about the main observation detection box.

[0060] d represents the normalized distance between the detected object and the observation center. The maximum distance is the diagonal of the detection range of the 3D detection frame, and the corresponding normalized distance is 1.

[0061] If the auxiliary observation detection frame is a two-dimensional frame, and the main observation detection frame is converted from a three-dimensional frame to a two-dimensional frame, then the first tensor T i,j ={t i,j , IoU i,j ,s i ,s j , d i}.

[0062] Among them, i represents the i-th object in the main observation, and j represents the j-th object in the auxiliary observation.

[0063] t i,j represents the normalized weight of the time difference between the i-th object in the main observation and the j-th object in the auxiliary observation, t i,j The calculation method is: where δt∈(0,D],α∈(0,1], where δt represents the time difference, D represents the maximum delay, and α represents alpha, which is a coefficient inversely proportional to the curvature of the curve. The smaller α is, the higher the curvature of the curve is.

[0064] IoU i,j It represents the intersection-over-union ratio of the i-th object in the main observation detection frame and the j-th object detection frame in the auxiliary observation detection frame. i,j The calculation method is: Among them, see Figure 2 , A and B represent the detection box areas of the main observation and auxiliary observation. It should be noted that A can be the area of ​​the detection box of the main observation or the area of ​​the detection box of the auxiliary observation.

[0065] s represents the confidence of the model output about the main observation detection box.

[0066] d represents the normalized distance between the detected object and the observation center. Among them, the maximum distance is the diagonal of the detection range of the three-dimensional detection frame, and the corresponding normalized distance is 1. It can be understood that when the auxiliary observation is a two-dimensional frame, the distance value only exists in the main observation, that is, there is no d j , so the first tensor is five-dimensional.

[0067] It should be noted that each point in the point cloud data has its own timestamp, and the timestamp of the object is obtained by the average time of the points in the object's 3D bounding box. Considering that the time difference between different observations has a great impact on the credibility of IoU, this embodiment uses normalized weights to measure the credibility. Figure 3 , the x-axis is x and the y-axis is t. From left to right, they are alpha = 1 / 3, alpha = 0.5, and alpha = 1. The smaller the alpha, the smaller the delay when the weight is equal to 0.5, that is, the object with small delay occupies a larger credibility ratio.

[0068] Step S103: extract the combinations of main observation detection frames and auxiliary observation detection frames that have intersections based on the first tensor of the main observation and auxiliary observation detection frames, record the index of each group of detection frame combinations extracted in the first tensor, and combine the extracted detection frame combinations into a second tensor as the input tensor of the convolutional neural network.

[0069] Specifically, the combination of the main observation detection frame and the auxiliary observation detection frame with an intersection is the combination of the main observation detection frame and the auxiliary observation detection frame with IoU>0. Therefore, the combination of the main observation detection frame and the auxiliary observation detection frame with IoU>0 is extracted, and the extracted detection frame combination is formed into a second tensor as the input tensor of the convolutional neural network. At the same time, when extracting the detection frame combination, the index of each group of extracted detection frame combinations in the first tensor is recorded.

[0070] Step S104: Use 1*1 convolution to convolve the second tensor to obtain a one-dimensional feature of each detection box combination in the second tensor, and use it as the confidence of the corresponding main observation after adjustment by the auxiliary observation.

[0071] For details, see Figure 4 , which specifically includes the following steps:

[0072] Step S104a: Use 1*1 convolution to linearly transform the feature space constructed by the second tensor into another feature space, increase the dimension of the feature to eighteen dimensions, and use the RELU activation function to increase nonlinear excitation for the result after dimensionality increase.

[0073] Step S104b: Use 1*1 convolution to linearly transform the feature space obtained in the previous step into another feature space, increase the dimension of the feature to thirty-six dimensions, and use the RELU activation function to add nonlinear excitation to the result after dimensionality increase.

[0074] Step S104c: Use 1*1 convolution to linearly transform the feature space obtained in the previous step into another feature space, and use the RELU activation function to add nonlinear excitation to the new feature space result.

[0075] Step S104d: Use 1*1 convolution to linearly transform the feature space obtained in the previous step into another feature space, reduce the dimension of the feature to one dimension, and obtain the one-dimensional feature of each group of detection box combinations in the second tensor, which is used as the confidence of the main observation after adjustment by the auxiliary observation.

[0076] Step S105: According to the index of each detection box combination in the first tensor, the confidence of the obtained detection box combination is placed into the empty sparse matrix of the first tensor.

[0077] Specifically, according to the index of each detection frame combination in the first tensor recorded when it is extracted in step S103, the calculated confidence is put into the empty sparse matrix of the first tensor to achieve homing.

[0078] It should be noted that each main observed detection frame may have multiple auxiliary observed detection frames corresponding to it. Here, after the calculated confidence is reset according to the index in the first tensor recorded when each group of detection frame combinations is extracted, it can be known that each calculated confidence is obtained by which auxiliary observation detection frame assisting which main observation detection frame.

[0079] Step S106: Use maximum pooling to select the maximum confidence from the several confidences of each main observation detection frame adjusted by the auxiliary observation as the confidence of the main observation.

[0080] The following example uses the case where both the main observation and auxiliary observation detection frames are three-dimensional frames. Figure 5 , the main observation has n detection frames, and the auxiliary observation has k detection frames. The first tensor obtained by calculating the main observation and auxiliary observation detection frames is n*k*6. Then extract the combination of the main observation detection frame and the auxiliary observation detection frame with IoU>0, and the second tensor is 1*p*6, where p represents the number of detection frame combinations with IoU>0. Then use 1*1 convolution to linearly transform the feature space constructed by the second tensor 1*p*6 to another feature space, increase the dimension of the feature to eighteen dimensions, and use the RELU activation function to add nonlinear excitation to the result after dimensionalization, and obtain 1*p*18. Use 1*1 convolution to linearly transform the feature space obtained in the previous step to another feature space, increase the dimension of the feature to thirty-six dimensions, and use the RELU activation function to add nonlinear excitation to the result after dimensionalization, and obtain 1*p*36. Then use 1*1 convolution to linearly transform the feature space obtained in the previous step to another feature space, and use the RELU activation function to add nonlinear excitation to the new feature space result. Use 1*1 convolution to linearly transform the feature space obtained in the previous step to another feature space, reduce the dimension of the feature to one dimension, and obtain the one-dimensional feature 1*p*1 of each detection frame combination in the second tensor, which is used as the confidence of the main observation after adjustment by the auxiliary observation. Combined with the indexes k and n of the detection frame combinations with IOU>0, the confidence of the p detection frame combinations is put into a sparse matrix. Finally, use maximum pooling to pick out the largest one among the adjusted confidences of these detection frames, that is, 1*n*1 as the final confidence of the main observation.

[0081] Therefore, the basic idea of ​​the method provided by this application is: if the autonomous driving car sees a traffic participant (vehicle, pedestrian, etc.), but thinks its probability is 0.3, and at the same time the surrounding vehicles and the road end also see the same object with a probability of 0.3, then the probability of the existence of the traffic participant can be increased to 0.45, or even higher.

[0082] The above method combines the idea of ​​CLOCs with the vehicle-road cooperative system, and inputs the time of the candidate box given by the two observations and the distance information from the observation point as new features into the network, and can use other observations to improve the confidence of the current observation. It can be applied to single-vehicle scenarios where lidar and camera are fused, Internet of Vehicles scenarios where the fusion only includes vehicle-to-vehicle perception fusion, and road-side traffic participant monitoring scenarios where pole-to-pole perception fusion is used, and can also be applied to vehicle-road cooperative scenarios.

[0083] Figure 6 A schematic diagram of the structure of a perception fusion device based on a convolutional neural network and vehicle-road collaboration provided in an embodiment of the present application. The device includes an acquisition module, a calculation module, an extraction module, a convolution module, a homing module, and a pooling module.

[0084] Among them, the acquisition module is used to obtain the detection frames of the main observation and the auxiliary observation.

[0085] The calculation module is used to calculate the first tensor of the main observation and auxiliary observation detection boxes and create an empty sparse matrix of the first tensor.

[0086] The extraction module is used to extract the combination of the main observation detection frame and the auxiliary observation detection frame with intersection based on the first tensor of the main observation and auxiliary observation detection frames, record the index of each group of detection frame combinations extracted in the first tensor, and combine the extracted detection frame combinations into a second tensor as the input tensor of the convolutional neural network.

[0087] The convolution module is used to convolve the second tensor using a 1*1 convolution to obtain a one-dimensional feature of each detection box combination in the second tensor, and use it as the confidence of the corresponding main observation after adjustment by the auxiliary observation.

[0088] The homing module is used to put the confidence of each detection box combination into the empty sparse matrix of the first tensor according to the index of each detection box combination in the first tensor.

[0089] The pooling module is used to use maximum pooling to select the maximum confidence from several confidences of each main observation detection box adjusted by auxiliary observation as the confidence of the main observation.

[0090] See also Figure 7 This embodiment also provides a computer device, and the components of the computer device may include but are not limited to: one or more processors or processing units, a system memory, and a bus connecting different system components (including the system memory and the processing unit).

[0091] The term "bus" refers to one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0092] The computer system / server typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer system / server, including volatile and non-volatile media, removable and non-removable media.

[0093] The system memory may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The computer device may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system may be used to read and write non-removable, non-volatile magnetic media. A disk drive for reading and writing removable non-volatile disks (such as "floppy disks") and an optical disk drive for reading and writing removable non-volatile optical disks (such as CD-ROMs, DVD-ROMs or other optical media) may be provided. In these cases, each drive may be connected to the bus via one or more data medium interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0094] A program / utility having a set (at least one) of program modules may be stored, for example, in a memory, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules generally perform the functions and / or methods of the embodiments described herein.

[0095] The computer device may also communicate with one or more external devices such as a keyboard, a pointing device, a display, etc. Such communication may be performed through an input / output (I / O) interface. Furthermore, the computer device may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter.

[0096] The processing unit executes the functions and / or methods described in the embodiments of the present invention by running the programs stored in the system memory.

[0097] The above-mentioned computer program can be set in a computer storage medium, that is, the computer storage medium is encoded with a computer program, and when the program is executed by one or more computers, it enables one or more computers to execute the method flow and / or device operation shown in the above-mentioned embodiments of the present invention.

[0098] With the development of time and technology, the meaning of medium is becoming more and more extensive, and the propagation path of computer programs is no longer limited to tangible media, but can also be downloaded directly from the network, etc. Any combination of one or more computer-readable media can be used. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, - but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media (non-exhaustive list) include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing programs, which can be used by or in combination with instruction execution systems, devices or devices.

[0099] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0100] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0101] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0102] In addition to the above embodiments, the present invention may also have other implementation modes; any technical solutions formed by equivalent replacement or equivalent transformation shall fall within the protection scope required by the present invention.

Claims

1. A perception fusion method based on convolutional neural network and vehicle-road collaboration, characterized by: include, Get the detection frames of the main observation and auxiliary observation; Calculate the first tensor of the main observation and auxiliary observation detection boxes, and create an empty sparse matrix of the first tensor; Extract the combination of the main observation detection frame and the auxiliary observation detection frame that have intersections based on the first tensor of the main observation and auxiliary observation detection frames, record the index of each group of detection frame combinations extracted in the first tensor, and compose the extracted detection frame combinations into a second tensor as the input tensor of the convolutional neural network; Use 1*1 convolution to convolve the second tensor to obtain the one-dimensional features of each group of detection box combinations in the second tensor, and use it as the confidence of the corresponding main observation after adjustment by the auxiliary observation; According to the index of each detection box combination in the first tensor, the confidence of the obtained detection box combination is put into the empty sparse matrix of the first tensor; Use maximum pooling to select the maximum confidence from several confidences of each main observation detection frame adjusted by auxiliary observation as the confidence of the main observation; The first tensor for calculating the main observation and auxiliary observation detection frames includes: If the detection frames of the main observation and the auxiliary observation are both three-dimensional frames, then the first tensor T i,j ={t i,j , IoU i,j ,s i ,s j , d i , d j }, where i represents the i-th object in the main observation and j represents the j-th object in the auxiliary observation; t i,j represents the normalized weight of the time difference between the i-th object in the main observation and the j-th object in the auxiliary observation, and the t i,j The calculation method is: Among them, δt represents the time difference, D represents the maximum delay, and α is a coefficient inversely proportional to the curvature of the curve; IoU i,j It represents the intersection over union of the i-th object in the main observation detection frame and the j-th object detection frame in the auxiliary observation detection frame. i,j The calculation method is as follows: first calculate the intersection area S of the main observation detection frame and the auxiliary observation detection frame projected on the xy plane, then calculate the intersection length L of the main observation detection frame and the auxiliary observation detection frame projected on the z axis, and multiply it with the intersection area S and the intersection length L to obtain the intersection volume V1, then subtract the intersection volume V1 from the sum of the volume of the main observation detection frame and the volume of the auxiliary observation detection frame to obtain the union volume V2, and finally divide the intersection volume V1 by the union volume V2 to obtain IoU; s represents the confidence of the model output about the main observation detection frame; d represents the normalized distance of the detected object from the observation center; If the detection frames of the main observation and the auxiliary observation are both two-dimensional frames, then the first tensor T i,j ={t i,j , IoU i,j ,s i ,s j , d i }, where i represents the i-th object in the main observation and j represents the j-th object in the auxiliary observation; t i,j represents the normalized weight of the time difference between the i-th object in the main observation and the j-th object in the auxiliary observation, and the t i,j The calculation method is: Among them, δt represents the time difference, D represents the maximum delay, and α is a coefficient inversely proportional to the curvature of the curve; IoU i,j It represents the intersection over union of the i-th object in the main observation detection frame and the j-th object detection frame in the auxiliary observation detection frame. i,j The calculation method is: Among them, A and B represent the detection box areas of the main observation and auxiliary observation; s represents the confidence of the model output about the main observation detection box; d represents the normalized distance of the detected object from the observation center.

2. The method according to claim 1, characterized in that: The detection frames for obtaining the main observation and the auxiliary observation include: Determine the categories of the detection frames of the main observation and auxiliary observation; If the main observation detection frame is a three-dimensional frame and the auxiliary observation detection frame is a two-dimensional frame, the main observation detection frame is converted to the plane where the auxiliary observation detection frame is located. The expression form of the two-dimensional frame is {x, y, h, w}, where x, y are the coordinates of the center point of the two-dimensional frame, h is the height of the two-dimensional frame, and w is the width of the two-dimensional frame; If both the main observation and the auxiliary observation are three-dimensional bounding boxes, the detection box of the auxiliary observation is converted to the three-dimensional space of the main observation. The expression of the three-dimensional bounding box is {x, y, z, l, w, h, r}, where x, y, z are the coordinates of the center point of the three-dimensional bounding box, l is the length of the three-dimensional bounding box, w is the width of the three-dimensional bounding box, h is the height of the three-dimensional bounding box, and r is the rotation angle of the three-dimensional bounding box around the z-axis.

3. The method according to claim 1, characterized in that: The combination of extracting the main observation detection frame and the auxiliary observation detection frame having an intersection includes: Extract the combination of the main observation detection box and the auxiliary observation detection box with IoU>0.

4. The method according to claim 1, characterized in that: The second tensor is convolved using 1*1 convolution to obtain a one-dimensional feature of each detection frame combination in the second tensor, and the confidence of the corresponding main observation after adjustment by auxiliary observation includes: Use 1*1 convolution to linearly transform the feature space constructed by the second tensor into another feature space, increase the dimension of the feature to 18 dimensions, and use the RELU activation function to increase nonlinear excitation for the result after dimensionality increase; Use 1*1 convolution to linearly transform the feature space obtained in the previous step into another feature space, increase the dimension of the feature to thirty-six dimensions, and use the RELU activation function to increase nonlinear excitation for the result after dimensionality increase; Use 1*1 convolution to linearly transform the feature space obtained in the previous step into another feature space, and use the RELU activation function to add nonlinear excitation to the new feature space result; Use 1*1 convolution to linearly transform the feature space obtained in the previous step into another feature space, reduce the dimension of the feature to one dimension, and obtain the one-dimensional feature of each group of detection box combinations in the second tensor, which is used as the confidence of the main observation after adjustment by the auxiliary observation.

5. A perception fusion device based on convolutional neural network and vehicle-road collaboration, characterized in that: include, An acquisition module is used to obtain the detection frames of the main observation and the auxiliary observation; A calculation module, used to calculate the first tensor of the main observation and auxiliary observation detection boxes, and create an empty sparse matrix of the first tensor; An extraction module is used to extract the combination of the main observation detection frame and the auxiliary observation detection frame that have an intersection based on the first tensor of the main observation detection frame and the auxiliary observation detection frame, record the index of each group of detection frame combinations extracted in the first tensor, and compose the extracted detection frame combinations into a second tensor as an input tensor of the convolutional neural network; A convolution module is used to convolve the second tensor using a 1*1 convolution to obtain a one-dimensional feature of each group of detection box combinations in the second tensor, and use it as the confidence of the corresponding main observation after adjustment by the auxiliary observation; A homing module, used for putting the confidence of each detection box combination into an empty sparse matrix of the first tensor according to the index of each detection box combination in the first tensor; A pooling module is used to use maximum pooling to select the maximum confidence from a number of confidences of each main observation detection frame adjusted by auxiliary observation as the confidence of the main observation; The calculation module calculates the first tensor of the main observation and auxiliary observation detection frames, including: If the detection frames of the main observation and the auxiliary observation are both three-dimensional frames, then the first tensor T i,j ={t i,j , IoU i,j ,s i ,s j , d i , d j }, where i represents the i-th object in the main observation and j represents the j-th object in the auxiliary observation; t i,j represents the normalized weight of the time difference between the i-th object in the main observation and the j-th object in the auxiliary observation, and the t i,j The calculation method is: Among them, δt represents the time difference, D represents the maximum delay, and α is a coefficient inversely proportional to the curvature of the curve; IoU i,j It represents the intersection over union of the i-th object in the main observation detection frame and the j-th object detection frame in the auxiliary observation detection frame. i,j The calculation method is as follows: first calculate the intersection area S of the main observation detection frame and the auxiliary observation detection frame projected on the xy plane, then calculate the intersection length L of the main observation detection frame and the auxiliary observation detection frame projected on the z axis, and multiply it with the intersection area S and the intersection length L to obtain the intersection volume V1, then subtract the intersection volume V1 from the sum of the volume of the main observation detection frame and the volume of the auxiliary observation detection frame to obtain the union volume V2, and finally divide the intersection volume V1 by the union volume V2 to obtain IoU; s represents the confidence of the model output about the main observation detection frame; d represents the normalized distance of the detected object from the observation center; If the detection frames of the main observation and the auxiliary observation are both two-dimensional frames, then the first tensor T i,j ={t i,j , IoU i,j ,s i ,s j , d i }, where i represents the i-th object in the main observation and j represents the j-th object in the auxiliary observation; t i,j represents the normalized weight of the time difference between the i-th object in the main observation and the j-th object in the auxiliary observation, and the t i,j The calculation method is: Among them, δt represents the time difference, D represents the maximum delay, and α is a coefficient inversely proportional to the curvature of the curve; IoU i,j It represents the intersection over union of the i-th object in the main observation detection frame and the j-th object detection frame in the auxiliary observation detection frame. i,j The calculation method is: Among them, A and B represent the detection box areas of the main observation and auxiliary observation; s represents the confidence of the model output about the main observation detection box; d represents the normalized distance of the detected object from the observation center.

6. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.