Perceptual performance test method and device, equipment and storage medium
By acquiring and synchronously processing multiple scene data, and converting it into a target format, simultaneous testing of multiple sensors is achieved, which solves the problem of low multi-sensor testing efficiency in the existing technology and improves the overall perception performance testing efficiency.
Patent Information
- Application Number
- CN202410764130.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-11
AI Technical Summary
Existing perceptual performance testing methods mainly focus on single sensor testing, resulting in low overall perceptual performance testing efficiency in the case of multiple sensors.
By obtaining multiple types of scene data of the target vehicle and inputting them into the corresponding sensors to be tested and the true value system respectively, the timestamps of the perception results and the true value results are synchronized, and converted into test data in the target format that meets the perception performance test conditions. , to achieve simultaneous testing of multiple sensors.
It improves the testing efficiency of the vehicle's overall perception performance in the case of multiple sensors, generates perception results and true value results in multiple dimensions, and can test the perception performance of multiple types of sensors at once.
Smart Images

Figure CN118758335A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of automobile intelligent driving technology, and in particular, relates to a method, device, equipment and storage medium for testing perception performance. Background Art
[0002] Smart cars have become the strategic direction of global industrial development and the trend of future automotive industry development. The smart driving system senses the surrounding environment through on-board sensors, and then inputs the perception results to the on-board decision control module to control the driving of the smart car. Therefore, testing the perception performance of on-board sensors is an essential part of the development of smart driving systems.
[0003] In the existing perception performance testing method, the perception performance is tested according to a preset test scenario by installing a corresponding test sensor module on the target vehicle.
[0004] However, this method mainly tests a single sensor and can only test a single indicator at a time, resulting in low efficiency in overall perception performance testing in multi-sensor situations. Summary of the invention
[0005] The embodiments of the present application provide a method, device, equipment and storage medium for testing perception performance, which can improve the testing efficiency of the overall perception performance of a vehicle in a multi-sensor situation.
[0006] In one aspect of an embodiment of the present application, a method for testing perceptual performance is provided, the method comprising:
[0007] Acquire various types of scene data of the target vehicle;
[0008] For each type of scene data, the following steps are performed: input the scene data of this type into the corresponding sensor to be tested and the true value system, and obtain the perception result of the sensor to be tested and the true value result annotated by the true value system. The timing of the sensor to be tested and the true value system are synchronized;
[0009] Based on the timestamp corresponding to each perception result and the timestamp corresponding to each true value result, the perception results and the true value results corresponding to the same type of scene data are time synchronized to obtain multiple data pairs;
[0010] Convert the data pairs into test data of a target format respectively, where the target format is a data format that meets the perceptual performance test conditions;
[0011] For each target format of test data, respectively perform: using the target format of the test data to test the perception performance of the corresponding sensor to be tested, and generate a performance test result of the sensor to be tested.
[0012] In one aspect of an embodiment of the present application, a perceptual performance testing device is provided, the device comprising:
[0013] A data acquisition module, used to acquire various types of scene data of the target vehicle;
[0014] The result generation module is used to execute, for each type of scene data, respectively: input the scene data of this type into the corresponding sensor to be tested and the true value system respectively, obtain the perception result of the sensor to be tested and the true value result marked by the true value system, and the timing of the sensor to be tested and the true value system are synchronized;
[0015] A time synchronization module is used to synchronize the perception results and the true value results corresponding to the same type of scene data based on the timestamps corresponding to the perception results and the timestamps corresponding to the true value results, so as to obtain multiple data pairs;
[0016] A format conversion module, used to convert the data pairs into test data of a target format, where the target format is a data format that meets the perceptual performance test conditions;
[0017] The performance test module is used to execute, for each test data in a target format, respectively: using the test data in the target format to test the perception performance of the corresponding sensor to be tested, and generating a performance test result of the sensor to be tested.
[0018] In one aspect of an embodiment of the present application, an electronic device is provided, which includes: a memory and a program or instruction stored in the memory and executable on a processor, wherein when the program or instruction is executed by the processor, a method for testing perceptual performance as provided in any aspect of the above-mentioned embodiment of the present application is implemented.
[0019] In one aspect of an embodiment of the present application, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, a method for testing perceptual performance provided in any aspect of the above-mentioned embodiment of the present application is implemented.
[0020] In one aspect of an embodiment of the present application, a computer program product is provided. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes a method for testing perceptual performance as provided in any aspect of the above-mentioned embodiment of the present application.
[0021] In the test method of perception performance provided in the embodiment of the present application, multiple types of scene data of the target vehicle are obtained. Then, for each type of scene data, the following are respectively performed: the scene data of this type is input into the corresponding sensor to be tested and the true value system respectively, and the perception result of the sensor to be tested and the true value result annotated by the true value system are obtained. Then, based on the timestamp corresponding to each perception result and the timestamp corresponding to each true value result, the perception result and the true value result corresponding to the scene data of the same type are synchronized in time to obtain multiple data pairs, and then each data pair is converted into test data of the target format that meets the perception performance test conditions. Finally, for each test data in the target format, the following are respectively performed: the perception performance of the corresponding sensor to be tested is tested using the test data in the target format to generate the performance test result of the sensor to be tested. In this way, the embodiment of the present application perceives the corresponding scene data through each sensor to be tested of the target vehicle, thereby generating perception results of multiple dimensions, and then the scene data is annotated by the true value system to generate the true value result. The perception results of multiple dimensions and the corresponding true value results are associated based on the timestamp and the type of scene data to form multiple data pairs, and then the data pairs are uniformly converted into test data in a target format that meets the perception performance test conditions. According to the test data in the target format, the perception performance corresponding to various sensors can be tested at the same time, thereby improving the test efficiency of the overall perception performance of the vehicle in the case of multiple sensors. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0023] Figure 1 It is a flowchart of an embodiment of a method for testing perceptual performance provided by the present application;
[0024] Figure 2 is a structural schematic diagram of an embodiment of a testing device for perceptual performance provided by the present application;
[0025] Figure 3 It is a structural schematic diagram of an embodiment of a testing device for perceptual performance provided in the present application. DETAILED DESCRIPTION
[0026] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0027] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0028] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0029] In the related art, in the existing perception performance testing method, the corresponding test sensor module is installed on the target vehicle and the perception performance is tested according to the preset test scenario. However, this method mainly tests a single sensor and can only test a single indicator at a time, resulting in low efficiency in overall perception performance testing in the case of multiple sensors.
[0030] The purpose of the present application is to provide a method, device, equipment and storage medium for testing perception performance. In the method for testing perception performance provided in the embodiment of the present application, multiple types of scene data of the target vehicle are obtained. Then, for each type of scene data, the following are respectively performed: the scene data of the type is input into the corresponding sensor to be tested and the true value system respectively, and the perception result of the sensor to be tested and the true value result annotated by the true value system are obtained. Then, based on the timestamp corresponding to each perception result and the timestamp corresponding to each true value result, the perception result and the true value result corresponding to the scene data of the same type are synchronized in time to obtain multiple data pairs, and then each data pair is converted into test data of the target format that meets the perception performance test conditions. Finally, for each test data in the target format, the following are respectively performed: the perception performance of the corresponding sensor to be tested is tested using the test data in the target format to generate the performance test result of the sensor to be tested. In this way, the embodiment of the present application perceives the corresponding scene data through each sensor to be tested of the target vehicle, thereby generating perception results of multiple dimensions, and then the scene data is annotated by the true value system to generate the true value result. The perception results of multiple dimensions and the corresponding true value results are associated based on the timestamp and the type of scene data to form multiple data pairs, and then the data pairs are uniformly converted into test data in a target format that meets the perception performance test conditions. According to the test data in the target format, the perception performance corresponding to various sensors can be tested at the same time, thereby improving the test efficiency of the overall perception performance of the vehicle in the case of multiple sensors.
[0031] The following describes specific embodiments of the method, device, equipment and storage medium for testing the perceptual performance provided by the embodiments of the present application. First, the method for testing the perceptual performance is described below.
[0032] Figure 1 A flowchart of a method for testing perception performance is provided. The method for testing perception performance is applied to a server. The method may include the following steps S101 to S105.
[0033] S101, acquiring various types of scene data of a target vehicle.
[0034] In this embodiment, the scene data includes at least one of surrounding environment information and vehicle body state information. For example, the surrounding environment information may be in the form of a video stream or image data.
[0035] For example, the server receives the surrounding environment information and vehicle body status information collected by the target vehicle and transmitted by the vehicle domain controller through the network port.
[0036] S102, for each type of scene data, respectively execute: input the scene data of this type into the corresponding sensor to be tested and the truth value system respectively, obtain the perception result of the sensor to be tested and the truth value result marked by the truth value system, and the timing of the sensor to be tested and the truth value system is synchronized.
[0037] In this embodiment, the perception result is a result generated by the sensor to be tested of the target vehicle perceiving the corresponding type of scene data.
[0038] The true value result is the result of data annotation of the scene data. Specifically, there are two ways of data annotation: manual annotation and automatic annotation by the true value system.
[0039] For example, after receiving the scene data, the server inputs various types of scene data into the corresponding sensor to be tested, and outputs the corresponding perception results through the corresponding sensor algorithm to be tested. At the same time, various types of scene data are input into the truth value system, and the scene data is annotated by the truth value system to generate the corresponding truth value results.
[0040] Before the target vehicle collects various types of scene data, the vehicle domain controller, the sensor to be tested, the true value system and other software and hardware equipment are synchronized to achieve timestamp synchronization between the perception results and the true value results.
[0041] S103, based on the timestamp corresponding to each perception result and the timestamp corresponding to each true value result, the perception results and the true value results corresponding to the same type of scene data are time synchronized to obtain multiple data pairs.
[0042] In this embodiment, after generating the perception results and the true value results, the server synchronizes the perception results and the true value results corresponding to the same type of scene data according to the timestamp corresponding to each perception result and the timestamp corresponding to each true value result, so that the perception results and the true value results are aligned according to time, and then deletes the unaligned perception results and true value results, and associates the aligned perception results and true value results of the same time to generate data pairs.
[0043] S104, converting the data pairs into test data of a target format respectively, where the target format is a data format that meets the perceptual performance test conditions.
[0044] In this embodiment, the target format is a data format that can meet the perceptual performance test conditions.
[0045] For example, after the server synchronizes the perception results and true value results corresponding to the same type of scene data and obtains multiple data pairs, it converts each data pair into test data of a target format that meets the perception performance test conditions. As an example, the test data can also be obtained by the user inputting self-built test data on the interactive interface.
[0046] S105, for each test data in the target format, respectively execute: using the test data in the target format to test the perception performance of the corresponding sensor to be tested, and generate a performance test result of the sensor to be tested.
[0047] In this embodiment, after the server obtains the test data in the target format, it calls the indicator evaluation code to process the test data in the target format, thereby completing the test of the perception performance of the corresponding sensor to be tested and generating the performance test results of the sensor to be tested.
[0048] Through this embodiment, multiple types of scene data of the target vehicle are obtained. Then, for each type of scene data, the following are respectively performed: the scene data of this type is input into the corresponding sensor to be tested and the true value system respectively, and the perception result of the sensor to be tested and the true value result annotated by the true value system are obtained. Then, based on the timestamp corresponding to each perception result and the timestamp corresponding to each true value result, the perception result and the true value result corresponding to the same type of scene data are synchronized in time to obtain multiple data pairs, and then each data pair is converted into test data in the target format that meets the perception performance test conditions. Finally, for each test data in the target format, the following are respectively performed: the perception performance of the corresponding sensor to be tested is tested using the test data in the target format to generate the performance test results of the sensor to be tested. In this way, the embodiment of the present application perceives the corresponding scene data through each sensor to be tested of the target vehicle, thereby generating perception results of multiple dimensions, and then annotates the scene data through the true value system to generate the true value result. The perception results of multiple dimensions and the corresponding true value results are associated based on the timestamp and the type of scene data to form multiple data pairs, and then the data pairs are uniformly converted into test data in a target format that meets the perception performance test conditions. According to the test data in the target format, the perception performance corresponding to various sensors can be tested at the same time, thereby improving the test efficiency of the overall perception performance of the vehicle in the case of multiple sensors.
[0049] As an optional embodiment, before S103, the perceptual performance testing method may further include:
[0050] Performing data verification on each perception result and each true value result to generate a data verification result, where the data verification includes at least one of a data missing verification and a data readability verification;
[0051] When the data verification result indicates that the verification has passed, each perception result and each true value result are standardized to generate a plurality of standard perception results and a plurality of standard true value results;
[0052] S103 may specifically include:
[0053] Based on the timestamp corresponding to each standard perception result and the timestamp corresponding to each standard true value result, the standard perception results and the standard true value results corresponding to the same type of scene data are time-synchronized to obtain multiple data pairs.
[0054] In this embodiment, after the server obtains the perception results of the sensor to be tested and the true value results annotated by the true value system, it responds to the trigger information of the evaluation task, performs data verification on each perception result and each true value result, determines whether there is data missing and whether each perception result and each true value result is readable, and generates a data verification result.
[0055] When the data verification results indicate that the inspection has passed, a data format standardization process is performed on each perception result and each true value result. Each perception result and each true value result is parsed according to a preset format, and key data in each perception result and each true value result is extracted to generate multiple standard perception results and multiple standard true value results.
[0056] After generating the standard perception results and the standard truth results, the server synchronizes the standard perception results and the standard truth results corresponding to the same type of scene data according to the timestamps corresponding to the standard perception results and the timestamps corresponding to the standard truth results, so that the standard perception results and the standard truth results are aligned according to time, and then deletes the unaligned standard perception results and the standard truth results, and associates the aligned standard perception results and the standard truth results of the same time to generate data pairs.
[0057] Through this embodiment, data verification and standardization processing are performed on each perception result and each true value result, which helps to realize that each perception result and each true value result can be converted into a target format that meets the perception performance test conditions.
[0058] As an optional embodiment, the performance test result includes at least one of accuracy, precision, recall and average precision;
[0059] S105 may specifically include:
[0060] Determine the comparative prediction result of each test data based on the perception result and the true value result corresponding to the test data of each target format;
[0061] Based on the number of true positive examples, the number of false positive examples, the number of true negative examples, and the number of false negative examples in the test data of multiple target formats corresponding to the scene data of the same type, a performance test result of the sensor to be tested is generated.
[0062] In this embodiment, the accuracy rate is used to indicate the probability that the sensor to be tested perceives correctly. The accuracy rate is also called the precision rate, which is used to indicate the probability that the sensor to be tested perceives correctly in the positive samples. The recall rate is also called the recall rate, which is used to indicate the probability that all positive samples are perceived by the sensor to be tested. The average accuracy rate is used to evaluate the performance of the detection algorithm of the sensor to be tested in target recognition.
[0063] The comparative prediction results are the comparison results between the perceived results and the true value results in the test data.
[0064] Among them, the comparison prediction result is one of a true positive example, a false positive example, a true negative example and a false negative example. The true positive example means that the perception result is predicted as a positive sample and the true value result is actually a positive sample. The false positive example means that the perception result is predicted as a positive sample and the true value result is actually a negative sample. The true negative example means that the perception result is predicted as a negative sample and the true value result is actually a negative sample. The false negative example means that the perception result is predicted as a negative sample and the true value result is actually a positive sample.
[0065] For example, after converting each data pair into test data of the target format, the server obtains the comparative prediction results corresponding to the test data by calling the indicator evaluation code according to the perception results and true value results corresponding to the test data. Then, according to the comparative prediction results of the test data of multiple target formats corresponding to the same type of scene data, the number of true positive examples, false positive examples, true negative examples, and false negative examples in the test data of multiple target formats corresponding to the same type of scene data is determined, thereby generating the accuracy, precision, recall, and average precision of the sensor to be tested.
[0066] Through this embodiment, the comparative prediction results of the test data are determined based on the perception results and the true value results corresponding to the test data in the target format, so that the performance test results of the sensor to be tested can be determined according to the number of true positive examples, the number of false positive examples, the number of true negative examples and the number of false negative examples in the comparative prediction results.
[0067] As an optional embodiment, based on the number of true positive examples, the number of false positive examples, the number of true negative examples, and the number of false negative examples in the test data of multiple target formats corresponding to the same type of scene data, a performance test result of the sensor to be tested is generated, including:
[0068] The number of true positive examples and the number of true negative examples are added together and then divided by the sum of the comparison prediction results to generate the accuracy of the sensor to be tested;
[0069] Divide the number of true positives by the sum of the number of true positives and the number of false positives to generate the precision of the sensor under test;
[0070] Divide the number of true positive examples by the sum of the number of true positive examples and the number of true negative examples to generate the recall rate of the sensor under test;
[0071] Based on the precision of the sensor to be tested and the recall rate of the sensor to be tested, an average precision of the sensor to be tested is determined.
[0072] In this embodiment, the accuracy of the sensor to be tested is determined by the following formula 1:
[0073]
[0074] Among them, accuracy represents the accuracy of the sensor to be tested, TP represents the number of true positive examples in the comparison prediction results, TN represents the number of true negative examples in the comparison prediction results, FP represents the number of false positive examples in the comparison prediction results, and FN represents the number of false negative examples in the comparison prediction results.
[0075] The precision of the sensor under test is determined by the following formula 2:
[0076]
[0077] Among them, precision represents the accuracy of the sensor to be tested, TP represents the number of true positive examples in the comparison prediction results, and FP represents the number of false positive examples in the comparison prediction results.
[0078] The recall rate of the sensor under test is determined by the following formula 3:
[0079]
[0080] Among them, recall represents the recall rate of the sensor to be tested, TP represents the number of true positive examples in the comparison prediction results, and FN represents the number of false negative examples in the comparison prediction results.
[0081] The average precision (AP) of the sensor under test is determined by the following formula 4:
[0082]
[0083] Among them, AP represents the average precision of the sensor to be tested, Rn represents the recall rate at the threshold n, and R n-1 represents the recall rate at the threshold value n-1, and Pn represents the precision rate at the threshold value n. The threshold represents the decision boundary of the classification, which is used to determine which samples are perceived as positive samples by the sensor to be tested and which samples are perceived as negative samples by the sensor to be tested.
[0084] Through this embodiment, the accuracy, precision, recall and average precision of the sensor to be tested can be determined according to the number of true positive examples, false positive examples, true negative examples and false negative examples in the comparison prediction results.
[0085] As an optional embodiment, the performance test result includes at least one of distance accuracy, speed accuracy and acceleration accuracy;
[0086] S105 may specifically include:
[0087] Based on the perception result and the true value result corresponding to the test data in the target format, determine the motion description information corresponding to the perception result and the motion description information corresponding to the true value result, where the motion description information is at least one of distance information, speed information and acceleration information;
[0088] Generate motion description error information based on the motion description information corresponding to the perception result and the motion description information corresponding to the true value result;
[0089] Based on the motion description error information associated with the test data in multiple target formats corresponding to the same type of scene data and the motion description information corresponding to the true value result, the performance test result of the sensor to be tested is generated.
[0090] In this embodiment, the server calculates the motion description information corresponding to the perception result and the motion description information corresponding to the true value result according to the perception result and the true value result corresponding to the test data in the target format. Then, based on the motion description information corresponding to the perception result and the motion description information corresponding to the true value result, motion description error information is generated. Finally, based on the motion description error information and the motion description information corresponding to the true value result, the performance test result of the sensor to be tested can be generated.
[0091] Specifically, the distance accuracy of the sensor to be tested is determined by the following formula 5:
[0092]
[0093] Among them, d all represents the distance accuracy of the sensor to be tested, k represents the number of test data in the target format corresponding to the same type of scene data, and GT X Indicates the distance in the X direction obtained by the truth system, GT y Indicates the Y-direction distance obtained by the truth system, DUT X Indicates the distance in the X direction obtained by the sensor under test, DUT y Indicates the distance in the Y direction obtained by the sensor to be tested.
[0094] The velocity accuracy of the sensor under test is determined by the following formula 6:
[0095]
[0096] Among them, v all represents the speed accuracy of the sensor to be tested, k represents the number of test data in the target format corresponding to the same type of scene data, GT vX Indicates the velocity in the X direction obtained by the true value system, GT vy Indicates the Y-direction velocity obtained by the true value system, DUT vX Indicates the speed in the X direction obtained by the sensor under test, DUT vy Indicates the velocity in the Y direction obtained by the sensor to be tested.
[0097] The acceleration accuracy of the sensor under test is determined by the following formula 6:
[0098]
[0099] Among them, acc all represents the acceleration accuracy of the sensor to be tested, k represents the number of test data in the target format corresponding to the same type of scene data, GT aX Indicates the acceleration in the X direction obtained by the true value system, GT ay Indicates the acceleration in the Y direction obtained by the true value system, DUT aX Indicates the acceleration in the X direction obtained by the sensor under test, DUT ay Indicates the acceleration in the Y direction obtained by the sensor to be tested.
[0100] Through this embodiment, according to the perception results and the true value results corresponding to the test data in the target format, the motion description information corresponding to the perception results and the motion description information corresponding to the true value results are obtained, and the distance accuracy, velocity accuracy and acceleration accuracy of the sensor to be tested can be determined.
[0101] As an optional embodiment, the perceptual performance testing method may further include:
[0102] Obtain the evaluation target of the target vehicle;
[0103] Based on the evaluation target of the target vehicle, determine the evaluation items associated with the evaluation target;
[0104] Based on the evaluation items associated with the evaluation objectives, the performance test results corresponding to the evaluation items are determined.
[0105] In this embodiment, the corresponding relationship between the evaluation objectives, evaluation items and performance test results of the perception algorithm is shown in Table 1:
[0106]
[0107]
[0108] Table 1 Correspondence between evaluation objectives, evaluation items and performance test results of perception algorithms
[0109] Among them, the evaluation targets include lane line recognition, red light recognition, road sign recognition, vehicle recognition, pedestrian recognition, obstacle recognition and parking space recognition.
[0110] For example, when the evaluation target of the target vehicle is determined to be red light recognition, the evaluation items associated with red light recognition include detection, color, and number. By obtaining the precision and recall rate corresponding to the detection evaluation item, the accuracy rate corresponding to the color evaluation item, and the accuracy rate corresponding to the number evaluation item, the red light recognition of the target vehicle can be completed.
[0111] Table 2 shows the correspondence between the evaluation objectives, evaluation items, and performance test results of the post-processing algorithm:
[0112]
[0113] Table 2 Correspondence between evaluation objectives, evaluation items and performance test results of post-processing algorithms
[0114] Among them, the evaluation targets of the post-processing algorithm include the nearest vehicle recognition on the path, lane line recognition, traffic light recognition, road sign recognition, traffic sign recognition, vehicle recognition, pedestrian recognition and obstacle recognition.
[0115] For example, when the evaluation target of the target vehicle post-processing algorithm is determined to be traffic sign recognition, the evaluation items associated with traffic sign recognition include horizontal and vertical distances. By obtaining the distance accuracy, the traffic sign recognition of the target vehicle post-processing algorithm can be completed.
[0116] Through this embodiment, by determining the evaluation items associated with the evaluation target and then obtaining the performance test results corresponding to the evaluation items, the test of the evaluation target can be completed, thereby facilitating the determination of the overall perceived performance of the target vehicle based on the performance test results.
[0117] As an optional embodiment, after S105, the perceptual performance testing method may further include:
[0118] Based on the performance test results of each sensor to be tested, a test report for the target vehicle is generated in a preset format.
[0119] In this embodiment, after the server generates the performance test results of the sensor to be tested, it generates a performance analysis chart and a perception comparison chart based on the performance test results of the sensor to be tested, and saves the performance test results of the sensor to be tested as a result file, and saves the performance analysis chart and the perception comparison chart as an image file.
[0120] Then, the result files and image files of each sensor to be tested are automatically used to generate a test report for the target vehicle based on a preset template format.
[0121] Through this embodiment, based on the performance test results of each sensor to be tested, a test report of the target vehicle is generated in a preset format, which helps the user to understand the overall perception performance of the target vehicle more intuitively.
[0122] As an optional embodiment, after S105, the perceptual performance testing method may further include:
[0123] Output the test report of the target vehicle to the target interface for display.
[0124] In this embodiment, the server outputs the test report of the target vehicle to the target interface. The target interface mainly provides the verification function of the performance test results of the sensor to be tested, performance analysis charts, and perception comparison charts of the true value results and the perception results. On the target interface, the user can perform operations such as clicking and editing notes, which assists the user in completing the quick verification of error results.
[0125] Specifically, the performance test results and performance analysis charts can be visualized on the target interface. Users select the corresponding functions, corresponding scenarios and corresponding performance test results to be displayed, call up the generated result files, and generate performance analysis charts corresponding to the performance test results in real time, supporting the visualization of performance test result analysis and statistical analysis.
[0126] The target interface can also realize the visualization of the perception comparison chart. The user can retrieve the generated result file by selecting the corresponding function to be displayed, the corresponding scene single frame and the corresponding performance test result. This interface supports the visualization of the corresponding performance test results under the single-frame function of a specific scene, and generates a comparison chart of the corresponding perception results and the true value results in real time.
[0127] Through this embodiment, the test report of the target vehicle is output to the target interface for display, which helps the user to more intuitively understand the overall perceived performance of the target vehicle and assists the user to quickly check the erroneous results.
[0128] Testing method based on perceptual performance. Accordingly, the present application also provides a specific embodiment of a testing device for perceptual performance.
[0129] like Figure 2As shown, the perceptual performance testing device provided in the embodiment of the present application includes a data acquisition module 210 , a result generation module 220 , a time synchronization module 230 , a format conversion module 240 and a performance testing module 250 .
[0130] The data acquisition module 210 is used to acquire various types of scene data of the target vehicle.
[0131] The result generation module 220 is used to execute, for each type of scene data, respectively: input the scene data of that type into the corresponding sensor to be tested and the true value system respectively, obtain the perception result of the sensor to be tested and the true value result marked by the true value system, and the timing of the sensor to be tested and the true value system is synchronized.
[0132] The time synchronization module 230 is used to time synchronize the perception results and the true value results corresponding to the same type of scene data based on the timestamps corresponding to each perception result and the timestamps corresponding to each true value result to obtain multiple data pairs.
[0133] The format conversion module 240 is used to convert the data pairs into test data of a target format, where the target format is a data format that meets the perceptual performance test conditions.
[0134] The performance testing module 250 is used to execute, for each test data in a target format, respectively: testing the perception performance of the corresponding sensor to be tested using the test data in the target format, and generating a performance test result of the sensor to be tested.
[0135] Through this embodiment, multiple types of scene data of the target vehicle are obtained through the data acquisition module 210. Then, for each type of scene data, the result generation module 220 respectively executes: the scene data of this type is input into the corresponding sensor to be tested and the true value system respectively, and the perception result of the sensor to be tested and the true value result annotated by the true value system are obtained. Then, the time synchronization module 230 performs time synchronization on the perception result and the true value result corresponding to the scene data of the same type based on the timestamp corresponding to each perception result and the timestamp corresponding to each true value result, and obtains multiple data pairs, and then the format conversion module 240 converts each data pair into test data of the target format that meets the perception performance test conditions. Finally, the performance test module 250 respectively executes for each test data in the target format: the perception performance of the corresponding sensor to be tested is tested using the test data in the target format, and the performance test result of the sensor to be tested is generated. In this way, the embodiment of the present application perceives the corresponding scene data through each sensor to be tested of the target vehicle, thereby generating perception results of multiple dimensions, and then annotates the scene data through the true value system to generate the true value result. The perception results of multiple dimensions and the corresponding true value results are associated based on the timestamp and the type of scene data to form multiple data pairs, and then the data pairs are uniformly converted into test data in a target format that meets the perception performance test conditions. According to the test data in the target format, the perception performance corresponding to various sensors can be tested at the same time, thereby improving the test efficiency of the overall perception performance of the vehicle in the case of multiple sensors.
[0136] As an optional embodiment, the perceptual performance testing device further includes:
[0137] A data verification module, used to perform data verification on each perception result and each true value result to generate a data verification result, wherein the data verification includes at least one of a data missing verification and a data readability verification;
[0138] A standardization processing module, used for standardizing each perception result and each true value result when the data verification result indicates that the verification has passed, to generate multiple standard perception results and multiple standard true value results;
[0139] The time synchronization module 230 is specifically used for:
[0140] Based on the timestamp corresponding to each standard perception result and the timestamp corresponding to each standard true value result, the standard perception results and the standard true value results corresponding to the same type of scene data are time-synchronized to obtain multiple data pairs.
[0141] As an optional embodiment, the performance testing module 250 specifically includes the following units:
[0142] A result comparison unit, used to determine a comparison prediction result of each test data based on the perception result and the true value result corresponding to the test data of each target format;
[0143] The comparison prediction result of the test data is one of a true positive example, a false positive example, a true negative example, and a false negative example. The true positive example represents that the perception result is predicted to be a positive sample and the true value result is actually a positive sample. The false positive example represents that the perception result is predicted to be a positive sample and the true value result is actually a negative sample. The true negative example represents that the perception result is predicted to be a negative sample and the true value result is actually a negative sample. The false negative example represents that the perception result is predicted to be a negative sample and the true value result is actually a positive sample.
[0144] The result generating unit is used to generate the performance test result of the sensor to be tested based on the number of true positive examples, the number of false positive examples, the number of true negative examples and the number of false negative examples in the test data of multiple target formats corresponding to the scene data of the same type.
[0145] As an optional embodiment, the result generating unit specifically includes the following subunits:
[0146] The accuracy calculation subunit is used to add the number of true positive examples and the number of true negative examples, and then divide the sum of the comparison prediction results to generate the accuracy of the sensor to be tested;
[0147] The precision calculation subunit is used to divide the number of true positive examples by the sum of the number of true positive examples and the number of false positive examples to generate the precision of the sensor to be tested;
[0148] A recall rate calculation subunit, used for dividing the number of true positive examples by the sum of the number of true positive examples and the number of true negative examples, to generate a recall rate of the sensor to be tested;
[0149] The average precision calculation subunit is used to determine the average precision of the sensor to be tested based on the precision of the sensor to be tested and the recall rate of the sensor to be tested.
[0150] As an optional embodiment, the performance testing module 250 specifically further includes the following units:
[0151] An information determination unit, configured to determine, based on the perception result and the true value result corresponding to the test data in the target format, motion description information corresponding to the perception result and motion description information corresponding to the true value result, wherein the motion description information is at least one of distance information, speed information and acceleration information;
[0152] An information generating unit, configured to generate motion description error information based on the motion description information corresponding to the perception result and the motion description information corresponding to the true value result;
[0153] The result generating unit is further used to generate the performance test result of the sensor to be tested based on the motion description error information associated with the test data in multiple target formats corresponding to the same type of scene data and the motion description information corresponding to the true value result.
[0154] As an optional embodiment, the perceptual performance testing device further includes:
[0155] The report generation module is used to generate a test report of the target vehicle in a preset format based on the performance test results of each sensor to be tested.
[0156] As an optional embodiment, the perceptual performance testing device further includes:
[0157] The report output module is used to output the test report of the target vehicle to the target interface for display.
[0158] Figure 3 A schematic diagram of the hardware structure of a perception performance testing device provided in an embodiment of the present application is shown.
[0159] The performance-aware testing device may include a processor 301 and a memory 302 storing computer program instructions.
[0160] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0161] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory.
[0162] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0163] The processor 301 implements any one of the perceptual performance testing methods in the above embodiments by reading and executing computer program instructions stored in the memory 302 .
[0164] In one example, the performance sensing test device may further include a communication interface 303 and a bus 310. Figure 3 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.
[0165] The communication interface 303 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0166] Bus 310 includes hardware, software or both, and the parts of the test equipment of perception performance are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0167] In addition, in combination with the perceptual performance testing method in the above embodiment, the present application embodiment may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any perceptual performance testing method in the above embodiment is implemented.
[0168] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0169] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0170] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0171] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box 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, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0172] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for testing perceived performance, characterized in that: The method comprises: Acquire various types of scene data of the target vehicle; For each type of scene data, respectively perform: inputting the scene data of this type into the corresponding sensor to be tested and the truth value system, respectively, obtaining the perception result of the sensor to be tested and the truth value result annotated by the truth value system, and the timing of the sensor to be tested and the truth value system are synchronized; Based on the timestamp corresponding to each perception result and the timestamp corresponding to each true value result, the perception results and the true value results corresponding to the same type of scene data are time synchronized to obtain multiple data pairs; Convert each of the data pairs into test data of a target format, wherein the target format is a data format that meets the perceptual performance test conditions; For each test data in the target format, respectively perform: using the test data in the target format to test the perception performance of the corresponding sensor to be tested, and generate a performance test result of the sensor to be tested.
2. The method according to claim 1, characterized in that Before the perception results and the true value results corresponding to the same type of scene data are synchronized based on the timestamps corresponding to the perception results and the timestamps corresponding to the true value results to obtain multiple data pairs, the method further includes: Performing data verification on each of the perception results and each of the true value results to generate a data verification result, wherein the data verification includes at least one of a data missing verification and a data readability verification; When the data verification result indicates that the verification is passed, standardizing each of the perception results and each of the true value results to generate a plurality of standard perception results and a plurality of standard true value results; Based on the timestamps corresponding to the perception results and the timestamps corresponding to the true value results, the perception results and the true value results corresponding to the same type of scene data are time synchronized to obtain multiple data pairs, including: Based on the timestamp corresponding to each standard perception result and the timestamp corresponding to each standard true value result, the standard perception results and the standard true value results corresponding to the same type of scene data are time-synchronized to obtain multiple data pairs.
3. The method according to claim 1, characterized in that The performance test result includes at least one of accuracy, precision, recall and average precision. For each test data in the target format, respectively performing: using the test data in the target format to test the perception performance of the corresponding sensor to be tested, and generating a performance test result of the sensor to be tested, includes: Determine the comparison prediction result of each test data based on the perception result and the true value result corresponding to each test data in the target format, The comparison prediction result of the test data is one of a true positive example, a false positive example, a true negative example and a false negative example, wherein the true positive example represents that the perception result is predicted to be a positive sample and the true value result is actually a positive sample, the false positive example represents that the perception result is predicted to be a positive sample and the true value result is actually a negative sample, the true negative example represents that the perception result is predicted to be a negative sample and the true value result is actually a negative sample, and the false negative example represents that the perception result is predicted to be a negative sample and the true value result is actually a positive sample; Based on the number of true positive examples, the number of false positive examples, the number of true negative examples, and the number of false negative examples in the test data in multiple target formats corresponding to the scene data of the same type, a performance test result of the sensor to be tested is generated.
4. The method according to claim 3, characterized in that The method of generating a performance test result of the sensor to be tested based on the number of true positive examples, the number of false positive examples, the number of true negative examples, and the number of false negative examples in the test data of multiple target formats corresponding to the scene data of the same type comprises: Adding the number of true positive examples and the number of true negative examples, and dividing the result by the sum of the comparison prediction results, to generate the accuracy of the sensor to be tested; Dividing the number of true positive examples by the sum of the number of true positive examples and the number of false positive examples to generate the accuracy of the sensor to be tested; Dividing the number of true positive examples by the sum of the number of true positive examples and the number of true negative examples to generate a recall rate of the sensor to be tested; Based on the precision of the sensor to be tested and the recall rate of the sensor to be tested, an average precision of the sensor to be tested is determined.
5. The method according to claim 1, characterized in that The performance test result includes at least one of distance accuracy, speed accuracy and acceleration accuracy, The method of performing, for each test data in the target format, respectively: testing the perception performance of the corresponding sensor to be tested using the test data in the target format to generate a performance test result of the sensor to be tested; testing the perception performance of the target vehicle based on the test data in each target format to generate a performance test result of the target vehicle, including: Based on the perception result and the true value result corresponding to the test data in the target format, determine the motion description information corresponding to the perception result and the motion description information corresponding to the true value result, wherein the motion description information is at least one of distance information, speed information and acceleration information; Generate motion description error information based on the motion description information corresponding to the perception result and the motion description information corresponding to the true value result; Based on the motion description error information associated with the test data in multiple target formats corresponding to the scene data of the same type and the motion description information corresponding to the true value result, a performance test result of the sensor to be tested is generated.
6. The method according to any one of claims 1 to 5, characterized in that For each test data in the target format, respectively executing: using the test data in the target format to test the perception performance of the corresponding sensor to be tested, and generating the performance test result of the sensor to be tested, the method further comprises: Based on the performance test results of each of the sensors to be tested, a test report of the target vehicle is generated in a preset format.
7. The method according to claim 6, characterized in that After generating the test report of the target vehicle in a preset format based on the performance test results of each of the sensors to be tested, the method further includes: The test report of the target vehicle is output to the target interface for display.
8. A testing device for perceptual performance, characterized in that: The device comprises: A data acquisition module, used to acquire various types of scene data of the target vehicle; The result generation module is used to execute, for each type of scene data, respectively: input the scene data of this type into the corresponding sensor to be tested and the true value system, respectively, to obtain the perception result of the sensor to be tested and the true value result marked by the true value system, and the timing of the sensor to be tested and the true value system are synchronized; A time synchronization module is used to synchronize the perception results and the true value results corresponding to the same type of scene data based on the timestamps corresponding to the perception results and the timestamps corresponding to the true value results, so as to obtain multiple data pairs; A format conversion module, used to convert each of the data pairs into test data of a target format, wherein the target format is a data format that meets the perceptual performance test conditions; The performance testing module is used to execute, for each test data in the target format, respectively: testing the perception performance of the corresponding sensor to be tested using the test data in the target format, and generating a performance test result of the sensor to be tested.
9. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for testing the perceptual performance as described in any one of claims 1-7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for testing perceptual performance according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Method for detecting automatic control system, control method, chip, equipment and medium
CN119806109A
Methods, control methods, chips, equipment and media for testing automatic control systems
CN119806109B
Online ground truth evaluation system and method for intelligent speed assistance system
WO2026098532A1
