Multi-modal road sensing method and system, terminal equipment and storage medium

By mapping vision, thermal imaging, traffic and three-dimensional space information to the same coordinate system and performing feature extraction, the problem of inconsistent multi-sensor coordinate systems is solved, the integration and perception of multi-modal road information is realized, and the comprehensiveness of road perception is improved. sex and accuracy.

CN118570749APending Publication Date: 2024-08-30SHENZHEN ZHONGTING TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410791793.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the existing technology, the coordinate systems of multiple sensors are not consistently aligned, resulting in inconsistent information coordinate systems and inability to provide comprehensive road perception information.

Method used

By acquiring visual information, thermal imaging information, traffic information and three-dimensional spatial information, they are mapped to the same coordinate system for coordinate system alignment, feature extraction is performed, and the Transformer model is used for data fusion to calculate the road perception results.

Benefits of technology

It achieves consistent representation of different terminal data in the same coordinate system, improves the comprehensiveness and accuracy of road perception information, and provides more reliable road environment perception especially under extreme weather conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570749A
    Figure CN118570749A
Patent Text Reader

Abstract

The invention discloses a multi-modal road perception method and system, terminal equipment and a storage medium, and the method comprises the steps: mapping the obtained visual information, thermal imaging information, traffic information and three-dimensional space information to a same coordinate system, and carrying out the coordinate system alignment, target visual information, target thermal imaging information, target traffic information and target three-dimensional space information are obtained; performing feature extraction and classification to obtain a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information and a fourth perception result corresponding to the target three-dimensional space information; according to the first perception result, the second perception result, the third perception result and the fourth perception result, the perception result of the road to be perceived is obtained through calculation, coordinate system alignment is conducted on the multi-modal road information, then integration is conducted, the comprehensiveness of the road perception information is improved, and multi-modal road information perception is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of traffic control technology, and in particular to a multimodal road perception method, system, terminal equipment and storage medium. Background Art

[0002] With the acceleration of urbanization and the increase in traffic volume, the demand for road safety and traffic efficiency is also increasing. In extreme scenarios, such as bad weather (heavy rain, smog and hail, etc.), complex traffic conditions or other situations, traditional road perception methods are mainly based on surveillance cameras and millimeter wave radars. Most existing technologies mainly rely on a single perception modality, such as using only cameras or radars. They face the shortcomings of a single perception modality and cannot provide comprehensive road information. In addition, the coordinate systems of multiple sensors in the existing technology are not aligned consistently, and the coordinate systems of the information obtained are also inconsistent, resulting in insufficient information fusion and an inability to provide comprehensive road perception information.

[0003] Therefore, how to achieve multimodal road information perception and provide comprehensive road information has become a problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present invention provide a multimodal road perception method, system, terminal device and storage medium, which can effectively solve the problem that the coordinate systems of multiple sensors in the prior art are not consistently aligned, the coordinate systems of the obtained information are also inconsistent, resulting in insufficient information fusion and inability to provide comprehensive road perception information.

[0005] An embodiment of the present invention provides a multimodal road perception method, including:

[0006] Obtain visual information, thermal imaging information, traffic information and three-dimensional spatial information of the road to be sensed;

[0007] Mapping the visual information, thermal imaging information, traffic information and three-dimensional space information to the same coordinate system for coordinate system alignment to obtain target visual information, target thermal imaging information, target traffic information and target three-dimensional space information;

[0008] Performing feature extraction on the target visual information, the target thermal imaging information, the target traffic information, and the target three-dimensional space information to obtain a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information, and a fourth perception result corresponding to the target three-dimensional space information;

[0009] The perception result of the road to be perceived is calculated based on the first perception result, the second perception result, the third perception result and the fourth perception result.

[0010] Furthermore, the visual information, thermal imaging information, traffic information and three-dimensional space information are mapped to the same coordinate system for coordinate alignment to obtain target visual information, target thermal imaging information, target traffic information and target three-dimensional space information, including:

[0011] Using the coordinate system corresponding to the three-dimensional space information as a reference coordinate system, and using the three-dimensional space information as target three-dimensional space information;

[0012] Calculate a first rotation matrix and a first translation vector of the first coordinate system relative to the reference coordinate system according to the first coordinate system and the reference coordinate system corresponding to the visual information;

[0013] Calculate a second rotation matrix and a second translation vector of the second coordinate system relative to the reference coordinate system according to the second coordinate system and the reference coordinate system corresponding to the thermal imaging information;

[0014] Calculating a third rotation matrix and a third translation vector of the third coordinate system relative to the reference coordinate system according to the third coordinate system and the reference coordinate system corresponding to the traffic information;

[0015] According to the first coordinate system, the reference coordinate system, the first rotation matrix and the first translation vector, the visual information is aligned with the coordinate system to obtain the target visual information through transformation;

[0016] According to the second coordinate system, the reference coordinate system, the second rotation matrix and the second translation vector, the thermal imaging information is aligned with the coordinate system to obtain target thermal imaging information through transformation;

[0017] According to the third coordinate system, the reference coordinate system, the third rotation matrix and the third translation vector, the traffic information is aligned with the coordinate system and transformed to obtain the target traffic information.

[0018] Further, feature extraction is performed on the target visual information, the target thermal imaging information, the target traffic information, and the target three-dimensional space information to obtain a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information, and a fourth perception result corresponding to the target three-dimensional space information, including:

[0019] Vectorizing the target visual information to obtain a visual image pixel sequence;

[0020] Vectorizing the target thermal imaging information to obtain a thermal imaging pixel sequence;

[0021] Constructing a point cloud of the target traffic information and converting it into a first point cloud sequence;

[0022] Constructing a point cloud of the target three-dimensional space information and converting it into a second point cloud sequence;

[0023] Inputting the visual image pixel sequence, the thermal imaging pixel sequence, the first point cloud sequence and the second point cloud sequence into a preset Transformer model for feature extraction, obtaining a first feature group corresponding to the target visual information, a second feature group corresponding to the target thermal imaging information, a third feature group corresponding to the target traffic information and a fourth feature group corresponding to the target three-dimensional space information;

[0024] According to the first feature group, the second feature group, the third feature group, the fourth feature group and a preset classifier, a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information and a fourth perception result corresponding to the target three-dimensional space information are classified.

[0025] Furthermore, the training of the Transformer model includes:

[0026] Acquire a number of road image samples and road radar data samples;

[0027] Performing category labeling, target position labeling, event labeling and attribute labeling on the road image samples and the road radar data samples to obtain target image samples and target radar data samples;

[0028] Input the target image sample and the target radar data sample into the Transformer model for training to obtain training output results; wherein the training output results include: output category, output target position, output event and output attribute;

[0029] According to the training output results, the annotated road image samples and the annotated road radar data samples, the preset loss function is calculated until the preset loss function converges to obtain the trained Transformer model.

[0030] Further, the perception result of the road to be perceived is calculated according to the first perception result, the second perception result, the third perception result and the fourth perception result, including:

[0031] According to the first perception result and the preset first weight, a first weight output result is obtained by multiplying them;

[0032] According to the second perception result and the preset second weight, a second weight output result is obtained by multiplying them;

[0033] According to the third perception result and the preset third weight, a third weight output result is obtained by multiplying them together;

[0034] According to the fourth perception result and the preset fourth weight, a fourth weight output result is obtained by multiplying them together;

[0035] The first weighted output result, the second weighted output result, the third weighted output result and the fourth weighted output result are added together to obtain a perception result of the road to be perceived.

[0036] Furthermore, the timestamps of the visual information, the thermal imaging information, the traffic information and the three-dimensional space information are all consistent.

[0037] Furthermore, the visual information is obtained through a monitoring camera; the thermal imaging information is obtained through a thermal imaging sensor; the traffic information is obtained through a millimeter wave radar; and the three-dimensional space information is obtained through a lidar.

[0038] As an improvement of the above solution, another embodiment of the present invention provides a multi-modal road perception system, including:

[0039] An information acquisition module, used to acquire visual information, thermal imaging information, traffic information and three-dimensional space information of the road to be sensed;

[0040] A coordinate system alignment module is used to map the visual information, thermal imaging information, traffic information and three-dimensional space information to the same coordinate system for coordinate system alignment to obtain target visual information, target thermal imaging information, target traffic information and target three-dimensional space information;

[0041] a feature extraction module, used to extract features from the target visual information, the target thermal imaging information, the target traffic information, and the target three-dimensional space information, to obtain a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information, and a fourth perception result corresponding to the target three-dimensional space information;

[0042] The road perception module is used to calculate the perception result of the road to be perceived based on the first perception result, the second perception result, the third perception result and the fourth perception result.

[0043] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, a multimodal road perception method as described in the above embodiment is implemented.

[0044] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a multimodal road perception method described in the above embodiment.

[0045] By implementing the present invention, at least the following beneficial effects are achieved:

[0046] The present invention provides a multimodal road perception method, system, terminal device and storage medium. The method can map visual information, thermal imaging information, traffic information and three-dimensional space information to the same coordinate system for coordinate system alignment to obtain target visual information, target thermal imaging information, target traffic information and target three-dimensional space information, ensure that data generated by different terminals represent the same actual space in the same coordinate system, and facilitate the fusion and analysis of road data; extract features of the target visual information, target thermal imaging information, target traffic information and target three-dimensional space information to obtain a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information and a fourth perception result corresponding to the target three-dimensional space information; according to the first perception result, the second perception result, the third perception result and the fourth perception result, the perception result of the road to be perceived is calculated, the multimodal road information is integrated, the comprehensiveness of the road perception information is improved, and the multimodal road information perception is realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a flow chart of a multimodal road perception method provided by an embodiment of the present invention;

[0048] Figure 2 is a schematic structural diagram of a multimodal road perception system provided by an embodiment of the present invention;

[0049] Figure 3 is a device layout diagram of a multimodal road perception method provided by an embodiment of the present invention;

[0050] Figure 4 is a fusion flow chart of a multi-modal road perception method provided by an embodiment of the present invention;

[0051] Figure 5 It is a schematic diagram of coordinate system alignment provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] See also Figure 1 , is a flow chart of a multimodal road perception method provided by an embodiment of the present invention, comprising:

[0054] S1, obtaining visual information, thermal imaging information, traffic information and three-dimensional space information of the road to be sensed;

[0055] Specifically, the visual information is obtained through a monitoring camera; the thermal imaging information is obtained through a thermal imaging sensor; the traffic information is obtained through a millimeter wave radar; and the three-dimensional space information is obtained through a lidar.

[0056] In a preferred embodiment of the present invention, the surveillance camera is a high-resolution camera for capturing visual information on the road, including: road signs and markings, identifying and tracking various signs (such as stop signs, speed limit signs) and markings (such as lane lines) on the road to help vehicles achieve correct driving and comply with traffic regulations; vehicles and pedestrians, detecting and identifying other vehicles, pedestrians or cyclists on the road, as well as their positions, speeds and directions of travel to avoid collisions and maintain a safe distance; road conditions, analyzing the road surface conditions, such as whether the road surface is flat, slippery, icy or has obstacles, and detecting road conditions that may affect driving safety; traffic flow, estimating the flow of vehicles and pedestrians, predicting traffic congestion and driving paths, to help vehicles choose the best driving route and speed; surrounding environment, identifying fixed environmental features such as buildings, trees, street lights, and possible dynamic obstacles (such as roadblocks, traffic cones or trash cans) around the road; weather and lighting conditions, detecting and identifying current weather conditions, such as sunny, cloudy and rainy days, and identifying changes in lighting conditions to adjust the vehicle's driving strategy and speed.

[0057] The thermal imaging technology of the thermal imaging sensor can be used to obtain temperature information on the road and obtain thermal imaging information. Thermal imaging information has advantages in low light or rainy and snowy weather, and can be used for target detection during night driving and rainy and snowy weather, which can improve perception performance in adverse weather conditions.

[0058] Millimeter-wave radar is used to obtain traffic information, including the location, speed, and direction of movement of vehicles, pedestrians, and non-motorized vehicles. Millimeter-wave radar has good penetration in different weather conditions and can be used for long-distance target detection and obstacle detection, providing effective safety support in low-visibility conditions.

[0059] High-precision three-dimensional spatial information, including three-dimensional road terrain and three-dimensional obstacle information, is obtained through lidar to detect and identify obstacles on the road surface, which can be used for accurate modeling of road shape and elevation.

[0060] In a preferred embodiment of the present invention, the surveillance camera, thermal imaging sensor, millimeter wave radar and laser radar are arranged as follows: Figure 3 As shown, surveillance camera 1, thermal imaging sensor 2, millimeter wave radar 3, laser radar 4 and timing system 5. It may include multiple surveillance cameras, so it is necessary to first perform multi-surveillance camera calibration and multi-surveillance camera camera coordinate system alignment, and then align the laser radar coordinate system with the multi-surveillance camera camera coordinate system, align the laser radar coordinate system with the thermal imaging sensor coordinate system, and align the laser radar with the millimeter wave radar coordinate system. In addition, a reference coordinate system can also be selected to map the surveillance camera camera coordinate system, thermal imaging sensor coordinate system and millimeter wave radar coordinate system to the reference coordinate system for coordinate system conversion and alignment. Among them, the timing system is used to make the timestamps of visual information, thermal imaging information, traffic information and three-dimensional space information consistent, that is, to make the timestamps of surveillance cameras, thermal imaging sensors, millimeter wave radars and laser radars consistent.

[0061] In a preferred embodiment of the present invention, the timestamps of the visual information, the thermal imaging information, the traffic information and the three-dimensional space information are consistent. Keeping the timestamps of the visual information, thermal imaging information, traffic information and three-dimensional space information consistent and ensuring the synchronization between multiple information through time synchronization is crucial for mapping to the same coordinate system and information fusion analysis. For example, the synchronization of visual information and thermal imaging information can help more accurately identify and locate obstacles. Data with the same timestamp can provide complete information for subsequent feature extraction and calculation of perception results, thereby improving the fusion accuracy of multi-modal road information.

[0062] S2, mapping the visual information, thermal imaging information, traffic information and three-dimensional space information to the same coordinate system for coordinate system alignment to obtain target visual information, target thermal imaging information, target traffic information and target three-dimensional space information;

[0063] Specifically, the coordinate system corresponding to the three-dimensional space information is used as a reference coordinate system, and the three-dimensional space information is used as target three-dimensional space information;

[0064] Calculate a first rotation matrix and a first translation vector of the first coordinate system relative to the reference coordinate system according to the first coordinate system and the reference coordinate system corresponding to the visual information;

[0065] Calculate a second rotation matrix and a second translation vector of the second coordinate system relative to the reference coordinate system according to the second coordinate system and the reference coordinate system corresponding to the thermal imaging information;

[0066] Calculating a third rotation matrix and a third translation vector of the third coordinate system relative to the reference coordinate system according to the third coordinate system and the reference coordinate system corresponding to the traffic information;

[0067] According to the first coordinate system, the reference coordinate system, the first rotation matrix and the first translation vector, the visual information is aligned with the coordinate system to obtain the target visual information through transformation;

[0068] According to the second coordinate system, the reference coordinate system, the second rotation matrix and the second translation vector, the thermal imaging information is aligned with the coordinate system to obtain target thermal imaging information through transformation;

[0069] According to the third coordinate system, the reference coordinate system, the third rotation matrix and the third translation vector, the traffic information is aligned with the coordinate system and transformed to obtain the target traffic information.

[0070] Preferably, the coordinate system corresponding to the three-dimensional space information is used as the reference coordinate system, and the three-dimensional space information is used as the target three-dimensional space information; according to the first coordinate system and the reference coordinate system corresponding to the visual information, the first rotation matrix and the first translation vector between the first coordinate system and the reference coordinate system are calculated, and then according to the first coordinate system, the reference coordinate system, the first rotation matrix and the first translation vector, the first coordinate system is aligned with the reference coordinate system, that is, the visual information is aligned with the reference coordinate system to obtain the aligned target visual information. According to the second coordinate system and the reference coordinate system corresponding to the thermal imaging information, the second rotation matrix and the second translation vector between the second coordinate system and the reference coordinate system are calculated, and then according to the second coordinate system, the reference coordinate system, the second rotation matrix and the second translation vector, the second coordinate system is aligned with the reference coordinate system, that is, the thermal imaging information is aligned with the reference coordinate system to obtain the aligned target thermal imaging information. According to the third coordinate system and the reference coordinate system corresponding to the traffic information, the third rotation matrix and the third translation vector between the third coordinate system and the reference coordinate system are calculated, and then the third coordinate system is aligned with the reference coordinate system according to the third coordinate system, the reference coordinate system, the third rotation matrix and the third translation vector, that is, the traffic information is aligned with the reference coordinate system to obtain the aligned target traffic information.

[0071] In a preferred embodiment of the present invention, the visual information includes information captured by multiple cameras (cameras). For each camera, the camera internal parameters are first calibrated, including camera parameters such as focal length, principal point position and distortion coefficient. A calibration plate can be used to capture multiple images, and then a camera calibration algorithm (such as Zhang's method) is used to estimate the internal parameters to obtain the respective internal parameter matrices K. After the camera internal parameters are calibrated, it is necessary to estimate the external parameters of each camera, that is, the position and posture of the camera, which can be achieved by capturing images containing known spatial points (multiple calibration plates). By performing stereo matching or solving the correspondence between three-dimensional and two-dimensional points on these images, the relative posture between the cameras can be estimated, including the rotation matrix R1 and translation vector T1 between the cameras, to obtain the external parameter matrix P. Assume that there are two cameras C1 and C2, and the relationship between their rotation matrix R1 and translation vector T1 is as follows: Through camera calibration, we can obtain the camera's internal parameter matrix K (camera internal parameter matrix). Assume that P1 and P2 represent the projection matrices of cameras C1 and C2 in the world coordinate system, respectively. Among them, P1 = [I|0], P2 = [R1|T], where I is the unit short matrix and 0 is the zero vector. Then, the rotation matrix R1 between the two cameras can be calculated by the following formula:

[0072] R1=KR1 -1 T1

[0073] Among them, R1 -1 is the inverse matrix of the rotation matrix of camera C2, K is the camera internal parameter short matrix, and T1 is the translation vector of camera C2 relative to camera C1.

[0074] Preferably, the translation vector of camera C2 relative to camera C1 can be obtained by camera calibration and stereo vision methods. A common method is to calculate it by the three-dimensional coordinates and two-dimensional image coordinates of the corresponding points. Assuming that X is the coordinate of a three-dimensional point in the world coordinate system, x1 and x2 are the projection coordinates of this point in cameras C1 and C2 respectively, then the translation vector T can be calculated by the following formula:

[0075] T=-R2 -1 (X-T2)

[0076] Among them, R2 -1 is the inverse matrix of the rotation matrix of camera C2, and T2 is the translation vector of camera C1.

[0077] Schematically, after the multi-camera joint calibration, the coordinate systems corresponding to the information captured by multiple cameras (cameras) need to be aligned to obtain visual information. Select one camera as the main camera (for example, C1 as the main camera), and align the coordinate systems of other cameras relative to the main camera. Assume R ij Indicates that from Cj to C i The rotation matrix, T ij Indicates camera C j to C i The translation vector of the camera C i , the transformation matrix relative to the main camera C1 is:

[0078]

[0079] Among them, R i1 is the rotation matrix, T i1 is the translation vector.

[0080] The transformation of the corresponding point coordinates in the coordinate system can be obtained by the transformation matrix and translation vector. For a point X in the coordinate system of the main camera C1, its i Coordinate X in the coordinate system i It can be obtained by the following formula:

[0081]

[0082] in, Represents the inverse of the transformation matrix of the main camera C1.

[0083] In a preferred embodiment of the present invention, the first coordinate system (camera coordinate system) corresponding to the visual information obtained after the multi-camera coordinate system alignment is aligned with the reference coordinate system (lidar coordinate system). L , the camera coordinate system is O C , the transformation relationship between them can be expressed by the following matrix:

[0084]

[0085] Among them, X L , Y L , Z L is the point coordinate in the laser radar coordinate system; X C , Y C , Z C is the point coordinate in the camera coordinate system; R ij is the element of the first rotation matrix; T x , T y , T z are the components of the first translation vector on the x-axis, y-axis, and z-axis respectively.

[0086] In a preferred embodiment of the present invention, the second coordinate system (thermal imaging sensor coordinate system) corresponding to the thermal imaging information is aligned with the reference coordinate system (lidar coordinate system). L, the thermal imaging sensor coordinate system is Or, and the transformation relationship between them can be expressed by the following matrix:

[0087]

[0088] Among them, X L , Y L , Z L is the point coordinate in the laser radar coordinate system; X r , Y r , Z r is the point coordinate in the thermal imaging sensor coordinate system; R ij is the element of the second rotation matrix; T 1x , T 1y , T 1z are the components of the second translation vector on the x-axis, y-axis, and z-axis respectively.

[0089] In a preferred embodiment of the present invention, the laser radar coordinate system is assumed to be L , the millimeter wave radar coordinate system (the third coordinate system) is O M , the transformation relationship between them is: Translation transformation

[0090] O L =O M +Third translation vector

[0091] Rotation

[0092] P L =R3·P M

[0093] Among them, P L and P M Respectively represent the coordinates of the point in the laser radar coordinate system and the millimeter wave radar coordinate system, and R3 is the third rotation matrix. The specific third transformation matrix R3 and the third translation vector T3 can be obtained by the calibration algorithm in the calibration process. When the least squares method is used for calibration, the third transformation matrix R3 and the third translation vector T3 can be obtained. In practical applications, the above transformation can be represented by a matrix, for example:

[0094]

[0095] Among them, (X L ,Y L ) and (X M ,Y M ) represent the point coordinates in the laser radar coordinate system and the millimeter wave radar coordinate system respectively.

[0096] In a preferred embodiment of the present invention, the schematic diagram of aligning the coordinate system is as follows: Figure 5 As shown, the laser radar coordinate system is used as the reference coordinate system to align the laser radar coordinate system with the multi-monitoring camera coordinate system (first coordinate system), the laser radar coordinate system with the thermal imaging camera coordinate system (second coordinate system), and the laser radar coordinate system with the millimeter wave radar coordinate system (third coordinate system). Each sensor will independently process the collected original road information and map their respective information to a unified coordinate system, such as mapping to the laser radar coordinate system or mapping to a preset reference coordinate system. Because different sensors may use different coordinate systems or reference points, it is necessary to convert their respective information to a common reference frame for fusion and perception results. The process of coordinate system alignment involves coordinate transformation and calibration to ensure that the information of different sensors can be compared and analyzed in the same spatial and temporal dimensions, which can fully utilize the unique advantages of each sensor while reducing the limitations or errors that may exist in a single sensor, thereby providing more accurate and comprehensive road environment perception capabilities.

[0097] S3, extracting features from the target visual information, the target thermal imaging information, the target traffic information, and the target three-dimensional space information to obtain a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information, and a fourth perception result corresponding to the target three-dimensional space information;

[0098] Specifically, the target visual information is vectorized and converted into a visual image pixel sequence;

[0099] Vectorizing the target thermal imaging information to obtain a thermal imaging pixel sequence;

[0100] Constructing a point cloud of the target traffic information and converting it into a first point cloud sequence;

[0101] Constructing a point cloud of the target three-dimensional space information and converting it into a second point cloud sequence;

[0102] Inputting the visual image pixel sequence, the thermal imaging pixel sequence, the first point cloud sequence and the second point cloud sequence into a preset Transformer model for feature extraction, obtaining a first feature group corresponding to the target visual information, a second feature group corresponding to the target thermal imaging information, a third feature group corresponding to the target traffic information and a fourth feature group corresponding to the target three-dimensional space information;

[0103] According to the first feature group, the second feature group, the third feature group, the fourth feature group and a preset classifier, a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information and a fourth perception result corresponding to the target three-dimensional space information are classified.

[0104] In a preferred embodiment of the present invention, the target visual information is vectorized and converted into a format that can be understood by the model to obtain a visual image pixel sequence (or image feature vector); the target thermal imaging information is vectorized and converted into a format that can be understood by the model to obtain a thermal imaging pixel sequence (or thermal imaging image feature vector); the target traffic information is point cloud constructed to obtain a first point cloud sequence, that is, the millimeter wave radar data is converted into a first point cloud sequence; the target three-dimensional space information is point cloud constructed to obtain a second point cloud sequence, that is, the laser radar data is converted into a second point cloud sequence. The visual image pixel sequence, thermal imaging pixel sequence, first point cloud sequence and second point cloud sequence are input into a preset Transformer model for feature extraction to obtain a first feature group corresponding to the target visual information, a second feature group corresponding to the target thermal imaging information, a third feature group corresponding to the target traffic information and a fourth feature group corresponding to the target three-dimensional space information. Finally, according to the first feature group, the second feature group, the third feature group, the fourth feature group and the preset classifier, the first perception result corresponding to the target visual information, the second perception result corresponding to the target thermal imaging information, the third perception result corresponding to the target traffic information and the fourth perception result corresponding to the target three-dimensional space information are classified. In the Transformer model architecture, feature extraction is achieved through the self-attention mechanism and feedforward neural network inside the model. The input data is first converted into a vector representation of fixed dimension through the embedding layer; then, these vectors are fed into multiple self-attention layers in the encoder or decoder; in each layer, the self-attention mechanism allows the model to calculate the dependencies between different positions in the input sequence and generate new representations that incorporate contextual information. After being processed by multiple self-attention layers, the Transformer model further extracts and transforms features through a feedforward neural network. Finally, the feature group output by the model can be regarded as a feature representation of the input data.

[0105] Preferably, the output of the classifier can refer to Table 1:

[0106] Table 1

[0107]

[0108] The output of the classifier can also be represented by corresponding numbers to indicate the output result of each classification.

[0109] Schematically, the first perception result, the second perception result, the third perception result and the fourth perception result are shown in Table 2, and a check mark indicates support for the output of the perception result:

[0110] Table 2

[0111]

[0112] The sample types included in object detection, event detection, and road weather features are as follows:

[0113] Vehicle ID: vehicle code and location;

[0114] Vehicle Type: Small car, van, truck, motorcycle, police car, ambulance, fire truck, bicycle;

[0115] Pedestrians: pedestrian ID and location;

[0116] Obstacles: Fixed obstacles: such as roadblocks and guardrails; Temporary obstacles: construction areas, accident sites, fallen trees; Other vehicle failures or spills: wreckage of other vehicles, tires, scattered cargo;

[0117] Congestion: traffic flow and vehicle speed are divided into smooth: smooth traffic on the expressway, vehicles can travel at close to or at the design speed; basically smooth: 50-65km / h; light congestion: 35-50km / h; moderate congestion: 20-35km / h; heavy congestion: 5-20km / h; severe congestion: less than 5km / h;

[0118] Traffic accidents: guardrail collision, vehicle collision;

[0119] Road construction: yes / no;

[0120] Illegal parking: yes / no;

[0121] Speeding: Speeding: less than 10%, + license plate; Speeding: <10% + license plate; Speeding: 10%-20% + license plate; Speeding: 20%-50% + license plate; Speeding: >50% + license plate;

[0122] Rain degree: divided into: heavy snow, moderate snow, light rain, no rain;

[0123] Snow degree: divided into: light snow, moderate snow, heavy snow, blizzard, no snow;

[0124] Fog degree: divided into: light fog, heavy fog, dense fog, no fog;

[0125] Dust storm degree: floating dust, blowing sand, sandstorm, none;

[0126] Degree of sunshine: clear, cloudy, night.

[0127] In a preferred embodiment of the present invention, the training of the preset Transformer model includes:

[0128] Acquire a number of road image samples and road radar data samples;

[0129] Performing category labeling, target position labeling, event labeling and attribute labeling on the road image samples and the road radar data samples to obtain target image samples and target radar data samples;

[0130] Input the target image sample and the target radar data sample into the Transformer model for training to obtain training output results; wherein the training output results include: output category, output target position, output event and output attribute;

[0131] According to the training output results, the annotated road image samples and the annotated road radar data samples, the preset loss function is calculated until the preset loss function converges to obtain the trained Transformer model.

[0132] S4. Calculate the perception result of the road to be sensed based on the first perception result, the second perception result, the third perception result, and the fourth perception result.

[0133] Specifically, according to the first perception result and the preset first weight, a first weight output result is obtained by multiplying them together;

[0134] According to the second perception result and the preset second weight, a second weight output result is obtained by multiplying them;

[0135] According to the third perception result and the preset third weight, a third weight output result is obtained by multiplying them together;

[0136] According to the fourth perception result and the preset fourth weight, a fourth weight output result is obtained by multiplying them together;

[0137] The first weighted output result, the second weighted output result, the third weighted output result and the fourth weighted output result are added together to obtain a perception result of the road to be perceived.

[0138] Preferably, the weight W i The weight of the perception result, that is, the weight of each terminal output, is also the weight of each terminal model, which is related to the target / event distance D and the road weather characteristics W. The perception result O of the road to be perceived can be calculated by the following formula:

[0139]

[0140] Among them, the weight W i (D, W) is a function of the target / event distance D and the road weather characteristics W. The weight function is calculated using statistical analysis methods, which is a data-driven weight function construction method that analyzes historical visual information, historical thermal imaging information, historical traffic information, and historical three-dimensional spatial information to find the relationship between sensor performance and target / event distance and road weather characteristics. This information should cover a variety of scenarios and conditions to ensure that the constructed weight function has sufficient generalization ability. Then, statistical analysis methods, correlation coefficients, and scatter plots are used to analyze the correlation between sensor performance and target / event distance and road weather characteristics. The final weighted output is calculated using the above formula, where each perception result is multiplied by the corresponding weight, and then all weighted values ​​are added together to obtain the final output, which is the perception result.

[0141] In a preferred embodiment of the present invention, the perception results output by four sensors are the first perception result S1, the second perception result S2, the third perception result S3 and the fourth perception result S4, and the corresponding weights are the first weight W1 (D, W), the second weight W2 (D, W), the third weight W3 (D, W), and the fourth weight W4 (D, W). The perception result O finally output is calculated as:

[0142] O=W1(D,W)·S1+W2(D,W)·S2+W3(D,W)·S3+W4(D,W)·S4

[0143] O represents the final perception result. Through the recognition results of multiple sensors in the same scene, different confidence levels are set, and finally a decision is made according to the fusion strategy. Specifically, each sensor will identify the target in the scene according to its own algorithm and data processing capabilities, and output the corresponding perception results. These results may include information such as the type, position, and speed of the target. Since different sensors differ in performance, accuracy, and reliability, their recognition results will also be different. In order to fully utilize the advantages of each sensor and make up for its shortcomings, the post-fusion algorithm (i.e., target-level fusion) sets different confidence levels to evaluate the reliability of each sensor's results. After setting the confidence level, the post-fusion algorithm will integrate the perception results of each sensor according to a certain fusion strategy. These fusion strategies may include weighted averaging. The algorithm can comprehensively consider the confidence and correlation of the results of each sensor to obtain a more accurate and reliable final perception result, achieving such as Figure 4 The road perception process from data-level fusion to feature-level fusion and then to weight fusion is shown.

[0144] In a preferred embodiment of the present invention, millimeter wave radar and laser radar have better performance in long-distance detection, so they are given greater weight in long-distance situations; on the contrary, surveillance cameras and thermal imaging sensors have better imaging effects at close range, so they are given greater weight in close range situations. When facing extreme road weather scenes, thermal imaging sensors and millimeter wave radars have greater weight. Because thermal imaging technology adapts to severe weather conditions and can measure the heat of the target without relying on visible light, it can still provide reliable image information under severe weather conditions (such as rain, snow, and dense fog). Compared with visible light sensors, thermal imaging has less impact on weather conditions such as haze, rain, and snow, so it has more advantages in extreme road weather scenes. Lidar can penetrate haze and smoke: millimeter wave radar uses laser beams to detect targets, and its working principle enables it to penetrate haze and smoke relatively easily, thereby providing clear target detection information. In extreme weather conditions, this penetration ability is critical for reliable long-distance target detection. Resistant to strong light interference: Thermal imaging technology is highly resistant to strong light because it mainly measures the thermal radiation of the target rather than the light intensity. Similarly, millimeter-wave radar is not easily affected by strong light because its working principle does not involve direct sensing of light. In strong sunlight or other less than ideal lighting conditions, both are relatively more reliable.

[0145] By implementing this embodiment, multiple perception technologies are integrated, including surveillance cameras, thermal imaging sensors, millimeter-wave radars and lidars, etc., to perform multimodal integration to provide more comprehensive and accurate road information; the information of each perception modality is mapped to a common coordinate system, and the alignment of the multimodal coordinate system can ensure that the information generated by different perception modalities represents the same actual space in the same coordinate system. This consistency makes it easier to compare, fuse and comprehensively analyze the data; corresponding perception modules and weight algorithms are designed for extreme weather conditions to improve the robustness of the system in severe weather and ensure that the perception accuracy is not affected by the weather. The visual information, thermal imaging information, traffic information and three-dimensional space information are mapped to the same coordinate system for coordinate system alignment to obtain target visual information, target thermal imaging information, target traffic information and target three-dimensional space information, ensuring that the data generated by different terminals represent the same actual space in the same coordinate system, which is conducive to the fusion and analysis of road data; feature extraction is performed on the target visual information, target thermal imaging information, target traffic information and target three-dimensional space information to obtain a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information and a fourth perception result corresponding to the target three-dimensional space information; based on the first perception result, the second perception result, the third perception result and the fourth perception result, the perception result of the road to be perceived is calculated, the multimodal road information is integrated, the comprehensiveness of the road perception information is improved, and multimodal road information perception is realized.

[0146] See also Figure 2 , is a schematic diagram of the structure of a multi-modal road perception system provided by an embodiment of the present invention, comprising:

[0147] An information acquisition module, used to acquire visual information, thermal imaging information, traffic information and three-dimensional space information of the road to be sensed;

[0148] A coordinate system alignment module is used to map the visual information, thermal imaging information, traffic information and three-dimensional space information to the same coordinate system for coordinate system alignment to obtain target visual information, target thermal imaging information, target traffic information and target three-dimensional space information;

[0149] a feature extraction module, used to extract features from the target visual information, the target thermal imaging information, the target traffic information, and the target three-dimensional space information, to obtain a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information, and a fourth perception result corresponding to the target three-dimensional space information;

[0150] The road perception module is used to calculate the perception result of the road to be perceived based on the first perception result, the second perception result, the third perception result and the fourth perception result.

[0151] The present invention provides a multimodal road perception system, which obtains visual information, thermal imaging information, traffic information and three-dimensional space information of a road to be perceived according to an information acquisition module; in a coordinate system alignment module, the visual information, thermal imaging information, traffic information and three-dimensional space information are mapped to the same coordinate system for coordinate system alignment to obtain target visual information, target thermal imaging information, target traffic information and target three-dimensional space information; through a feature extraction module, the target visual information, the target thermal imaging information, the target traffic information and the target three-dimensional space information are subjected to feature extraction to obtain a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information and a fourth perception result corresponding to the target three-dimensional space information; finally, in a road perception module, a perception result of the road to be perceived is calculated according to the first perception result, the second perception result, the third perception result and the fourth perception result. Visual information, thermal imaging information, traffic information and three-dimensional space information are mapped to the same coordinate system for coordinate system alignment to obtain target visual information, target thermal imaging information, target traffic information and target three-dimensional space information, ensuring that the data generated by different terminals represent the same actual space in the same coordinate system, which is conducive to the fusion and analysis of road data; feature extraction of information and calculation of perception results of the road to be perceived, integration of multimodal road information, improvement of the comprehensiveness of road perception information, and realization of multimodal road information perception.

[0152] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0153] Those skilled in the art can clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0154] Another embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements a multimodal road perception method as described in the above embodiment when executing the computer program. The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory.

[0155] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and various interfaces and lines are used to connect various parts of the entire terminal device.

[0156] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device or other volatile solid-state storage device.

[0157] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a multimodal road perception method described in the above embodiment.

[0158] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium.

[0159] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A multimodal road perception method, characterized in that: include: Obtain visual information, thermal imaging information, traffic information and three-dimensional spatial information of the road to be sensed; Using the coordinate system corresponding to the three-dimensional space information as a reference coordinate system, and using the three-dimensional space information as target three-dimensional space information; According to the first coordinate system corresponding to the visual information, the second coordinate system corresponding to the thermal imaging information, the third coordinate system corresponding to the traffic information and the reference coordinate system, the first coordinate system, the second coordinate system and the third coordinate system are respectively aligned with the reference coordinate system to obtain the target visual information, the target thermal imaging information and the target traffic information after the coordinate systems are aligned; Extracting features of the target three-dimensional spatial information, target visual information, target thermal imaging information, and target traffic information respectively, to obtain a first feature group corresponding to the target visual information, a second feature group corresponding to the target thermal imaging information, a third feature group corresponding to the target traffic information, and a fourth feature group corresponding to the target three-dimensional spatial information; According to the first feature group, the second feature group, the third feature group, the fourth feature group and a preset classifier, a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information and a fourth perception result corresponding to the target three-dimensional space information are obtained by classification; The perception result of the road to be perceived is calculated based on the first perception result, the second perception result, the third perception result and the fourth perception result.

2. A multimodal road perception method according to claim 1, characterized in that: According to the first coordinate system corresponding to the visual information, the second coordinate system corresponding to the thermal imaging information, the third coordinate system corresponding to the traffic information and the reference coordinate system, the first coordinate system, the second coordinate system and the third coordinate system are respectively aligned with the reference coordinate system to obtain target visual information, target thermal imaging information and target traffic information after the coordinate systems are aligned, including: Calculate a first rotation matrix and a first translation vector of the first coordinate system relative to the reference coordinate system according to the first coordinate system and the reference coordinate system corresponding to the visual information; Calculate a second rotation matrix and a second translation vector of the second coordinate system relative to the reference coordinate system according to the second coordinate system and the reference coordinate system corresponding to the thermal imaging information; Calculating a third rotation matrix and a third translation vector of the third coordinate system relative to the reference coordinate system according to the third coordinate system and the reference coordinate system corresponding to the traffic information; According to the first coordinate system, the reference coordinate system, the first rotation matrix and the first translation vector, the visual information is aligned with the reference coordinate system to obtain target visual information through transformation; According to the second coordinate system, the reference coordinate system, the second rotation matrix and the second translation vector, the thermal imaging information is aligned with the reference coordinate system to obtain target thermal imaging information through transformation; According to the third coordinate system, the reference coordinate system, the third rotation matrix and the third translation vector, the traffic information is aligned with the reference coordinate system, and the target traffic information is obtained by transformation.

3. A multimodal road perception method as claimed in claim 1, characterized in that: The target three-dimensional space information, the target visual information, the target thermal imaging information and the target traffic information are respectively subjected to feature extraction to obtain a first feature group corresponding to the target visual information, a second feature group corresponding to the target thermal imaging information, a third feature group corresponding to the target traffic information and a fourth feature group corresponding to the target three-dimensional space information, including: Vectorizing the target visual information to obtain a visual image pixel sequence; Vectorizing the target thermal imaging information to obtain a thermal imaging pixel sequence; Constructing a point cloud of the target traffic information and converting it into a first point cloud sequence; Constructing a point cloud of the target three-dimensional space information and converting it into a second point cloud sequence; The visual image pixel sequence, the thermal imaging pixel sequence, the first point cloud sequence and the second point cloud sequence are input into a preset Transformer model for feature extraction to obtain a first feature group corresponding to the target visual information, a second feature group corresponding to the target thermal imaging information, a third feature group corresponding to the target traffic information and a fourth feature group corresponding to the target three-dimensional space information.

4. A multimodal road perception method as claimed in claim 3, characterized in that: The training of the Transformer model includes: Acquire a number of road image samples and road radar data samples; Performing category labeling, target position labeling, event labeling and attribute labeling on the road image samples and the road radar data samples to obtain target image samples and target radar data samples; Input the target image sample and the target radar data sample into the Transformer model for training to obtain training output results; wherein the training output results include: output category, output target position, output event and output attribute; According to the training output results, the annotated road image samples and the annotated road radar data samples, the preset loss function is calculated until the preset loss function converges to obtain the trained Transformer model.

5. A multimodal road perception method as claimed in claim 1, characterized in that: Calculating a perception result of the road to be perceived according to the first perception result, the second perception result, the third perception result, and the fourth perception result includes: According to the first perception result and the preset first weight, a first weight output result is obtained by multiplying them together; According to the second perception result and the preset second weight, a second weight output result is obtained by multiplying them; According to the third perception result and the preset third weight, a third weight output result is obtained by multiplying them together; According to the fourth perception result and the preset fourth weight, a fourth weight output result is obtained by multiplying them together; The first weighted output result, the second weighted output result, the third weighted output result and the fourth weighted output result are added together to obtain a perception result of the road to be perceived.

6. A multimodal road perception method according to claim 1, characterized in that: The timestamps of the visual information, the thermal imaging information, the traffic information and the three-dimensional space information are all consistent.

7. A multimodal road perception method according to claim 1, characterized in that: The visual information is obtained through a monitoring camera; the thermal imaging information is obtained through a thermal imaging sensor; the traffic information is obtained through a millimeter wave radar; and the three-dimensional space information is obtained through a laser radar.

8. A multimodal road perception system, characterized in that: include: An information acquisition module, used to acquire visual information, thermal imaging information, traffic information and three-dimensional space information of the road to be sensed; Using the coordinate system corresponding to the three-dimensional space information as a reference coordinate system, and using the three-dimensional space information as target three-dimensional space information; A coordinate system alignment module, for aligning the first coordinate system, the second coordinate system and the third coordinate system with the reference coordinate system according to the first coordinate system corresponding to the visual information, the second coordinate system corresponding to the thermal imaging information, the third coordinate system corresponding to the traffic information and the reference coordinate system, to obtain target visual information, target thermal imaging information and target traffic information after the coordinate systems are aligned; A feature extraction module, used to extract features of the target three-dimensional spatial information, target visual information, target thermal imaging information and target traffic information respectively, to obtain a first feature group corresponding to the target visual information, a second feature group corresponding to the target thermal imaging information, a third feature group corresponding to the target traffic information and a fourth feature group corresponding to the target three-dimensional spatial information; a perception result generating module, configured to classify, according to the first feature group, the second feature group, the third feature group, the fourth feature group and a preset classifier, a first perception result corresponding to the target visual information, a second perception result corresponding to the target thermal imaging information, a third perception result corresponding to the target traffic information and a fourth perception result corresponding to the target three-dimensional space information; The road perception module is used to calculate the perception result of the road to be perceived based on the first perception result, the second perception result, the third perception result and the fourth perception result.

9. A terminal device, characterized in that: The invention comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a multimodal road perception method as claimed in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a multimodal road perception method as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Edge computing gateway data processing method and gateway

    CN118736847A

  • Dynamic traffic identification system based on artificial intelligence

    CN120472675A