Target association and matching method and apparatus, and in-vehicle infotainment system and storage medium

By decomposing the lidar target based on the visual coordinate system during intelligent driving and using the Hungarian algorithm to calculate the comprehensive distance, the problem of low matching accuracy in traditional matching methods is solved and more efficient target correlation matching is achieved.

WO2024183825A1PCT designated stage expired Publication Date: 2024-09-12BEIJING CO WHEELS TECH CO LTD

Patent Information

Application Number
PCT/CN2024/080872
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-09
Filing Date
2024-03-08
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In the field of intelligent driving, when multiple sensors jointly detect targets, the traditional coordinate system matching method has low matching accuracy due to inconsistent sensor installations, and obtaining the position conversion relationship consumes resources and has low practical feasibility.

Method used

A visual coordinate system is established based on the visual target detected by the camera, the target position and speed detected by the lidar are decomposed into the visual coordinate system, and the comprehensive distance between the laser target and the visual target is calculated through the Hungarian algorithm, thereby improving the matching accuracy. .

Benefits of technology

The accuracy of target association matching is improved, resource consumption is reduced, and the reliability of matching results is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080872_12092024_PF_FP_ABST
    Figure CN2024080872_12092024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are a target association and matching method and apparatus, and an in-vehicle infotainment system, a storage medium, a computer program product, a computer program and a vehicle. The method comprises: establishing n visual coordinate systems on the basis of n visual targets; respectively decomposing the locations and speeds of m laser targets into the vertical axes and the horizontal axes of the n visual coordinate systems, so as to determine the locations and speeds of the m laser targets on the vertical axis in each visual coordinate system and the locations and speeds of the m laser targets on the horizontal axis therein; on the basis of the locations and speeds of the m laser targets on the vertical axes and the locations and speeds of the m laser targets on the horizontal axes, calculating the comprehensive distance between each laser target and each visual target, so as to obtain s comprehensive distances; and on the basis of the s comprehensive distances and by means of a Hungary algorithm solver, performing calculations to obtain a matching result between the m laser targets and the n visual targets.
Need to check novelty before this filing date? Find Prior Art

Description

Target association matching method, device, vehicle computer and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310245568.9 filed in China on March 9, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of data processing technology, and in particular to a target association matching method, device, vehicle computer, storage medium, computer program product, computer program, and vehicle. Background Art

[0004] Currently, in the field of intelligent driving, as each sensor has its own advantages and disadvantages, more and more intelligent driving solutions are relying on multiple sensors to detect targets, rather than a single one. However, using multiple sensors to detect targets raises the issue of target matching. For example, when using a vehicle's Lidar and camera for obstacle detection, the targets detected by the Lidar are correlated and matched with those detected by the camera to determine the obstacle information measured by the combined sensors. Typically, when correlating targets detected by the Lidar and the camera, a coordinate system is established with the center of the vehicle's rear axle as the origin. The Lidar and camera targets are then unified in this coordinate system and correlated and matched based on the coordinate values. This correlation matching method requires pre-determining the position transformation relationship between each sensor. Since the actual installation process cannot guarantee the exact position of each sensor, using a pre-determined position transformation relationship can result in low matching accuracy and even erroneous matching results. Acquiring the position transformation relationship after the sensors are installed consumes a significant amount of resources, making it less feasible in practice.

[0005] Summary of the Invention

[0006] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide a target association matching method, device, vehicle computer, storage medium, computer program product, computer program and vehicle, which can improve the accuracy of association matching.

[0007] In a first aspect, an embodiment of the present disclosure provides a target association matching method, comprising:

[0008] Based on n visual targets detected by the camera, establish n visual coordinate systems, wherein the visual coordinate systems use the installation position of the camera as the coordinate system origin, the line between the coordinate system origin and the visual targets detected by the camera as the vertical axis, and the direction perpendicular to the vertical axis as the horizontal axis;

[0009] Decomposing the positions and velocities of the m laser targets detected by the laser radar into the vertical axis and the horizontal axis of the n visual coordinate systems, respectively, to determine the positions and velocities of the m laser targets on the vertical axis and the positions and velocities of the m laser targets on the horizontal axis in each visual coordinate system;

[0010] Calculating a comprehensive distance between each laser target and each visual target based on the positions and velocities of the m laser targets on the longitudinal axis and the positions and velocities of the m laser targets on the transverse axis to obtain s comprehensive distances, where s is the product of m and n, and s, m, and n are all integers greater than or equal to 1; and

[0011] Based on the s comprehensive distances, the matching results of the m laser targets and the n visual targets are calculated by a Hungarian algorithm solver.

[0012] In a second aspect, an embodiment of the present disclosure provides a target association matching device, including:

[0013] a coordinate system establishment module, configured to establish n visual coordinate systems based on n visual targets detected by the camera, wherein the visual coordinate systems use the installation position of the camera as the coordinate system origin, a line connecting the coordinate system origin and the visual targets detected by the camera as the vertical axis, and a direction perpendicular to the vertical axis as the horizontal axis;

[0014] a decomposition module, configured to decompose the positions and velocities of the m laser targets detected by the laser radar into the longitudinal axis and the transverse axis of the n visual coordinate systems, respectively, to determine the positions and velocities of the m laser targets on the longitudinal axis and the positions and velocities of the m laser targets on the transverse axis in each visual coordinate system;

[0015] a comprehensive distance calculation module, configured to calculate a comprehensive distance between each laser target and each visual target based on the positions and velocities of the m laser targets on the longitudinal axis and the positions and velocities of the m laser targets on the transverse axis, so as to obtain s comprehensive distances, where s is the product of m and n, and s, m, and n are all integers greater than or equal to 1;

[0016] The first matching module is used to calculate the matching results of the m laser targets and the n visual targets based on the s comprehensive distances through a Hungarian algorithm solver.

[0017] In a third aspect, an embodiment of the present disclosure provides a vehicle computer, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the target association matching method described in any embodiment of the first aspect.

[0018] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, comprising: a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the target association matching method described in any embodiment of the first aspect is implemented.

[0019] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the target association matching method described in any embodiment of the first aspect.

[0020] In a sixth aspect, an embodiment of the present disclosure provides a computer program, comprising computer program code, which, when executed on a computer, enables the computer to execute the target association matching method described in any embodiment of the first aspect.

[0021] In a seventh aspect, an embodiment of the present disclosure provides a vehicle, comprising the device described in any embodiment of the second aspect or the vehicle computer described in any embodiment of the third aspect.

[0022] The target association matching method provided by the embodiment of the present disclosure takes into account the vision-based measurement principle. The camera is very accurate in detecting the azimuth angle of the target. According to this feature, a visual coordinate system is established based on the visual target detected by the camera, and the position and speed of the laser target detected by the lidar are decomposed into the visual coordinate system. In this way, the calculated comprehensive distance between each laser target and each visual target is more accurate, and the subsequent matching results of the laser target and the visual target calculated by the Hungarian algorithm solver will also be more accurate, thereby improving the accuracy of the association matching. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0025] FIG1 is a schematic diagram of a flow chart of a target association matching method provided by an embodiment of the present disclosure;

[0026] FIG2A is a schematic diagram of the structure of a visual coordinate system provided by an embodiment of the present disclosure;

[0027] FIG2B is a schematic diagram of a point inside a rectangle provided by an embodiment of the present disclosure;

[0028] FIG3 is a flow chart of another target association matching method provided by an embodiment of the present disclosure;

[0029] FIG4 is a schematic diagram of a target coordinate system provided by an embodiment of the present disclosure;

[0030] FIG5 is a schematic structural diagram of a target association matching device provided by an embodiment of the present disclosure;

[0031] FIG6 is a schematic structural diagram of a vehicle computer provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.

[0033] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0034] In order to solve the above-mentioned problem of inaccurate matching, an embodiment of the present disclosure provides a target association matching method. Taking into account the vision-based measurement principle, the camera is very accurate in detecting the azimuth angle of the target. According to this feature, a visual coordinate system is established based on the visual target detected by the camera, and the position and speed of the laser target detected by the lidar are decomposed into the visual coordinate system. In this way, the calculated comprehensive distance between each laser target and each visual target is more accurate, and the subsequent matching results of the laser target and the visual target calculated by the Hungarian algorithm solver will also be more accurate, thereby improving the accuracy of the association matching.

[0035] The execution subject of the target association matching method provided in the embodiment of the present disclosure can be a target association matching device, a vehicle computer or a vehicle. The target association matching device can be a functional module or functional entity in the vehicle or the vehicle computer that can implement the target association matching method. The vehicle computer can be a vehicle controller or an on-board device.

[0036] FIG1 is a flow chart of a target association matching method provided by an embodiment of the first aspect of the present disclosure. As shown in FIG1 , the target association matching method may include but is not limited to the following steps 101 to 104 .

[0037] 101. Based on n visual targets detected by the camera, establish n visual coordinate systems.

[0038] Among them, the above-mentioned visual target refers to the target detected by the camera. The visual coordinate system uses the installation position of the camera as the origin of the coordinate system, the line between the origin of the coordinate system and the visual target detected by the camera as the vertical axis, and the direction perpendicular to the vertical axis as the horizontal axis. Due to the measurement principle of vision, the camera's azimuth measurement of the target is very accurate. According to this characteristic, the installation position of the camera is used as the origin of the coordinate system, the line between the origin of the coordinate system and the visual target detected by the camera is used as the vertical axis, and the direction perpendicular to the vertical axis is used as the horizontal axis. The horizontal and vertical axes of the n visual coordinate systems can all be in the same plane. Compared with the traditional method of establishing a coordinate system based on the center point of the rear axle of the vehicle as the coordinate origin, more accurate information on the position and speed of the target can be obtained later.

[0039] In some embodiments, the line between the origin of the coordinate system and the visual target detected by the camera may be a line between the origin of the coordinate system and the center point of a circumscribed rectangular frame of the visual target.

[0040] In some embodiments, the line connecting the coordinate system origin and the visual target detected by the camera may be a line connecting the coordinate system origin and any point within the bounding rectangle of the visual target. In some embodiments, the line may be the point within the bounding rectangle of the coordinate system origin and the visual target that is closest to the coordinate system origin, or the line may be the point within the bounding rectangle of the coordinate system origin and the visual target that is farthest from the coordinate system origin.

[0041] FIG2A is a schematic structural diagram of a visual coordinate system provided by an embodiment of the present disclosure.

[0042] As shown in FIG2A , point A in the vehicle is the camera installation location, point A is the coordinate origin of the visual coordinate system, and the vertical axis 21 of the visual coordinate system is determined by the direction from point A to the target 23 . The horizontal axis 22 of the visual coordinate system is perpendicular to the vertical axis 21 .

[0043] In the disclosed embodiment, a corresponding visual coordinate system may be established based on each of the n visual targets, wherein the vertical axis of the visual coordinate system is the parallel direction, and the horizontal axis of the visual coordinate system is the orthogonal direction.

[0044] 102. Decompose the positions and velocities of the m laser targets detected by the laser radar into the vertical axis and horizontal axis of n visual coordinate systems, respectively, to determine the positions and velocities of the m laser targets on the vertical axis and the positions and velocities of the m laser targets on the horizontal axis in each visual coordinate system.

[0045] Among them, the position and speed of each of the m laser targets can be decomposed into the vertical axis and horizontal axis of each of the n visual coordinate systems, so as to determine the position and speed of the m laser targets on the vertical axis and the position and speed on the horizontal axis of each visual coordinate system, that is, there are m positions and m speeds on the vertical axis of each visual coordinate system, and there are m positions and m speeds on the horizontal axis of each visual coordinate system.

[0046] Based on the positions and velocities of the m laser targets on the vertical axis and the positions and velocities of the m laser targets on the horizontal axis, the integrated distance between each laser target and each visual target is calculated to obtain s integrated distances.

[0047] Wherein, s is the product of m and n, and s, m, and n are all integers greater than or equal to 1.

[0048] In some embodiments, m=2, n=2, that is, for 2 laser targets and 2 visual targets, s=4, that is, 4 comprehensive distances will be finally calculated.

[0049] In some embodiments, based on the positions and velocities of the m laser targets on the longitudinal axis and the positions and velocities of the m laser targets on the transverse axis, calculating the integrated distance between each laser target and each visual target to obtain s integrated distances may include but is not limited to the following steps (1) to (4).

[0050] (1) Obtain the positions and velocities of n visual targets on the vertical axis, and the positions and velocities of n visual targets on the horizontal axis.

[0051] Among them, since the direction from the coordinate origin of the visual coordinate system to the visual target is used as the vertical axis in the embodiment of the present disclosure, the position of the visual target on the horizontal axis can be determined based on the distance between the visual target and the coordinate origin, and the position of the visual target on the vertical axis can be 0.

[0052] (2) Based on the positions and velocities of the m laser targets on the vertical axis and the positions and velocities of the n visual targets on the vertical axis, the absolute value of the position difference and the absolute value of the velocity difference of each laser target and each visual target on the vertical axis are calculated respectively to obtain the absolute values ​​of the position differences on the vertical axis and the absolute values ​​of the velocity differences on the vertical axis.

[0053] The absolute value of the position difference on the vertical axis can be expressed as: abs(lidar_parallel_position-camera_parallel_position), where lidar_parallel_position represents the position of the laser target on the vertical axis, and camera_parallel_position represents the position of the visual target on the vertical axis.

[0054] The absolute value of the velocity difference on the vertical axis can be expressed as: abs(lidar_parallel_velocity-camera_parallel_velocity), where lidar_parallel_velocity represents the velocity of the laser target on the vertical axis, and camera_parallel_velocity represents the velocity of the visual target on the vertical axis.

[0055] (3) Based on the positions and velocities of the m laser targets on the horizontal axis and the positions and velocities of the n visual targets on the horizontal axis, the absolute value of the position difference and the absolute value of the velocity difference of each laser target and each visual target on the horizontal axis are calculated respectively to obtain the absolute values ​​of the position differences on the horizontal axis and the absolute values ​​of the velocity differences on the horizontal axis.

[0056] The absolute value of the position difference on the horizontal axis can be expressed as: abs(lidar_orthogonal_position-camera_orthogonal_position), where lidar_orthogonal_position represents the position of the laser target on the horizontal axis, and camera_orthogonal_position represents the position of the visual target on the horizontal axis.

[0057] The absolute value of the velocity difference on the horizontal axis can be expressed as: abs(lidar_orthogonal_velocity-camera_orthogonal_velocity), where lidar_orthogonal_velocity represents the velocity of the laser target on the horizontal axis, and camera_orthogonal_velocity represents the velocity of the visual target on the horizontal axis.

[0058] (4) Determine s integrated distances based on the absolute values ​​of the s position differences on the vertical axes, the absolute values ​​of the s speed differences on the vertical axes, the absolute values ​​of the s position differences on the horizontal axes, and the absolute values ​​of the s speed differences on the horizontal axes.

[0059] In some embodiments, determining the s integrated distances based on the absolute values ​​of the s vertical position differences, the absolute values ​​of the s vertical speed differences, the absolute values ​​of the s horizontal position differences, and the absolute values ​​of the s horizontal speed differences may include, but is not limited to, the following:

[0060] Case 1: In response to the target condition not being satisfied, the i-th integrated distance is determined to be a preset maximum distance value.

[0061] The preset maximum distance value may be 10000. In response to the target condition not being met, it is considered that there may be no association match between the laser target and the visual target. At this time, the value of the i-th integrated distance may be set to the value of the preset maximum distance value, which can facilitate the subsequent calculation of the association match result based on the Hungarian algorithm solver.

[0062] Case 2: In response to meeting the target condition, the absolute value of the position difference on the i-th vertical axis, the speed difference on the i-th vertical axis, and the absolute value of the position difference on the i-th horizontal axis that is less than the vertical position difference threshold are weightedly summed to obtain the i-th comprehensive distance.

[0063] The i-th comprehensive distance is any one of the s comprehensive distances. The above target conditions include but are not limited to the combination of the following conditions:

[0064] Condition 1: The absolute value of the position difference on the i-th vertical axis is less than the parallel position difference threshold;

[0065] Condition 2: The absolute value of the speed difference on the i-th vertical axis is less than the parallel speed difference threshold;

[0066] Condition 3: The absolute value of the position difference on the i-th horizontal axis is less than the vertical position difference threshold;

[0067] Condition 4: The absolute value of the velocity difference on the i-th horizontal axis is less than the vertical velocity difference threshold.

[0068] The absolute value of the position difference on the i-th vertical axis refers to any one of the absolute values ​​of the position differences on the s vertical axes, and the speed difference on the i-th vertical axis refers to any one of the absolute values ​​of the speed differences on the s vertical axes;

[0069] In the disclosed embodiments, the absolute values ​​of the four position differences described above are indicators that can indicate whether the laser target and the visual target are associated. When the absolute values ​​are greater than or equal to the corresponding thresholds (i.e., the parallel position difference threshold, the parallel velocity difference threshold, the vertical position difference threshold, and the vertical velocity difference threshold described above), the likelihood of an associated match between the two targets is low; otherwise, the likelihood of an associated match is high. Therefore, if conditions 1, 2, 3, and 4 are met, the likelihood of an associated match between the laser target and the visual target is considered high.

[0070] The parallel position difference threshold, parallel velocity difference threshold, vertical position difference threshold, and vertical velocity difference threshold are indicators used to measure whether the laser target and the visual target can be correlated and matched. These thresholds can be set primarily based on the measurement error between the sensors (i.e., the lidar and camera), and their specific values ​​can be set in advance.

[0071] In some embodiments, the parallel position difference threshold can be determined based on the product of the position of the laser target on the longitudinal axis and a first proportionality parameter, and the parallel position difference threshold can be limited to a certain allowable range. The first proportionality parameter and the allowable range of the parallel position difference threshold can be set based on actual needs and are not limited in the present embodiment.

[0072] In some embodiments, the first ratio parameter is 20%, and the allowable range of the parallel position difference threshold is between 4 and 30. If the calculated value of 20% of the laser target's position on the longitudinal axis is between 4 and 30, the calculated value is used as the threshold. If the calculated value is below the lower limit of 4, the value 4 is used as the threshold. If the calculated value exceeds the upper limit of 30, the value 30 is used as the threshold. This is done to prevent the threshold from being too small at close range and too large at long distances.

[0073] In some embodiments, parallel_position_threshold=0.2*lidar_parallel_position, wherein the allowable range of 0.2*lidar_parallel_position is between 4 and 30, parallel_position_threshold represents a parallel position difference threshold, and lidar_parallel_position represents the position of the laser target on the longitudinal axis.

[0074] In some embodiments, the parallel velocity difference threshold can be determined based on the product of the laser target's velocity on the longitudinal axis and a second proportional parameter, and the parallel velocity difference threshold can be limited to a certain allowable range. The second proportional parameter and the allowable range of the parallel velocity difference threshold can be set based on actual needs and are not limited in the present embodiment.

[0075] In some embodiments, the second proportional parameter is 10%, and the allowable range of the parallel speed difference threshold is between 5 and 15. If the calculated result of 10% of the speed of the laser target on the longitudinal axis is between 5 and 15, the calculated result is used as the threshold. If the calculated result is lower than the lower limit of 5, the value of 5 is used as the threshold. If the calculated result exceeds the upper limit of 15, the value of 15 is used as the threshold. This prevents the speed threshold from being too small or too large.

[0076] In some embodiments, parallel_velocity_threshold=0.1*lidar_parallel_velocity; wherein the allowable range of 0.1*lidar_parallel_velocity is between 5 and 15, parallel_velocity_threshold represents the parallel velocity difference threshold, and lidar_parallel_velocity represents the velocity of the laser target on the longitudinal axis.

[0077] In some embodiments, the vertical position difference threshold can be determined based on the product of the position of the laser target on the longitudinal axis and a third proportional parameter, and the vertical position difference threshold can be limited to a certain allowable range. The third proportional parameter and the allowable range of the vertical position difference threshold can be set according to actual needs and are not limited in the present embodiment.

[0078] In some embodiments, the third ratio parameter is 2.6%, and the allowable range of the vertical position difference threshold can be between 1.5 and 3.0. In response to a calculation result of 2.6% of the position of the laser target on the vertical axis, the value between 1.5 and 3.0 is used as the threshold. In response to the calculation result being lower than the lower limit of 1.5, the value 1.5 is used as the threshold. In response to the calculation result being higher than the upper limit of 3.0, the value 3.0 is used as the threshold. This prevents the position threshold from being too small or too large.

[0079] In some embodiments, orthogonal_position_threshold=0.026*lidar_parallel_position, wherein the allowable range of 0.026*lidar_parallel_position is between 1.5 and 3.0, orthogonal_position_threshold represents a vertical position difference threshold, and lidar_parallel_position represents a speed of the laser target on the longitudinal axis.

[0080] Since the detection on the horizontal axis is usually more accurate when detecting the azimuth angle, and the relative accuracy on the vertical axis is lower, the third scale parameter can be set smaller than the first scale parameter, and the allowable range of the vertical position difference threshold can be smaller than the allowable range of the parallel position difference threshold.

[0081] In some embodiments, the vertical velocity difference threshold can be set to a fixed threshold, which can be determined according to actual needs and is not limited in the embodiments of the present disclosure. In some embodiments, the vertical velocity difference threshold can be set to 3, orthogonal_velocity_threshold=3.0, where orthogonal_velocity_threshold represents the vertical velocity difference threshold.

[0082] In response to at least one of the above conditions 1 to 4 not being met, it is considered that the target condition is not met; in response to all of the above conditions 1 to 4 being met, it is considered that the target condition is met.

[0083] The above-mentioned weighted summation of the absolute value of the position difference on the i-th vertical axis, the speed difference on the i-th vertical axis, and the absolute value of the position difference on the i-th horizontal axis less than the vertical position difference threshold is performed to obtain the i-th comprehensive distance, which can be achieved based on the following formula (1):

[0084] distance=0.3*delta_parallel_position+0.6*delta_orthogonal_position+0.1*delta_parallel_velocity;

[0085] Among them, distance represents the comprehensive distance, delta_parallel_position represents the absolute value of the position difference on the i-th vertical axis; delta_orthogonal_position represents the absolute value of the position difference on the i-th horizontal axis; delta_parallel_velocity represents the absolute value of the velocity difference on the i-th vertical axis.

[0086] When calculating the i-th integrated distance, the weights corresponding to delta_parallel_position, delta_orthogonal_position, and delta_parallel_velocity may be set according to actual conditions, and are not limited in the embodiments of the present disclosure.

[0087] In the above formula (1), the weight corresponding to delta_parallel_position is 0.3, the weight corresponding to delta_orthogonal_position is 0.6, and the weight corresponding to delta_parallel_velocity is 0.1. These weights are set based on the importance of these quantities in practice. Usually, the corresponding parameters on the horizontal axis are more important, so the weight of the parameters on the horizontal axis is set relatively large compared to the parameters on the vertical axis. And for the absolute value of the speed difference, since the vertical axis is more important, the absolute value of the speed difference on the vertical axis accounts for a larger proportion than the absolute value of the speed difference on the horizontal axis. Therefore, the weight of the absolute value of the speed difference on the vertical axis can be set greater than the weight of the absolute value of the speed difference on the horizontal axis, or the weight of the absolute value of the speed difference on the horizontal axis can be set to 0, as shown in the above formula (1).

[0088] 104. Based on s comprehensive distances, the matching results of m laser targets and n visual targets are calculated through the Hungarian algorithm solver.

[0089] Among them, the s comprehensive distances between m laser targets and n visual targets can be stored in an m×n matrix, and the matrix is ​​used as input to the Hungarian algorithm (Hungarian) solver. Finally, the Hungarian solver will calculate a matching result that satisfies the maximum number of associated matches and the minimum overall comprehensive distance, and determine the matching relationship between the laser targets and the visual targets from the matching results.

[0090] The target association matching method provided by the embodiment of the present disclosure takes into account the vision-based measurement principle. The camera is very accurate in detecting the azimuth angle of the target. According to this feature, a visual coordinate system is established based on the visual target detected by the camera, and the position and speed of the laser target detected by the lidar are decomposed into the visual coordinate system. In this way, the calculated comprehensive distance between each laser target and each visual target is more accurate, and the subsequent matching results of the laser target and the visual target calculated by the Hungarian algorithm solver will also be more accurate, thereby improving the accuracy of the association matching.

[0091] In some embodiments, in close-range scenarios or at the boundaries of the Lidar's FOV, the Lidar may only be able to observe a portion of the laser target, resulting in inaccurate rectangular frame information for the measured laser target. In this case, the target association matching method provided by steps 101 to 104 above will fail to successfully associate due to excessively large parallel or orthogonal position differences. Therefore, when executing the target association matching method provided by steps 101 to 104 above, it can be performed when the distance between the Lidar and the m laser targets is greater than or equal to a preset distance, and / or the m laser targets are within the non-boundary range of the Lidar's FOV. That is, establishing n visual coordinate systems based on the n visual targets detected by the camera can include: establishing n visual coordinate systems based on the n visual targets detected by the camera in response to the distance between the Lidar and the m laser targets being greater than or equal to a preset distance, and / or the m laser targets being within the non-boundary range of the Lidar's FOV.

[0092] In some embodiments, in response to the distance between the laser radar and the m laser targets being less than a preset distance, and / or the m laser targets being within the FOV boundary of the laser radar, the following target association matching method can be used, including but not limited to the following steps (a) to (e).

[0093] (a) Determine the rectangular boxes of n visual targets and the rectangular boxes of m laser targets.

[0094] (b) Calculate the overlapping area of ​​any visual target rectangle and any laser target rectangle.

[0095] Wherein, any visual target rectangular frame is a rectangular frame of any visual target among the rectangular frames of n visual targets; and any laser target rectangular frame is a rectangular frame of any laser target among the rectangular frames of m laser targets.

[0096] In some embodiments, calculating the overlapping area of ​​any visual target rectangular frame and any laser target rectangular frame may include the following steps 1 to 3.

[0097] 1. Determine the intersection of all borders of any visual target rectangle and any laser target rectangle;

[0098] The following method can be used to find the focus of a line segment: any line segment ab in the visual target rectangle (i.e., a line segment formed by one of the sides of the rectangle) can be expressed as L1 = a + t(ba). Similarly, any line segment cd in the laser target rectangle (i.e., a line segment formed by one of the sides of the rectangle) can be expressed as L2 = c + u(dc). When ab and cd intersect, L1 = L2, and a + t(ba) = c + u(dc). Cross-producting (dc) both sides of the equation can be used to find the value of t, and substituting it into the equation can be used to find the value of u. If t and u both satisfy [0,1], it means that the two line segments have an intersection. Substituting t or u can be used to find the coordinates of the intersection. This method can be used to find all the intersections of the eight line segments in the two rectangles.

[0099] 2. Determine the first vertex of any laser target rectangular frame within any visual target rectangular frame and the second vertex of any visual target rectangular frame within any laser target rectangular frame.

[0100] Since the rectangular box is a convex hull, when a point falls inside the convex hull, the right-hand rule has the following properties: the four points of the rectangular box are judged in a clockwise or counterclockwise order, and the cross product of the current point and the judgment point vector and the current point and the next point clockwise (counterclockwise) is positive or negative. Based on this property, all vertices that fall inside the box are found.

[0101] Figure 2B is a schematic diagram of a point inside a rectangle provided by an embodiment of the present disclosure. As shown in Figure 2B, point P is inside a rectangle formed by four vertices: point A, point B, point C, and point D. When determining that the point is point P, in Figure 2B, when the current points are point A, point B, point C, and point D, the corresponding vectors can be calculated. With vector The product of the vector cross product between With vector The product of the vector cross product between With vector The cross product of the vectors between With vector The product of the vector cross products between them is positive or negative, so we can determine that point P is inside the rectangle formed by the four vertices of point A, point B, point C and point D.

[0102] 3. Delete duplicate points from the intersection points, first vertices, and second vertices of all bounding boxes to obtain the remaining points; the area of ​​the polygon formed by connecting the remaining points is determined as the area of ​​the overlapping area.

[0103] Remove the duplicate points from all the points found in steps 1 and 2. The polygon formed by these points is the overlapping region. To find the area of ​​this overlapping region, divide it into triangles, use the vector cross product to find the area of ​​the triangles, and then find the sum of the areas of the polygons.

[0104] (c) Calculate the ratio of the area of ​​the overlapping region to the area of ​​the third rectangular frame.

[0105] The third rectangular frame is a rectangular frame with a smaller area among any visual target rectangular frame and any laser target rectangular frame.

[0106] (d) In response to the ratio being less than a preset value, determining that the association matching between the visual target corresponding to any visual target rectangular frame and the laser target corresponding to any laser target rectangular frame fails.

[0107] (e) In response to the ratio being greater than or equal to a preset value, determining that the visual target corresponding to any visual target rectangular frame and the laser target corresponding to any laser target rectangular frame are successfully associated and matched.

[0108] In the embodiment of the present disclosure, the smaller ratio of the overlapping area to the area of ​​the two rectangular frames is used as a criterion for judging whether the visual target and the laser target are associated and matched.

[0109] The above preset value can be set according to actual conditions and is not limited in the embodiments of the present disclosure. In some embodiments, the preset value can be 0.3 or other values.

[0110] In close-range scenarios or at the boundaries of the Lidar's FOV, the Lidar may only be able to observe a portion of the laser target, resulting in inaccurate rectangular frame information of the measured laser target. In this case, the target association matching method provided by steps 101 to 104 above will fail to successfully associate due to the large position difference of the parallel or orthogonal positions. Therefore, when executing the target association matching method provided by steps 101 to 104 above, it can be performed when the distance between the Lidar and the m laser targets is greater than or equal to the preset distance, and / or the m laser targets are within the non-boundary range of the Lidar's FOV. In close-range scenarios or at the boundaries of the Lidar's FOV, the target association matching method of steps (a) to (e) above can be used.

[0111] In some scenarios, it is also possible to first perform association matching using the target association matching method of steps (a) to (e) above for close-range scenarios or at the FOV boundary of the Lidar, and then perform association matching based on the target association matching method provided in steps 101 to 104 above.

[0112] In the above embodiment, different association matching algorithms are used according to different situations, which can improve the success rate of association matching.

[0113] Obstacle matching involves associating and matching targets detected by Lidar (also called Lidar targets) with targets detected by millimeter-wave radar (also called Radar targets). Typically, when associating Lidar and Radar targets, a coordinate system is established using the center of the vehicle's rear axle as the origin for position and velocity matching. Furthermore, this associative matching requires setting corresponding association thresholds for both velocity and position. Consequently, current associative matching methods are inaccurate and complex.

[0114] The current correlation matching method suffers from low accuracy, primarily due to a high incidence of mismatches when Lidar and Radar targets are more than 60 meters away from the vehicle. Furthermore, the accuracy and success rate of correlation matching cannot be balanced when Lidar and Radar targets cross each other or make sharp turns.

[0115] FIG3 is a flow chart of another target association matching method provided by an embodiment of the first aspect of the present disclosure. As shown in FIG3, the method includes the following steps 301 to 305. In some embodiments, the execution subject of the method can be a target association matching device, a vehicle computer, or a vehicle. The target association matching device can be a functional module or functional entity in the vehicle or vehicle computer that can implement the target association matching method. The vehicle computer can be a vehicle controller or on-board device.

[0116] 301. Determine a rectangular frame of any laser target among a laser targets, where a laser target is a target detected by a laser radar.

[0117] The laser target is a target detected by the laser radar. The laser radar that collects a laser targets here is the same laser radar that collected s laser targets previously. There may be different targets in the a laser target and the s laser targets.

[0118] 302. Establish a target coordinate system with the center point of the rectangular frame of any laser target as the coordinate origin, the direction of the line connecting the coordinate origin and the center point of the front frame of the rectangular frame of any laser target as the vertical axis, and the direction of the line connecting the coordinate origin and the center point of the left frame of the rectangular frame of any laser target as the horizontal axis.

[0119] FIG4 is a schematic diagram of a target coordinate system provided by an embodiment of the present disclosure.

[0120] As shown in FIG4 , the rectangular frame 41 is the rectangular frame of the laser target. The target coordinate system uses the center point 0 of the rectangular frame 41 as the coordinate origin, and the direction of the line connecting the center point O and the center point Y of the front frame of the rectangular frame 41 is the vertical axis, that is, the vertical axis 42 shown in FIG4 , and the direction of the line connecting the center point O and the center point X of the left frame of the rectangular frame 41 is the horizontal axis, that is, the horizontal axis 43 shown in FIG4 .

[0121] 303. Convert the position and velocity of any millimeter wave target among the b millimeter wave targets into the target coordinate system. The b laser targets are targets detected by the laser radar.

[0122] The millimeter wave target is a target detected by the millimeter wave radar.

[0123] 304. In response to the position of any millimeter wave target being within the rectangular frame of any laser target, and the absolute value of the speed difference between the speed of any millimeter wave target and the speed of any laser target being greater than or equal to a speed association threshold, the distance between the coordinate origin and the rear axle center point of the rectangular frame of any laser target is determined as the matching distance between the any laser target and the any millimeter wave target.

[0124] After executing steps 301 to 304 above for each laser target and each millimeter wave target, c matching distances can be obtained, where c is the product of a and b, and a, b, and c are all integers greater than or equal to 1.

[0125] Based on c matching distances, the matching results of a laser target and b millimeter wave targets are calculated by the Hungarian algorithm solver.

[0126] Among them, the c matching distances between a laser target and b millimeter wave targets can be stored in an a×b matrix, and the matrix is ​​used as input to the Hungarian algorithm (Hungarian solver). Finally, the Hungarian solver will calculate a matching result that satisfies the maximum number of associated matches and the minimum overall matching distance.

[0127] The target association matching method provided by the embodiments of the present disclosure has relatively high position and speed measurement accuracy for both Lidar and Radar due to their principles of distance and speed measurement. Therefore, the Radar target is converted to a target coordinate system with the center point of the Lidar frame as the coordinate origin, the direction of the line connecting the center point and the center point of the front frame as the vertical axis, and the direction of the line connecting the center point and the center point of the left frame as the horizontal axis. This not only ensures the accuracy of the matching, but also, since there is no need to set an association threshold for the position later, the matching distance can be determined based on whether the Radar target falls within the Lidar rectangular frame as the association judgment condition, thereby reducing the complexity of the association matching process.

[0128] In some embodiments, after obtaining the matching results of a laser target and b millimeter wave targets, and obtaining the matching results of m laser targets and n visual targets, the final matching result can be determined based on the matching results of a laser target and b millimeter wave targets, and the matching results of m laser targets and n visual targets. In this way, the three types of targets (laser targets, millimeter wave targets, and millimeter wave targets) can be integrated for correlation matching, thereby achieving correlation matching for multiple channels of information and obtaining more accurate obstacle detection results.

[0129] FIG5 is a schematic structural diagram of a target association matching device provided in an embodiment of the second aspect of the present disclosure.

[0130] As shown in FIG5 , the target association matching device includes:

[0131] A coordinate system establishing module 501 is configured to establish n visual coordinate systems based on n visual targets detected by the camera, wherein the visual coordinate system uses the installation position of the camera as the coordinate system origin, a line connecting the coordinate system origin and the visual targets detected by the camera as the vertical axis, and a direction perpendicular to the vertical axis as the horizontal axis;

[0132] a decomposition module 502 for decomposing the positions and velocities of the m laser targets detected by the laser radar into the vertical axis and the horizontal axis of the n visual coordinate systems, respectively, to determine the positions and velocities of the m laser targets on the vertical axis and the positions and velocities of the m laser targets on the horizontal axis in each visual coordinate system;

[0133] a comprehensive distance calculation module 503 for calculating the comprehensive distance between each laser target and each visual target based on the positions and velocities of the m laser targets on the vertical axis and the positions and velocities of the m laser targets on the horizontal axis to obtain s comprehensive distances, where s is the product of m and n, and s, m, and n are all integers greater than or equal to 1; and

[0134] The first matching module 504 is configured to calculate, based on the s comprehensive distances, a matching result between the m laser targets and the n visual targets using a Hungarian algorithm solver.

[0135] In some embodiments, the comprehensive distance calculation module 503 is specifically configured to:

[0136] Acquire the positions and velocities of the n visual targets on the vertical axis, and the positions and velocities of the n visual targets on the horizontal axis;

[0137] Based on the positions and velocities of the m laser targets on the longitudinal axis and the positions and velocities of the n visual targets on the longitudinal axis, respectively calculating the absolute value of the position difference and the absolute value of the velocity difference of each laser target and each visual target on the longitudinal axis to obtain the absolute values ​​of the position differences on the s longitudinal axes and the absolute values ​​of the velocity differences on the s longitudinal axes;

[0138] Based on the positions and velocities of the m laser targets on the horizontal axis and the positions and velocities of the n visual targets on the horizontal axis, respectively calculating the absolute value of the position difference and the absolute value of the velocity difference of each laser target and each visual target on the horizontal axis to obtain s absolute values ​​of the position difference on the horizontal axis and s absolute values ​​of the velocity difference on the horizontal axis; and

[0139] The s integrated distances are determined based on the absolute values ​​of the s position differences on the vertical axes, the absolute values ​​of the s speed differences on the vertical axes, the absolute values ​​of the s position differences on the horizontal axes, and the absolute values ​​of the s speed differences on the horizontal axes.

[0140] In some embodiments, the comprehensive distance calculation module 503 is specifically configured to: determine the s comprehensive distances based on the absolute values ​​of the position differences on the s vertical axes, the absolute values ​​of the speed differences on the s vertical axes, the absolute values ​​of the position differences on the s horizontal axes, and the absolute values ​​of the speed differences on the s horizontal axes, including:

[0141] In response to the target condition not being met, determining the i-th integrated distance as a preset maximum distance value, the i-th integrated distance being any one of the s integrated distances;

[0142] The target conditions include: the absolute value of the position difference on the i-th vertical axis is less than the parallel position difference threshold, the absolute value of the speed difference on the i-th vertical axis is less than the parallel speed difference threshold, the absolute value of the position difference on the i-th horizontal axis is less than the vertical position difference threshold, and the absolute value of the speed difference on the i-th horizontal axis is less than the vertical speed difference threshold;

[0143] In response to satisfying the target condition, a weighted sum is performed on the absolute value of the position difference on the i-th vertical axis, the speed difference on the i-th vertical axis, and the absolute value of the position difference on the i-th horizontal axis that is less than the vertical position difference threshold to obtain the i-th comprehensive distance.

[0144] In some embodiments, the coordinate system establishment module 501 is specifically configured to:

[0145] The establishing of n visual coordinate systems based on the n visual targets detected by the camera includes: in response to the distance between the laser radar and the m laser targets being greater than or equal to a preset distance, and / or the m laser targets being within the non-boundary range of the FOV of the laser radar, establishing n visual coordinate systems based on the n visual targets detected by the camera.

[0146] In some embodiments, the apparatus further includes: a second matching module 505, configured to:

[0147] In response to the distance between the laser radar and the m laser targets being less than a preset distance, and / or the m laser targets being within a FOV boundary of the laser radar, determining a rectangular frame of the n visual targets and a rectangular frame of the m laser targets;

[0148] Calculate the overlapping area of ​​any visual target rectangle and any laser target rectangle;

[0149] Calculating a ratio of the area of ​​the overlapping region to the area of ​​a third rectangular frame, where the third rectangular frame is a smaller rectangular frame between any one of the visual target rectangular frames and any one of the laser target rectangular frames;

[0150] In response to the ratio being less than a preset value, determining that the visual target corresponding to any visual target rectangular frame and the laser target corresponding to any laser target rectangular frame have failed to be associated and matched;

[0151] In response to the ratio being greater than or equal to a preset value, it is determined that the visual target corresponding to any visual target rectangular frame and the laser target corresponding to any laser target rectangular frame are successfully associated and matched.

[0152] In some embodiments, the second matching module 505 is specifically configured to:

[0153] Determine the intersection points of all frames of any visual target rectangular frame and any laser target rectangular frame;

[0154] Determining a first vertex of any laser target rectangular frame within any visual target rectangular frame and a second vertex of any visual target rectangular frame within any laser target rectangular frame;

[0155] Deleting duplicate points from the intersection points of all the bounding boxes, the first vertex, and the second vertex to obtain remaining points; and

[0156] The area of ​​the polygon formed by connecting the remaining points is determined as the area of ​​the overlapping region.

[0157] In some embodiments, the apparatus further includes a fusion module 506 configured to:

[0158] Obtain matching results of a laser target and b millimeter wave targets, where a and b are both integers greater than or equal to 1, the a laser target is a target detected by the laser radar, and the b millimeter wave targets are targets detected by the millimeter wave radar;

[0159] After obtaining the matching results of the m laser targets and the n visual targets by calculating the Hungarian algorithm solver based on the s comprehensive distances, the method further includes:

[0160] A final matching result is determined based on the matching results of the a laser targets and the b millimeter wave targets and the matching results of the m laser targets and the n visual targets.

[0161] In some embodiments, the fusion module 506 is specifically configured to:

[0162] Step 1: Determine the rectangular frame of any laser target detected by the laser radar;

[0163] Step 2: Establish a target coordinate system with the center point of the rectangular frame of any laser target as the coordinate origin, the direction of the line connecting the coordinate origin and the center point of the front frame of the rectangular frame of any laser target as the vertical axis, and the direction of the line connecting the coordinate origin and the center point of the left frame of the rectangular frame of any laser target as the horizontal axis;

[0164] Step 3: Convert the position and velocity of any millimeter wave target into the target coordinate system;

[0165] Step 4: In response to the position of any millimeter-wave target being within the rectangular frame of any laser target, and the absolute value of the speed difference between the speed of any millimeter-wave target and the speed of any laser target being greater than or equal to a speed association threshold, the distance between the coordinate origin and the rear axle center point of the rectangular frame of any laser target is determined as the matching distance between the any laser target and the any millimeter-wave target;

[0166] Perform steps 1 to 4 above for each laser target and each millimeter wave target to obtain c integrated distances, where c is the product of a and b;

[0167] Based on the c matching distances, the matching results of the a laser targets and the b millimeter wave targets are calculated using a Hungarian algorithm solver.

[0168] FIG6 is a schematic structural diagram of a vehicle computer provided in an embodiment of the third aspect of the present disclosure.

[0169] As shown in FIG6 , an embodiment of the present disclosure provides an in-vehicle computer, comprising: a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601. When executed by the processor 601, the computer program implements the various processes of the target association matching method described in any of the embodiments of the first aspect. The same technical effects can be achieved, and to avoid repetition, they are not further described here.

[0170] The embodiment of the present disclosure further provides a vehicle, which may include the target association matching device as shown in FIG5 , or may include the vehicle computer as shown in FIG6 .

[0171] The fourth aspect embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the target association matching method described in any embodiment of the first aspect above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0172] The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0173] The fifth aspect embodiment of the present disclosure provides a computer program product, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the target association matching method described in any embodiment of the first aspect above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0174] The sixth aspect embodiment of the present disclosure provides a computer program, including computer program code. When the computer program code is run on a computer, the computer executes the target association matching method described in any embodiment of the first aspect above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0175] The seventh aspect embodiment of the present disclosure provides a vehicle, including the target association matching device described in any embodiment of the second aspect or the vehicle computer described in any embodiment of the third aspect, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0176] It should be noted that the explanations of the target association matching method and device in the aforementioned embodiments are also applicable to the vehicle computer, computer-readable storage medium, computer program product, computer program and vehicle in the embodiments of the present disclosure, and will not be repeated here.

[0177] All embodiments of the present disclosure may be implemented individually or in combination with other embodiments, and are all considered to be within the scope of protection claimed by the present disclosure.

[0178] Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as methods, apparatuses, vehicle computers, storage media, computer program products, computer programs, or vehicles. Thus, the present disclosure may take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media containing computer-usable program code.

[0179] In the present disclosure, a processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (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.

[0180] In this disclosure, memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0181] In the present disclosure, computer-readable media includes permanent and non-permanent, removable and non-removable storage media. Storage media can be implemented by any method or technology to store information, and the information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0182] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0183] The above are merely specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these embodiments, but is to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A target association matching method, comprising: Based on the n visual targets detected by the camera, n visual coordinate systems are established, wherein the visual coordinate system uses the installation position of the camera as the origin of the coordinate system, the line between the origin of the coordinate system and the visual target detected by the camera as the vertical axis, and the direction perpendicular to the vertical axis as the horizontal axis; Decomposing the positions and velocities of the m laser targets detected by the laser radar into the longitudinal axis and the transverse axis of the n visual coordinate systems, respectively, to determine the positions and velocities of the m laser targets on the longitudinal axis and the positions and velocities of the m laser targets on the transverse axis in each visual coordinate system; Based on the positions and velocities of the m laser targets on the longitudinal axis and the positions and velocities of the m laser targets on the transverse axis, calculate the integrated distance between each laser target and each visual target to obtain s integrated distances, where s is the product of m and n, and s, m and n are all integers greater than or equal to 1; and Based on the s comprehensive distances, the matching results of the m laser targets and the n visual targets are calculated by the Hungarian algorithm solver.

2. The method according to claim 1, wherein the calculating the integrated distance between each laser target and each visual target based on the positions and speeds of the m laser targets on the longitudinal axis and the positions and speeds of the m laser targets on the transverse axis to obtain s integrated distances comprises: Acquire the positions and velocities of the n visual targets on the vertical axis, and the positions and velocities of the n visual targets on the horizontal axis; Based on the positions and velocities of the m laser targets on the longitudinal axis and the positions and velocities of the n visual targets on the longitudinal axis, respectively calculating the absolute value of the position difference and the absolute value of the velocity difference of each laser target and each visual target on the longitudinal axis to obtain the absolute values ​​of the position differences on the s longitudinal axes and the absolute values ​​of the velocity differences on the s longitudinal axes; Based on the positions and velocities of the m laser targets on the horizontal axis and the positions and velocities of the n visual targets on the horizontal axis, respectively, the absolute value of the position difference and the absolute value of the velocity difference of each laser target and each visual target on the horizontal axis are calculated to obtain the absolute values ​​of the position differences on the s horizontal axes and the absolute values ​​of the velocity differences on the s horizontal axes; and The s comprehensive distances are determined based on the absolute values ​​of the position differences on the s vertical axes, the absolute values ​​of the speed differences on the s vertical axes, the absolute values ​​of the position differences on the s horizontal axes, and the absolute values ​​of the speed differences on the s horizontal axes.

3. The method according to claim 2, wherein the determining the s integrated distances based on the absolute values ​​of the position differences on the s longitudinal axes, the absolute values ​​of the speed differences on the s longitudinal axes, the absolute values ​​of the position differences on the s transverse axes, and the absolute values ​​of the speed differences on the s transverse axes comprises: In response to not meeting the target condition, determining an i-th integrated distance as a preset maximum distance value, the i-th integrated distance being any one of the s integrated distances; The target conditions include: the absolute value of the position difference on the i-th vertical axis is less than the parallel position difference threshold, the absolute value of the speed difference on the i-th vertical axis is less than the parallel speed difference threshold, the absolute value of the position difference on the i-th horizontal axis is less than the vertical position difference threshold, and the absolute value of the speed difference on the i-th horizontal axis is less than the vertical speed difference threshold; In response to satisfying the target condition, a weighted sum is performed on the absolute value of the position difference on the i-th vertical axis, the speed difference on the i-th vertical axis, and the absolute value of the position difference on the i-th horizontal axis that is less than a vertical position difference threshold to obtain the i-th comprehensive distance.

4. The method according to any one of claims 1 to 3, wherein the step of establishing n visual coordinate systems based on n visual targets detected by the camera comprises: In response to the distance between the laser radar and the m laser targets being greater than or equal to a preset distance, and / or the m laser targets being within a non-boundary range of the FOV of the laser radar, n visual coordinate systems are established based on the n visual targets detected by the camera.

5. The method according to any one of claims 1 to 3, wherein the method further comprises: In response to the distance between the laser radar and the m laser targets being less than a preset distance, and / or the m laser targets being within a FOV boundary of the laser radar, determining a rectangular frame of the n visual targets and a rectangular frame of the m laser targets; Calculate the overlapping area of ​​any visual target rectangular frame and any laser target rectangular frame; Calculating a ratio of the area of ​​the overlapping region to the area of ​​a third rectangular frame, wherein the third rectangular frame is a rectangular frame with a smaller area between any one of the visual target rectangular frames and any one of the laser target rectangular frames; In response to the ratio being less than a preset value, determining that the visual target corresponding to any one of the visual target rectangular frames and the laser target corresponding to any one of the laser target rectangular frames fail to be associated and matched; In response to the ratio being greater than or equal to a preset value, it is determined that the visual target corresponding to any one of the visual target rectangular frames and the laser target corresponding to any one of the laser target rectangular frames are successfully associated and matched.

6. The method according to claim 5, wherein the calculating the overlapping area of ​​any visual target rectangular frame and any laser target rectangular frame comprises: Determine the intersection points of all frames of any visual target rectangular frame and any laser target rectangular frame; Determine a first vertex of any laser target rectangular frame within any visual target rectangular frame and a second vertex of any visual target rectangular frame within any laser target rectangular frame; Deleting duplicate points from the intersection points of all the borders, the first vertex, and the second vertex to obtain remaining points; and The area of ​​the polygon formed by connecting the remaining points is determined as the area of ​​the overlapping region.

7. The method according to any one of claims 1 to 6, wherein the method further comprises: Obtain matching results of a laser targets and b millimeter wave targets, where a and b are both integers greater than or equal to 1, the a laser targets are targets detected by the laser radar, and the b millimeter wave targets are targets detected by the millimeter wave radar; and After the matching results of the m laser targets and the n visual targets are calculated based on the s comprehensive distances by using the Hungarian algorithm solver, the method further includes: Based on the matching results of the a laser targets and the b millimeter wave targets and the matching results of the m laser targets and the n visual targets, a final matching result is determined.

8. The method according to claim 7, wherein obtaining the matching results of a laser targets and b millimeter wave targets comprises: Step 1: Determine the rectangular frame of any laser target detected by the laser radar; Step 2: Establish a target coordinate system with the center point of the rectangular frame of any laser target as the coordinate origin, the direction of the line connecting the coordinate origin and the center point of the front frame of the rectangular frame of any laser target as the vertical axis, and the direction of the line connecting the coordinate origin and the center point of the left frame of the rectangular frame of any laser target as the horizontal axis; Step 3: Convert the position and velocity of any millimeter wave target into the target coordinate system; Step 4: In response to the position of any millimeter wave target being within the rectangular frame of any laser target, and the absolute value of the speed difference between any millimeter wave target and any laser target being greater than or equal to a speed association threshold, the distance between the coordinate origin and the rear axle center point of the rectangular frame of any laser target is determined as the matching distance between any laser target and any millimeter wave target; Perform the above steps 1 to 4 for each laser target and each millimeter wave target to obtain c matching distances, where c is the product of a and b; Based on the c matching distances, the matching results of the a laser targets and the b millimeter wave targets are calculated by a Hungarian algorithm solver.

9. A target association matching device, comprising: A coordinate system establishment module, used to establish n visual coordinate systems based on the n visual targets detected by the camera, wherein the visual coordinate system uses the installation position of the camera as the origin of the coordinate system, uses the line between the origin of the coordinate system and the visual target detected by the camera as the vertical axis, and uses the direction perpendicular to the vertical axis as the horizontal axis; A decomposition module, used for decomposing the positions and velocities of the m laser targets detected by the laser radar into the longitudinal axis and the transverse axis of the n visual coordinate systems, respectively, so as to determine the positions and velocities of the m laser targets on the longitudinal axis and the positions and velocities of the m laser targets on the transverse axis in each visual coordinate system; The integrated distance calculation module is used to calculate the distance between the m laser targets based on their positions and speeds on the longitudinal axis. The invention relates to a method for calculating the positions and speeds of the m laser targets on the horizontal axis, calculating the comprehensive distance between each laser target and each visual target to obtain s comprehensive distances, where s is the product of m and n, and s, m and n are all integers greater than or equal to 1; and a first matching module, which is used to calculate the matching results of the m laser targets and the n visual targets based on the s comprehensive distances through a Hungarian algorithm solver.

10. A vehicle computer, comprising: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the target association matching method according to any one of claims 1 to 8.

11. A computer-readable storage medium, comprising: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the target association matching method according to any one of claims 1 to 8 is implemented. 12 . A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the target association matching method according to claim 1 .

13. A computer program, comprising computer program codes, which, when executed on a computer, enable the computer to execute the target association matching method according to any one of claims 1 to 8.

14. A vehicle, comprising the device according to claim 9 or the vehicle computer according to claim 10.

Citation Information

Patent Citations

  • Obstacle detection method and device, electronic equipment and storage medium

    CN112528771A

  • Vehicle detection and tracking method based on radar signal and visual fusion

    CN112991391A

  • Road target detection and association method based on millimeter wave radar and vision

    CN114200442A

  • 3D real-time multi-target tracking method based on fusion of camera and laser radar

    CN114332158A

  • Port hull identification method based on machine vision and radar

    CN114332784A

Cited By

  • Target association method, electronic equipment and computer readable storage medium

    CN118939435A

  • Rocket operation site safety monitoring management system and management method

    CN119316931A

  • Multi-mode indoor positioning method fusing radio frequency and machine vision

    CN120593748A