4D dynamic and static target truth value data labeling system and method
Through the 4D dynamic and static target true value data annotation system, static and dynamic object annotation components are used to process and annotate radar point clouds, which solves the problems of insufficient static information and high cost of high-quality annotation in the autonomous driving system, and achieves a more efficient Dynamic scene prediction and annotation promote the development of autonomous driving technology.
Patent Information
- Application Number
- CN202410670047.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology, the autonomous driving system can only obtain static information when labeling target objects in 3D space, making it difficult to accurately predict dynamic scenes. Moreover, high-quality ground truth data labeling requires a lot of manpower and material resources, which increases the cost. Influence the development of autonomous driving.
Provide a 4D dynamic and static target true value data annotation system, which performs ground separation, motion compensation and optimization processing on the radar point cloud through the static object annotation component, obtains the motion compensated point cloud and radar pose, and converts them into BEV The dynamic object annotation component obtains the dynamic target detection frame and trajectory through dynamic tracking, and combines the radar pose and camera pose for projection to obtain the multi-camera true value of the dynamic object.
It improves the accuracy and reliability of map annotation, improves the accuracy and efficiency of target detection and tracking, reduces annotation workload and costs, solves the problems of dynamic scene prediction and high-quality data annotation, and promotes the development of autonomous driving. develop.
Smart Images

Figure CN118570253A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a 4D dynamic and static target true value data labeling system and method. Background Art
[0002] In related technologies, the BEV+Transformer paradigm converts information collected by multiple sensors into 3D space and inputs it into the Transformer neural network model. Through the principle of attention mechanism, it can selectively process key information according to the context when processing massive amounts of information, thereby improving the efficiency of the neural network. Therefore, under the condition of large amounts of data, in the context of the development of autonomous driving that emphasizes perception over mapping, the most important thing for the mainstream autonomous driving solution with BEV+Transformer is to have high-quality training data to train a high-quality autonomous driving model.
[0003] However, in the related technology, since the target objects are only labeled in 3D space, only static information of the objects can be obtained, and it is difficult to achieve accurate prediction of dynamic scenes. In addition, since labeling high-quality true value data requires training of labelers, it may lead to a large amount of manpower and material resources, increase costs, and bring certain obstacles to the development of autonomous driving, which urgently needs to be improved. Summary of the invention
[0004] The present application provides a 4D dynamic and static target true value data labeling system and method to solve the problems in the related technology that, because the target object is only labeled in 3D space, only static information of the object can be obtained, and it is difficult to achieve accurate prediction of dynamic scenes. In addition, since labeling high-quality true value data requires training of the labelers, it may lead to the consumption of a lot of manpower and material resources, increase costs, and affect the development of autonomous driving.
[0005] The first aspect of the present application provides a 4D dynamic and static target true value data labeling system, including: a static object labeling component, which is used to perform ground separation, motion compensation and preset optimized registration processing on the original radar point cloud to obtain the point cloud after motion compensation and the radar pose of each frame radar, and linearly interpolate and map stitching the radar pose to obtain the stitched global map, and convert the stitched global map into a bird's-eye view (BEV) perspective to obtain a BEV intensity map, a BEV height map and a camera pose, so as to label the BEV intensity map, and take the value of the labeled point at the same pixel on the BEV height map to obtain the three-dimensional coordinates of the map point that the user needs to label, and use the camera pose and camera intrinsic parameters to project the labeled three-dimensional coordinate points to the two-dimensional coordinates of the image as the true value of the static object; a dynamic object labeling component, which is used to label the target in the original radar point cloud, and obtain the dynamic target detection frame and trajectory after dynamic tracking, and use the radar pose and the camera pose for projection to obtain the multi-camera true value of the dynamic object.
[0006] Optionally, in one embodiment of the present application, the static object annotation component includes: a preprocessing module, which is used to separate ground points, retain lane line points, and use the timestamp information of each point to compensate for distortion, so as to obtain the motion-compensated point cloud, and extract the features of plane points and corner points from the original radar point cloud, and perform ICP (Iterative Closest Point) matching on the feature points of the plane points and corner points to obtain the radar pose; a map generation module, which is used to use the radar pose based on a preset splicing formula, take the first frame of radar point cloud as a reference, and splice subsequent point cloud frames to the first frame of radar point cloud to form a global map for grid division to obtain the BEV height map and BEV intensity map, and when the image timestamp does not exist in the point cloud timestamp, linear interpolation is performed based on the two frames of point cloud timestamps closest to the corresponding image timestamp according to a preset difference formula to obtain the corresponding point cloud pose, so as to obtain the camera pose; a user annotation module, which is used to annotate from the BEV intensity map, And take values from the BEV height map to obtain the annotated point cloud attribute values, and based on the annotated point cloud attribute values, perform lane line annotation under the BEV perspective, use the projection transformation matrix to mark all the lane line true values of all corresponding frames of multiple cameras at one time to obtain annotated point cloud data, and transform the annotated point cloud data from the world coordinate system to the camera coordinate system to obtain the camera coordinates of each annotated point cloud, obtain the x and z coordinates under the corresponding camera coordinates as the ordinate and abscissa of the BEV coordinate diagram, respectively, to construct a beautiful and appropriate coordinate diagram scale, draw each camera coordinate in the coordinate diagram, and generate a BEV visualization effect under each frame.
[0007] Optionally, in one embodiment of the present application, the dynamic object labeling component includes: a dynamic target tracking module, which is used to use the previous frame data to predict the state of the current frame through the Kalman filter method, and determine the original target in the trajectory based on the state of the current frame, update the trajectory of the previous moment, and insert the corresponding detection frame into the trajectory, otherwise determine the new object entering the scene to establish a new trajectory ID number, and delete the corresponding trajectory ID number when the original target disappears or is blocked; a trajectory optimization module, which is used to predict the corresponding 3D detection frame position through a vehicle or human motion model, optimize the 3D detection frame in combination with the 3D detection frame position, and / or, expand the 3D detection frame size of all targets by a preset multiple, and calculate the average value of all target sizes under the same trajectory to obtain the corresponding output size.
[0008] Optionally, in one embodiment of the present application, the preset splicing formula is:
[0009]
[0010] Among them, x, y, z are the coordinates in the radar coordinate system, R, t are the rotation matrix and translation vector of the radar coordinate system to the global coordinate system, and x′, y′, z′ are the coordinates in the global coordinate system.
[0011] Optionally, in one embodiment of the present application, the preset difference formula is:
[0012]
[0013] in, and t 1 and t 2 The position of the radar at all times, is the radar pose obtained by interpolation at time t.
[0014] Optionally, in one embodiment of the present application, the Kalman filter formula is:
[0015]
[0016] in, is the result of prediction using k-1 state, is the optimal result of k-1 state, A k , B k is the system parameter, u k is the control quantity of state k, for The corresponding covariance, P k-1 for The corresponding covariance, A kThe transposed matrix of the system process, Q is the covariance of the system process, K k is the Kalman gain, H k The transposed matrix, H k is the matrix corresponding to the observation equation, R is the observation noise, is the optimal result of k state, To predict the k-state result using the k-1 state, z k is the observation vector.
[0017] The second aspect of the present application provides a 4D dynamic and static target true value data labeling method, including: performing ground separation, motion compensation and preset optimized registration processing on the original radar point cloud to obtain a point cloud after motion compensation and the radar pose of each frame radar, performing linear interpolation and map stitching on the radar pose to obtain a stitched global map, and converting the stitched global map into a bird's-eye view (BEV) perspective to obtain a BEV intensity map, a BEV height map and a camera pose, so as to label the BEV intensity map, and take values for the labeled points at the same pixel on the BEV height map to obtain the three-dimensional coordinates of the map points that the user needs to label, and use the camera pose and camera intrinsic parameters to project the labeled three-dimensional coordinate points to the two-dimensional coordinates of the image as the true value of the static object; labeling the target in the original radar point cloud, and obtaining a dynamic target detection frame and trajectory after dynamic tracking, and projecting using the radar pose and the camera pose to obtain the multi-camera true value of the dynamic object.
[0018] Optionally, in one embodiment of the present application, the original radar point cloud is subjected to ground separation, motion compensation, and preset optimized registration processing to obtain a point cloud after motion compensation and a radar pose of each frame radar, the radar pose is subjected to linear interpolation and map stitching to obtain a stitched global map, and the stitched global map is converted into a bird's-eye view BEV perspective to obtain a BEV intensity map, a BEV height map, and a camera pose, so as to mark the BEV intensity map, and to take values of the marked points at the same pixel on the BEV height map to obtain the three-dimensional coordinates of the map points that the user needs to mark, and the marked three-dimensional coordinate points are projected to the two-dimensional coordinates of the image using the camera pose and the camera intrinsic parameters as the true value of the static object, including: separating the ground points, retaining the lane line points, and compensating for the distortion using the timestamp information of each point to obtain the point cloud after motion compensation, and extracting the features of the plane points and the corner points from the original radar point cloud, performing ICP matching on the feature points of the plane points and the corner points to obtain the radar pose; using the radar pose based on a preset stitching formula to take the first frame radar point as the first frame radar point. The radar point cloud is used as a reference, and subsequent point cloud frames are spliced to the first frame of radar point cloud to form a global map for grid division to obtain the BEV height map and BEV intensity map, and when the image timestamp does not exist in the point cloud timestamp, linear interpolation is performed based on the two frames of point cloud timestamps closest to the corresponding image timestamp according to a preset difference formula to obtain the corresponding point cloud pose to obtain the camera pose; marking is performed on the BEV intensity map, and values are taken from the BEV height map to obtain the marked point cloud attribute values, and based on the marked point cloud attribute values, lane line marking is performed under the BEV perspective, and the projection transformation matrix is used to mark all the lane line true values of all corresponding frames of multiple cameras at one time to obtain marked point cloud data, and the marked point cloud data is transformed from the world coordinate system to the camera coordinate system to obtain the camera coordinates of each marked point cloud, and the x and z coordinates under the corresponding camera coordinates are obtained as the ordinate and abscissa of the BEV coordinate map respectively to construct a beautiful and appropriate coordinate map ratio, and each camera coordinate is plotted in the coordinate map to generate a BEV visualization effect under each frame.
[0019] Optionally, in one embodiment of the present application, the target is marked in the original radar point cloud, and a dynamic target detection frame and trajectory are obtained after dynamic tracking, and the radar pose and the camera pose are used for projection to obtain a multi-camera true value of the dynamic object, including: using the previous frame data to predict the state of the current frame through a Kalman filter, and determining the original target in the trajectory based on the state of the current frame, updating the trajectory at the previous moment, inserting the corresponding detection frame into the trajectory, otherwise determining a new object entering the scene to establish a new trajectory ID number, and deleting the corresponding trajectory ID number when the original target disappears or is blocked; predicting the corresponding 3D detection frame position through an electronic device or a human motion model, optimizing the 3D detection frame in combination with the 3D detection frame position, and / or expanding the 3D detection frame size of all targets by a preset multiple, and calculating the average value of all target sizes under the same trajectory to obtain the corresponding output size.
[0020] Optionally, in one embodiment of the present application, the preset splicing formula is:
[0021]
[0022] Among them, x, y, z are the coordinates in the radar coordinate system, R, t are the rotation matrix and translation vector of the radar coordinate system to the global coordinate system, and x′, y′, z′ are the coordinates in the global coordinate system.
[0023] Optionally, in one embodiment of the present application, the preset difference formula is:
[0024]
[0025] in, and t 1 and t 2 The position of the radar at all times, is the radar pose obtained by interpolation at time t.
[0026] Optionally, in one embodiment of the present application, the Kalman filter formula is:
[0027]
[0028] in, is the result of prediction using k-1 state, is the optimal result of k-1 state, A k , B k is the system parameter, u k is the control quantity of state k, for The corresponding covariance, P k-1 for The corresponding covariance, A k The transposed matrix of the system process, Q is the covariance of the system process, K k is the Kalman gain, H k The transposed matrix, H k is the matrix corresponding to the observation equation, R is the observation noise, is the optimal result of k state, To predict the k-state result using the k-1 state, z k is the observation vector.
[0029] The third aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the 4D dynamic and static target true value data labeling method as described in the above embodiment.
[0030] The fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, it implements the above-mentioned 4D dynamic and static target true value data labeling method.
[0031] The fifth aspect of the present application provides a computer program product, which, when executed, is used to implement the above-mentioned 4D dynamic and static target true value data labeling method.
[0032] The embodiment of the present application can perform ground separation, motion compensation and optimized search processing on the original radar point cloud through the static object annotation component to obtain accurate motion-compensated point cloud and radar pose, obtain a global map through linear interpolation and map stitching, and convert it into a BEV perspective, annotate the three-dimensional coordinates of the map points and project them onto the image to obtain the real position, which helps to improve the accuracy and reliability of map annotation. Secondly, the dynamic object annotation component can be used to annotate and track the targets in the original radar point cloud, obtain dynamic target detection frames and trajectories, and then project them in combination with the radar pose and camera pose to obtain the multi-camera real position of the dynamic object, thereby improving the accuracy and efficiency of target detection and tracking, and providing a reliable foundation for subsequent data processing and analysis. Thus, the problem in the related technology that only static information of the object can be obtained by annotating the target object in 3D space, and it is difficult to achieve accurate prediction of dynamic scenes, and because the annotation of high-quality true value data requires training of the annotators, it may lead to a large amount of manpower and material resources, increase costs, and affect the development of autonomous driving.
[0033] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0035] Figure 1 A schematic diagram of the structure of a 4D dynamic and static target true value data labeling system provided according to an embodiment of the present application;
[0036] Figure 2 It is a schematic diagram of the principle of a 4D dynamic and static target true value data labeling system according to an embodiment of the present application;
[0037] Figure 3 A flowchart of a 4D dynamic and static target true value data labeling method provided according to an embodiment of the present application;
[0038] Figure 4 It is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0039] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0040] The following describes the 4D dynamic and static target true value data labeling system and method of the embodiment of the present application with reference to the accompanying drawings. In view of the related technologies mentioned in the above background technology center, since only the target objects are labeled in 3D space, only the static information of the objects can be obtained, and it is difficult to achieve accurate prediction of dynamic scenes. In addition, since the labeling of high-quality true value data requires training of the labelers, it may cost a lot of manpower and material resources, increase costs, and affect the development of autonomous driving. The present application provides a 4D dynamic and static target true value data labeling system. In this system, the original radar point cloud can be ground separated, motion compensated, and optimized for search processing by a static object labeling component to obtain an accurate point cloud and radar pose after motion compensation. A global map is obtained by linear interpolation and map stitching, and converted into a BEV perspective. The three-dimensional coordinates of the map points are labeled and projected onto the image to obtain the real position, which helps to improve the accuracy and reliability of map labeling. Secondly, the dynamic object labeling component can be used to label and track the targets in the original radar point cloud to obtain dynamic target detection frames and trajectories, and then combined with the radar pose and camera pose for projection to obtain the multi-camera real position of the dynamic object, thereby improving the accuracy and efficiency of target detection and tracking, and providing a reliable foundation for subsequent data processing and analysis. This solves the problem in related technologies that, because target objects are only labeled in 3D space, only static information of the objects can be obtained, making it difficult to achieve accurate prediction of dynamic scenes. In addition, since labeling high-quality true value data requires training of labelers, it may result in a large amount of manpower and material resources being consumed, increasing costs and affecting the development of autonomous driving.
[0041] Specifically, Figure 1 A structural schematic diagram of a 4D dynamic and static target true value data labeling system provided in an embodiment of the present application.
[0042] like Figure 1 As shown, the 4D dynamic and static target true value data labeling system 10 includes: a static object labeling component 100 and a dynamic object labeling component 200.
[0043] Specifically, the static object labeling component 100 is used to perform ground separation, motion compensation and preset optimized alignment processing on the original radar point cloud to obtain a point cloud after motion compensation and the radar pose of each frame of radar, perform linear interpolation and map stitching on the radar pose to obtain a stitched global map, and convert the stitched global map into a bird's-eye view (BEV) to obtain a BEV intensity map, a BEV height map and a camera pose for labeling on the BEV intensity map, and take values for the labeled points at the same pixel on the BEV height map to obtain the three-dimensional coordinates of the map points that the user needs to label, and use the camera pose and camera intrinsic parameters to project the labeled three-dimensional coordinate points to the two-dimensional coordinates of the image as the true value of the static object.
[0044] In the actual implementation process, the annotation tool of the embodiment of the present application is divided into two parts: dynamic object annotation and static object annotation. The input is the original point cloud data and the internal and external parameter files of the camera and radar. Among them, the static object annotation part can generate the true value of the user-annotated point cloud (lane lines, etc.) projected to multiple camera perspectives after three modules of preprocessing, map generation and user annotation.
[0045] Furthermore, the preprocessing algorithm performs ground separation, motion compensation and optimized ICP on the original radar point cloud to obtain the motion compensated point cloud and the pose of each radar frame; the map generation module performs linear interpolation and map stitching on the radar pose, and converts the stitched global map into BEV perspective to obtain the BEV intensity map, BEV height map and camera pose; the user annotation module annotates on the BEV intensity map, and then takes the value of the annotated point at the same pixel on the BEV height map to obtain the three-dimensional coordinates of the map point that the user needs to annotate, and then uses the camera pose and camera intrinsic parameters to project the annotated three-dimensional coordinate points to the two-dimensional coordinates of the image as the true value.
[0046] It should be noted that among the above three modules, the preprocessing module and the map generation module only need to be run once when the original radar point cloud is sent to the system to save the output results. If subsequent users want to annotate different information in the same scene, they only need to run the user annotation module, which greatly improves the operating efficiency of the system.
[0047] Optionally, in one embodiment of the present application, the static object annotation component 100 includes: a preprocessing module, which is used to separate ground points, retain lane line points, and use the timestamp information of each point to compensate for distortion, obtain a point cloud after motion compensation, and extract the features of plane points and corner points from the original radar point cloud, perform ICP matching on the feature points of the plane points and corner points, and obtain the radar pose; a map generation module, which is used to use the radar pose based on a preset splicing formula, take the first frame of radar point cloud as a reference, splice subsequent point cloud frames to the first frame of radar point cloud, form a global map, perform grid division, obtain a BEV height map and a BEV intensity map, and in the case where the image timestamp does not exist in the point cloud timestamp, the two frames of point cloud timestamps closest to the corresponding image timestamp are matched according to the preset splicing formula. The difference formula is used for linear interpolation to obtain the corresponding point cloud pose to obtain the camera pose; the user annotation module is used to annotate from the BEV intensity map and take values from the BEV height map to obtain the annotated point cloud attribute values, and based on the annotated point cloud attribute values, the lane lines are annotated from the BEV perspective, and the projection transformation matrix is used to mark all the lane line true values of all corresponding frames of multiple cameras at one time to obtain the annotated point cloud data, and the annotated point cloud data is transformed from the world coordinate system to the camera coordinate system to obtain the camera coordinates of each annotated point cloud, and the x and z coordinates under the corresponding camera coordinates are obtained as the ordinate and abscissa of the BEV coordinate diagram respectively, so as to construct a beautiful and appropriate coordinate diagram scale, and each camera coordinate is plotted in the coordinate diagram to generate the BEV visualization effect under each frame.
[0048] Optionally, in one embodiment of the present application, the preset splicing formula is:
[0049]
[0050] Among them, x, y, z are the coordinates in the radar coordinate system, R, t are the rotation matrix and translation vector of the radar coordinate system to the global coordinate system, and x′, y′, z′ are the coordinates in the global coordinate system.
[0051] Optionally, in one embodiment of the present application, the preset difference formula is:
[0052]
[0053] in, and t 1 and t 2 The position of the radar at all times, is the radar pose obtained by interpolation at time t.
[0054] Specifically, combined Figure 2As shown, the embodiment of the present application uses a preprocessing module to separate ground points, retain lane line points, and use the timestamp information of each point to compensate for distortion, obtain a point cloud after motion compensation, and extract the features of plane points and corner points from the original radar point cloud, perform ICP matching on the feature points of the plane points and corner points, and obtain the radar pose, wherein the preprocessing module is divided into three steps as a whole, namely, a ground separation algorithm, a motion compensation algorithm, and an optimized ICP registration algorithm, as shown below:
[0055] 1. Ground separation algorithm: Considering that most vehicle driving scenes are urban driving scenes with lane lines, the ground is relatively flat and regular, so the patchwork++ ground separation algorithm can achieve the task requirements. This algorithm can separate most ground points cleanly and retain lane line points. Although the algorithm may partially separate a small number of points above some ground points, most of the separated points are non-critical points such as surrounding buildings, which does not affect the normal use of subsequent functions. The ground processing algorithm can separate a large number of ground points, which improves the accuracy of feature extraction of subsequent algorithms.
[0056] 2. Motion compensation algorithm: Since the point cloud of the LiDAR is generated by 360-degree scanning sampling, there are still slight differences in the sampling time of points at different angles in the same frame. During this time, if the body of the vehicle equipped with the LiDAR moves at a faster speed, it will interfere with the accuracy of the map. Therefore, the timestamp information of each point is used to compensate for the distortion. Considering that not all public data sets or laser points of LiDAR products have timestamp attributes, the motion compensation module can be set as an option, and even if motion compensation is not performed, it will not affect the normal function of the system.
[0057] 3. Optimized ICP algorithm: The ICP algorithm finds the corresponding points in the target point cloud and the source point cloud, and then constructs the objective function through the least squares method for the corresponding points, and performs iterative optimization. The method for finding corresponding points in related technologies is to find the nearest neighbor points, but the feature points found by this method are often quite different from the actual corresponding points, and all point clouds need to be calculated, which consumes a lot of computing costs. Therefore, this application first extracts plane points and corner points from the radar point cloud, and then performs ICP matching on the extracted feature points. The corresponding points can be well matched and the number of feature points is much smaller than the original point cloud, which greatly improves the computing efficiency. The use of the optimized ICP algorithm greatly improves the accuracy of the radar pose output by the matching, making the BEV map established by the map generation module more accurate.
[0058] Furthermore, the map generation module is divided into two steps: map stitching and perspective conversion algorithm and linear interpolation algorithm, as shown below:
[0059] 1. Map stitching and view conversion algorithm: The map stitching algorithm uses the radar pose generated by preprocessing. According to formula (1), the first frame of radar point cloud is used as the reference (that is, the pose matrix of the first frame of radar point cloud is kept as the unit matrix), and the subsequent point cloud frames are stitched into the first frame to form a global map.
[0060]
[0061] Among them, x, y, z are the coordinates in the radar coordinate system, R, t are the rotation matrix and translation vector of the radar coordinate system to the global coordinate system, and x′, y′, z′ are the coordinates in the global coordinate system.
[0062] It is worth noting that the perspective conversion module divides the grid (pixel) in the xy coordinate direction. Each pixel stores the z coordinate of the point with the smallest z coordinate directly above it and the reflection intensity (if there is an overlapping point of xy coordinate pixels above the lane line, the lane line has the smallest z coordinate), forming the BEV height map and BEV intensity map of the global map.
[0063] 2. Linear interpolation algorithm: Since the acquisition speed of some radars is not as fast as that of images, some image timestamps may not exist in the point cloud timestamp. In this way, the two point cloud timestamps closest to the image timestamp are found and linearly interpolated according to formula (2) to obtain the point cloud pose at the image timestamp.
[0064]
[0065] in, and t 1 and t 2 The position of the radar at all times, is the interpolated radar pose at time t, and then the camera pose at that timestamp is obtained by combining the external parameter matrices of the radar and the camera according to formula (3).
[0066]
[0067] in, is the external parameter of the camera relative to the vehicle coordinate system, is the external parameter of the radar relative to the vehicle coordinate system, is the position of the camera relative to the global coordinate system at the camera timestamp t.
[0068] In addition, the user annotation module is divided into three steps as a whole, namely, obtaining annotation data, annotated data projection and BEV visualization generation, as shown below:
[0069] 1. Obtaining annotation data: This application projects the already built three-dimensional point cloud environment map from two angles of height and reflection intensity to generate a BEV height map and a BEV intensity map. Since the height difference between the lane line and the ground is between millimeters, it is impossible to clearly determine the position of the lane line from the BEV height map, and it is not easy to mark. However, the lane line and the ground are made of very different materials, and the reflection intensity is very different. Therefore, the lane line is marked on the BEV intensity map, and then the value is taken from the BEV height map to realize the lane line marking from the BEV perspective, and the double-map annotation function based on the BEV height map and the BEV intensity map is realized. Then, from the point cloud intensity map and height map results generated in the map generation module, an interactive point cloud data annotation tool is designed using python to obtain the annotated point cloud attribute values (x, y, z), and the obtained point cloud data is saved in a file as input for the annotation data projection step.
[0070] 2. Annotation data projection: After the lane line is annotated in the global coordinate system BEV perspective, the projection transformation matrix is used to mark the lane line true values of all corresponding frames of multiple cameras at one time, while improving the accuracy and efficiency of annotation. In addition, the application only needs point cloud files and the internal and external parameter matrices of the lidar and multi-view cameras to achieve annotation, which is relatively low cost.
[0071] Specifically, based on the saved annotated point cloud data, the intrinsic parameter matrix of each camera and the camera pose of each radar frame are obtained. According to the principle of multi-view geometry and the camera projection model, as shown in formula (4):
[0072]
[0073] Among them, K is the camera internal parameter matrix, T is the pose transformation matrix from the world coordinate system to the camera coordinate system, and P w is the point cloud coordinate in world coordinates, P uv The pixel coordinates after conversion
[0074] The point cloud coordinates in the world coordinate system are converted to the camera coordinate system through the camera pose, and the points in the camera coordinate system are checked. The points in front of the camera are saved as the correct point cloud. Then, the points in the camera coordinate system are converted to pixel coordinates according to the camera intrinsic parameter matrix, and the pixel coordinate results are processed to retain the pixel coordinates in the image area. The obtained pixel coordinate points are then displayed on each frame of the image under each camera for visualization.
[0075] BEV visualization generation: This application transforms the annotated point cloud data from the world coordinate system to the camera coordinate system, obtains the camera coordinates of each annotated point cloud, obtains the x and z coordinates under the corresponding camera coordinates as the ordinate and abscissa of the BEV coordinate diagram, uses reasonable data scaling to build a beautiful and appropriate coordinate diagram scale, plots each camera coordinate in the coordinate diagram, and generates the BEV visualization effect for each frame. Finally, a multi-threaded method is used to accelerate the result generation, and the generated multi-camera projection results and BEV coordinate diagram are integrated into the video for the final visualization display.
[0076] The embodiment of the present application constructs a three-dimensional reconstructed map from the BEV perspective based on the timing information, that is, the point cloud of each frame is used to pre-process the point cloud data based on the timing information, and a point cloud registration method is used to construct a three-dimensional reconstructed map from the BEV perspective based on the point cloud data, so that the target is obtained more accurately in the constructed local map, which is beneficial to improve the quality of the labeled data.
[0077] The dynamic object annotation component 200 is used to annotate targets in the original radar point cloud, obtain dynamic target detection frames and trajectories after dynamic tracking, and use radar pose and camera pose for projection to obtain multi-camera true values of dynamic objects.
[0078] In the dynamic object annotation part, the embodiment of the present application can perform target annotation in the original radar point cloud, obtain the dynamic target detection frame and trajectory after dynamic tracking, and then project the radar and camera poses generated by static annotation after passing through the trajectory optimization module to obtain the multi-camera true value of the dynamic object. In addition, the embodiment of the present application can annotate static and dynamic targets at the same time, and use the same annotation processing flow to coordinate the annotation process, thereby reducing the annotation workload, eliminating the need for separate annotation, and improving the annotation efficiency.
[0079] Optionally, in one embodiment of the present application, the dynamic object labeling component 200 includes: a dynamic target tracking module, which is used to use the previous frame data to predict the state of the current frame through the Kalman filter method, and determine the original target in the trajectory based on the state of the current frame, update the trajectory of the previous moment, and insert the corresponding detection frame into the trajectory, otherwise determine the new object entering the scene to establish a new trajectory ID number, and delete the corresponding trajectory ID number when the original target disappears or is blocked; a trajectory optimization module, which is used to predict the corresponding 3D detection frame position through a vehicle or human motion model, optimize the 3D detection frame in combination with the 3D detection frame position, and / or, expand the 3D detection frame size of all targets by a preset multiple, and calculate the average value of all target sizes under the same trajectory to obtain the corresponding output size.
[0080] Optionally, in one embodiment of the present application, the Kalman filter formula is:
[0081]
[0082] in, is the result of prediction using k-1 state, is the optimal result of k-1 state, A k , B k is the system parameter, u k is the control quantity of state k, for The corresponding covariance, P k-1 for The corresponding covariance, A k The transposed matrix of the system process, Q is the covariance of the system process, K k is the Kalman gain, H k The transposed matrix, H k is the matrix corresponding to the observation equation, R is the observation noise, is the optimal result of k state, To predict the k-state result using the k-1 state, z k is the observation vector.
[0083] Specifically, combined Figure 2 As shown, the dynamic object labeling of the embodiment of the present application includes a dynamic target tracking module and a trajectory optimization module, wherein the target tracking module is divided into two steps as a whole: prediction based on Kalman filtering and tracking based on the Hungarian matching algorithm, as shown below:
[0084] 1. Prediction based on Kalman filtering: This application uses the previous frame data through the Kalman filter formula (5) to predict the state T of the current frame pre , where the state variables include the position and speed information of the 3D detection frame and
[0085] T=[x,y,z,θ,1,w,h,s,v(x),v(y),v(z)] T .
[0086]
[0087] 2. Tracking based on the Hungarian matching algorithm, which can be specifically as follows:
[0088] ① First, the detection result of the current frame is associated with the predicted trajectory T based on Kalman filtering through the Hungarian matching algorithm pre , and GIOU 3D is used as the evaluation index of the matching results.
[0089] ② If the predicted value successfully matches the detection frame of a target in the current frame, that is, this target is considered to be the original target in the trajectory, the trajectory of the previous moment is updated and the detection frame is inserted into this trajectory.
[0090] ③ If the predicted value fails to match the detection box of a target in the current frame, the target is considered to be a new object entering the scene. If the target continues to match successfully in a certain number of frames, a new track ID number is established.
[0091] ④ If a target in the current frame disappears in the predicted value, it is considered that the target disappears or is blocked. If the target disappears in a certain number of frames, it is considered that the target disappears and the track ID number is deleted.
[0092] Furthermore, the trajectory optimization module is divided into two steps: 3D detection frame position correction based on the motion model and 3D detection frame size correction, as shown below:
[0093] 1. Correction of 3D detection frame position based on motion model: First, the 3D detection frame position of the target is predicted through the motion model of the vehicle or human, and then the 3D detection frame is optimized based on the predicted position.
[0094] For example, assuming that the speed of a person walking on the road is constant, the CV motion model can be used to optimize the human motion state, that is, the constant speed model.
[0095] ①CV motion model:
[0096] State variables: [x, y, v x ,v y ] T
[0097] State transfer function: X k+1 =AX k +Bn k
[0098] Among them, A is the state transfer matrix, B is the noise transfer matrix, n k is the noise term.
[0099] In the CV motion model, it is assumed that the target speed is constant. If the speed changes, it is noise. Then n k is the velocity change of the target, that is, the acceleration term.
[0100] State transition matrix:
[0101] Noise transfer matrix:
[0102] Since most vehicle roads have turns, a model with a constant speed will not be able to correctly predict turning vehicles. Therefore, this application uses the CTRA motion model to describe the motion state of the vehicle, that is, a constant turning rate and acceleration model.
[0103] ②CTRA motion model:
[0104] State variable: X k =[x,y,θ,v,w,a] T
[0105] State transfer function:
[0106]
[0107] Among them, a and w are the acceleration and angular velocity of the target, respectively, which do not change with time.
[0108] Based on the above two motion models, the position of the 3D detection frame is optimized.
[0109] 2. 3D detection frame size correction: First, the 3D detection frame size of all targets is enlarged by 1.2 times to improve the robustness of the detection frame. The size of the 3D detection frame includes length (l), width (w) and height (h). Then, the average size of all targets under the same trajectory is calculated to obtain the output size of the target, thereby improving the accuracy of the detection frame.
[0110] The embodiment of the present application marks the original point cloud data and uses the principle of multi-view geometry to convert the 3D space into the 2D space, thereby obtaining the projected annotation target under the field of view of multiple cameras, and uses multi-threading to accelerate the visualization process to improve the annotation processing speed. In addition, video visualization effects can be generated according to audio and video processing tools, and the true value annotation effect under BEV can be generated, so that the accuracy and consistency of the annotation data during the driving process of the vehicle can be intuitively compared.
[0111] According to the 4D dynamic and static target true value data labeling system proposed in the embodiment of the present application, the original radar point cloud can be ground separated, motion compensated and optimized for search processing by the static object labeling component to obtain accurate motion compensated point cloud and radar pose, and the global map can be obtained by linear interpolation and map stitching, and converted into BEV perspective, and the three-dimensional coordinates of the map points can be labeled and projected onto the image to obtain the real position, which helps to improve the accuracy and reliability of map labeling. Secondly, the dynamic object labeling component can be used to label and track the targets in the original radar point cloud, and the dynamic target detection frame and trajectory can be obtained. Then, the radar pose and camera pose are combined for projection to obtain the multi-camera real position of the dynamic object, thereby improving the accuracy and efficiency of target detection and tracking, and providing a reliable basis for subsequent data processing and analysis. Thus, the problem in the related technology that only the static information of the object can be obtained by labeling the target object in 3D space, and it is difficult to achieve accurate prediction of dynamic scenes, and because the labeling of high-quality true value data requires training of the labeler, it may lead to a large amount of manpower and material resources, increase costs, and affect the development of autonomous driving.
[0112] Next, a 4D dynamic and static target true value data labeling method proposed according to an embodiment of the present application is described with reference to the accompanying drawings.
[0113] Figure 3 It is a flow chart of the 4D dynamic and static target true value data labeling method of an embodiment of the present application.
[0114] like Figure 3 As shown, the 4D dynamic and static target true value data labeling method includes the following steps:
[0115] In step S301, the original radar point cloud is subjected to ground separation, motion compensation and preset optimized registration processing to obtain a point cloud after motion compensation and the radar pose of each frame of radar, and the radar pose is subjected to linear interpolation and map stitching to obtain a stitched global map, and the stitched global map is converted into a bird's-eye view (BEV) to obtain a BEV intensity map, a BEV height map and a camera pose, so as to mark them on the BEV intensity map, and to take values for the marked points at the same pixel on the BEV height map to obtain the three-dimensional coordinates of the map points that the user needs to mark, and the camera pose and camera intrinsic parameters are used to project the marked three-dimensional coordinate points to the two-dimensional coordinates of the image as the true value of the static object.
[0116] In step S302, target annotation is performed in the original radar point cloud, and the dynamic target detection frame and trajectory are obtained by dynamic tracking. The radar pose and camera pose are used for projection to obtain the multi-camera true value of the dynamic object.
[0117] Optionally, in one embodiment of the present application, the original radar point cloud is subjected to ground separation, motion compensation and preset optimized registration processing to obtain a point cloud after motion compensation and the radar pose of each frame of radar, the radar pose is subjected to linear interpolation and map stitching to obtain a stitched global map, and the stitched global map is converted into a bird's-eye view (BEV) perspective to obtain a BEV intensity map, a BEV height map and a camera pose, so as to mark them on the BEV intensity map, and to take values of the marked points at the same pixel on the BEV height map to obtain the three-dimensional coordinates of the map points that the user needs to mark, and the camera pose and camera intrinsic parameters are used to project the marked three-dimensional coordinate points to the two-dimensional coordinates of the image as the true value of the static object, including: separating ground points, retaining lane line points, and using the timestamp information of each point to compensate for distortion, to obtain a point cloud after motion compensation, and extracting features of plane points and corner points from the original radar point cloud, performing ICP matching on the feature points of the plane points and corner points to obtain the radar pose; using the radar pose based on the preset stitching formula to take the first frame radar point as the basis for the image processing; The cloud is used as a reference, and subsequent point cloud frames are spliced to the first frame of radar point cloud to form a global map for grid division, and BEV height map and BEV intensity map are obtained. When the image timestamp does not exist in the point cloud timestamp, linear interpolation is performed based on the two frames of point cloud timestamps closest to the corresponding image timestamp according to the preset difference formula to obtain the corresponding point cloud pose to obtain the camera pose; annotation is performed on the BEV intensity map, and values are taken from the BEV height map to obtain the annotated point cloud attribute values, and lane lines are annotated under the BEV perspective based on the annotated point cloud attribute values, and the projection transformation matrix is used to mark all the lane line true values of all corresponding frames of multiple cameras at one time to obtain the annotated point cloud data, and the annotated point cloud data is transformed from the world coordinate system to the camera coordinate system to obtain the camera coordinates of each annotated point cloud, and the x and z coordinates under the corresponding camera coordinates are obtained as the ordinate and abscissa of the BEV coordinate map respectively to construct a beautiful and appropriate coordinate map ratio, and each camera coordinate is plotted in the coordinate map to generate a BEV visualization effect under each frame.
[0118] Optionally, in one embodiment of the present application, target annotation is performed in the original radar point cloud, and a dynamic target detection frame and trajectory are obtained after dynamic tracking, and the radar pose and camera pose are used for projection to obtain a multi-camera true value of the dynamic object, including: using the previous frame data to predict the state of the current frame through a Kalman filter, and determining the original target in the trajectory based on the state of the current frame, updating the trajectory at the previous moment, inserting the corresponding detection frame into the trajectory, otherwise determining a new object entering the scene to establish a new trajectory ID number, and deleting the corresponding trajectory ID number when the original target disappears or is blocked; predicting the corresponding 3D detection frame position through an electronic device or a human motion model, optimizing the 3D detection frame in combination with the 3D detection frame position, and / or expanding the 3D detection frame size of all targets by a preset multiple, and calculating the average value of all target sizes under the same trajectory to obtain the corresponding output size.
[0119] Optionally, in one embodiment of the present application, the preset splicing formula is:
[0120]
[0121] Among them, x, y, z are the coordinates in the radar coordinate system, R, t are the rotation matrix and translation vector of the radar coordinate system to the global coordinate system, and x′, y′, z′ are the coordinates in the global coordinate system.
[0122] Optionally, in one embodiment of the present application, the preset difference formula is:
[0123]
[0124] in, and t 1 and t 2 The position of the radar at all times, is the radar pose obtained by interpolation at time t.
[0125] Optionally, in one embodiment of the present application, the Kalman filter formula is:
[0126]
[0127] in, is the result of prediction using k-1 state, is the optimal result of k-1 state, A k , B k is the system parameter, u k is the control quantity of state k, for The corresponding covariance, P k-1 for The corresponding covariance, Ak The transposed matrix of the system process, Q is the covariance of the system process, K k is the Kalman gain, H k The transposed matrix, H k is the matrix corresponding to the observation equation, R is the observation noise, is the optimal result of k state, To predict the k-state result using the k-1 state, z k is the observation vector.
[0128] It should be noted that the aforementioned explanation of the embodiment of the 4D dynamic and static target true value data labeling system is also applicable to the 4D dynamic and static target true value data labeling method of this embodiment, and will not be repeated here.
[0129] According to the 4D dynamic and static target true value data labeling method proposed in the embodiment of the present application, the original radar point cloud can be ground separated, motion compensated and optimized search processed by the static object labeling component to obtain accurate motion compensated point cloud and radar pose, and the global map can be obtained by linear interpolation and map stitching, and converted into BEV perspective, and the three-dimensional coordinates of the map points can be labeled and projected onto the image to obtain the real position, which helps to improve the accuracy and reliability of map labeling. Secondly, the dynamic object labeling component can be used to label and track the targets in the original radar point cloud, and the dynamic target detection frame and trajectory can be obtained. Then, the radar pose and camera pose are combined for projection to obtain the multi-camera real position of the dynamic object, thereby improving the accuracy and efficiency of target detection and tracking, and providing a reliable basis for subsequent data processing and analysis. Thus, the problem in the related technology that only the static information of the object can be obtained by labeling the target object in 3D space, and it is difficult to achieve accurate prediction of dynamic scenes, and because the labeling of high-quality true value data requires training of the labeler, it may lead to a large amount of manpower and material resources, increase costs, and affect the development of autonomous driving.
[0130] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0131] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .
[0132] When the processor 402 executes the program, the 4D dynamic and static target true value data labeling method provided in the above embodiment is implemented.
[0133] Furthermore, the electronic device further comprises:
[0134] The communication interface 403 is used for communication between the memory 401 and the processor 402 .
[0135] The memory 401 is used to store computer programs that can be executed on the processor 402 .
[0136] The memory 401 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0137] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0138] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.
[0139] The processor 402 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0140] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned 4D dynamic and static target true value data labeling method.
[0141] An embodiment of the present application also provides a computer program product, which can run computer instructions, and when the computer instructions are executed by a processor, the above-mentioned 4D dynamic and static target true value data labeling method is implemented.
[0142] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0143] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0144] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0145] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.
[0146] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0147] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0148] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0149] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A 4D dynamic and static target true value data annotation system, characterized in that: include: A static object annotation component is used to perform ground separation, motion compensation, and preset optimized registration processing on the original radar point cloud to obtain a point cloud after motion compensation and the radar pose of each frame of radar, perform linear interpolation and map stitching on the radar pose to obtain a stitched global map, and convert the stitched global map into a bird's-eye view (BEV) to obtain a BEV intensity map, a BEV height map, and a camera pose to mark on the BEV intensity map, and take values for the marked points at the same pixel on the BEV height map to obtain the three-dimensional coordinates of the map points that the user needs to mark, and use the camera pose and camera intrinsic parameters to project the marked three-dimensional coordinate points to the two-dimensional coordinates of the image as the true value of the static object; The dynamic object annotation component is used to annotate targets in the original radar point cloud, obtain dynamic target detection frames and trajectories after dynamic tracking, and use the radar pose and camera pose for projection to obtain multi-camera true values of dynamic objects.
2. The system according to claim 1, characterized in that The static object annotation component includes: A preprocessing module is used to separate ground points, retain lane line points, and use the timestamp information of each point to compensate for distortion to obtain the motion-compensated point cloud, extract features of plane points and corner points from the original radar point cloud, perform iterative closest point ICP matching on the feature points of the plane points and corner points, and obtain the radar pose; A map generation module, for using the radar pose based on a preset splicing formula, taking the first frame of radar point cloud as a reference, splicing subsequent point cloud frames to the first frame of radar point cloud to form a global map, so as to perform grid division, obtain the BEV height map and the BEV intensity map, and when the image timestamp does not exist in the point cloud timestamp, linearly interpolate the two frames of point cloud timestamps closest to the corresponding image timestamp according to a preset difference formula to obtain the corresponding point cloud pose, so as to obtain the camera pose; The user annotation module is used to annotate the BEV intensity map and take values from the BEV height map to obtain the annotated point cloud attribute values, and based on the annotated point cloud attribute values, perform lane line annotation under the BEV perspective, use the projection transformation matrix to mark all the lane line true values of all corresponding frames of multiple cameras at one time to obtain annotated point cloud data, and transform the annotated point cloud data from the world coordinate system to the camera coordinate system to obtain the camera coordinates of each annotated point cloud, obtain the x and z coordinates under the corresponding camera coordinates as the ordinate and abscissa of the BEV coordinate diagram, respectively, to construct a beautiful and appropriate coordinate diagram ratio, draw each camera coordinate in the coordinate diagram, and generate a BEV visualization effect under each frame.
3. The system according to claim 1, characterized in that The dynamic object annotation component includes: A dynamic target tracking module is used to use the previous frame data to predict the state of the current frame through the Kalman filter method, and determine the original target in the trajectory based on the state of the current frame, update the trajectory of the previous moment, insert the corresponding detection frame into the trajectory, otherwise determine the new object entering the scene to establish a new trajectory ID number, and delete the corresponding trajectory ID number when the original target disappears or is blocked; The trajectory optimization module is used to predict the corresponding 3D detection frame position through the vehicle or human motion model, optimize the 3D detection frame based on the 3D detection frame position, and / or expand the 3D detection frame size of all targets by a preset multiple, and calculate the average size of all targets under the same trajectory to obtain the corresponding output size.
4. The system according to claim 2, characterized in that The preset splicing formula is: Among them, x, y, z are the coordinates in the radar coordinate system, R, t are the rotation matrix and translation vector of the radar coordinate system to the global coordinate system, and x′, y′, z′ are the coordinates in the global coordinate system.
5. The system according to claim 2, characterized in that The preset difference formula is: in, and is the position and posture of the radar at time t1 and t2, is the radar pose obtained by interpolation at time t.
6. The system according to claim 3, characterized in that The Kalman filter formula is: in, is the result of prediction using k-1 state, is the optimal result of k-1 state, A k , B k is the system parameter, u k is the control quantity of state k, for The corresponding covariance, P k-1 for The corresponding covariance, A k The transposed matrix of the system process, Q is the covariance of the system process, K k is the Kalman gain, H k The transposed matrix, H k is the matrix corresponding to the observation equation, R is the observation noise, is the optimal result of k state, To predict the k-state result using the k-1 state, z k is the observation vector.
7. A 4D dynamic and static target true value data labeling method, characterized in that: The following steps are involved: The original radar point cloud is subjected to ground separation, motion compensation and preset optimized registration processing to obtain the point cloud after motion compensation and the radar pose of each frame radar, the radar pose is subjected to linear interpolation and map stitching to obtain the stitched global map, and the stitched global map is converted into a bird's-eye view (BEV) to obtain a BEV intensity map, a BEV height map and a camera pose, so as to mark the BEV intensity map, and the marked points are valued at the same pixel on the BEV height map to obtain the three-dimensional coordinates of the map points that the user needs to mark, and the marked three-dimensional coordinate points are projected to the two-dimensional coordinates of the image using the camera pose and the camera intrinsic parameters as the true value of the static object; Target annotation is performed in the original radar point cloud, and the dynamic target detection frame and trajectory are obtained after dynamic tracking. The radar pose and the camera pose are used for projection to obtain the multi-camera true value of the dynamic object.
8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the 4D dynamic and static target true value data labeling method as described in claim 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the 4D dynamic and static target true value data labeling method as described in claim 7.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, it is used to implement the 4D dynamic and static target true value data labeling method as described in claim 7.
Citation Information
Patent Citations
Point cloud map establishment method, lane marking data acquisition method, equipment and medium
CN115390088A
4D imaging millimeter wave radar moving target point cloud semi-automatic labeling method and device
CN117269952A
Robot robust online mapping method based on three-dimensional tracking loose coupling
CN118015217A
Dynamic target automatic labeling method and system in automatic driving scene
CN118053158A
Handheld mapping positioning method and device based on visual laser inertial navigation fusion
CN118067111A
Cited By
Dual-radar pose construction method and device, electronic equipment and storage medium
CN119224749A
Dual radar posture construction method, device, electronic device and storage medium
CN119224749B
Method and device for reconstructing multi-frame point cloud static scene, computer equipment and medium
CN119478221A
Dynamic obstacle point cloud correction method and system under 4D truth value labeling
CN119784651A
