A three-dimensional target detection method, device, equipment and medium for a radar-vision integrated machine
By calculating the intersection ratio between traffic participants in the area of interest of multiple Thundervision all-in-one machines, the problem of the same traffic participant being identified multiple times is solved, achieving more accurate three-dimensional target detection, and improving the performance of the Thundervision all-in-one machine recognition accuracy.
Patent Information
- Application Number
- CN202410994674.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-24
Smart Images

Figure CN118521978B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a three-dimensional target detection method, device, equipment and medium of a radar-vision integrated machine. Background Art
[0002] Autonomous driving has corresponding requirements for both real-time beyond-visual-range and in-field perception, including vehicles, pedestrians, electric vehicles, tricycles and other traffic participants on open roads in cities. Currently, millimeter-wave radar has the advantages of low cost, high data quality, and the ability to express three-dimensional physical information of objects, but single-mode radar-based three-dimensional target detection algorithms are difficult to break through the performance ceiling of radar detection algorithms. Therefore, the fusion of radar and other sensors (such as cameras) is crucial to achieve safe driving in the field of autonomous driving.
[0003] The radar-visual integrated machine realizes the fusion application of radar and other sensors. Often, multiple radar-visual integrated machines need to be set up on the target road section to ensure the perception requirements for sections in different directions. Because each radar-visual integrated machine has a different field of view perception range, the position of the same traffic participant in different radar-visual integrated machines may be different, so that in the common perception area of multiple radar-visual integrated machines, the same traffic participant has multiple detection results corresponding to the radar-visual integrated machines, which affects the accurate identification of traffic participants by the radar-visual integrated machine. Therefore, a more efficient and accurate three-dimensional target detection solution for the radar-visual integrated machine is urgently needed. Summary of the invention
[0004] In view of this, the present invention provides a three-dimensional target detection method, device, equipment, and medium of a radar-vision integrated machine to solve the technical problem of low accuracy of traffic participants in the common perception area of multiple radar-vision integrated machines.
[0005] In a first aspect, the present invention provides a three-dimensional target detection method for a radar-vision integrated machine, the method comprising: obtaining detection frames corresponding to a plurality of radar-vision integrated machines respectively; filtering the detection frames based on the regions of interest of the plurality of radar-vision integrated machines, and determining filtering results corresponding to traffic participants in the regions of interest; calculating the intersection-and-union ratio between traffic participants of the same type based on the filtering results, and determining the detection results corresponding to the types of traffic participants based on the intersection-and-union ratio between traffic participants of the same type.
[0006] In combination with the first aspect, in a possible implementation of the first aspect, the intersection-and-joint ratio between similar traffic participants is calculated based on the screening results, and the detection result corresponding to the type of traffic participant is determined based on the intersection-and-joint ratio between similar traffic participants, including: based on the screening results, calculating the intersection-and-joint ratio between similar traffic participants, and determining the calculation result; in response to the calculation result exceeding a first intersection-and-joint ratio threshold, determining a first detection result corresponding to the type of traffic participant; in response to the calculation result being lower than the first intersection-and-joint ratio threshold and greater than zero, determining a second detection result corresponding to the type of traffic participant; in response to the calculation result being zero, determining a third detection result corresponding to the type of traffic participant.
[0007] In combination with the first aspect, in a possible implementation of the first aspect, in response to the calculation result exceeding the first intersection-and-union ratio threshold, determining a first detection result corresponding to the type of traffic participant, including: in response to the intersection-and-union ratio between traffic participants of the same type exceeding the first intersection-and-union ratio threshold, determining the confidence level corresponding to the screening result, and determining the first detection result corresponding to the type of traffic participant based on the confidence level corresponding to the screening result.
[0008] In combination with the first aspect, in a possible implementation of the first aspect, in response to the calculation result being lower than the first intersection-and-union ratio threshold and greater than zero, determining a second detection result corresponding to the traffic participant, including: in response to the intersection-and-union ratio between traffic participants of the same type being lower than the first intersection-and-union ratio threshold and greater than zero, calculating the center point distance between traffic participants of the same type based on the screening result as the first center point distance corresponding to traffic participants of the same type; in response to the first center point distance being less than a preset offset boundary value, determining the confidence corresponding to the screening result, and determining the second detection result corresponding to the type of traffic participant based on the confidence corresponding to the screening result.
[0009] In combination with the first aspect, in a possible implementation of the first aspect, in response to the calculation result being zero, determining a third detection result corresponding to the type of traffic participant, including: in response to the intersection-and-joint ratio between similar traffic participants being zero, based on the screening results, respectively calculating the second center point distance, center point distance deviation, center point angle deviation, and shape deviation between similar traffic participants; in response to the second center point distance being less than a preset offset boundary value, calculating a comprehensive deviation based on the center point distance deviation, center point angle deviation, and shape deviation; in response to the comprehensive deviation being less than a preset deviation threshold, determining a confidence level corresponding to the screening result, and determining a third detection result corresponding to the type of traffic participant based on the confidence level corresponding to the screening result.
[0010] In combination with the first aspect, in a possible implementation manner of the first aspect, calculating the comprehensive deviation based on the center point distance deviation, the center point angle deviation, and the shape deviation includes:
[0011] The comprehensive deviation is calculated by the following formula:
[0012]
[0013] Among them, Bias represents the comprehensive deviation, λ represents a hyperparameter with a value range of (0,1), Δ represents the center point distance deviation, and Ω represents the shape deviation.
[0014] In combination with the first aspect, in a possible implementation of the first aspect, after calculating the intersection-and-joint ratio between traffic participants of the same type based on the screening results, and determining the detection result corresponding to the type of traffic participant based on the intersection-and-joint ratio between traffic participants of the same type, it also includes: calculating the intersection-and-joint ratio between traffic participants of different types based on the detection results; in response to the intersection-and-joint ratio between traffic participants of different types being less than a second intersection-and-joint ratio threshold, determining the confidence level corresponding to the traffic participant, and determining a fourth detection result corresponding to the traffic participant based on the confidence level.
[0015] In combination with the first aspect, in a possible implementation of the first aspect, based on the areas of interest of multiple radar-vision integrated devices, the detection frame is filtered to determine the filtering results corresponding to the traffic participants in the area of interest, including: based on the areas of interest of multiple radar-vision integrated devices, determining the common area of interest of the multiple radar-vision integrated devices; based on the common area of interest, filtering the traffic participants, and taking the perception data corresponding to the traffic participants in the common area of interest as the filtering results.
[0016] In a second aspect, the present invention provides a three-dimensional target detection device for a radar and vision integrated machine, the device comprising: an acquisition module, used to acquire detection frames corresponding to multiple radar and vision integrated machines respectively; a screening module, used to screen the detection frames based on the regions of interest of the multiple radar and vision integrated machines, and determine the screening results corresponding to the traffic participants in the regions of interest; a detection result determination module, used to calculate the intersection-and-union ratio between traffic participants of the same type based on the screening results, and determine the detection results corresponding to the types of traffic participants based on the intersection-and-union ratio between traffic participants of the same type.
[0017] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the three-dimensional target detection method of the radar-visual integrated machine of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0018] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the three-dimensional target detection method of a radar-visual integrated machine according to the first aspect or any corresponding embodiment thereof.
[0019] The technical solution of the present invention has the following advantages:
[0020] The present invention provides a method, device, equipment, and medium for three-dimensional target detection of a radar-visual integrated machine. The method obtains detection results corresponding to the radar-visual integrated machine, screens the detection results, and determines the detection results corresponding to the traffic participants by calculating the intersection-and-union ratio between similar traffic participants. In this process, the three-dimensional target detection basis is determined by screening the traffic participants in the areas of interest of multiple radar-visual integrated machines, and the target detection results are determined by calculating the intersection-and-union ratio between similar traffic participants, so as to use the screening results to improve the accuracy of target recognition in the common area of interest with more accurate data. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 It is a flowchart of a three-dimensional target detection method of a radar-vision integrated machine provided according to an embodiment of the present invention;
[0023] Figure 2 2 is a schematic diagram of an application scenario of a three-dimensional target detection method of a radar-vision integrated machine provided in an embodiment of the present invention;
[0024] Figure 3 It is a schematic diagram of the center point angle deviation in a three-dimensional target detection method of a radar-vision integrated machine provided according to an embodiment of the present invention;
[0025] Figure 4 It is a schematic diagram of the center point distance deviation in a three-dimensional target detection method of a radar-vision integrated machine provided according to an embodiment of the present invention;
[0026] Figure 5 is a schematic diagram of shape deviation in a three-dimensional target detection method of a radar-vision integrated machine provided according to an embodiment of the present invention;
[0027] Figure 6 It is a schematic diagram of the intersection-and-union ratio between similar traffic participants in a three-dimensional target detection method of a radar-visual integrated device provided according to an embodiment of the present invention;
[0028] Figure 7 It is a structural block diagram of a three-dimensional target detection device of a radar-vision integrated machine provided according to an embodiment of the present invention;
[0029] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0031] According to an embodiment of the present invention, an embodiment of a three-dimensional target detection method of a radar-vision integrated device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0032] This embodiment provides an application diagram of a three-dimensional target detection method of a radar-visual integrated machine. The distribution of multiple radar-visual integrated machines is as follows: Figure 2 As shown, A1, A2, A3, and A4 represent integrated radar and vision devices, respectively, and each arrow represents the shooting direction of the corresponding integrated radar and vision device. Each integrated radar and vision device determines the detection frame corresponding to the integrated radar and vision device by collecting two-dimensional data and / or three-dimensional data, and uses the common interest area of multiple integrated radar and vision devices to screen the detection frame to determine the traffic participants in the content of the common interest area of A1-A4, such as small passenger cars, buses, motorcycles, pedestrians, etc. And use the screening results to calculate the intersection and union ratio between similar traffic participants, and determine the detection result corresponding to the traffic participant based on the calculation result of the intersection and union ratio, so as to fuse the traffic participants through the detection frame, that is, the traffic participants are fused according to the different detection results that meet the requirements, and the traffic participants that do not meet the detection results are not fused, and the intersection and union ratio of the unfused traffic participants is calculated with other traffic participants. For example, if the intersection-and-union ratio of traffic participant 1 and traffic participant 2 is lower than the intersection-and-union ratio threshold and greater than zero, but the first center point distance between traffic participant 1 and traffic participant 2 is greater than the preset offset boundary value, no fusion operation is performed between traffic participant 1 and traffic participant 2, and the intersection-and-union ratio of traffic participant 1 and traffic participant 2 is calculated separately from other traffic participants. If the intersection-and-union ratio of traffic participant 1 and traffic participant 3 exceeds the intersection-and-union ratio threshold, and the confidence of traffic participant 1 is greater than the confidence of traffic participant 3, traffic participant 1 is taken as the first detection result.
[0033] This embodiment provides a three-dimensional target detection method of a radar-visual integrated device, such as Figure 1 As shown, the method comprises the following steps:
[0034] S101, obtaining detection frames corresponding to a plurality of integrated radar and vision devices.
[0035] Specifically, obtaining detection frames corresponding to multiple integrated radar and vision devices respectively refers to obtaining the output results obtained by inputting the data collected by the integrated radar and vision devices into the trained network model as input. Among them, the detection frame includes: the confidence, x-axis, y-axis, z-axis information, length, width, height, category, orientation angle and other information corresponding to the traffic participants. The data collected by the integrated radar and vision devices include: collected camera images and / or point cloud data, and the trained network model refers to a detection head network including a multi-task output head or a fully connected detection head network, such as CenterHead, TranfusionHead or other network models, in which the multi-task output head outputs the above detection results.
[0036] S102: based on the regions of interest of the multiple integrated radar and vision devices, filter the detection frame and determine the filtering results corresponding to the traffic participants in the regions of interest.
[0037] Specifically, the region of interest of the integrated thunder and vision machine refers to the region of interest ROI (region of interest) set according to the perception range of each integrated thunder and vision machine. Based on the regions of interest of multiple integrated thunder and vision machines, screening the detection frame, and determining the screening result corresponding to the traffic participants in the region of interest refers to determining the common region of interest of multiple integrated thunder and vision machines, and screening the traffic participants in the common region of interest, so as to use the perception data corresponding to the detection frame as the screening result. Taking two integrated thunder and vision machines as an example, if the region of interest of the integrated thunder and vision machine A1 includes the region of interest 1 corresponding to the first section and the region of interest 2 corresponding to the second section, wherein the traffic participants in the region of interest 1 and the region of interest 2 are: passenger cars and pedestrians, respectively, and the region of interest of the integrated thunder and vision machine A2 includes the region of interest 1 corresponding to the first section and the region of interest 3 corresponding to the third section, wherein the traffic participants in the region of interest 1 and the region of interest 3 are: passenger cars and motorcycles, respectively. Wherein the common region of interest of the integrated thunder and vision machines A1 and A2 is the region of interest 1 corresponding to the first section, then the traffic participants in the common region of interest are the passenger cars corresponding to the region of interest 1. There are multiple integrated radar and vision devices or each integrated radar and vision device has multiple regions of interest and so on, which will not be described in detail.
[0038] S103, calculating the intersection-and-joint ratios between the same type of traffic participants based on the screening results, and determining the detection results corresponding to the types of traffic participants based on the intersection-and-joint ratios between the same type of traffic participants.
[0039] Specifically, calculating the intersection-and-union ratio between similar traffic participants based on the screening results, and determining the detection results corresponding to the types of traffic participants based on the intersection-and-union ratio between similar traffic participants means that after screening, the 2D rotation intersection-and-union ratio between similar traffic participants is calculated, the calculation method corresponding to different calculation results is determined, and the target detection results corresponding to the same type of traffic participants are determined according to the calculation method of the detection results corresponding to the different calculation results. Among them, since the height of the traffic participants does not need to be considered when calculating the intersection-and-union ratio, the calculation of the intersection-and-union ratio at this time only considers the plane formed by the x-axis and the y-axis.
[0040] The present invention provides a method, device, equipment, and medium for three-dimensional target detection of a radar-visual integrated machine. The method obtains detection results corresponding to the radar-visual integrated machine, screens the detection results, and determines the detection results corresponding to the traffic participants by calculating the intersection-and-union ratio between similar traffic participants. In this process, the three-dimensional target detection basis is determined by screening the traffic participants in the areas of interest of multiple radar-visual integrated machines, and the target detection results are determined by calculating the intersection-and-union ratio between similar traffic participants, so as to use the screening results to improve the accuracy of target recognition in the common area of interest with more accurate data.
[0041] In an optional implementation, calculating the intersection-and-joint ratio between similar traffic participants based on the screening results, and determining the detection result corresponding to the type of traffic participant based on the intersection-and-joint ratio between similar traffic participants, including:
[0042] Based on the screening results, the intersection-and-joint ratio between similar traffic participants is calculated to determine the calculation result; in response to the calculation result exceeding the first intersection-and-joint ratio threshold, a first detection result corresponding to the type of the traffic participant is determined; in response to the calculation result being lower than the first intersection-and-joint ratio threshold and greater than zero, a second detection result corresponding to the type of the traffic participant is determined; in response to the calculation result being zero, a third detection result corresponding to the type of the traffic participant is determined.
[0043] Specifically, based on the screening results, the intersection and merger ratios between similar traffic participants are calculated, and the calculation results are determined as follows: Figure 6 As shown, each traffic participant of the same type has 4 detection frames, and each detection frame corresponds to a screening result of a radar-vision integrated machine, that is, the radar-vision integrated machine A1 corresponds to the detection frame D1, the radar-vision integrated machine A2 corresponds to the detection frame D2, the radar-vision integrated machine A3 corresponds to the detection frame D3, and the radar-vision integrated machine A4 corresponds to the detection frame D4. The 2D rotation intersection-union ratio between traffic participants of the same type is calculated and one of the first detection result, the second detection result, and the third detection result corresponding to the traffic participant is determined according to the calculation result.
[0044] In an optional implementation, in response to the calculation result exceeding the first intersection-over-combination ratio threshold, determining a first detection result corresponding to the type of the traffic participant includes:
[0045] In response to an intersection-and-joint ratio between similar traffic participants exceeding a first intersection-and-joint ratio threshold, a confidence level corresponding to the screening result is determined, and a first detection result corresponding to the type of the traffic participant is determined based on the confidence level corresponding to the screening result.
[0046] Specifically, after screening, the 2D rotational intersection-and-union ratio between similar traffic participants is calculated. When the intersection-and-union ratio between similar traffic participants exceeds the corresponding intersection-and-union ratio threshold, the traffic participant with a greater confidence level corresponding to the screening result is used as the target detection result corresponding to the traffic participant. Among them, since the height of the traffic participant does not need to be considered when calculating the intersection-and-union ratio, the calculation of the intersection-and-union ratio at this time only considers the plane formed by the x-axis and the y-axis, where the x-axis and the y-axis correspond to the group coordinate system described in the above embodiment. Figure 6 As shown, each vehicle has four detection frames, namely, the detection frame D1 corresponding to the integrated radar and vision machine A1, the detection frame D2 corresponding to the integrated radar and vision machine A2, the detection frame D3 corresponding to the integrated radar and vision machine A3, and the detection frame D4 corresponding to the integrated radar and vision machine A4. The intersection-and-union ratio between the same type of traffic participants is calculated between the detection frames of each vehicle. Among them, the first intersection-and-union ratio threshold can be set according to the actual working conditions, such as 0.1, 0.01 or other values. Determining the first detection result corresponding to the type of traffic participant based on the confidence corresponding to the screening result means judging by the confidence corresponding to the traffic participant included in the detection frame, and retaining the detection frame with higher confidence as the first detection result corresponding to the type of traffic participant. The first intersection-and-union ratio threshold is used to measure the calculation result of the intersection-and-union ratio between the same type of traffic participants. When the intersection-and-union ratio between the same type of traffic participants exceeds the first intersection-and-union ratio threshold, it means that the corresponding two traffic participants are the same traffic participant, so that the fusion of the same type of traffic participants is completed by retaining the detection frame with higher confidence.
[0047] In an optional implementation, in response to the calculation result being lower than the first intersection-over-combination ratio threshold and greater than zero, determining a second detection result corresponding to the type of the traffic participant includes:
[0048] In response to an intersection-and-joint ratio between similar traffic participants being lower than a first intersection-and-joint ratio threshold and greater than zero, based on the screening result, the center point distance between similar traffic participants is calculated as the first center point distance corresponding to the similar traffic participants; in response to the first center point distance being less than a preset offset boundary value, the confidence level corresponding to the screening result is determined, and based on the confidence level corresponding to the screening result, a second detection result corresponding to the type of traffic participant is determined.
[0049] like Figure 3As shown, the two detection boxes are B and B GT , σ represents the center point distance between two detection boxes, C w Represents the distance between the center points of the two detection frames in the x-axis direction, which is denoted as C in the subsequent formulas (1) to (4). w1 , C h Represents the distance between the center points of the two detection boxes in the y-axis direction, which is denoted as C in the subsequent formulas (1) to (4). h1 , α represents the acute angle formed by the line formed by the center point distance between the two detection frames and the center point coordinate of any detection frame in the x-axis direction, and β represents the acute angle formed by the line formed by the center point distance between the two detection frames and the center point coordinate of any detection frame in the y-axis direction.
[0050] Specifically, the center point distance between the same type of traffic participants is calculated, and the first center point distance corresponding to the same type of traffic participants is expressed by formula (1):
[0051] (1)
[0052] Among them, σ represents the distance between the center points, , Represents the detection box B GT The x-axis and y-axis coordinates of the center point, , They represent the x-axis coordinate and y-axis coordinate of the center point of the detection box B respectively.
[0053] Specifically, the preset offset boundary value is determined according to the requirements of the perception level of different categories of traffic participants, as shown in Table 1, which exemplarily shows the corresponding relationship between the perception level, the category of traffic participants and the offset boundary value:
[0054] Table 1
[0055]
[0056] The first intersection-and-union ratio threshold is used to measure the intersection-and-union ratio calculation results between traffic participants of the same type. When the intersection-and-union ratio between traffic participants of the same type is lower than the first intersection-and-union ratio threshold and greater than zero, it means that the corresponding two traffic participants may be the same traffic participant. Therefore, it is necessary to calculate the first center point distance between the two traffic participants, and when the first center point distance is less than the preset offset boundary value, the two traffic participants are considered to be the same traffic participant, so that the fusion of traffic participants of the same type is completed by retaining the detection frame with higher confidence. When the first center point distance is greater than or equal to the preset offset boundary value, the two traffic participants are not the same traffic participant, so the two traffic participants are not fused. For example, if the intersection-and-union ratio between traffic participant A and traffic participant B is lower than the first intersection-and-union ratio threshold and greater than zero, and the first center point distance between traffic participant A and traffic participant B is greater than or equal to the preset offset boundary value, traffic participant A and traffic participant B are not fused. If there is still traffic participant C, the intersection-and-union ratio between traffic participant A and traffic participant C is continued to be calculated, or the intersection-and-union ratio between traffic participant B and traffic participant C is calculated.
[0057] In an optional implementation, in response to the calculation result being zero, determining a third detection result corresponding to the type of the traffic participant includes:
[0058] In response to the intersection-and-joint ratio between similar traffic participants being zero, based on the screening results, the second center point distance, center point distance deviation, center point angle deviation, and shape deviation between similar traffic participants are calculated respectively; in response to the second center point distance being less than a preset offset boundary value, based on the center point distance deviation, center point angle deviation, and shape deviation, a comprehensive deviation is calculated; in response to the comprehensive deviation being less than a preset deviation threshold, the confidence level corresponding to the screening result is determined, and based on the confidence level corresponding to the screening result, a third detection result corresponding to the type of traffic participant is determined.
[0059] Specifically, the second center point distance between the same type of traffic participants is calculated as shown in the above formula (1), which will not be described in detail here.
[0060] Specifically, the center point distance deviation between similar traffic participants is calculated by formula (2) to formula (4):
[0061] (2)
[0062] (3)
[0063] (4)
[0064] Wherein, Λ represents the center point angle deviation. It should be understood that the center point distance σ involved in the formula is calculated by the above formula (1), which will not be repeated here, and x represents the sine value of α.
[0065] If α≤π / 4 and gradually decreases to 0, Λ decreases from 1 to 0; if α>π / 4 and gradually increases to π / 2, Λ decreases from 1 to 0; to ensure that two detection frames close to the same horizontal or vertical line can be fused, the actual use is to add Λ as a reference weight to the center point distance deviation.
[0066] Specifically, the center point distance deviation between similar traffic participants is as follows: Figure 4 As shown, the two detection boxes are B and B GT , C w Represents the distance in the x-axis direction of the minimum bounding rectangle of the two detection boxes, which is denoted as C in the subsequent formulas (5) to (8) w2 , C h Represents the distance in the y-axis direction of the minimum bounding rectangle of the two detection boxes, which is denoted as C in the subsequent formulas (5) to (8) h2 , the center point distance deviation of the same type of traffic participants is calculated by formulas (5) to (8):
[0067] (5)
[0068] (6)
[0069] (7)
[0070] (8)
[0071] Where Δ represents the center point distance deviation. It should be understood that the calculation of Λ in formula (8) here is based on the above formulas (1) to (4). The C involved here is w With C h C w2 With C h2 Perform calculations.
[0072] ρ x and ρ y They represent the offset ratio of the two detection boxes on the x-axis and y-axis respectively. γ represents a hyperparameter used to adjust Δ. Due to the addition of the center point angle deviation Λ, the center point distance deviation takes into account the combined effects of the center point distance and the angle. When the angle is close to π / 2 or 0, and the smaller the center point distance is, the smaller Δ is.
[0073] Specifically, the shape deviations between similar traffic participants are calculated as follows: Figure 5 As shown, the two detection boxes are B and BGT , H and h are the lengths of the corresponding detection boxes along the y-axis, W and w are the lengths of the corresponding detection boxes along the x-axis, and H and W are the lengths of the minimum circumscribed rectangles of the two detection boxes along the y-axis and along the x-axis.
[0074] The shape deviation of similar traffic participants is calculated using formulas (9) to (11):
[0075] (9)
[0076] (10)
[0077] (11)
[0078] Where Ω represents the shape deviation, ω x Represents the similarity of the two detection boxes on the x-axis length, ω y represents the similarity of the two detection frames on the y-axis length, h and w represent the lengths of the detection frame B along the x-axis and y-axis respectively, and h gt 、w gt Represents the detection box B GT The lengths along the x-axis and y-axis, θ represents the degree of concern about the shape, and θ is a constant value. The value is determined according to the actual working conditions. In order to avoid paying too much attention to the shape and reducing the attention to the movement of the center point distance, it is usually selected between 2 and 6.
[0079] In the above formula, h and w are replaced according to empirical values, so they are not used in the formula. h and w represent the length of each detection box along the y-axis and along the x-axis, and the other symbols are similar; ω x and ω y Indicates the similarity ratio of the width and height of the two boxes. The smaller the Ω value, the more similar they are. The smaller the Ω value, the more similar the shapes of the two detection boxes are. On the basis of the same category, it is more likely to meet the condition that they are the same car.
[0080] Specifically, the method for determining the size of the second center point distance and the preset offset boundary value is the same as that in Table 1 in the above embodiment, and will not be described in detail.
[0081] In an optional implementation, calculating the comprehensive deviation based on the center point distance deviation, the center point angle deviation, and the shape deviation includes:
[0082] The comprehensive deviation is calculated by formula (12):
[0083] (12)
[0084] Among them, Bias represents the comprehensive deviation, λ represents a hyperparameter with a value range of (0,1), Δ represents the center point distance deviation, and Ω represents the shape deviation.
[0085] The first intersection-and-union ratio threshold is used to measure the calculation result of the intersection-and-union ratio between traffic participants of the same type. When the intersection-and-union ratio between traffic participants of the same type is zero, in order to avoid deviation caused by common vision, the comprehensive deviation is calculated to determine whether the corresponding two traffic participants are the same traffic participant, and when the comprehensive deviation is less than the preset deviation threshold, the detection frame with a higher confidence level is retained as the third detection result corresponding to the type of traffic participant to complete the fusion of traffic participants of the same type. When the distance between the first center point is greater than or equal to the preset offset boundary value or the comprehensive deviation is greater than the preset deviation threshold, the two traffic participants are not the same traffic participants, and therefore, the two traffic participants are not fused, which is the same as the above embodiment and will not be repeated. In an optional implementation, after calculating the intersection-and-union ratio between traffic participants of the same type based on the screening results, and determining the detection result corresponding to the type of traffic participant based on the intersection-and-union ratio between traffic participants of the same type, it also includes:
[0086] An intersection-and-joint ratio between different types of traffic participants is calculated based on the detection results; in response to the intersection-and-joint ratio between different types of traffic participants being less than a second intersection-and-joint ratio threshold, a confidence level corresponding to the traffic participant is determined; and a fourth detection result corresponding to the traffic participant is determined based on the confidence level.
[0087] Specifically, calculating the intersection-and-union ratios between different types of traffic participants based on the detection results refers to calculating the 2D rotational intersection-and-union ratios between different types of traffic participants, wherein each detection result corresponds to one type of traffic participant.
[0088] Specifically, in response to the intersection-and-joint ratio between different types of traffic participants being less than a second intersection-and-joint ratio threshold, the confidence corresponding to the traffic participant is determined, and determining the fourth detection result corresponding to the traffic participant based on the confidence refers to making a judgment based on the confidence corresponding to the traffic participant included in the detection frame, and retaining the detection frame with a higher confidence as the fourth detection result corresponding to the type of the traffic participant. The second intersection-and-joint ratio threshold is used to measure the calculation result of the intersection-and-joint ratio between different types of traffic participants. When the intersection-and-joint ratio between different types of traffic participants is less than the second intersection-and-joint ratio threshold, it indicates that the corresponding two traffic participants may collide, thereby completing the fusion of different types of traffic participants by retaining the detection frame with a higher confidence.
[0089] In an optional implementation, based on the regions of interest of multiple integrated radar and vision devices, the detection results are screened to determine the screening results corresponding to the traffic participants in the regions of interest, including:
[0090] Based on the regions of interest of multiple integrated radar and vision devices, a common region of interest of the multiple integrated radar and vision devices is determined; based on the common region of interest, traffic participants are screened, and perception data corresponding to traffic participants in the common region of interest is used as a screening result.
[0091] Specifically, based on the regions of interest of multiple integrated radar and vision devices, determining the common region of interest of multiple integrated radar and vision devices means overlapping the regions of interest of multiple integrated radar and vision devices and taking the overlapping portion of multiple integrated radar and vision devices as the common region of interest.
[0092] Specifically, based on the common area of interest, the traffic participants are screened, and the perception data corresponding to the traffic participants in the common area of interest is used as the screening result. This means that the traffic participants in the common area of interest in each radar-vision integrated device are screened, so that the perception data contained in the detection frame corresponding to the traffic participants in the common area of interest is used as the screening result, thereby forming a Figure 6 As shown in FIG. 1 , each traffic participant vehicle in the common area of interest includes a detection frame corresponding to the number of radar-vision integrated devices. Figure 6 For example, each vehicle has four detection frames, namely, the detection frame D1 for the integrated radar vision machine A1, the detection frame D2 for the integrated radar vision machine A2, the detection frame D3 for the integrated radar vision machine A3, and the detection frame D4 for the integrated radar vision machine A4. It should be understood that each traffic participant in the screening results is only further screened and still has content corresponding to the detection frame, namely, the confidence x-axis, y-axis, z-axis information, length, width, height, category, orientation angle and other information corresponding to the traffic participant. Take three integrated radar and vision devices as an example. If the area of interest of integrated radar and vision device A1 includes area of interest 1 corresponding to the first road section and area of interest 2 corresponding to the second road section, the traffic participants in area of interest 1 and area of interest 2 are cars and pedestrians, respectively; the area of interest of integrated radar and vision device A2 includes area of interest 1 corresponding to the first road section and area of interest 3 corresponding to the third road section, respectively; the traffic participants in area of interest 1 and area of interest 3 are cars and motorcycles, respectively; the area of interest of integrated radar and vision device A3 includes area of interest 1 corresponding to the first road section and area of interest 4 corresponding to the fourth road section, respectively; the traffic participants in area of interest 1 and area of interest 4 are cars and bicycles, respectively. The common area of interest of integrated radar and vision devices A1, A2, and A3 is area of interest 1 corresponding to the first road section, and the traffic participants in the common area of interest are cars corresponding to area of interest 1. Multiple integrated radar and vision devices or each integrated radar and vision device has multiple areas of interest, and so on, which will not be repeated.
[0093] In this embodiment, a three-dimensional target detection device of a radar-vision integrated machine is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated for what has been described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0094] This embodiment provides a three-dimensional target detection device of a radar-visual integrated machine, such as Figure 7 As shown, including:
[0095] The acquisition module 201 is used to acquire the detection frames corresponding to the plurality of integrated radar and visual devices. The specific process can be referred to the description of step S101 in the above embodiment, which will not be repeated here.
[0096] The screening module 202 is used to screen the detection frame based on the regions of interest of the multiple radar-visual integrated devices, and determine the screening results corresponding to the traffic participants in the regions of interest. The specific process can be found in the description of step S102 in the above embodiment, which will not be repeated here.
[0097] The detection result determination module 203 is used to calculate the intersection-and-joint ratio between the same type of traffic participants based on the screening results, and determine the detection result corresponding to the type of traffic participant based on the intersection-and-joint ratio between the same type of traffic participants. The specific process can be found in the relevant description of step S103 in the above embodiment, which will not be repeated here.
[0098] The three-dimensional target detection device of the radar-vision integrated machine in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0099] The embodiment of the present invention also provides a computer device having the above Figure 7 The three-dimensional target detection device of the integrated radar and vision machine shown in FIG. Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8As shown, the computer device includes: one or more processors 301, memory 302, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 301 is taken as an example.
[0100] The processor 301 may be a central processing unit, a network processor or a combination thereof. The processor 301 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable logic gate array, a general purpose array logic or any combination thereof.
[0101] The memory 302 stores instructions executable by at least one processor 301, so that the at least one processor 301 executes the method shown in the above embodiment.
[0102] The memory 302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 302 may optionally include a memory remotely arranged relative to the processor 301, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0103] The memory 302 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 302 may also include a combination of the above types of memory. The computer device also includes a communication interface 303, which is used for the computer device to communicate with other devices or communication networks.
[0104] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0105] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A three-dimensional target detection method for a radar-visual integrated machine, characterized in that: The method comprises: Obtain detection frames corresponding to multiple radar vision integrated devices respectively; Based on the regions of interest of the plurality of integrated radar and vision devices, the detection frame is filtered to determine the filtering results corresponding to the traffic participants in the regions of interest; Calculating the intersection-and-joint ratios between the traffic participants of the same type based on the screening results, and determining the detection results corresponding to the types of the traffic participants based on the magnitude of the intersection-and-joint ratios between the traffic participants of the same type; The method of filtering the detection frame based on the regions of interest of the plurality of radar-visual integrated devices and determining the filtering results corresponding to the traffic participants in the regions of interest includes: Based on the regions of interest of the plurality of integrated radar and visual devices, determining a common region of interest of the plurality of integrated radar and visual devices; Based on the common area of interest, traffic participants are screened, and perception data corresponding to the traffic participants in the common area of interest are used as screening results.
2. The method according to claim 1, characterized in that The step of calculating the intersection-and-joint ratios between the same type of traffic participants based on the screening results, and determining the detection results corresponding to the types of traffic participants based on the size of the intersection-and-joint ratios between the same type of traffic participants, includes: Based on the screening result, calculating the intersection-combination ratio between the same type of traffic participants, and determining the calculation result; In response to the calculation result exceeding a first intersection-over-combination ratio threshold, determining a first detection result corresponding to the type of the traffic participant; In response to the calculation result being lower than the first intersection-over-joint ratio threshold and greater than zero, determining a second detection result corresponding to the type of the traffic participant; In response to the calculation result being zero, a third detection result corresponding to the type of the traffic participant is determined.
3. The method according to claim 2, characterized in that In response to the calculation result exceeding the first intersection-over-combination ratio threshold, determining a first detection result corresponding to the type of the traffic participant includes: In response to an intersection-and-joint ratio between the same type of traffic participants exceeding a first intersection-and-joint ratio threshold, a confidence level corresponding to the screening result is determined, and a first detection result corresponding to the type of the traffic participant is determined based on the confidence level corresponding to the screening result.
4. The method according to claim 2, characterized in that: In response to the calculation result being lower than the first intersection-over-joint ratio threshold and greater than zero, determining a second detection result corresponding to the type of the traffic participant includes: In response to the intersection-and-joint ratio between the traffic participants of the same type being lower than a first intersection-and-joint ratio threshold and greater than zero, based on the screening result, calculating the center point distance between the traffic participants of the same type as the first center point distance corresponding to the traffic participants of the same type; In response to the first center point distance being less than a preset offset boundary value, a confidence level corresponding to the screening result is determined, and a second detection result corresponding to the type of the traffic participant is determined based on the confidence level corresponding to the screening result.
5. The method according to claim 2, characterized in that: In response to the calculation result being zero, determining a third detection result corresponding to the type of the traffic participant includes: In response to the intersection-and-joint ratio between the same type of traffic participants being zero, based on the screening result, respectively calculating the second center point distance, center point distance deviation, center point angle deviation, and shape deviation between the same type of traffic participants; In response to the second center point distance being less than a preset offset boundary value, calculating a comprehensive deviation based on the center point distance deviation, the center point angle deviation, and the shape deviation; In response to the comprehensive deviation being less than a preset deviation threshold, a confidence level corresponding to the screening result is determined, and a third detection result corresponding to the type of the traffic participant is determined based on the confidence level corresponding to the screening result.
6. The method according to claim 5, characterized in that The calculating of the comprehensive deviation based on the center point distance deviation, the center point angle deviation, and the shape deviation comprises: The comprehensive deviation is calculated by the following formula: Among them, Bias represents the comprehensive deviation, λ represents a hyperparameter with a value range of (0,1), Δ represents the center point distance deviation, and Ω represents the shape deviation.
7. The method according to claim 1, characterized in that After calculating the intersection-and-joint ratios between the traffic participants of the same type based on the screening results, and determining the detection results corresponding to the types of the traffic participants based on the intersection-and-joint ratios between the traffic participants of the same type, the method further includes: Calculating the intersection-and-combination ratios between different types of traffic participants based on the detection results; In response to an intersection-and-joint ratio between the traffic participants of different classes being less than a second intersection-and-joint ratio threshold, a confidence level corresponding to the traffic participant is determined, and a fourth detection result corresponding to the traffic participant is determined based on the confidence level.
8. A three-dimensional target detection device for a radar-visual integrated machine, characterized in that: The device comprises: An acquisition module, used to acquire detection frames corresponding to multiple radar-vision integrated devices respectively; A screening module, for screening the detection frame based on the regions of interest of the plurality of integrated radar and vision devices, and determining the screening results corresponding to the traffic participants in the regions of interest; the screening of the detection frame based on the regions of interest of the plurality of integrated radar and vision devices, and determining the screening results corresponding to the traffic participants in the regions of interest, comprises: determining a common region of interest of the plurality of integrated radar and vision devices based on the regions of interest of the plurality of integrated radar and vision devices; screening the traffic participants based on the common region of interest, and using the perception data corresponding to the traffic participants in the common region of interest as the screening results; The detection result determination module is used to calculate the intersection-and-joint ratio between the same type of traffic participants based on the screening results, and determine the detection result corresponding to the type of traffic participant based on the size of the intersection-and-joint ratio between the same type of traffic participants.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the three-dimensional target detection method of the radar-vision integrated machine described in any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the three-dimensional target detection method of the integrated radar and vision device according to any one of claims 1 to 7.
Citation Information
Patent Citations
Traffic target tracking method based on thunder-vision integration
CN115965655A
Association method and system for detection targets of intersection multi-view camera and all-in-one thundersight machine
CN117496452A
