A roadside environment perception method based on detection result calibration
The roadside perception system detection results are calibrated through a unified roadside perception annotation database and a multi-layer perceptron calibrator, which solves the problem of poor consistency of detection results between different equipment manufacturers and achieves improved vehicle-road collaborative perception accuracy and road safety. The technical confidentiality of side equipment manufacturers has enhanced the implementation of industrial implementation.
Patent Information
- Application Number
- CN202410002492.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-01-02
AI Technical Summary
Existing vehicle-road collaborative sensing technology is difficult to achieve validity evaluation and consistency of detection results among different equipment manufacturers, which leads to vehicle-end distrust of roadside sensing results and ignores the independence and commercial value of roadside equipment manufacturers. .
By establishing a unified roadside perception annotation database and a multi-layer perceptron calibrator, offline training generates a detection calibrator to calibrate the detection results of the roadside perception system to ensure the consistency and performance of the detection results and avoid understanding the internal structure and performance of the detection model. Code information to protect the technical confidentiality of roadside equipment manufacturers.
On the premise of ensuring the confidentiality of the vehicle-road collaborative sensing model, it can improve the credibility of roadside sensing information and the consistency of detection results, improve the accuracy of vehicle-road collaborative sensing fusion, and enhance the commercial value and industry of roadside equipment manufacturers. Implementability on the ground.
Smart Images

Figure CN117975394B
Abstract
Description
Technical Field
[0001] The present invention provides a roadside environment perception method based on detection result calibration, which belongs to the technical field of vehicle-road collaborative perception. Background Art
[0002] The typical technical solution in the current application field of vehicle-road collaborative perception is as follows: first, the vehicle actively receives the surrounding environmental target information (including cars, pedestrians, bicycles, etc.) detected by the roadside sensors, and then integrates it with the surrounding environmental target information detected by the vehicle's own sensors. Finally, the fused result is sent to the vehicle-side decision-making system as the basis for the vehicle-side autonomous driving decision-making planning.
[0003] However, the environmental perception algorithm solutions for the vehicle side and the road side are usually not provided by the same company, and there may be roadside equipment systems provided by multiple equipment manufacturers in the same area. The vehicle-side perception algorithm is generally provided by the corresponding vehicle manufacturer (such as BYD), and the roadside perception algorithm is generally provided by roadside communication equipment manufacturers such as Huawei, Datang, and ZTE. Due to the need for confidentiality of corporate technical information, it is difficult for the vehicle side to evaluate the validity of the roadside perception result information provided by different equipment manufacturers. Because different roadside equipment manufacturers lead to poor consistency in roadside perception detection results, it is easy for the vehicle side to distrust or even dare not use the perception result information provided by the roadside side.
[0004] As the research on vehicle autonomous driving technology becomes more and more in-depth, the research on autonomous driving cooperative perception technology based on vehicle-road collaboration has gradually increased. In addition to perceiving the surrounding environment information through the sensors installed on their own, autonomous vehicles can also obtain the status information of traffic participants on the road through sensors fixed on both sides of the road. By integrating the perception information from two different sources, the vehicle-side and roadside traffic facilities, it is possible to achieve long-distance, blind-spot-free cooperative perception of vehicles, thereby improving and ensuring the safety of vehicles during autonomous driving.
[0005] Roadside perception: By installing sensors including high-definition cameras, lidar, computing units and other equipment on traffic poles on both sides of the road, roadside facilities can perform real-time detection of all traffic participants on the road (such as pedestrians and vehicles).
[0006] Vehicle-side perception: Autonomous vehicles use existing cameras, lidar and other sensor devices on their own vehicles to detect traffic participants (such as pedestrians) around their own vehicles. Vehicle-side perception is easily blocked by other obstacles around it, which can easily form a certain range of perception blind spots.
[0007] V2X communication: The roadside will be equipped with a communication unit device for data transmission --- RSU (road side uint), and the autonomous vehicle will be equipped with a communication unit device for data reception --- OBU (on board uint). The perception information of the roadside can be broadcasted outward through the RSU device, while the OBU device of the autonomous vehicle can continuously receive the information sent from the roadside, and then transmit this information to the vehicle's own controller.
[0008] Vehicle-road collaborative perception: By combining the perception information of the roadside and the vehicle, the collaborative perception of the vehicle's surrounding environment is achieved. For example, the acquisition of environmental information around the vehicle mainly relies on the vehicle itself, while the acquisition of blind spots around the vehicle and long-distance environmental information mainly relies on roadside facilities.
[0009] Multi-sensor information fusion: Multi-sensor information fusion is currently the main implementation method for cooperative perception based on vehicle-road collaboration (V2X) autonomous driving. Target detection is mainly divided into three key steps: raw data information acquisition, feature extraction, and detection and tracking. Multi-sensor information fusion can generally be divided into raw signal level, feature level, and target level according to the different fusion stages. If fusion is performed at the raw data information stage, it is raw signal level fusion. If fusion is performed at the feature extraction stage, it is feature level fusion. If fusion is performed at the detection and tracking stage, it is target level fusion.
[0010] The technical solution of invention patent ZL202211480590.3, in order to ensure the credibility and consistency of road-side detection results and ultimately improve the accuracy of vehicle-road collaborative perception fusion, regards the vehicle-side and road-side sensor systems as a closely coordinated whole, and proposes a framework idea of vehicle-road collaborative perception using sensor feature-level information fusion.
[0011] This solution performs target detection and extraction on the vehicle-road fusion feature information on the vehicle side, and outputs the final perception detection results.
[0012] The technical solution regards the vehicle-road as a completely unified and closely connected organic whole, without considering the actual reality that the current vehicle-road collaboration industry is relatively independent and has been initially deployed and applied, so it is difficult to implement in the short term. The shortcomings are mainly reflected in the following two aspects:
[0013] (1) It is difficult to meet the software technology confidentiality requirements of different equipment manufacturers.
[0014] The existing technical solutions adopt a feature-level perception information fusion solution, that is, the algorithm solutions on both ends of the vehicle and the road need to be deeply integrated and bound. This inevitably requires that the road-side perception system manufacturers and the vehicle-side system manufacturers fully open the technical solutions of the perception algorithm to each other, which obviously does not meet the needs of the manufacturers on both ends of the vehicle and the road to keep their software technology confidential.
[0015] (2) Ignoring the independent status of roadside equipment manufacturers.
[0016] The existing technical solution is that the same type of sensor solution and the same perception algorithm solution are used on both ends of the vehicle and the road. Considering that the number of cars with intelligent driving functions in reality is far greater than the number of roadside perception devices, based on the existing technical solution, roadside perception equipment manufacturers must fully adopt the sensor and algorithm solutions on the vehicle side. Therefore, the existing technical solution ignores the subject independence of roadside equipment manufacturers, limits the voice and commercial value of roadside equipment manufacturers in the field of vehicle-road collaboration industry, and is not conducive to the continuous development of the vehicle-road collaboration industry. Summary of the invention
[0017] Based on the shortcomings of the existing technology, the present invention can uniformly correct the detection results of all different roadside perception systems while ensuring the mutual confidentiality of the perception models at both ends of the vehicle and the road, thereby improving the credibility of the roadside perception information, reducing the negative impact caused by poor model consistency, and ultimately improving the accuracy of vehicle-road perception information fusion.
[0018] The specific technical solution is:
[0019] A roadside environment perception method based on detection result calibration includes the following steps:
[0020] S1. Establishing a roadside perception annotation database
[0021] The database contains various roadside traffic scenes and various common road traffic targets.
[0022] It is divided into two parts: the original image and the true value of the annotated data. The true value of the annotated data includes the coordinate position and type category of the road target in the image.
[0023] S2, Roadside Perception System Detection Calibrator Offline Training Generation
[0024] The calibrator of the roadside perception model will be generated by offline training based on the existing roadside perception annotation database. The offline training of the detection calibrator of the roadside perception system mainly includes the detection of the original roadside perception model, the optimization supervision of the calibrator, and the output of the calibrator model.
[0025] S2.1. Roadside original perception model detection
[0026] The roadside perception detection system uses a convolutional neural network, and the corresponding detection process includes three sub-processes: image preprocessing, image feature extraction, and target detection.
[0027] Image preprocessing involves cropping and scaling the size of the original image data to facilitate detection network processing. Image feature extraction and target detection output are the main parts of the detection network. The original image in the randomly selected annotation database is input into the roadside original perception model, and the corresponding original perception detection results are obtained. The original perception detection results include the positions of all detected targets in the image and the probability of belonging to each category. The original perception detection output is expressed mathematically as N vectors with a dimension of m+5. The corresponding vector expression is as follows:
[0028] (x,y,w,h,c0,c1,c2,c3…,c m )
[0029] Where N is the number of targets detected by the original perception, x is the horizontal coordinate of the target centroid in the image coordinate system, y is the vertical coordinate of the target centroid in the image coordinate system, w is the width of the target detection box in the image, h is the height of the target detection box in the image, c0 represents the probability that the target is the background, m represents the number of detected target categories, and C m It represents the probability that the target belongs to the mth category.
[0030] S2.2. Calibrator Optimization Supervision
[0031] The multi-layer perceptron (MLP) is used as the calibrator of the perceptual detection model. The multi-layer perceptron is a neural network containing multiple hidden layers, and each hidden layer is regarded as a fully connected layer of the network.
[0032] The specific introduction to the input, output and optimization supervision of the calibrator is as follows:
[0033] Calibrator input: The calibrator input is set to a vector of size 200*(m+5). If the number of targets output by the original detection model in the previous step is N=200, the output information of the original detection model (N rows, m+5 columns matrix) is directly stretched and converted into a 1-dimensional row vector and used as the input of the calibrator. If N<200, the remaining 200-N targets are considered to be background information, and the relevant data are assigned a value of 0. The 200 target information (200 rows, m+5 columns matrix) is directly stretched and converted into a 1-dimensional row vector and used as the input of the calibrator. If N>200 occurs with an extremely low probability, it is sorted according to the probability P of the existence of each detection target, and only the first 200 detection target information is retained and stretched into a 1-dimensional row vector as the input of the calibrator.
[0034] Calibrator output: The output of the calibrator is the same size as the calibrator input, which is a vector of size 200*(m+5). In addition, the size of each labeled true value data is also set to the same as the calibrator input.
[0035] Calibrator optimization supervision: The calibrated target box position and target category classification are compared with the corresponding true values of the labeled data in the database, and the calibrator is optimized based on this.
[0036] The following is the loss function of the calibrator optimization. The smaller the loss function value, the closer the calibrator output value is to the true value. The larger the loss function value, the greater the difference between the calibrator output value and the true value. The purpose of the loss function is to make the calibrator's prediction result infinitely close to the true result. In essence, it is a function that calculates the gap between the calibrator's prediction result and the true result.
[0037] (1) Target box position loss function
[0038]
[0039]
[0040]
[0041]
[0042] There are two target position boxes A and B. A∩B means taking the intersection of the two target box areas A and B, and A∪B means taking the union of the two target box areas A and B.
[0043] As shown in formula (1), it is the target box position loss function, where represents the m-th category position information of the i-th target in the calibrator prediction output, Represents the mth category position information of the jth target in the true value data of the annotation database. m is one of the horizontal coordinate of the centroid of the target box, the vertical coordinate of the centroid of the target box, the width of the target box, and the height of the target box.
[0044] Using Smooth L1 The difference between the function calculation prediction output result and the actual real result, the specific calculation method is shown in formula (2). It represents the correlation coefficient between the i-th predicted output target and the j-th true target for the k-th category. As shown in formula (3) and formula (4), if the Jacobian coefficient J of the predicted target frame position and the true target frame position output by the calibrator exceeds 0.5, it is preliminarily considered that the correlation value between the predicted target output by the calibrator and the true target frame is 1, otherwise it is considered that the correlation value between them is 0. In addition, N = 200, which represents the number of output targets.
[0045] (2) Target classification loss function
[0046]
[0047]
[0048] As shown in formula (5), this is the target classification loss function, where Q is the number of real targets predicted by the calibrator, and NQ targets are the background. is the probability that the i-th predicted target output by the calibrator belongs to the k-th category.
[0049] (3) Calibrator Optimization Loss Function
[0050]
[0051] The definition of the final optimized loss function Loss of the calibrator is shown in formula (7), where Q is the number of foreground targets in the calibrator's predicted targets, α is the weight coefficient of the target box position loss function, and β is the weight coefficient of the target classification loss function, where α = 0.6 and β = 0.4.
[0052] S2.3. Calibrator model output
[0053] When the calibrator meets the pre-set optimization calibration threshold during the continuous iterative optimization process, the calibrator training optimization process ends and the final calibrator is output. If the iterative optimization threshold condition is not met, the calibrator model parameters will continue to be optimized, and the newly input roadside perception system detection results will be recalibrated based on the optimized calibrator model until the corresponding iterative optimization condition is met. The optimization process is considered to be over when the calibrator iterative optimization meets one of the following conditions:
[0054] (1) The optimization objective function value Loss is less than or equal to the pre-set threshold of 0.01;
[0055] (2) The number of calibrator optimization iterations reaches the pre-set threshold of 800,000 times.
[0056] S3. Online calibration of roadside perception detection results
[0057] When offline training generates a result calibrator corresponding to the roadside perception detection system, the result calibrator will be deployed in the roadside perception system to perform online calibration on the results obtained by the roadside perception system.
[0058] The technical effects of the present invention are as follows:
[0059] The present invention only uses the detection model of the roadside perception system to train the calibrator, and does not need to understand the specific internal structure of the detection model and any code information, so that the technology of the roadside equipment manufacturer can be protected.
[0060] The present invention uses a completely unified roadside perception annotation database to evaluate all roadside perception system models and obtain corresponding detection result calibrators, which fully guarantees the performance consistency of the final detection results of all roadside perception systems. It can solve the problem of vehicle-side distrust of roadside detection results.
[0061] The present invention constructs a roadside perception annotation database with a large number (up to one million frames) and rich scenes (including a variety of common road scenes). Based on this annotation database, the final detection output performance of the roadside perception result calibrator will far exceed the performance of the original roadside perception system.
[0062] The present invention can have strong feasibility in the field of vehicle-road collaborative perception and ultimately improve the performance of vehicle-road collaborative fusion perception. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 It is a flow chart of the present invention.
[0064] Figure 2 It is a schematic diagram of the two target position boxes A and B. DETAILED DESCRIPTION
[0065] The present invention adopts a unified roadside perception annotation database to perform model calibration and optimization on all roadside perception systems, so as to train the corresponding detection model calibrator, and calibrate the detection results output by the roadside perception model, so as to ensure that all roadside perception systems are unified in the detection performance evaluation dimension, realize the vehicle-side trust in the roadside perception detection results, and finally realize the performance improvement of vehicle-road perception information fusion.
[0066] like Figure 1 The technical flow chart of the present invention is shown in FIG. The present invention is mainly divided into three parts: establishing a roadside perception annotation database, offline training to generate a roadside perception system detection calibrator, and online calibration of the roadside perception detection results.
[0067] S1. Establishing a roadside perception annotation database
[0068] In order to calibrate the detection results of the roadside perception system, the present invention must have the true value of the detection result as a reference for calibration. Considering that there is currently no public and authoritative large-scale roadside perception annotation database in the field of vehicle-road coordination, the present invention first needs to establish a large-scale roadside perception annotation database, and the database needs to include various roadside traffic scenes and various common road traffic targets. A large-scale roadside perception annotation database can not only serve as a unified perception system performance evaluation standard to facilitate the training and generation of the corresponding roadside perception system detection result calibrator, but also further improve the final perception performance of the roadside system through rich and massive annotated big data.
[0069] Roadside perception annotation database Figure 2 As shown in , it is mainly divided into two parts: original image and annotated data true value. The annotated data true value includes the coordinate position and type category of the road target in the image. In addition, the information of the roadside perception annotation database is described in Table 1:
[0070] Table 1 Information description of roadside perception annotation database
[0071]
[0072]
[0073] S2, Roadside Perception System Detection Calibrator Offline Training Generation
[0074] The present invention generates a calibrator for the roadside perception model based on the existing roadside perception annotation database through offline training. Figure 1 In the stage one shown, the offline training of the detection calibrator of the roadside perception system mainly includes the roadside original perception model detection, calibrator optimization supervision, and calibrator model output.
[0075] S2.1. Roadside original perception model detection
[0076] The roadside perception detection system generally adopts mainstream convolutional neural networks including YOLO and SSD. The corresponding detection process mainly includes three sub-processes: image preprocessing, image feature extraction and target detection. Among them, image preprocessing mainly crops and scales the size of the original image data to facilitate the processing of detection networks such as YOLO, while target feature extraction and target detection output belong to the main part of the detection network. The present invention randomly selects the original image from the annotation database and inputs it into the roadside original perception model to obtain the corresponding original perception detection results. The original perception detection results include the positions of all detected targets in the image and the probability of belonging to each category. The original perception detection output can be expressed as N vectors of dimension m+5 using mathematical formulas, and the corresponding vector expressions are as follows:
[0077] (x,y,w,h,c0,c1,c2,c3…,c m )
[0078] Where N is the number of targets detected by the original perception, x is the horizontal coordinate of the target centroid in the image coordinate system, y is the vertical coordinate of the target centroid in the image coordinate system, w is the width of the target detection box in the image, h is the height of the target detection box in the image, c0 represents the probability that the target is the background, m represents the number of detected target categories, and C m It represents the probability that the target belongs to the mth category.
[0079] S2.2. Calibrator Optimization Supervision
[0080] The present invention uses a multi-layer perceptron MLP as a calibrator for the perception detection model. A multi-layer perceptron is a neural network containing multiple hidden layers, each of which can be regarded as a fully connected layer of the network. The specific introduction to the input, output and optimization supervision of the calibrator is as follows:
[0081] Calibrator input: Considering that the actual number of effective targets of each roadside perception system is usually less than 200, and also in order for the calibrator to be able to run calculations in real time when it is finally deployed, the calibrator input set by the present invention is a vector of size 200*(m+5). If the number of targets N=200 output by the original detection model in the previous step, the output information of the original detection model (N rows, m+5 columns matrix) is directly stretched and converted into a 1-dimensional row vector and used as the input of the calibrator. If N<200, the remaining 200-N targets are considered to be background information, and the relevant data are all assigned a value of 0, and the 200 target information (200 rows, m+5 columns matrix) is directly stretched and converted into a 1-dimensional row vector and used as the input of the calibrator. If N>200 occurs at an extremely low probability, it is sorted according to the probability P of the existence of each detected target. The present invention only retains the first 200 detected target information stretched into a 1-dimensional row vector as the input of the calibrator.
[0082] Calibrator output: The output of the calibrator is the same size as the calibrator input, which is a vector of size 200*(m+5). In addition, the size of each labeled true value data is also set to the same as the calibrator input.
[0083] Calibrator optimization supervision: This invention mainly compares the two pieces of information, the calibrated target frame position and target category classification, with the corresponding true values of the labeled data in the database, and uses this as a benchmark to optimize the calibrator. The following is the loss function for calibrator optimization. The smaller the loss function value, the closer the calibrator output value is to the true value, and the larger the loss function value, the greater the difference between the calibrator output value and the true value. The purpose of the loss function is to make the calibrator prediction result infinitely close to the true result. In essence, it is a function that calculates the gap between the calibrator prediction result and the true result.
[0084] (1) Target box position loss function
[0085]
[0086]
[0087]
[0088]
[0089] like Figure 2As shown, there are two target position boxes A and B. A∩B means taking the intersection of the two target box areas A and B (the small black area), and A∪B means taking the union of the two target box areas A and B.
[0090] As shown in formula (1), it is the target box position loss function, where represents the m-th category position information of the i-th target in the calibrator prediction output, Indicates the mth type of position information of the jth target in the true value data of the annotation database. m is one of the centroid abscissa of the target frame, the centroid ordinate of the target frame, the width of the target frame, and the height of the target frame. L1 The difference between the function calculation prediction output result and the actual real result, the specific calculation method is shown in formula (2). It represents the correlation coefficient between the i-th predicted output target and the j-th true target for the k-th category. As shown in formula (3) and formula (4), assuming that the Jacobian coefficient J of the predicted target frame position and the true target frame position output by the calibrator exceeds 0.5, it is preliminarily considered that the correlation value between the predicted target output by the calibrator and the true target frame is 1, otherwise it is considered that the correlation value between them is 0. In addition, N = 200, which represents the number of output targets.
[0091] (2) Target classification loss function
[0092]
[0093]
[0094] As shown in formula (5), this is the target classification loss function, where Q is the number of real targets predicted by the calibrator, and NQ targets are the background. is the probability that the i-th predicted target output by the calibrator belongs to the k-th category.
[0095] (3) Calibrator Optimization Loss Function
[0096]
[0097] The final optimization loss function Loss of the calibrator of the present invention is defined as shown in formula (7), where Q is the number of foreground targets in the calibrator's predicted targets, α is the weight coefficient of the target frame position loss function, and β is the weight coefficient of the target classification loss function, where α = 0.6, β = 0.4.
[0098] S2.3. Calibrator model output
[0099] When the calibrator is continuously iteratively optimized, assuming that the preset optimization calibration threshold is met, the calibrator training optimization process ends and the final calibrator is output. If the iterative optimization threshold condition is not met, the calibrator model parameters will continue to be optimized, and the newly input roadside perception system detection results will be recalibrated based on the optimized calibrator model until the corresponding iterative optimization condition is met. The optimization process is considered to be over when the calibrator iterative optimization meets one of the following conditions:
[0100] (1) The optimization objective function value Loss is less than or equal to the pre-set threshold of 0.01;
[0101] (2) The number of calibrator optimization iterations reaches the pre-set threshold of 800,000 times.
[0102] S3. Online calibration of roadside perception detection results
[0103] refer to Figure 1 In the second stage of the technical solution process, after offline training generates the result calibrator corresponding to the roadside perception detection system, the result calibrator will be deployed in the roadside perception system to perform online calibration on the results of the roadside perception system detection. Since all calibrators are generated based on the unified roadside perception annotation database supervised training, the detection output results of all roadside original perception systems are calibrated, and the consistency of perception detection performance can be guaranteed, meeting the performance requirements of the vehicle-side for perception information fusion.
Claims
1. A roadside environment perception method based on detection result calibration, characterized in that: The following steps are involved: S1. Establishing a roadside perception annotation database The database contains various roadside traffic scenes and various common road traffic targets; It is divided into two parts: the original image and the true value of the annotated data. The true value of the annotated data includes the coordinate position and type category of the road target in the image; S2, Roadside Perception System Detection Result Calibrator Offline Training Generation The calibrator of the roadside perception model will be generated through offline training based on the existing roadside perception annotation database; the offline training of the detection calibrator of the roadside perception system mainly includes the detection of the original roadside perception model, the optimization supervision of the calibrator, and the output of the calibrator model; S2 specifically includes the following steps: S2.
1. Roadside original perception model detection The roadside perception detection system uses a convolutional neural network, and the corresponding detection process includes three sub-processes: image preprocessing, image feature extraction, and target detection; The image preprocessing is to crop and scale the size of the original image data to facilitate the detection network processing. Image feature extraction and target detection output belong to the main part of the detection network. The original image in the randomly selected annotation database is input into the roadside original perception model to obtain the corresponding original perception detection result. The original perception detection result includes the position of all detected targets in the image and the probability of belonging to each category. The original perception detection output is expressed mathematically as N vectors with a dimension of m+5. The corresponding vector expression is as follows: (x,y,w,h,c0,c1,c2,c3…,c m ) Where N is the number of targets detected by the original perception, x is the horizontal coordinate of the target centroid in the image coordinate system, y is the vertical coordinate of the target centroid in the image coordinate system, w is the width of the target detection box in the image, h is the height of the target detection box in the image, c0 represents the probability that the target is the background, m represents the number of detected target categories, and C m Indicates the probability that the target belongs to the mth category; S2.
2. Calibrator Optimization Supervision A multi-layer perceptron (MLP) is used as a calibrator for the perceptual detection model. A multi-layer perceptron is a neural network that contains multiple hidden layers, and each hidden layer is considered as a fully connected layer of the network. Calibrator input: The calibrator input is set to a vector of size 200*(m+5); if the number of targets output by the original detection model in the previous step is N=200, the output information of the original detection model, an N-row, m+5-column matrix, is directly stretched and converted into a 1-dimensional row vector and used as the input of the calibrator; if N<200, the remaining 200-N targets are considered to be background information, and the relevant data are all assigned a value of 0, and the 200 target information, a 200-row, m+5-column matrix, is directly stretched and converted into a 1-dimensional row vector and used as the input of the calibrator; if N>200 occurs with an extremely low probability, it is sorted according to the probability P of the existence of each detection target, and only the first 200 detection target information is retained and stretched into a 1-dimensional row vector as the input of the calibrator; Calibrator output: The output of the calibrator is the same size as the calibrator input, both are 1 vector of size 200*(m+5); in addition, the size of each labeled true value data is also set to be the same as the calibrator input; Calibrator optimization supervision: Compare the calibrated target frame position and target category classification with the corresponding annotation data true value in the database, and use this as a benchmark to optimize the calibrator; S2.
3. Calibrator model output When the calibrator meets the preset optimization calibration threshold during the continuous iterative optimization process, the calibrator training optimization process ends and the final calibrator is output; if the iterative optimization threshold condition is not met, the calibrator model parameters will continue to be optimized, and the newly input roadside perception system detection results will be recalibrated based on the optimized calibrator model until the corresponding iterative optimization condition is met; S3. Online calibration of roadside perception detection results When offline training generates a result calibrator corresponding to the roadside perception detection system, the result calibrator will be deployed in the roadside perception system to perform online calibration on the results obtained by the roadside perception system.
2. A roadside environment perception method based on detection result calibration according to claim 1, characterized in that: In S2.2, the calibrator optimization supervision adopts the loss function optimized by the calibrator. The smaller the loss function value, the closer the calibrator output value is to the true value. The larger the loss function value, the greater the difference between the calibrator output value and the true value. The purpose of the loss function is to make the calibrator's predictions as close to the real results as possible. In essence, it is a function that calculates the gap between the calibrator's predictions and the real results. (1) Target box position loss function Let there be two target position boxes A and B, A∩B means taking the intersection of the two target box areas of A and B, and A∪B means taking the union of the two target box areas of A and B; As shown in formula (1), it is the target box position loss function, where l i m represents the m-th category position information of the i-th target in the calibrator prediction output, Represents the m-th category position information of the j-th target in the true value data in the annotation database; m is one of the horizontal coordinate of the center of mass of the target box, the vertical coordinate of the center of mass of the target box, the width of the target box, and the height of the target box; Using Smooth L1 The difference between the function calculation prediction output result and the actual real result, the specific calculation method refers to formula (2); represents the correlation coefficient between the i-th predicted output target and the j-th true target for the k-th category; as shown in formula (3) and formula (4), if the Jacobian coefficient J of the predicted target frame position and the true target frame position output by the calibrator exceeds 0.5, it is preliminarily considered that the correlation value between the predicted target output by the calibrator and the true target frame is 1, otherwise it is considered that the correlation value between them is 0. In addition, N = 200, which represents the number of output targets; (2) Target classification loss function As shown in formula (5), it is the target classification loss function, where Q is the number of real targets among the targets predicted by the calibrator, and NQ targets are the background; is the probability that the i-th predicted target output by the calibrator belongs to the k-th category; (3) Calibrator Optimization Loss Function The definition of the final optimized loss function Loss of the calibrator is shown in formula (7), where Q is the number of foreground targets among the targets predicted by the calibrator, α is the weight coefficient of the target box position loss function, and β is the weight coefficient of the target classification loss function, where α = 0.6 and β = 0.
4.
3. The method for roadside environment perception based on detection result calibration according to claim 1, characterized in that: The optimization process is considered to be complete when the iterative optimization of the calibrator in S2.3 reaches one of the following conditions: (1) The optimization objective function value Loss is less than or equal to the pre-set threshold of 0.01; (2) The number of calibrator optimization iterations reaches the pre-set threshold of 800,000 times.
