Pedestrian detection method based on millimeter wave radar and monocular camera fusion
Through the fusion method based on millimeter wave radar and monocular camera, the problem of high miss detection rate of a single sensor in pedestrian detection is solved, the accuracy and information dimension of pedestrian detection are improved, and it is suitable for complex environments.
Patent Information
- Application Number
- CN202410883599.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing pedestrian detection technology has high miss detection rate and poor applicability when faced with problems such as pedestrian occlusion, light influence, and extreme environments. It is difficult for a single sensor to meet the needs for efficient and accurate pedestrian detection, especially the target resolution of millimeter wave radar. It is too low to be used alone in the field of pedestrian detection.
A fusion method based on millimeter-wave radar and monocular camera is used to simultaneously collect image and point cloud data to perform data preprocessing, cluster analysis and target estimation, combined with an anchor-free target detection algorithm and a target association algorithm based on position estimation. , realize the spatial alignment and matching of the detection targets of the two sensors, obtain the fusion target and the non-fusion target, and realize multi-dimensional pedestrian detection.
It reduces the missed detection rate of pedestrian detection in complex environments, improves the accuracy and information dimension of pedestrian detection, and enhances pedestrian detection capabilities in extreme environments.
Smart Images

Figure CN118675202A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of multi-sensor fusion, and in particular to a pedestrian detection method based on the fusion of millimeter-wave radar and monocular camera. Background Art
[0002] Pedestrian detection is an important and challenging research task in the field of computer vision and has received widespread attention worldwide. In this task, achieving accurate and real-time pedestrian detection has always been a difficult point in research. At present, mainstream pedestrian detection technology mainly uses image sensors to perceive the surrounding environment, and uses computer vision technology to determine whether there are pedestrians in the image or video sequence and give precise positioning. However, due to the detection capabilities of visual sensors, pure vision-based detection methods have a high missed detection rate and poor applicability when facing problems such as pedestrian occlusion, light influence, and extreme environments. In practical applications, since the unreliability of single sensor detection cannot be avoided, it is necessary to study pedestrian detection technology that combines multiple sensors to improve the accuracy of pedestrian detection.
[0003] At present, the commonly used sensors in the field of target detection include millimeter-wave radar, camera, laser radar and infrared camera. Compared with other sensors, millimeter-wave radar has the advantages of high positioning accuracy, strong environmental adaptability and strong penetration ability. It is widely used in autonomous driving, industrial measurement, human vital signs detection and other fields. Although the development of millimeter-wave radar is relatively mature, its target resolution is low and it is difficult to present the contour information of the target. It cannot be used alone in the field of pedestrian detection. Therefore, a single sensor is difficult to meet the needs of efficient and accurate pedestrian detection. The research on pedestrian detection technology by fusing millimeter-wave radar with monocular vision is undoubtedly the best solution.
[0004] Multi-sensor fusion technology mainly combines information from different types of sensors to analyze results and make decisions. The comprehensive use of multi-sensor fusion technology can give full play to the advantages of each sensor, make up for their respective limitations, and improve the system's perception ability and decision-making accuracy. In terms of pedestrian detection, this technology can integrate and fuse incomplete information collected by multiple different sensors, which can weaken the uncertainty in the data source and make the advantages of different data complement each other, thereby obtaining effective fusion judgment and accurate comprehensive measurement.
[0005] In 2018, Guo et al. published a paper titled "Pedestrian detection based on fusion of millimeter wave radar and vision" (International Conference on Artificial Intelligence and Pattern Recognition), which achieved the fusion of millimeter wave radar and camera at the data layer, improving the accuracy of pedestrian detection. This method uses radar detection points instead of the sliding window method, which reduces the number of generated candidate boxes and improves the detection speed. In addition, radar information can be used to detect pedestrians that are not obvious in the distance, thereby expanding the detection range.
[0006] In 2023, Cui et al. published the paper "Online Multi-pedestrian Tracking based on Fused Detections of Millimeter Wave Radar and Vision" (IEEE Sensors Journal), proposing a multi-sensor tracking algorithm based on millimeter wave radar and visual fusion detection to improve the accuracy and robustness of pedestrian tracking. The correlation of the detection results of multiple heterogeneous sensors is improved by using the designed back projection and undirected graph. This method uses the appearance, local and global position information of pedestrians to improve fusion detection and verifies the superiority of the algorithm.
[0007] In 2021, Zhu Bo and others published a paper entitled "Pedestrian Detection Method Based on Neural Network and Data Fusion" (Automotive Engineering). In response to the shortcomings of millimeter-wave radar in pedestrian recognition being not ideal and camera inaccurate distance detection, they proposed a pedestrian detection method based on neural network and data fusion. The neural network algorithm is used to screen out suspected pedestrian targets from targets detected by the millimeter-wave radar and match them with pedestrian targets. Then, the Kalman filter algorithm is used to fuse the millimeter-wave radar and the successfully matched pedestrian targets, thereby improving the accuracy of pedestrian position detection.
[0008] In summary, there is currently little research on pedestrian detection technology based on the fusion of millimeter-wave radar and vision, and the data fusion level of the existing fusion detection method is low, and the data information of different sensors is not fully utilized. Therefore, the research on pedestrian detection technology based on the fusion of millimeter-wave radar and vision is of great significance. Summary of the invention
[0009] In order to solve the above technical problems, this application proposes the following technical solutions: In the first aspect, an embodiment of the present application provides a pedestrian detection method based on the fusion of millimeter-wave radar and a monocular camera, the method comprising: synchronously collecting image and point cloud data by a monocular camera and a 4D millimeter-wave radar; performing data preprocessing, clustering analysis and pedestrian estimation on the point cloud to obtain pedestrian targets; performing pedestrian detection on the image based on an anchor-free target detection algorithm to obtain pedestrian targets; mapping the pedestrian targets in the point cloud to the image to achieve spatial alignment of the detection targets of the two sensors; using a target association algorithm based on position estimation to achieve matching of pedestrian targets in the two sensors; obtaining fused targets and non-fused targets based on the matching results to achieve multi-dimensional pedestrian detection.
[0010] Using the above implementation method, when performing pedestrian detection tasks, data is collected based on two sensors, millimeter-wave radar and monocular camera, and pedestrian detection is performed on point clouds and images respectively to obtain detection targets of different sensors. The fusion of radar detection targets and image detection targets is achieved through spatial alignment and target matching methods, which realizes comprehensive and intuitive detection of pedestrian targets and reduces the missed detection rate of pedestrian detection in complex environments.
[0011] In combination with the first aspect, in a first possible implementation method of the first aspect, the monocular camera and the 4D millimeter-wave radar synchronously collect image and point cloud data, including: the two sensors synchronously collect point cloud and image data to ensure the temporal consistency of the data; and select to collect point cloud and image data in an open outdoor environment, the radar detection plane is parallel to the ground, and the collection equipment is placed 1.5 meters from the ground.
[0012] In combination with the first possible implementation method of the first aspect, in the second possible implementation method of the first aspect, the point cloud is subjected to data preprocessing, clustering analysis, and pedestrian estimation to obtain pedestrian targets, including: preprocessing the point cloud data to eliminate empty targets, interfering targets, and false targets in the point cloud; obtaining clustered targets in the point cloud based on the DBSCAN clustering algorithm, and filtering noise points in the point cloud; and estimating the number of pedestrians through the length, width, and point cloud density information of the clustered targets.
[0013] In combination with the second possible implementation method of the first aspect, in the third possible implementation method of the first aspect, the pedestrian detection is performed on the image based on the anchor-free target detection algorithm to obtain the pedestrian target, including: obtaining the pedestrian target based on the NanoDet-Plus target detection algorithm; recording the position, border size and confidence of the pedestrian target in the image.
[0014] In combination with the third possible implementation method of the first aspect, in the fourth possible implementation method of the first aspect, the mapping of the pedestrian target in the point cloud to the image achieves spatial alignment of the targets detected by the two sensors, including: extracting feature points of the image and point cloud data, and manually annotating multiple groups of feature association pairs; according to the homography between the radar plane and the image plane, using multiple groups of data association pairs and the least squares estimation method to fit the coordinate transformation matrix; and mapping the radar detection target to the image plane through the coordinate transformation matrix.
[0015] In combination with the fourth possible implementation method of the first aspect, in the fifth possible implementation method of the first aspect, the target association algorithm based on position estimation is used to achieve matching of pedestrian targets in two sensors, including: calculating the Euclidean distance between the target in the radar and the target in each image, and generating a distance cost matrix between the radar target and the image target; calculating the intersection-and-union ratio score of the pedestrian target box in the image and the pedestrian estimation box in the radar, and generating a position cost matrix between the radar target and the image target; adding the distance cost matrix and the position cost matrix adjusted by the weight factor; and calculating the optimal association strategy in the cost matrix according to the global nearest neighbor data association principle.
[0016] In combination with the fifth possible implementation method of the first aspect, in the sixth possible implementation method of the first aspect, the fused targets and the non-fused targets are obtained according to the matching results to realize multi-dimensional pedestrian detection, including: obtaining successfully associated targets according to the target matching results; marking the position, distance, speed, and confidence information of the associated targets; obtaining unassociated targets among the targets, and marking the pedestrian detection results of radar or point cloud. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flowchart of a pedestrian detection method based on the fusion of millimeter-wave radar and monocular camera provided in an embodiment of the present application; Figure 2 A pedestrian detection result diagram in a point cloud provided in an embodiment of the present application; Figure 3 A result diagram of pedestrian detection in an image provided by an embodiment of the present application; Figure 4 A corresponding diagram of the radar and camera coordinate systems provided in the embodiment of the present application; Figure 5 A pedestrian detection result diagram of the fused point cloud and image provided in an embodiment of the present application; Figure 6 A framework diagram of a pedestrian detection method for fusing point clouds and images provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The present solution is described below in conjunction with the accompanying drawings and specific implementation methods.
[0019] Figure 1 A flow chart of a pedestrian detection method based on the fusion of millimeter-wave radar and monocular camera provided in the embodiment of the present application, see Figure 1 , the method comprising: S101, monocular camera and 4D millimeter wave radar synchronously collect image and point cloud data.
[0020] In this embodiment, millimeter wave radar is used to collect point cloud data, and monocular camera is used to collect image data synchronously. During the collection process, the timestamps of each data are recorded separately to ensure the consistency of the data in time (if the timestamps are not completely consistent, two frames of data with similar time are selected as synchronization data). The point cloud and image data are collected in an open outdoor environment. The detection planes of the monocular camera and radar are parallel to the ground, and the collection equipment is placed 1.5 meters from the ground.
[0021] S102, performing data preprocessing, cluster analysis and pedestrian estimation on the point cloud to obtain pedestrian targets.
[0022] First, the point cloud data is preprocessed to remove empty targets, interfering targets, and false targets in the point cloud. Target points with a distance less than 1m, a speed greater than 1m / s, and a height less than 0m are deleted. Then, clustered targets in the point cloud are obtained based on the DBSCAN clustering algorithm. The neighborhood radius of the algorithm is set to 1, the minimum number of neighborhood samples is set to 6, and noise points in the point cloud are filtered. Finally, the number of pedestrians is estimated by the length, width, and point cloud density information of the clustered targets, and the distance, speed, and orientation information of each pedestrian target are recorded separately.
[0023] S103, performing pedestrian detection on the image based on an anchor-free target detection algorithm to obtain pedestrian targets.
[0024] In this embodiment, the NanoDet-Plus target detection algorithm is used to detect pedestrian targets in the captured images. Pedestrian detection is performed on each image captured by the monocular camera, and the position, frame size and confidence information of each pedestrian target are recorded respectively.
[0025] S104, mapping the pedestrian target in the point cloud to the image to achieve spatial alignment of the targets detected by the two sensors.
[0026] First, multiple sets of synchronous data of point clouds and images are selected. By observing the features of image and point cloud data, the feature association pairs of multiple sets of images and point clouds are manually annotated to ensure that all data association pairs are evenly distributed. Then, according to the homography between the radar plane and the image plane, multiple sets of data association pairs and the least squares estimation method are used to fit the coordinate transformation matrix. Finally, the radar detection target is mapped to the image plane through the coordinate transformation matrix.
[0027] S105, matching pedestrian targets in two sensors is achieved by using a target association algorithm based on position estimation.
[0028] Calculate the Euclidean distance between the radar target and each target in the image to generate the distance cost matrix between the radar target and the image target. Calculate the intersection-over-union ratio score between the pedestrian target box in the image and the pedestrian estimation box in each radar to generate the position cost matrix between the radar target and the image target. Add the distance cost matrix and the position cost matrix adjusted by the weight factor. According to the global nearest neighbor data association principle, calculate the optimal association strategy in the cost matrix.
[0029] S106, obtaining fused targets and non-fused targets according to the matching results, and realizing multi-dimensional pedestrian detection.
[0030] According to the target matching results, the successfully associated targets are obtained, and the position, distance, speed, and confidence information of the associated targets are marked; the unassociated targets are obtained, and the pedestrian detection results of the radar or point cloud are marked.
[0031] An illustrative embodiment of the present application: The monocular camera and 4D millimeter-wave radar synchronously collect image and point cloud data: fix the relative position of the millimeter-wave radar and the monocular camera through a fixed bracket (the monocular camera is located above the millimeter-wave radar), and place the acquisition device 1.5 meters above the ground so that the acquisition plane of the acquisition device is parallel to the ground. Collect image data and point cloud data at the same time, record the acquisition timestamp of each frame of image and point cloud, and select the point cloud closest to the image timestamp as the time synchronization data.
[0032] Pedestrian detection in the point cloud is carried out according to the following process: loop through all radar detection points in a single-frame point cloud. When a radar detection point in the point cloud meets the requirement of a distance less than 1m, it is considered an empty target and is eliminated. When a radar detection point in the point cloud meets the requirement of a speed greater than 5m / s, it is considered an interference target and is eliminated. When a radar detection point in the point cloud meets the requirement of a height less than 0m or greater than 2m, it is considered a false target and is eliminated. Perform cluster analysis on the point cloud data after data preprocessing, and obtain cluster targets in the point cloud based on the DBSCAN clustering algorithm. Set the algorithm's neighborhood radius to 1, the minimum number of neighborhood samples to 6, and filter out noise points in the point cloud. Calculate the length, width, and point cloud density information of the cluster targets. Consider the length and width of each pedestrian as 0.25 meters. Select the larger value of the length and width to estimate the number of pedestrians. Record the distance, speed, direction, and other information of all pedestrian targets in the point cloud. Figure 2 This is the result of pedestrian detection in the point cloud.
[0033] Pedestrian detection in images is performed in the following process: the collected images are sent to the anchor-free object detection algorithm NanoDet-Plus to infer and record the position and size information of the target box of the pedestrian target in each image, such as Figure 3 This is the result of pedestrian detection in the image.
[0034] Map the pedestrian target in the point cloud to the image to achieve spatial alignment of the targets detected by the two sensors. This step includes the following process: After collecting multiple sets of data using a fixed acquisition device, select multiple sets of synchronous data of point clouds and images, observe the characteristics of image and point cloud data, and manually annotate the feature association pairs of multiple sets of images and point clouds, so as to make all data association pairs as evenly distributed and accurately associated as possible. Utilize the homography between the radar plane and the image plane, and use the least squares estimation method to fit the coordinate transformation matrix from the radar coordinate system to the image plane. After obtaining the coordinate transformation matrix, map the radar detection target to the image plane, and draw the radar pedestrian estimation box on the image based on the estimation of pedestrians in the radar detection results. Figure 4 Corresponding diagram of radar and camera coordinate systems The target association algorithm based on position estimation is used to match pedestrian targets in two sensors. This step includes the following processes: calculating the Euclidean distance between the radar pedestrian estimation frame and the pedestrian detection frame of each image on the image after the radar target is mapped, and generating the distance cost matrix between the radar target and the image target; calculating the intersection-over-union ratio score between the radar pedestrian estimation frame and the pedestrian detection frame of each image, and generating the position cost matrix between the radar target and the image target. Add the distance cost matrix and the position cost matrix adjusted by the weight factor to obtain the final cost matrix. According to the global nearest neighbor data association principle, the optimal association strategy in the cost matrix is calculated.
[0035] According to the matching results, fused targets and non-fused targets are obtained to achieve multi-dimensional pedestrian detection. This step includes the following process: after target association, targets containing radar and image information, targets containing only radar information, and targets containing only image information are obtained. Targets containing both radar and image information are regarded as fused targets, and the position, distance, speed, and confidence information of the targets are marked on the image; targets containing only radar information or only image information are regarded as unfused targets, and radar target detection information and image target detection information are marked respectively. Figure 5 This is the pedestrian detection result diagram of the fusion point cloud and image.
[0036] It can be seen from the above embodiments that this embodiment provides a pedestrian detection method based on the fusion of millimeter wave radar and monocular camera. The overall pedestrian detection method framework is shown in FIG. Figure 6When performing pedestrian detection, this method uses millimeter-wave radar and monocular camera to perceive the environment at the same time, obtains pedestrian data information of different modes, and then uses the decision layer fusion method to detect pedestrian targets, which reduces the missed detection rate of pedestrian detection, increases the information dimension of pedestrian detection, and improves the pedestrian detection capability in extreme environments.
[0037] The description of the embodiments in the specification of this application is not limited to the above examples. Technical features not described in this application can be achieved by or by adopting existing technologies and will not be repeated here. The above embodiments and drawings are only used to illustrate the technical solution of this application and are not limitations of this application. For example, this application is only described in detail in combination with and with reference to the preferred implementation methods. Ordinary technicians in this field should understand that changes, modifications, additions or substitutions made by ordinary technicians in this technical field within the essential scope of this application do not depart from the purpose of this application and should also fall within the scope of protection of the claims of this application.
Claims
1. A pedestrian detection method based on the fusion of millimeter wave radar and monocular camera, characterized in that: The method comprises: The monocular camera and 4D millimeter-wave radar synchronously collect images and point cloud data; Perform data preprocessing, cluster analysis, and pedestrian estimation on the point cloud to obtain pedestrian targets; Perform pedestrian detection on the image based on the anchor-free target detection algorithm to obtain pedestrian targets; Map pedestrian targets in the point cloud to the image to achieve spatial alignment of the targets detected by the two sensors; The target association algorithm based on position estimation is used to match pedestrian targets in two sensors. According to the matching results, the fused targets and non-fused targets are obtained to achieve multi-dimensional pedestrian detection.
2. The method according to claim 1, characterized in that The monocular camera and the 4D millimeter wave radar synchronously collect image and point cloud data, including: The two sensors synchronously collect point cloud and image data to ensure the consistency of data in time; Choose to collect point cloud and image data in an open outdoor environment. The radar detection plane is parallel to the ground, and the collection equipment is placed 1.5 meters above the ground.
3. The method according to claim 2, characterized in that The point cloud is subjected to data preprocessing, cluster analysis, and pedestrian estimation to obtain pedestrian targets, including: Preprocess the point cloud data to remove empty targets, interfering targets and false targets in the point cloud; Based on the DBSCAN clustering algorithm, cluster targets in the point cloud are obtained and noise points in the point cloud are filtered; The number of pedestrians is estimated by clustering the length, width and point cloud density information of the targets.
4. The method according to claim 3, characterized in that The anchor-free target detection algorithm performs pedestrian detection on the image to obtain pedestrian targets, including: Obtain pedestrian targets based on NanoDet-Plus target detection algorithm; Record the location, bounding box size, and confidence of pedestrian targets in the image.
5. The method according to claim 4, characterized in that The step of mapping the pedestrian target in the point cloud into the image to achieve spatial alignment of the targets detected by the two sensors includes: Extract feature points from image and point cloud data, and manually annotate multiple sets of feature association pairs; According to the homography between the radar plane and the image plane, the coordinate transformation matrix is fitted using multiple sets of data association pairs and the least squares estimation method; The radar detection target is mapped to the image plane through the coordinate transformation matrix.
6. The method according to claim 5, characterized in that The method of using a target association algorithm based on position estimation to achieve matching of pedestrian targets in two sensors includes: Calculate the Euclidean distance between the target in the radar and the target in each image, and generate the distance cost matrix between the radar target and the image target; Calculate the intersection-and-union ratio score of the pedestrian target box in the image and the pedestrian estimation box in the radar, and generate the position cost matrix between the radar target and the image target; Add the distance cost matrix and the position cost matrix adjusted by the weight factor; According to the global nearest neighbor data association principle, the optimal association strategy in the cost matrix is calculated.
7. The method according to claim 6, characterized in that The fusion target and the non-fusion target are obtained according to the matching results to realize multi-dimensional pedestrian detection, including: Obtain the successfully associated target based on the target matching result; Mark the location, distance, speed, and confidence information of the associated target; Get unassociated targets in the target and annotate pedestrian detection results from radar or point cloud.
Citation Information
Patent Citations
Target detection method and device, computer equipment and storage medium
CN114529789A
Unmanned aerial vehicle multi-target tracking method based on visual / millimeter wave radar information fusion
CN115731268A
Target data fusion vehicle detection method and detection device
CN117115784A
Multi-target trajectory association method and device, communication equipment and storage medium
CN117495916A
Target object speed measurement method and related equipment
CN117741606A
Cited By
Unmanned sweeper intelligent patrol sweeping method and unmanned sweeper
CN121500963A
