Target detection method based on lane line auxiliary radar and visual fusion

By adopting the radar and vision fusion method based on lane lines in autonomous vehicles, the problems of high false detection rate and high computational cost of millimeter wave radar and camera detection are solved, and target detection with high accuracy and low false detection rate is achieved. Enhanced safety of autonomous driving systems.

CN118570756APending Publication Date: 2024-08-30HAINAN UNIV
View PDF 0 Cites 6 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing target detection methods based on millimeter-wave radar and cameras have problems such as high false detection rates, high computational costs, poor real-time performance, and complex data processing. Especially in autonomous vehicles, the detection blind spots of a single sensor lead to safety hazards.

Method used

A radar and vision fusion method based on lane line assistance is used to filter out targets outside the lane in the image through lane lines, group radar and visual targets according to lanes, and use YOLOv4 and DBSCAN algorithms for target detection and clustering , combined with the conversion relationship between the millimeter-wave radar coordinate system and the camera coordinate system, calculate the intersection ratio for target matching, and select effective detection information output.

Benefits of technology

It improves the accuracy and robustness of target detection, reduces the data processing volume of multi-sensor information fusion, reduces target matching errors between adjacent lanes, and enhances the real-time performance and accuracy of the fusion system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570756A
    Figure CN118570756A
Patent Text Reader

Abstract

The invention discloses a target detection method based on lane line auxiliary radar and vision fusion, and the method comprises the steps: carrying out the data processing of two types of sensors, carrying out the lane line detection of the data collected through vision, and carrying out the processing through employing a YOLOv4-based target detection method. Radar data from the same moment are subjected to distance FFT, Doppler FFT, CFAR constant false alarm rate detection and DOA estimation, and then, out-of-lane targets detected by vision and radar are filtered by using lane lines, and effective targets of two sensors are grouped according to lanes. And finally, after spatial fusion is carried out on the targets on the same lane detected by the radar and the camera, multi-sensor information fusion is carried out by adopting a decision-level fusion strategy, so that advantage complementation of multi-source heterogeneous sensors is realized, the situation of target matching errors caused by spatial conversion errors is effectively solved, and the accuracy of target matching is improved. And the problems of incomplete information detection, wrong detection and missing detection of a single sensor in an automatic driving system are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of target detection, and in particular to a target detection method based on lane line auxiliary radar and vision fusion. Background Art

[0002] Powerful and reliable environmental perception is the first step to achieve safe self-driving cars. The main sensors currently used for environmental perception in self-driving cars are lidar, millimeter-wave radar, ultrasonic radar, and cameras. The application of lidar in self-driving cars is limited by ambient light, bad weather, co-frequency interference, and poor durability. Millimeter-wave radar has a longer detection range and better speed resolution. It can work in all kinds of weather, but it cannot identify the type of target and often outputs target information with a lot of random noise. Ultrasonic radar has the advantages of strong penetration, simple ranging method, and low cost. However, the transmission rate of ultrasound is slow. The advantages of the camera are low cost, easy perception and classification, but it is significantly affected by light. In summary, each single sensor will have certain detection blind spots, and any detection blind spots will cause safety problems in self-driving. Therefore, multi-source heterogeneous information fusion technology (MSHIF) was born. Multi-source heterogeneous information fusion comprehensively utilizes the advantages of obtaining information from different sensors, avoids the perception limitations and uncertainties of a single sensor, forms a more comprehensive perception and recognition of the environment or target, and improves the external perception ability of the system. Since the scheme based on radar and camera fusion has great advantages in algorithm real-time performance and application cost, it has become the mainstream in academia and industry. As early as 1996, Langer et al. used two consecutive fast Fourier transforms to obtain the time and space dimensions of radar echo signals, and then used the RALPH algorithm to obtain the lane information detected by vision and successfully used it to assist the radar in classifying the degree of danger posed by obstacles. In order to remove false targets, Wen Hsu et al. used the noise density-based spatial clustering algorithm (DBSCAN) to cluster the point cloud obtained by radar, thereby eliminating many radar false detection phenomena. Since the appearance-based visual target detection method usually uses prior knowledge to identify targets on the road. However, the complexity and variability of the actual background and targets often make target detection based on prior appearance difficult. Therefore, in the visual target detection part, Dimitrievski et al. used Faster R-CNN to detect targets in images.

[0003] Based on the above analysis, the current target detection based on the fusion of millimeter-wave radar and camera information often has the following problems and shortcomings: 1) Radar often makes incorrect detections and regards irrelevant targets as relevant targets; 2) The two-stage method is computationally expensive and has poor real-time performance for autonomous vehicles with limited storage and computing power; 3) The high amount of data in the fusion system will cause difficulties in post-processing. Summary of the invention

[0004] In view of the above-mentioned prior art, the present invention provides a target detection method based on lane line auxiliary radar and vision fusion, which mainly solves the technical problems existing in the above-mentioned background technology.

[0005] To achieve the above object, the technical solution of the embodiment of the present invention is implemented as follows:

[0006] A target detection method based on lane line auxiliary radar and vision fusion, the method comprising the following steps:

[0007] Based on the vehicle radar and the camera, target information of the detection scene is collected respectively, and time alignment is performed on the collected target information respectively, wherein the target information includes video data and radar data;

[0008] The time-aligned video data and radar data are processed separately to obtain the category, distance and lane information of the visual target and the distance, speed and angle information of the target of interest of the millimeter-wave radar;

[0009] Lane lines are used to filter out targets outside the lanes in the image, and valid visual targets on the lanes are grouped by lane. Targets of interest to the millimeter-wave radar are screened, and radar targets are grouped by lanes using lane lines.

[0010] The camera coordinate system is established with the camera optical center as the center, and the millimeter-wave radar coordinate system is established with the center of the millimeter-wave radar acquisition board. The transformation relationship between the millimeter-wave radar coordinate system, the camera coordinate system, the world coordinate system, the image coordinate system and the pixel coordinate system is calculated, so as to project the 2D coordinate points of the radar target in each lane into pixel points on the image.

[0011] Generate the corresponding target ROI pixel area based on the pixel point, take the radar target as the benchmark, traverse all visual targets for each radar target in the same lane, and calculate the intersection and union ratio of the region of interest of the i-th radar target and the j-th visual target;

[0012] Target matching is performed based on the size of the intersection-over-union (IOU) ratio, and based on the matching result, the information detected by the camera or the vehicle radar is selected for output.

[0013] Optionally, the collected target information is time aligned, specifically including:

[0014] Get the startup delay Δτ of the vehicle radar relative to the camera, and the camera's acquisition frame rate V fps , the delay frame number of the vehicle radar relative to the camera is calculated by the following formula: frameVid = Δτ*V fps ;

[0015] According to the relationship between the frame rates of vehicle radar and camera data acquisition, the frame number of vehicle radar raw data with a lower frame rate is used as a benchmark, and the frame extraction method is used to perform time alignment of multi-source heterogeneous sensors on the video data with a higher acquisition frame rate.

[0016] Optionally, the time-aligned video data is processed to obtain the category, distance, and lane information of the visual target, including:

[0017] The YOLOv4 algorithm is used to perform visual target detection on the original video data to obtain the target category, confidence level, and target bounding box in the detection scene;

[0018] An appearance-based lane line detection algorithm is used to obtain the lane information of the current detection scene.

[0019] Optionally, an appearance-based lane line detection algorithm is used to obtain lane information of the current detection scene, specifically including:

[0020] Convert the image to a bird's-eye view using inverse perspective mapping;

[0021] Convert the RGB image into a grayscale image and extract the region of interest of the lane to be detected;

[0022] The grayscale image is converted into a binary image and features are extracted to obtain the lane line information of interest, where the element 1 in the binary image represents the lane line information and 0 represents the non-lane line information;

[0023] The least squares estimation algorithm is used to estimate the index of element 1 in the binary image, so as to obtain the index satisfying x=ay 2 +by+c polynomial lane line model, where x is the lateral distance of the lane line relative to the camera, y is the longitudinal distance of the lane line relative to the camera, and a, b, and c are constants in the equation.

[0024] Optionally, the radar data is processed to obtain the distance, speed, and angle information of the target of interest of the millimeter wave radar, including:

[0025] The raw data collected by the millimeter-wave radar is subjected to FFT transformation along the distance dimension and the Doppler dimension respectively to obtain the distance and speed information of the target obtained by the millimeter-wave radar of the detection scene;

[0026] According to the received signal strength analysis, the optimal constant false alarm target detection threshold based on unit average is set to filter out the interference noise in the radar echo, and the information and number of the millimeter wave radar targets of interest are preliminarily obtained;

[0027] According to the information and number of the millimeter-wave radar targets of interest, the DOA estimation algorithm based on MUSIC is used to obtain the angle information of the millimeter-wave radar targets of interest, and a 2D point cloud map of the millimeter-wave radar targets of interest is drawn.

[0028] Optionally, lane lines are used to filter out objects outside the lanes in the image, and valid visual objects on the lanes are grouped by lanes, including:

[0029] According to the visually detected target bounding box, the pixel coordinates of the midpoint of its bottom edge are calculated (u 0 ,v 0 );

[0030] Using the lane line polynomial model, find the pixel at the same longitudinal position v as the target 0 The horizontal pixel coordinate u of the i-th lane line i , get the same vertical pixel position v 0 The lateral position relationship of the lane lines after being sorted from left to right;

[0031] Based on the pixel coordinates of the target in the image and the pixel coordinates of the lane line, all u 0 1 and u 0 >u 4 Target filtering, only retaining the valid targets in the lane, where u 1 is the horizontal pixel coordinate of the first lane line, u 2 is the horizontal pixel coordinate of the second lane line, u 3 is the horizontal pixel coordinate of the third lane line, u 4 is the horizontal pixel coordinate of the fourth lane line;

[0032] All u 1 <=u 0 2 The visual target is divided into the first lane, all u 2 <=u 0 3 The visual target is divided into the second lane, all u 3 <=u 0 <=u 4 ​​​The visual target is divided into the third lane.

[0033] Optionally, effective target screening is performed on the targets of interest of the millimeter-wave radar, and the radar targets are grouped by lane using lane lines, including:

[0034] Eliminate non-interesting targets at long distances and false interference targets caused by ground clutter reflections at close ranges in the 2D point cloud of targets of interest of the millimeter-wave radar;

[0035] The lateral distances of the lane lines at both ends of the road relative to the radar in the world coordinate system are obtained according to the polynomial lane line model, and the lateral positions of the lane lines relative to the sensor are sorted from left to right.

[0036] After eliminating interference targets at long and short distances, all interference targets in the 2D point cloud of the target of interest of the millimeter-wave radar are filtered out, and only valid targets in the lane are retained;

[0037] Based on the actual vehicle length and width and the test results, a comparative analysis is performed to obtain the optimal specified radius value and minimum point minPts of the DBSCAN clustering fusion algorithm;

[0038] Perform DBSCAN clustering fusion on the 2D point clouds of radar effective targets with higher credibility in the lane to form clusters;

[0039] For each target cluster, the average distance along the x-direction and y-direction is calculated to obtain the 2D coordinate point that can represent the target location.

[0040] All x in the obtained 2D radar coordinate points 1 <=x <x 2 The radar targets are divided into the first lane, all x 2 <=x <x 3 The radar targets are divided into the second lane, all x 3 <=x <x 4 The radar target is divided into the third lane, x 1 represents the lateral position of the first lane relative to the vehicle radar, x 2 represents the lateral position of the second lane relative to the vehicle radar, x 3 represents the lateral position of the third lane relative to the vehicle radar, x 4 Indicates the lateral position of the fourth lane relative to the vehicle radar.

[0041] Optionally, generating a corresponding target ROI pixel area based on the pixel points specifically includes:

[0042] Set the width and height of the vehicle to obtain the formula for the pixel width W and height H of the ROI area of ​​the target projection point detected by the radar in the image:

[0043]

[0044] Taking the radar target as the benchmark, each radar target in the same lane traverses all visual targets and calculates the region of interest S of the i-th radar target and the j-th visual target. Ri and S Vi The intersection-and-union ratio IOU:

[0045]

[0046] In the above equation, k is the ratio between physical size and pixel size, Y is the vertical distance of the target relative to the radar, and f is x is the focal length of the camera in the x direction, f y is the focal length of the camera in the y direction.

[0047] Optionally, when the IOU value range is (0,1], the target detection results of the vehicle radar and camera are judged to be consistent, and the radar distance, speed and angle as well as the visual category, confidence, recognition box and lane line are output;

[0048] If the IOU value is equal to 0, it means that there is no overlap between the radar target recognition box and the visual target recognition box, and further judgment S is needed. Ri and S Vi Is it 0, S Ri represents the region of interest of the i-th radar target, S Vi represents the region of interest of the i-th visual target.

[0049] Optional, if S Ri = 0 and S Vi ≠0, it means that the radar has missed detection. If the confidence of the target detected by vision is greater than or equal to 0.70, it is judged that the vision detects a valid target and the visually detected information is output;

[0050] If S Vi = 0 and S Ri ≠0, it means that the camera has missed detection, and the radar is tracked between frames to determine whether it is a valid target. If it is a valid target, the information detected by the radar is output.

[0051] The beneficial effect of the present invention is that: first, the target is detected by using the information fusion system built by FMCW millimeter wave radar and monocular camera. Then, the YOLOv4 network obtained by training the video data collected by the camera using the target pictures on the real road as the training set is used for target detection to obtain the camera's target of interest with high credibility, and the lane line model of the current detection scene is obtained by using the appearance-based lane line detection algorithm. After the millimeter wave radar data is processed by the radar-related algorithm, the obtained millimeter wave radar data is processed by data screening and elimination, clustering fusion, extraction of effective targets, etc. to obtain a high-credibility target. Then, the lane line is used to filter out the interference outside the lane detected by the radar and vision, and the high-credibility targets in the lane are grouped by lane. Next, based on the positional relationship between the camera and the millimeter wave radar in the established hardware platform, and the transformation relationship of the coordinate system, the millimeter wave radar target of interest is projected into the image coordinate system, and the target is matched with the camera target of interest in the same lane and then fused. The present invention can well fuse the information of the two sensors and has relatively good robustness. At the same time, compared with some existing multi-sensor fusion methods, the present invention introduces a lane line detection algorithm in information fusion, and uses the actually detected lane lines to pre-screen and filter out invalid data outside the lane of radar and vision, thereby reducing the data processing amount of the fusion algorithm; and uses the lane lines to group the targets detected by radar and vision by lane, and performs multi-source heterogeneous sensor information fusion on the same lane, which effectively reduces the situation of target matching errors between adjacent lanes and improves the fusion accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 This is a schematic diagram of the overall process of the target detection method based on lane line auxiliary radar and vision fusion in an embodiment of the present application;

[0053] Figure 2 is a schematic diagram of sensor time matching provided by an embodiment of the present invention;

[0054] Figure 3 is a principle block diagram of the FMCW millimeter wave radar test provided by an embodiment of the present invention;

[0055] Figure 4 It is the original point cloud image of the target detection scene provided by the embodiment of the present invention.

[0056] Figure 5 It is a 2D point cloud image after the lane line screening rule proposed in the embodiment of the present invention.

[0057] Figure 6 The embodiment of the present invention is processed by the DBSCAN clustering fusion algorithm, and then the 2D coordinate point effect diagram that can represent the target is obtained by distance averaging.

[0058] Figure 7 is the actual position information of the detection scene target provided by the embodiment of the present invention

[0059] Figure 8 The target detection result using lane line auxiliary radar and visual fusion provided by the embodiment of the present invention is DETAILED DESCRIPTION

[0060] The technical solution of the present invention is further elaborated in detail below in conjunction with the drawings and specific embodiments of the specification. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. In the following description, the expression "some embodiments" is related to a subset of all possible embodiments, but it should be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0061] In the following description, a large number of specific details are provided to provide a more thorough understanding of the present invention. However, it is apparent to those skilled in the art that the present invention can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present invention, some technical features well known in the art are not described.

[0062] It should be understood that the present invention can be implemented in different forms and should not be interpreted as being limited to the embodiments proposed herein. On the contrary, providing these embodiments will make the disclosure thorough and complete, and the scope of the present invention will be fully conveyed to those skilled in the art. And the purpose of the terms used herein is only to describe specific embodiments and is not intended to be a limitation of the present invention. When used herein, the singular forms of "one", "one" and "said / the" are also intended to include plural forms, unless the context clearly indicates another way. It should also be understood that the terms "compose" and / or "include" when used in this specification determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0063] It should also be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "inside", "outside", "left", "right" and similar expressions used herein are for illustrative purposes only and are not intended to be the only implementation method.

[0064] In order to fully understand the present invention, a detailed structure will be proposed in the following description to illustrate the technical solution proposed by the present invention. The optional embodiments of the present invention are described in detail as follows, but in addition to these detailed descriptions, the present invention may also have other implementations.

[0065] Please refer to the attached Figure 1 The present application provides a target detection method based on lane line auxiliary radar and visual fusion, the method comprising the following steps:

[0066] S1. Based on the vehicle radar and the camera, target information of the detection scene is collected respectively, and time alignment is performed on the collected target information respectively, wherein the target information includes video data and radar data;

[0067] S2, respectively processing the time-aligned video data and radar data to obtain the category, distance and lane information of the visual target and the distance, speed and angle information of the target of interest of the millimeter-wave radar;

[0068] S3, using lane lines to filter out targets outside the lanes in the image, and grouping valid visual targets on the lanes by lanes, and performing effective target screening on targets of interest to the millimeter-wave radar, and grouping radar targets by lanes using lane lines;

[0069] S4. Establish a camera coordinate system with the camera optical center as the center, establish a millimeter-wave radar coordinate system with the center of the millimeter-wave radar acquisition board, calculate the transformation relationship between the millimeter-wave radar coordinate system, the camera coordinate system, the world coordinate system, the image coordinate system and the pixel coordinate system, so as to project the 2D coordinate point of the radar target in each lane into a pixel point on the image;

[0070] S5, generating the corresponding target ROI pixel area based on the pixel point, taking the radar target as the benchmark, traversing all visual targets for each radar target in the same lane, and calculating the intersection and union ratio of the region of interest of the i-th radar target and the j-th visual target;

[0071] S6. Perform target matching according to the size of the intersection-over-union (IOU) ratio, and select the information collected and detected by the camera or the information collected and detected by the vehicle radar for output according to the matching result.

[0072] In step S1, the collected target information is time-aligned, specifically including:

[0073] Get the startup delay Δτ of the vehicle radar relative to the camera, and the camera's acquisition frame rate V fps , the start-up delay frame number of the vehicle radar relative to the camera is calculated by the following formula: frameVid = Δτ*V fps ;

[0074] According to the relationship between the frame rates of vehicle radar and camera data acquisition, the frame number of vehicle radar raw data with a lower frame rate is used as a benchmark, and the frame extraction method is used to perform time alignment of multi-source heterogeneous sensors on the video data with a higher acquisition frame rate.

[0075] Specifically, a millimeter-wave radar and a monocular camera installed on the same tripod are used to collect data on the detection scene, and the collected millimeter-wave radar raw data and the camera's video data are time-aligned. Since the frame rate of the millimeter-wave radar is 10FPS and the frame rate of the camera is 30FPS, the camera's data acquisition frame rate is 3 times the radar's acquisition frame rate. Based on the data measurement time of the millimeter-wave radar with a lower frequency, one frame of video data is extracted every two frames to achieve time alignment of the two sensor data. The time that the radar is delayed in starting compared to the camera is recorded as Δτ=0.3s. According to the formula frameVid=Δτ*V fps The radar is started 9 frames later than the camera. At this time, the first frame of radar data is aligned with the 12th frame of camera data, such as Figure 2 Shown

[0076] In step S2, the time-aligned video data is processed to obtain the category, distance and lane information of the visual target, including:

[0077] The YOLOv4 algorithm is used to perform visual target detection on the original video data to obtain the target category, confidence level, and target bounding box in the detection scene;

[0078] An appearance-based lane line detection algorithm is used to obtain the lane information of the current detection scene.

[0079] Specifically, when using the YOLOv4 algorithm to perform visual target detection on raw video data, 18,000 vehicle images in actual road environments were used as training sets and 2,000 vehicle images were used as test sets. The YOLOv4 network was trained with a batch size of 100 and 180 epochs. The obtained YOLOv4 network was used to perform target detection on the camera video data obtained by time matching in step S1, and the target of interest in the video was obtained and the recognition box and confidence were drawn;

[0080] The target was placed 3.6m in front of the camera, and the target was moved every 0.6m and photographed. A total of 135 images were taken to accommodate distances from 3.6m to 84m. The rational function was used to fit the data of the real distance d of the target and the vertical pixel coordinate v of the bottom midpoint of the target bounding box in these 135 sets of images, so that the conversion relationship between the vertical pixel position v of the bottom edge of the target in the image and the vertical distance d between the target and the camera was obtained as:

[0081]

[0082] The lane line detection algorithm based on appearance is used to obtain the lane information of the current detection scene. According to the effective detection range of the camera used in this system, the lateral detection range of the area of ​​interest of the lane line to be detected is set to |x|<=6m, the longitudinal detection range is 2.8m<=y<=44m, and the lane line detection sensitivity is laneSensitivity=0.7, so as to obtain the target category, confidence and target bounding box in the detection scene.

[0083] Furthermore, an appearance-based lane line detection algorithm is used to obtain lane information of the current detection scene, including:

[0084] Convert the image to a bird's-eye view using inverse perspective mapping;

[0085] Convert the RGB image into a grayscale image and extract the region of interest of the lane to be detected;

[0086] The grayscale image is converted into a binary image and features are extracted to obtain the lane line information of interest, where the element 1 in the binary image represents the lane line information and 0 represents the non-lane line information;

[0087] The least squares estimation algorithm is used to estimate the index of element 1 in the binary image, so as to obtain the index satisfying x=ay 2 +by+c polynomial lane line model, where x is the lateral distance of the lane line relative to the camera, x is the longitudinal distance of the lane line relative to the camera, and a, b, and c are constants in the equation.

[0088] In one embodiment of step S2, the radar data is processed to obtain the distance, speed and angle information of the target of interest of the millimeter wave radar, specifically including:

[0089] The raw data collected by the millimeter-wave radar is subjected to FFT transformation along the distance dimension and the Doppler dimension respectively to obtain the distance and speed information of the target obtained by the millimeter-wave radar of the detection scene;

[0090] According to the received signal strength analysis, the optimal constant false alarm target detection threshold based on unit average is set to filter out the interference noise in the radar echo, and the information and number of the millimeter wave radar targets of interest are preliminarily obtained;

[0091] According to the information and number of the millimeter-wave radar targets of interest, the DOA estimation algorithm based on MUSIC is used to obtain the angle information of the millimeter-wave radar targets of interest, and a 2D point cloud map of the millimeter-wave radar targets of interest is drawn.

[0092] Specifically, the principle of the FMCW radar equation is that the transmitter transmits L periodic frequency modulated continuous wave signals. The principle is as follows: Figure 3 As shown. After the receiving end receives the echo signal, the Hilbert transform is used to modulate and demodulate the transmitted signal and the received signal to construct a complex baseband signal. Then, the T s The complex baseband signal is sampled for the sampling interval, and the expression of the discrete time series of the intermediate frequency signal finally obtained is as follows:

[0093]

[0094] Among them, T RRI Repeat interval for the ramp.

[0095] Since the time delay caused by the radial distance R between the target and the radar will cause a large frequency offset in the fast time dimension, the Doppler effect of the moving target will cause a large frequency offset in the slow time dimension. Therefore, the 2D-FFT algorithm is performed on the discrete time series of the intermediate frequency signal to convert the signal from the time domain to the frequency domain:

[0096]

[0097] Where N and L are the number of Fourier transform points in the fast and slow time dimensions when executing the 2D-FFT algorithm. It can be clearly seen from the above equation that the spectrum peak caused by distance appears at the following positions:

[0098]

[0099] The speed-induced peaks appear at the following locations:

[0100]

[0101] The optimal unit average-based constant false alarm target detection (CA-CFAR) threshold is obtained based on the received signal strength analysis. The interference noise in the radar echo is filtered out, and the radar's target of interest and its number are initially obtained, effectively reducing the problem of false alarms;

[0102] According to the constant false alarm detection results, the angle information of the target of interest of the millimeter wave radar is obtained using the DOA estimation algorithm based on MUSIC. The basic principle of the MUSIC algorithm is based on subspace decomposition. According to the orthogonal characteristics of the signal subspace and the noise subspace, the spectral function is constructed to realize angle estimation. The signal with angle information is expressed as:

[0103] X=AS+W

[0104] The specific expression is:

[0105]

[0106] Among them, X is the received signal, S is the transmitted signal, A is the direction matrix, and the steering vector Contains the angle information of the i-th target, W is the noise, N is the number of signal sources, Q is the number of array elements at the receiving end, and R is the radial distance between the target and the radar.

[0107] Find the covariance matrix of the received signal X consisting of Q receiving array elements and L snapshots:

[0108] R=E{XX H}

[0109] Perform singular value decomposition on the covariance matrix:

[0110] R=UΛV

[0111] Thus we get the diagonal matrix Λ=diag(λ 1 ,λ 2 ,...λ Q-1 ), sort them from small to large as λ 1 >=λ 2 >=λ N >λ N+1 ...>=λ Q .

[0112] The first N larger eigenvalues ​​generate the signal subspace Es, and the last QN smaller eigenvalues ​​generate the noise subspace En:

[0113] E S =U S U S H

[0114] E n =U n U n H

[0115] According to the orthogonal principle of the steering vector a(θ) generated by the angle and the characteristic vector Un of the noise, a spatial spectrum function is constructed to realize the spectrum peak search, thereby realizing super-resolution angle estimation. The obtained spatial spectrum function is shown in the following formula:

[0116]

[0117] After the above calculations, the original 2D point cloud of the target of interest of the millimeter-wave radar including distance, angle and speed is obtained, as shown in Figure 4 shown.

[0118] Furthermore, the aforementioned original 2D point cloud data contains point cloud data of valid targets, as well as interference targets such as roadside trash cans, billboards, guardrails, trees, and other invalid targets and some empty targets caused by other clutter interference. In order to reduce the amount of post-processing calculations and improve the processing speed, the lateral and longitudinal distances of the actual lane conditions are limited, and relevant rules are set to filter out invalid targets and empty targets:

[0119] Based on the preset effective detection range of the millimeter-wave radar, the 2D point cloud of the millimeter-wave radar target of interest is screened. This is set to eliminate non-interesting targets at long distances and false interference targets caused by ground clutter reflections at close distances in the 2D point cloud of the millimeter-wave radar target of interest;

[0120] The lateral distances of the lane lines at both ends of the road relative to the radar in the world coordinate system are obtained based on the polynomial lane line model. The positions of the lane lines from left to right in the detection scene are x 1 =-6.00m,x 2 =-3.00m,x 3 =0.50m,x 4 =1.30m, thereby eliminating all targets with x<-6.00m and x>1.30m in the 2D point cloud of the target of interest of the millimeter-wave radar. The filtered valid radar point cloud is as follows Figure 5 As shown;

[0121] According to the actual vehicle length and width and the test results, the optimal DBSCAN clustering fusion algorithm is obtained by comparing and analyzing the specified radius and minimum point, so as to form clusters by DBSCAN clustering fusion of the 2D point cloud of the radar effective target with higher credibility in the lane. Then, the distance average of each point in the target cluster is calculated along the x-direction and the y-direction to obtain the 2D coordinate point that can represent the target position, such as Figure 6 As shown. Figure 7 By comparing the actual position of the target with the actual position of the target, it can be seen that the DBSCAN clustering fusion algorithm can effectively fuse the point cloud of the target into clusters, thereby obtaining coordinate points that can represent the specific position of each target. Finally, all x1 <=x <x 2 The radar targets are divided into the first lane, all x 2 <=x <x 3 The radar targets are divided into the second lane, all x 3 <=x <x 4 The radar target is divided into the third lane, x 1 represents the lateral position of the first lane relative to the vehicle radar, x 2 represents the lateral position of the second lane relative to the vehicle radar, x 3 represents the lateral position of the third lane relative to the vehicle radar, x 4 Indicates the lateral position of the fourth lane relative to the vehicle radar.

[0122] In one implementation of step S3, lane lines are used to filter out objects outside the lanes in the image, and valid visual objects on the lanes are grouped by lanes, specifically including:

[0123] According to the visually detected target bounding box, the pixel coordinates of the midpoint of its bottom edge are calculated (u 0 ,v 0 );

[0124] Using the lane line polynomial model, find the pixel at the same longitudinal position v as the target 0 The horizontal pixel coordinate u of the i-th lane line i , get the same vertical pixel position v 0 The lateral position relationship of the lane lines after being sorted from left to right,

[0125] Taking three lanes as an example, the lateral position relationship of the lane lines after being sorted from left to right at the same longitudinal pixel position is:

[0126] u 1 2 3 4

[0127] Based on the pixel coordinates of the target in the image and the pixel coordinates of the lane line, all u 0 1 and u 0 >u 4 Target filtering, only retaining the valid targets in the lane, where u 1 is the horizontal pixel coordinate of the first lane line, u 2 is the horizontal pixel coordinate of the second lane line, u 3 is the horizontal pixel coordinate of the third lane line, u 4 is the horizontal pixel coordinate of the fourth lane line; ​​​​

[0128] All u 1 <=u 0 2 The visual target is divided into the first lane, all u 2 <=u 0 3 The visual target is divided into the second lane, all u 3 <=u 0 <=u 4 The visual target is divided into the third lane.

[0129] In step S4, it specifically includes:

[0130] Measure the relative position of the camera optical center and the center of the millimeter-wave radar acquisition board to obtain the camera external parameter matrix;

[0131] Use a monocular camera to take 20 sets of chessboard pictures at different angles to calibrate the camera, so as to obtain the camera intrinsic parameter matrix;

[0132] First, the radar coordinate system is converted into the camera coordinate system using the camera extrinsic matrix, and then the camera coordinate system is converted into the pixel coordinate system using the camera intrinsic matrix, so that the target detected by the radar is projected into pixel points in the image.

[0133] The camera coordinate system is established with the optical center of the camera as the center, the millimeter-wave radar coordinate system is established with the center of the millimeter-wave radar acquisition board, the camera coordinate system is selected as the world coordinate system, and the camera is calibrated by Zhang Zhengyou calibration method to obtain the camera's intrinsic parameter matrix and extrinsic parameter matrix. Combined with the installation position of the camera and millimeter-wave radar, the relationship between the millimeter-wave radar coordinate system, camera coordinate system, world coordinate system, image coordinate system and pixel coordinate system is obtained, so that the points in the radar coordinate system are projected into pixel points on the image.

[0134] Furthermore, the corresponding target ROI pixel area is generated based on the pixel points, specifically including:

[0135] The width of the vehicle is set to 2.4 meters, and the aspect ratio is taken as 1.2, and the formula for establishing the pixel width W and height H of the ROI area of ​​the target projection point detected by the radar in the image is obtained:

[0136]

[0137] Taking the radar target as the benchmark, each radar target in the same lane traverses all visual targets and calculates the region of interest S of the i-th radar target and the j-th visual target. Ri and S Vi The intersection-and-union ratio IOU:

[0138] ​​

[0139] In the above equation, k is the ratio between physical size and pixel size, Y is the vertical distance of the target relative to the radar, and f is x is the focal length of the camera in the x direction, f y is the focal length of the camera in the y direction.

[0140] Optionally, when the IOU value range is (0,1], the target detection results of the vehicle radar and camera are judged to be consistent, and the radar distance, speed and angle as well as the visual category, confidence, recognition box and lane line are output;

[0141] If the IOU value is equal to 0, it means that there is no overlap between the radar target recognition box and the visual target recognition box, and further judgment S is needed. Ri and S Vi Is it 0, S Ri represents the region of interest of the i-th radar target, S Vi represents the region of interest of the i-th visual target.

[0142] Optional, if S Ri = 0 and S Vi ≠0, it means that the radar has missed detection. If the confidence of the target detected by vision is greater than or equal to 0.70, it is judged that the vision detects a valid target and the visually detected information is output;

[0143] If S Vi = 0 and S Ri ≠0, it means that the camera has missed detection, and the radar is tracked between frames to determine whether it is a valid target. If it is a valid target, the information detected by the radar is output

[0144] In order to verify the effect of the target detection and method based on lane line auxiliary radar and visual fusion of the present invention, the millimeter wave radar and camera acquisition system established was used to collect data at the road intersection for verification.

[0145] The radar and camera detection data are put into the fusion system with lane lines for information fusion. The fusion results are as follows: Figure 8 As shown in the figure. The experimental results show that the target detection and method based on lane-line-assisted radar and vision fusion can effectively fuse the information from the millimeter-wave radar and camera, and effectively combine the advantages of the two sensors. On the one hand, it makes up for the problem of incomplete target information caused by single sensor detection, and reduces the situation of false detection and missed detection to a certain extent; on the other hand, the lanes of radar and visual targets are grouped by the lane lines actually detected, and information fusion is realized on the same lane, thereby improving the fusion accuracy.

[0146] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A target detection method based on lane line auxiliary radar and vision fusion, It is characterized in that The method comprises the following steps: Based on the vehicle radar and the camera, target information of the detection scene is collected respectively, and time alignment is performed on the collected target information respectively, wherein the target information includes video data and radar data; The time-aligned video data and radar data are processed separately to obtain the category, distance and lane information of the visual target and the distance, speed and angle information of the target of interest of the millimeter-wave radar; Lane lines are used to filter out targets outside the lanes in the image, and valid visual targets on the lanes are grouped by lane. Targets of interest to the millimeter-wave radar are screened, and radar targets are grouped by lanes using lane lines. The camera coordinate system is established with the camera optical center as the center, and the millimeter-wave radar coordinate system is established with the center of the millimeter-wave radar acquisition board. The transformation relationship between the millimeter-wave radar coordinate system, the camera coordinate system, the world coordinate system, the image coordinate system and the pixel coordinate system is calculated, so as to project the 2D coordinate points of the radar target in each lane into pixel points on the image. Generate the corresponding target ROI pixel area based on the pixel point, take the radar target as the benchmark, traverse all visual targets for each radar target in the same lane, and calculate the intersection and union ratio of the region of interest of the i-th radar target and the j-th visual target; Target matching is performed based on the size of the intersection-over-union (IOU) ratio, and based on the matching result, the information detected by the camera or the vehicle radar is selected for output.

2. According to claim 1, a target detection method based on lane line auxiliary radar and vision fusion, It is characterized in that Time alignment of the collected target information, including: Get the startup delay Δτ of the vehicle radar relative to the camera, and the camera's acquisition frame rate V fps , the delay frame number of the vehicle radar relative to the camera is calculated by the following formula: frameVid = Δτ*V fps ; According to the relationship between the frame rates of vehicle radar and camera data acquisition, the frame number of vehicle radar raw data with a lower frame rate is used as a benchmark, and the frame extraction method is used to perform time alignment of multi-source heterogeneous sensors on the video data with a higher acquisition frame rate.

3. According to claim 1, a target detection method based on lane line auxiliary radar and vision fusion, It is characterized in that The time-aligned video data is processed to obtain the category, distance, and lane information of the visual target, including: The YOLOv4 algorithm is used to perform visual target detection on the original video data to obtain the target category, confidence level, and target bounding box in the detection scene; An appearance-based lane line detection algorithm is used to obtain the lane information of the current detection scene.

4. According to claim 3, a target detection method based on lane line auxiliary radar and vision fusion, It is characterized in that The appearance-based lane line detection algorithm is used to obtain the lane information of the current detection scene, including: Convert the image to a bird's-eye view using inverse perspective mapping; Convert the RGB image into a grayscale image and extract the region of interest of the lane to be detected; The grayscale image is converted into a binary image and features are extracted to obtain the lane line information of interest, where the element 1 in the binary image represents the lane line information and 0 represents the non-lane line information; The least squares estimation algorithm is used to estimate the index of element 1 in the binary image, so as to obtain the index satisfying x=ay 2 +by+c polynomial lane line model, where x is the lateral distance of the lane line relative to the camera, y is the longitudinal distance of the lane line relative to the camera, and a, b, and c are constants in the equation.

5. According to claim 4, a target detection method based on lane line auxiliary radar and vision fusion, It is characterized in that Process the radar data to obtain the distance, speed and angle information of the target of interest of the millimeter wave radar, including: The raw data collected by the millimeter-wave radar is subjected to FFT transformation along the distance dimension and the Doppler dimension respectively to obtain the distance and speed information of the target obtained by the millimeter-wave radar of the detection scene; According to the received signal strength analysis, the optimal constant false alarm target detection threshold based on unit average is set to filter out the interference noise in the radar echo, and the information and number of the millimeter wave radar targets of interest are preliminarily obtained; According to the information and number of the millimeter-wave radar targets of interest, the DOA estimation algorithm based on MUSIC is used to obtain the angle information of the millimeter-wave radar targets of interest, and a 2D point cloud map of the millimeter-wave radar targets of interest is drawn.

6. According to claim 5, a target detection method based on lane line auxiliary radar and vision fusion, It is characterized in that Lane lines are used to filter out objects outside the lanes in the image, and valid visual objects on the lanes are grouped by lanes, including: According to the visually detected target bounding box, the pixel coordinates of the midpoint of its bottom edge are calculated (u 0 ,v 0 ); Using the lane line polynomial model, find the pixel at the same longitudinal position v as the target 0 The horizontal pixel coordinate u of the i-th lane line i , get the same vertical pixel position v 0 The lateral position relationship of the lane lines after being sorted from left to right; Based on the pixel coordinates of the target in the image and the pixel coordinates of the lane line, all u 0 1 and u 0 >u 4 Target filtering, only retaining the valid targets in the lane, where u 1 is the horizontal pixel coordinate of the first lane line, u 2 is the horizontal pixel coordinate of the second lane line, u 3 is the horizontal pixel coordinate of the third lane line, u 4 is the horizontal pixel coordinate of the fourth lane line;​ All u 1 <=u 0 2 The visual target is divided into the first lane, all u 2 <=u 0 3 The visual target is divided into the second lane, all u 3 <=u 0 <=u 4 The visual target is divided into the third lane.​​ 7. According to claim 5, a target detection method based on lane line auxiliary radar and vision fusion, It is characterized in that Effectively screen targets of interest for millimeter-wave radars and use lane lines to group radar targets by lane, including: Eliminate non-interesting targets at long distances and false interference targets caused by ground clutter reflections at close ranges in the 2D point cloud of targets of interest of the millimeter-wave radar; The lateral distances of the lane lines at both ends of the road relative to the radar in the world coordinate system are obtained according to the polynomial lane line model, and the lateral positions of the lane lines relative to the sensor are sorted from left to right. After eliminating interference targets at long and short distances, all interference targets in the 2D point cloud of the target of interest of the millimeter-wave radar are filtered out, and only valid targets in the lane are retained; Based on the actual vehicle length and width and the test results, a comparative analysis is performed to obtain the optimal specified radius value and minimum point minPts of the DBSCAN clustering fusion algorithm; Perform DBSCAN clustering fusion on the 2D point clouds of radar effective targets with higher credibility in the lane to form clusters; For each target cluster, the average distance along the x-direction and y-direction is calculated to obtain the 2D coordinate point that can represent the target location. All x in the obtained 2D radar coordinate points 1 <=x <x 2 The radar targets are divided into the first lane, all x 2 <=x <x 3 The radar targets are divided into the second lane, all x 3 <=x <x 4 The radar target is divided into the third lane, x 1 represents the lateral position of the first lane relative to the vehicle radar, x 2 represents the lateral position of the second lane relative to the vehicle radar, x 3 represents the lateral position of the third lane relative to the vehicle radar, x 4 Indicates the lateral position of the fourth lane relative to the vehicle radar.

8. According to claim 7, a target detection method based on lane line auxiliary radar and vision fusion, It is characterized in that Generate the corresponding target ROI pixel area based on the pixel points, specifically including: Set the width and height of the vehicle to obtain the formula for the pixel width W and height H of the ROI area of ​​the target projection point detected by the radar in the image: Taking the radar target as the benchmark, each radar target in the same lane traverses all visual targets and calculates the region of interest S of the i-th radar target and the j-th visual target. Ri and S Vi The intersection-and-union ratio IOU: In the above equation, k is the ratio between physical size and pixel size, Y is the vertical distance of the target relative to the radar, and f x is the focal length of the camera in the x direction, f y is the focal length of the camera in the y direction.

9. The target detection method based on lane line auxiliary radar and vision fusion according to claim 8, It is characterized in that When the IOU value range is (0,1], it is judged that the target detection results of the vehicle radar and the camera are consistent, and the radar distance, speed and angle as well as the visual category, confidence, recognition box and lane line are output; If the IOU value is equal to 0, it means that there is no overlap between the radar target recognition box and the visual target recognition box, and further judgment S is needed. Ri and S Vi Is it 0, S Ri represents the region of interest of the i-th radar target, S Vi represents the region of interest of the i-th visual target.

10. The target detection method based on lane line auxiliary radar and vision fusion according to claim 9, It is characterized in that If S Ri = 0 and S Vi ≠0, it means that the radar has missed detection. If the confidence of the target detected by vision is greater than or equal to 0.70, it is judged that the vision detects a valid target and the visually detected information is output; If S Vi = 0 and S Ri ≠0, it means that the camera has missed detection, and the radar is required to track the target between frames to determine whether it is a valid target. If it is a valid target, the information detected by the radar will be output.

Citation Information

Cited By

  • Data acquisition method, electronic equipment and storage medium

    CN119169715A

  • Vehicle laser radar and camera combined external parameter calibration method and system

    CN119309598A

  • A method and system for joint external parameter calibration of vehicle lidar and camera

    CN119309598B

  • Traffic radar-based high-capture-rate target detection method and device, and storage medium

    CN121348331A

  • Deep learning-based automatic acquisition method for vehicle lane line of all-in-one vehicle

    CN122336451A