Roadside sensor online calibration method, device, electronic device and storage medium

By acquiring vehicle status data and visual data within the monitoring range of the roadside sensor, the initial calibration data of the roadside sensor is automatically corrected, which solves the problems of unstable calibration accuracy and high manpower and material consumption in the existing technology, and achieves high-precision online calibration. , which improves the safety and efficiency of the vehicle-road collaboration system.

CN118226422BActive Publication Date: 2024-08-27ZHIDAO NETWORK TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410650843.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-27
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

Existing roadside sensor calibration technology relies on manual work or high-precision maps, resulting in unstable calibration accuracy, high manpower and material costs, and the need for frequent repeated calibrations. In particular, jitter and offset are prone to occur when wind blows or heavy vehicles pass by, affecting system safety. sex.

Method used

Vehicle status data is obtained from the driving vehicles within the monitoring range of roadside sensors, and multiple sets of point pairs in the lane coverage area are obtained by combining multi-frame visual data, and the initial calibration data is automatically corrected to achieve online calibration without relying on high-precision maps.

Benefits of technology

It improves the calibration accuracy of roadside sensors, saves time, manpower and material costs, reduces the resources required for monitoring calibration abnormalities and repeated calibrations, and enhances the security of the vehicle-road collaboration system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118226422B
    Figure CN118226422B
Patent Text Reader

Abstract

The present application discloses a method, device, electronic device and storage medium for online calibration of roadside sensors. The method is executed by a roadside device, and includes: obtaining multiple frames of visual data of a roadside sensor within a preset time and vehicle status data corresponding to each frame of visual data, wherein the vehicle status data comes from a moving vehicle within the monitoring range of the roadside sensor; obtaining multiple groups of point pairs of lane coverage areas within the monitoring range based on the multiple frames of visual data and the vehicle status data, wherein the point pairs include visual points and their corresponding spatial position points; and correcting the initial calibration data of the roadside sensor based on the multiple groups of point pairs. The technical solution of the embodiment of the present application automatically performs high-precision online correction on the calibration data of the roadside sensor without relying on a high-precision map.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent transportation technology, and in particular to a method, device, electronic device and storage medium for online calibration of roadside sensors. Background Art

[0002] As the country vigorously promotes the construction of digital infrastructure, new roadside infrastructure projects such as vehicle-road collaboration and digital twins are being implemented across the country. The service quality of roadside equipment in the vehicle-road collaboration system determines whether the entire system can operate normally, and also profoundly affects the safety factor of the intelligent transportation system based on the vehicle-road collaboration system. Among them, the position perception accuracy of roadside sensors plays a pivotal role in the service quality of roadside equipment.

[0003] At present, the calibration data calculation methods of roadside sensors mainly include manual calibration and high-precision map calibration. The core idea of ​​these two methods is to obtain the real position information corresponding to the pixels and point clouds in the roadside sensors through landmarks or high-precision maps, so as to calculate the calibration data of the roadside sensors. Ideally, the calibration data of the roadside sensors will not change after the initial calibration is completed and can be put into use continuously. However, in actual traffic scenarios, most roadside sensors are installed at higher positions such as street light poles or traffic light poles. Due to wind or heavy vehicles passing by, the roadside sensors may jitter and offset. At this time, it is necessary to consume manpower and material resources to continuously evaluate the calibration accuracy of each roadside sensor. When the accuracy is insufficient, it takes a lot of time to recalibrate. Studies have found that the existing calibration technology requires at least 0.5 manpower / day for each set of roadside sensors, and recalibration relies on dedicated calibration vehicles or relies heavily on high-precision maps. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for online calibration of roadside sensors, so as to automatically perform high-precision online correction on the calibration data of roadside sensors without relying on high-precision maps.

[0005] The present application embodiment adopts the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a method for online calibration of a roadside sensor, the method being executed by a roadside device, and the method for online calibration of a roadside sensor comprising:

[0007] Acquire multiple frames of visual data from a roadside sensor within a preset time and vehicle status data corresponding to each frame of visual data, wherein the vehicle status data comes from a moving vehicle within a monitoring range of the roadside sensor;

[0008] Acquire multiple groups of point pairs of the lane coverage area within the monitoring range according to the multiple frames of visual data and the vehicle status data, wherein the point pairs include visual points and their corresponding spatial position points;

[0009] The initial calibration data of the roadside sensor is corrected according to the multiple groups of point pairs.

[0010] In a second aspect, an embodiment of the present application further provides an online calibration device for a roadside sensor, the device being applied to a roadside device, the online calibration device for a roadside sensor comprising:

[0011] A data acquisition unit, used to acquire multiple frames of visual data from a roadside sensor within a preset time and vehicle status data corresponding to each frame of visual data, wherein the vehicle status data comes from a moving vehicle within a monitoring range of the roadside sensor;

[0012] A point pair acquisition unit, configured to acquire a plurality of groups of point pairs of the lane coverage area within the monitoring range according to the plurality of frames of visual data and the vehicle status data, wherein the point pairs include visual points and their corresponding spatial position points;

[0013] A calibration unit is used to correct the initial calibration data of the roadside sensor according to the multiple groups of point pairs.

[0014] In a third aspect, an embodiment of the present application further provides an electronic device, including:

[0015] Processor; and

[0016] A memory is arranged to store computer executable instructions, which, when executed, cause the processor to perform the above-mentioned roadside sensor online calibration method.

[0017] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes the aforementioned roadside sensor online calibration method.

[0018] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0019] The embodiments of the present application obtain vehicle status data from moving vehicles within the monitoring range of roadside sensors without relying on high-precision maps. Within a preset time, moving vehicles in each lane position within the monitoring range can send multiple frames of vehicle status data. The spatial position points corresponding to the visual points within the lane coverage range can be obtained through the multiple frames of vehicle status data and the corresponding visual data of the roadside sensor. The initial calibration data of the roadside sensor is corrected online through the points with high coverage density and high coverage rate, thereby improving the correction accuracy and reducing the time cost, manpower and material cost required for monitoring calibration anomalies and repeated calibration. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0021] Figure 1 A schematic diagram of a flow chart of an online calibration method for a roadside sensor in an embodiment of the present application;

[0022] Figure 2 This is a structural block diagram of an online calibration device for roadside sensors in an embodiment of the present application;

[0023] Figure 3 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0025] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0026] The embodiments of the present application provide an online calibration method for roadside sensors. The following embodiments of the present application use roadside equipment as an example to illustrate the execution subject of the online calibration method for roadside sensors. It can be understood that the execution subject of the embodiments of the present application may also be other devices or systems, such as a roadside unit, a roadside edge computing system or a chip system, and the chip system includes at least one processor, and a communication interface or memory, wherein the memory is used to store programs or instructions, and the communication interface is used to provide the processor with information or data input and output functions. Alternatively, the execution subject of the online calibration method for roadside sensors in the embodiments of the present application may also be software or hardware, and different execution steps may be centralized or distributed.

[0027] like Figure 1 As shown, a schematic flow chart of an online calibration method for a roadside sensor in an embodiment of the present application is provided, and the method at least includes the following steps S110 to S130:

[0028] Step S110, acquiring multiple frames of visual data from a roadside sensor within a preset time and vehicle status data corresponding to each frame of visual data, wherein the vehicle status data comes from a moving vehicle within a monitoring range of the roadside sensor.

[0029] The roadside sensors in the embodiments of the present application may include cameras and / or lidars. Visual data refers to data collected by cameras and / or lidars, specifically including image data and / or point cloud data. For ease of description, the various embodiments below are described using the example that the roadside sensors include both cameras and lidars.

[0030] The roadside sensor of the embodiment of the present application controls the camera to collect image data within the field of view and controls the laser radar to collect point cloud data within the field of view according to a preset period, and sends the collected image data and point cloud data to the roadside equipment in real time.

[0031] In the V2R (Vehicle to Roadside) scenario, the roadside equipment can communicate with the connected vehicles within the coverage of the roadside unit through the road side unit (RSU). When the connected vehicle is equipped with a high-precision positioning device such as an RTK (Real Time Kinematic) positioning device, the connected vehicle can send vehicle status data such as vehicle speed, acceleration, heading angle, RTK positioning point, RTK installation position, and vehicle size to the roadside unit in real time; or, in other scenarios, the roadside equipment can also receive vehicle status data sent by the connected vehicle within the communication range through the 5G-LTE module. Among them, the vehicle status data is used to describe the current status of the vehicle, such as vehicle speed, acceleration, heading angle, RTK positioning point, RTK installation position, vehicle size and other related information.

[0032] The roadside equipment performs time synchronization processing on the received visual data and vehicle status data to obtain time-synchronized visual data and vehicle status data. The time synchronization processing of different data sources can be implemented by technical personnel in this field in combination with the existing technology, and this application will not go into details here.

[0033] It is worth noting that, in the embodiment of the present application, when the roadside sensor is calibrated online, multiple frames of data are obtained within a preset time, and the preset time has a certain time length, for example, it can be 24 hours, 36 hours, etc. Ideally, the roadside equipment can obtain the vehicle status data provided by the moving vehicles at each lane position within the monitoring range in a sufficiently long time, and through these data frames, enough point pairs that cover the lane area within the monitoring range as much as possible can be obtained. The initial calibration data of the roadside sensor can be corrected by covering point pairs with high coverage density and high coverage rate, which can improve the correction accuracy.

[0034] Step S120, obtaining multiple groups of point pairs in the lane coverage area within the monitoring range according to the multiple frames of visual data and the vehicle status data, wherein the point pairs include visual points and their corresponding spatial position points.

[0035] The study found that in actual application scenarios, the manual calibration method is generally for testers to obtain reference points through handheld RTK, while the calibration method based on high-precision maps usually uses lane corners as reference points. These two methods generally use 16 points every 200 meters, and the points are relatively sparse. The calibration data formed will have higher accuracy in the point area, but the accuracy is usually lower in the area without points, that is, the existing calibration scheme has an over-coupling problem. In addition, when the roadside sensor has a slight displacement or a large calibration deviation, the above-mentioned point operation needs to be repeated. It can be seen that the existing calibration scheme also has the problem of high labor consumption and a long time for a single calibration.

[0036] In addition, in some scenarios of the prior art, there is also a calibration method based on a calibration vehicle, which is to control the calibration vehicle to travel along a planned route, use the trajectory of the calibration vehicle itself and the trajectory collected by the roadside sensor to match the trajectory, and select reference points from the matched trajectory to correct the calibration data of the roadside sensor. The points obtained in this way are also relatively sparse, and the accuracy of the calibration data is also unstable. At the same time, an additional calibration vehicle is required, and the calibration cost is high.

[0037] In response to the above problems, the embodiments of the present application utilize the high-precision positioning device of the networked vehicle itself to obtain the spatial position information of the networked vehicle. Over a sufficiently long period of time, the networked vehicle may be distributed at various positions of the lane within the monitoring range of the roadside sensor. The point coverage density obtained in this way is large and the coverage rate is high. The calibration data formed will have high accuracy within the lane coverage area, which can solve the problem of unstable accuracy caused by over-coupling to a certain extent. The correction process does not require the participation of manpower and material resources, which can save correction costs.

[0038] It is worth noting that the "visual point" in this embodiment can be understood as the pixel point of the camera and the sampling point of the laser radar, the "spatial position point" can be understood as a three-dimensional coordinate point in the world coordinate system, and the "point position" can be understood as the position of the point, such as the relative offset coordinates of the pixel point and the sampling point; correspondingly, the "point pair" refers to the point pair formed by the pixel point (or the sampling point of the laser radar) and the spatial position point.

[0039] Step S130: Correcting the initial calibration data of the roadside sensor according to the multiple groups of point pairs.

[0040] The initial calibration data of the present application may be calibration data acquired through existing calibration methods. In a scenario where the accuracy of the initial calibration data decreases or becomes invalid due to camera shake or other reasons, the method of this embodiment can automatically maintain the calibration data of the roadside sensor, thereby reducing the manpower and material resources required to monitor calibration data anomalies and repeat calibration.

[0041] In some embodiments of the present application, in the above step S120, obtaining multiple groups of point pairs of the lane coverage area within the monitoring range according to the multiple frames of visual data and the vehicle status data specifically includes:

[0042] Perform target detection on each frame of visual data to obtain vehicle detection data;

[0043] Acquire vehicle detection data and vehicle status data belonging to the same vehicle according to a preset target matching algorithm;

[0044] The multiple groups of point pairs are obtained according to the vehicle detection data and vehicle status data belonging to the same vehicle in each frame of data.

[0045] Taking the current frame image and the current frame point cloud as examples, target detection is performed on the current frame image and the current frame point cloud respectively, and image detection data and point cloud detection data about the target obstacle in the current frame are obtained. Vehicle detection data can be determined according to the attributes of each target obstacle in the two detection data, where the attributes of the target obstacle are used to indicate what kind of traffic participant the target obstacle corresponds to. In addition, this embodiment can also directly perform vehicle detection on the current frame image and the current frame point cloud based on the vehicle detection algorithm, and in this case, image detection data and point cloud detection data about the vehicle in the current frame can be directly obtained.

[0046] After obtaining the vehicle detection data, the vehicle detection data and the vehicle status data of the current frame are converted to the same coordinate system, such as the world coordinate system, according to the initial calibration data of the roadside sensor, so as to associate the two data in the same coordinate system. For example, the IOU (Intersection over Union) algorithm and the Kalman filter algorithm are used to match the vehicle detection data and the vehicle status data of the current frame, and the vehicle detection data and the vehicle status data belonging to the same vehicle are matched, so as to obtain the real spatial position information of the corresponding pixel point or the corresponding vehicle sampling point in the point cloud through the vehicle status data, so that the coverage density of the point pairs obtained through multiple frames of data is large and the coverage rate is high.

[0047] As an optional implementation scheme of this embodiment, the vehicle detection data includes a target detection frame, and the vehicle status data includes an RTK positioning point. In the field of autonomous driving, commonly used high-precision positioning devices include a GPS positioning device and an RTK positioning device. The GPS positioning device needs to be solved afterwards to obtain centimeter-level positioning accuracy, and the RTK positioning device is a measurement method that can obtain centimeter-level accuracy in real time in the field. Therefore, this implementation scheme preferably obtains the real spatial position information of the visual point through the RTK positioning device to improve the correction efficiency.

[0048] In this implementation, multiple groups of point pairs can be obtained through the following steps:

[0049] According to the target detection frame and the RTK positioning point belonging to the same vehicle in each frame of data, obtaining a position correspondence between a center point of the target detection frame and the RTK positioning point in each frame of data;

[0050] Normalizing the RTK positioning points with the same target detection frame center point in the multiple frames of data according to the position correspondence to obtain the normalized RTK positioning points;

[0051] The point pair is obtained according to the center point of each target detection frame and its corresponding normalized RTK positioning point.

[0052] As mentioned above, when processing the current frame data, the target detection frame and the RTK positioning point belonging to the same vehicle are matched data, and the center point of the target detection frame and the RTK positioning point are used as the preliminary calculation results of the point pair of the current frame. When processing all frame data within a preset time, for all preliminary calculation results of point pairs, the same visual point position may have different RTK positioning points. Accordingly, this implementation method normalizes different RTK positioning points of the same visual point position in all preliminary calculation results of point pairs to obtain the final point pair.

[0053] Optionally, these RTK positioning points can be normalized by the following steps:

[0054] Filtering outliers on multiple RTK positioning points with the same target detection frame center point using a preset algorithm to obtain filtered RTK positioning points, wherein the preset algorithm includes, for example, a clustering algorithm, an isolation forest algorithm, etc.;

[0055] The normalized RTK positioning points are obtained based on the filtered RTK positioning points.

[0056] Specifically, when the number of filtered RTK positioning points is 1, the filtered RTK positioning point is directly used as the normalized RTK positioning point; otherwise, when the number of filtered RTK positioning points is more than 2, the average of the filtered RTK positioning points is used as the normalized RTK positioning point.

[0057] In some scenarios of the present embodiment, the posture changes of the roadside sensor caused by various reasons may be different in different time periods of the preset time. For example, for the same visual point a, the visual point a corresponds to two RTK positioning points, one of which corresponds to the vehicle status data at time t1, and the other corresponds to the vehicle status data at time t1+△t. Obviously, the calibration data calculated based on the RTK positioning point at time t1+△t is closer to the actual calibration data corresponding to the "current posture" roadside sensor.

[0058] Based on this, when this embodiment obtains the position correspondence between the center point of the target detection frame and the RTK positioning point in each frame of data, the weight of the RTK positioning point is determined according to the timestamp information of the RTK positioning point. When the timestamp information indicates that the time is closer to the preset time end, the weight of the RTK positioning point is higher; the RTK positioning point after weight calculation is used as the RTK positioning point corresponding to the center point of the target detection frame, so as to improve the correction accuracy.

[0059] For example, the present embodiment can pre-set a time-based weight function, such as setting a segmented weight function, each time interval corresponds to a different weight function, and the time interval to which the RTK positioning point belongs is determined according to the timestamp time of the RTK positioning point, and then the weight corresponding to the RTK positioning point is calculated according to the corresponding weight function. Of course, the embodiment of the present application can also calculate the weight in other ways, and the present embodiment does not specifically limit this.

[0060] As mentioned above, the vehicle status data also includes the RTK installation position, the vehicle heading angle and the vehicle size. As another optional implementation scheme of this embodiment, the vehicle detection data and vehicle status data belonging to the same vehicle are obtained according to the preset target matching algorithm as mentioned above, specifically including:

[0061] Generate a target reference frame according to the vehicle heading angle and the vehicle size, and determine the position information of the target reference frame according to the RTK installation position and the RTK positioning point;

[0062] The target reference frame and the target detection frame are matched according to the preset target matching algorithm, and vehicle detection data and vehicle status data belonging to the same vehicle are obtained according to the target matching result.

[0063] This embodiment first generates a target reference frame for the moving vehicle based on the vehicle heading angle and the vehicle size, and then determines the position of the target reference frame in the world coordinate system based on the RTK installation position and the RTK positioning point. In this way, the target reference frame and the target detection frame are both in the world coordinate system. The target detection frame and the target reference frame corresponding to the same vehicle can be calculated based on the position of the frame and the frame overlap. The vehicle detection data and vehicle status data belonging to the same vehicle can be obtained through a simple target matching algorithm.

[0064] When the roadside sensors of the embodiments of the present application include cameras and lidars, the multiple groups of point pairs acquired through multiple frames of data include multiple groups of first point pairs regarding pixel points and spatial position points, multiple groups of second point pairs regarding point cloud sampling points and spatial position points, and multiple groups of third point pairs regarding pixel points and point cloud sampling points.

[0065] Accordingly, in some embodiments of the present application, the initial calibration data of the roadside sensor is corrected according to the multiple groups of point pairs in the above step S130, specifically including:

[0066] The initial calibration data of the camera is updated according to multiple groups of first points, the initial calibration data of the lidar is updated according to multiple groups of second points, and the initial joint calibration data between the camera and the lidar is updated according to multiple groups of third points.

[0067] The initial calibration data of this embodiment includes a position conversion matrix between pixel points and spatial position points, a position conversion matrix between point cloud sampling points and spatial position points, and a position conversion matrix between pixel points and point cloud sampling points. When correcting the corresponding position conversion matrix according to multiple groups of point pairs, those skilled in the art can implement it in combination with the existing technology, and this application will not go into details here.

[0068] In some embodiments of the present application, before correcting the initial calibration data of the roadside sensor according to the multiple groups of point pairs, Figure 1 The method further comprises:

[0069] Determine whether the initial calibration data of the roadside sensor needs to be corrected;

[0070] When the initial calibration data of the roadside sensor needs to be corrected, the initial calibration data of the roadside sensor is corrected according to the multiple groups of point pairs.

[0071] In some possible implementation schemes of this embodiment, a first calibration deviation of the camera is determined based on a first point pair located at the imaging center, and whether the camera needs to be calibrated is determined based on the first calibration deviation; similarly, a second calibration deviation of the lidar is determined based on a second point pair located at the imaging center, and whether the lidar needs to be calibrated is determined based on the second calibration deviation.

[0072] Since the deviation of the imaging center area of ​​the camera and the lidar is greater than that of the imaging edge area, this embodiment determines whether the accuracy of the initial calibration data of the camera and the lidar is too low through the deviation of the imaging center area and needs to be corrected.

[0073] When calculating the calibration deviation, the spatial position point corresponding to the pixel point at the imaging center can be calculated based on the initial calibration data of the camera, and the calculated spatial position point can be compared with the corresponding spatial position point in the first point pair. If the difference between the spatial position points corresponding to all pixel points at the imaging center is greater than the set pixel threshold, it is determined that both the initial calibration data and the initial joint calibration data of the camera need to be corrected.

[0074] Similarly, the spatial position points corresponding to the sampling points at the imaging center are calculated based on the initial calibration data of the laser radar, and the calculated spatial position points are compared with the corresponding spatial position points in the second point pair. If the differences between the spatial position points corresponding to all the sampling points at the imaging center are greater than the set point cloud threshold, it is determined that both the initial calibration data and the initial joint calibration data of the laser radar need to be corrected.

[0075] It can be seen from the above embodiments of the present application that the roadside sensor online calibration method of the embodiment of the present application has at least the following advantages:

[0076] First, there are differences in the use of high-precision maps in the current vehicle-road cooperative systems. Some routes focus more on perception and less on map routes, while others focus equally on perception and map routes. Since the embodiments of the present application do not need to rely on high-precision maps, they are particularly suitable for vehicle-road cooperative systems that adopt the first route mentioned above.

[0077] Second, the embodiments of the present application can perform online calibration and correction on the initial calibration data of the roadside sensor based on the visual data and vehicle status data within a certain period of time, without the need for human intervention, and can reduce the time cost and manpower and material cost required for monitoring calibration anomalies and repeated calibration.

[0078] Third, the generation of calibration data is actually to obtain real-space position points for some pixel points and some point cloud sampling points, so as to infer the real-space position points corresponding to other pixel points and other point cloud sampling points. The embodiment of the present application can obtain the point information of "all positions" within the lane coverage range through the moving vehicles on the road. The obtained point coverage density is large and the coverage rate is high, so the accuracy of the calibration data formed by this is higher than that of the conventional method.

[0079] The present application also provides a roadside sensor online calibration device 200, such as Figure 2 As shown, a schematic diagram of the structure of an online calibration device for a roadside sensor in an embodiment of the present application is provided, wherein the device 200 comprises: a data acquisition unit 210, a point pair acquisition unit 220 and a calibration unit 230, wherein:

[0080] A data acquisition unit 210 is used to acquire multiple frames of visual data from a roadside sensor within a preset time and vehicle status data corresponding to each frame of visual data, wherein the vehicle status data comes from a moving vehicle within a monitoring range of the roadside sensor;

[0081] A point pair acquisition unit 220, configured to acquire a plurality of groups of point pairs in the lane coverage area within the monitoring range according to the plurality of frames of visual data and the vehicle status data, wherein the point pairs include visual points and their corresponding spatial position points;

[0082] The calibration unit 230 is used to calibrate the initial calibration data of the roadside sensor according to the multiple groups of point pairs.

[0083] In some embodiments of the present application, the point pair acquisition unit 220 is specifically used to perform target detection on each frame of visual data to obtain vehicle detection data; obtain vehicle detection data and vehicle status data belonging to the same vehicle according to a preset target matching algorithm; and obtain the multiple groups of point pairs based on the vehicle detection data and vehicle status data belonging to the same vehicle in each frame of data.

[0084] In some embodiments of the present application, the vehicle detection data includes a target detection frame, the vehicle status data includes an RTK positioning point, and the point pair acquisition unit 220 is further used to obtain the position correspondence between the center point of the target detection frame and the RTK positioning point in each frame of data according to the target detection frame and the RTK positioning point belonging to the same vehicle in each frame of data; normalize the RTK positioning points with the same target detection frame center point in multiple frames of data according to the position correspondence to obtain the normalized RTK positioning points; and obtain the point pair according to each target detection frame center point and its corresponding normalized RTK positioning point.

[0085] In some embodiments of the present application, the point pair acquisition unit 220 is further used to determine the weight of the RTK positioning point according to the timestamp information of the RTK positioning point; and use the RTK positioning point after weight calculation as the RTK positioning point corresponding to the center point of the target detection frame.

[0086] In some embodiments of the present application, the point pair acquisition unit 220 is also used to filter outliers on multiple RTK positioning points with the same target detection frame center point through a preset algorithm to obtain filtered RTK positioning points; and obtain the normalized RTK positioning points based on the filtered RTK positioning points.

[0087] In some embodiments of the present application, the vehicle status data also includes the RTK installation position, the vehicle heading angle and the vehicle size. The point pair acquisition unit 220 is further used to generate a target reference frame based on the vehicle heading angle and the vehicle size, and determine the position information of the target reference frame based on the RTK installation position and the RTK positioning point; perform target matching on the target reference frame and the target detection frame according to the preset target matching algorithm, and obtain vehicle detection data and vehicle status data belonging to the same vehicle according to the target matching result.

[0088] In some embodiments of the present application, the roadside sensor includes a camera and a laser radar, and the multiple groups of point pairs include multiple groups of first point pairs about pixel points and spatial position points, multiple groups of second point pairs about point cloud sampling points and spatial position points, and multiple groups of third point pairs about pixel points and point cloud sampling points;

[0089] The calibration unit 230 is specifically used to update the initial calibration data of the camera according to multiple groups of first point pairs, update the initial calibration data of the lidar according to multiple groups of second point pairs, and update the initial joint calibration data between the camera and the lidar according to multiple groups of third point pairs.

[0090] It can be understood that the above-mentioned roadside sensor online calibration device can implement the various steps of the roadside sensor online calibration method provided in the aforementioned embodiment. The relevant explanations about the roadside sensor online calibration method are applicable to the roadside sensor online calibration device and will not be repeated here.

[0091] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 3 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0092] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0093] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0094] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming an online calibration device for roadside sensors at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:

[0095] Acquire multiple frames of visual data from a roadside sensor within a preset time and vehicle status data corresponding to each frame of visual data, wherein the vehicle status data comes from a moving vehicle within a monitoring range of the roadside sensor;

[0096] Acquire multiple groups of point pairs of the lane coverage area within the monitoring range according to the multiple frames of visual data and the vehicle status data, wherein the point pairs include visual points and their corresponding spatial position points;

[0097] The initial calibration data of the roadside sensor is corrected according to the multiple groups of point pairs.

[0098] The above application Figure 1 The method performed by the online calibration device for roadside sensors disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above-mentioned roadside sensor online calibration method in combination with its hardware.

[0099] The electronic device may also perform Figure 1 Method for executing the online calibration device of the roadside sensor, and realizing the online calibration device of the roadside sensor in Figure 1 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.

[0100] The present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 1 The method for executing the online calibration of the roadside sensor in the embodiment shown is specifically used to execute:

[0101] Acquire multiple frames of visual data from a roadside sensor within a preset time and vehicle status data corresponding to each frame of visual data, wherein the vehicle status data comes from a moving vehicle within a monitoring range of the roadside sensor;

[0102] Acquire multiple groups of point pairs of the lane coverage area within the monitoring range according to the multiple frames of visual data and the vehicle status data, wherein the point pairs include visual points and their corresponding spatial position points;

[0103] The initial calibration data of the roadside sensor is corrected according to the multiple groups of point pairs.

[0104] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0105] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0108] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

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

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

[0111] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0112] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0113] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A roadside sensor online calibration method, It is characterized in that The method is performed by a roadside device, and the roadside sensor online calibration method comprises: Acquire multiple frames of visual data from a roadside sensor within a preset time and vehicle status data corresponding to each frame of visual data, wherein the vehicle status data comes from a moving vehicle within a monitoring range of the roadside sensor; Acquire multiple groups of point pairs of the lane coverage area within the monitoring range according to the multiple frames of visual data and the vehicle status data, wherein the point pairs include visual points and their corresponding spatial position points; Correcting initial calibration data of the roadside sensor according to the multiple groups of point pairs; The acquiring, according to the multiple frames of visual data and the vehicle status data, multiple groups of point pairs in the lane coverage area within the monitoring range comprises: Perform target detection on each frame of visual data to obtain vehicle detection data; obtain vehicle detection data and vehicle status data belonging to the same vehicle according to a preset target matching algorithm; obtain the multiple groups of point pairs according to the vehicle detection data and vehicle status data belonging to the same vehicle in each frame of data; The vehicle detection data includes a target detection frame, the vehicle status data includes an RTK positioning point, and the multiple groups of point pairs are obtained according to the vehicle detection data and vehicle status data belonging to the same vehicle in each frame of data, including: According to the target detection frame and the RTK positioning point belonging to the same vehicle in each frame of data, a position correspondence relationship between the center point of the target detection frame and the RTK positioning point in each frame of data is obtained; according to the position correspondence relationship, the RTK positioning points with the same center point of the target detection frame in multiple frames of data are normalized to obtain the normalized RTK positioning points; according to each target detection frame center point and its corresponding normalized RTK positioning point, the point pair is obtained; The obtaining, according to the target detection frame and the RTK positioning point belonging to the same vehicle in each frame of data, a position correspondence between a center point of the target detection frame and the RTK positioning point in each frame of data includes: The weight of the RTK positioning point is determined according to the timestamp information of the RTK positioning point; and the RTK positioning point after weight calculation is used as the RTK positioning point corresponding to the center point of the target detection frame.

2. The method for online calibration of roadside sensors according to claim 1, It is characterized in that The step of normalizing the RTK positioning points having the same target detection frame center point in the multiple frames of data according to the position correspondence to obtain the normalized RTK positioning points includes: Through a preset algorithm, outlier points are filtered out for multiple RTK positioning points with the same target detection frame center point to obtain filtered RTK positioning points; The normalized RTK positioning points are obtained according to the filtered RTK positioning points.

3. The method for online calibration of roadside sensors according to claim 1, It is characterized in that The vehicle status data also includes the RTK installation position, the vehicle heading angle and the vehicle size. The vehicle detection data and vehicle status data belonging to the same vehicle are obtained according to the preset target matching algorithm, including: Generate a target reference frame according to the vehicle heading angle and the vehicle size, and determine the position information of the target reference frame according to the RTK installation position and the RTK positioning point; The target reference frame and the target detection frame are matched according to the preset target matching algorithm, and vehicle detection data and vehicle status data belonging to the same vehicle are obtained according to the target matching result.

4. The method for online calibration of roadside sensors according to claim 1, It is characterized in that The roadside sensor includes a camera and a laser radar, and the multiple groups of point pairs include multiple groups of first point pairs about pixel points and spatial position points, multiple groups of second point pairs about point cloud sampling points and spatial position points, and multiple groups of third point pairs about pixel points and point cloud sampling points; The correcting the initial calibration data of the roadside sensor according to the multiple groups of point pairs includes: The initial calibration data of the camera is updated according to multiple groups of first points, the initial calibration data of the lidar is updated according to multiple groups of second points, and the initial joint calibration data between the camera and the lidar is updated according to multiple groups of third points.

5. A roadside sensor online calibration device, It is characterized in that The device is applied to roadside equipment, and the roadside sensor online calibration device comprises: A data acquisition unit, used to acquire multiple frames of visual data from a roadside sensor within a preset time and vehicle status data corresponding to each frame of visual data, wherein the vehicle status data comes from a moving vehicle within a monitoring range of the roadside sensor; A point pair acquisition unit, configured to acquire a plurality of groups of point pairs of the lane coverage area within the monitoring range according to the plurality of frames of visual data and the vehicle status data, wherein the point pairs include visual points and their corresponding spatial position points; A calibration unit, configured to calibrate the initial calibration data of the roadside sensor according to the plurality of point pairs; A point pair acquisition unit is used to perform target detection on each frame of visual data to obtain vehicle detection data; obtain vehicle detection data and vehicle status data belonging to the same vehicle according to a preset target matching algorithm; and obtain the plurality of point pairs according to the vehicle detection data and vehicle status data belonging to the same vehicle in each frame of data; The vehicle detection data includes a target detection frame, the vehicle status data includes an RTK positioning point, and the point pair acquisition unit is further used to acquire a position correspondence between a center point of a target detection frame and an RTK positioning point in each frame of data according to the target detection frame and the RTK positioning point belonging to the same vehicle in each frame of data; perform normalization processing on the RTK positioning points with the same center point of the target detection frame in multiple frames of data according to the position correspondence, and acquire the normalized RTK positioning points; acquire the point pair according to the center point of each target detection frame and its corresponding normalized RTK positioning point; The point pair acquisition unit is also used to determine the weight of the RTK positioning point according to the timestamp information of the RTK positioning point; and use the RTK positioning point after weight calculation as the RTK positioning point corresponding to the center point of the target detection frame.

6. An electronic device, include: processor; as well as A memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the roadside sensor online calibration method according to any one of claims 1 to 4.

7. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, enables the electronic device to execute the roadside sensor online calibration method according to any one of claims 1 to 4.