Testing method, target object detection method, driving control method and device

By evaluating and optimizing the performance of the 3D target detection algorithm and using neural networks to evaluate the performance indicators of the detection method, the problem of insufficient accuracy of the 3D target detection algorithm in the fields of autonomous driving and robotics is solved, and the accuracy and reliability of the detection method are improved. sex.

CN112818845BActive Publication Date: 2024-09-24BEIJING JUEYING INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110129926.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-29
Publication Date
2024-09-24
Estimated Expiration
2041-01-29

AI Technical Summary

Technical Problem

Existing 3D target detection algorithms are difficult to accurately evaluate in the fields of autonomous driving and robotics, resulting in challenges in performance evaluation and optimization of detection methods.

Method used

Provide a testing method that detects sample data and uses neural networks to evaluate the performance of the detection method, including bird's-eye view average accuracy, 3D average accuracy, false detection rate, missed detection rate, average distance error, average size error, and Average orientation error and other indicators, optimize detection methods to improve accuracy.

Benefits of technology

It achieves accurate performance evaluation and optimization of 3D target detection algorithms, improves the accuracy and reliability of detection methods, and is suitable for autonomous driving and robotics fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112818845B
    Figure CN112818845B
Patent Text Reader

Abstract

The present disclosure provides a testing method, a target object detection method, a driving control method, an apparatus, an electronic device and a storage medium. The testing method comprises: using a set detection method to detect first sample data to obtain a detection result; based on the first sample data, the detection result and the annotation result of the first sample data, determining first evaluation data of the set detection method within a total distance range and second evaluation data within each local distance range; wherein each local range is obtained by dividing the total distance range; the total distance range is determined based on the detection range of a collection device corresponding to the first sample data and / or the depth information of an object included in the first sample data; based on the first evaluation data and the second evaluation data, determining the performance of the set detection method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of deep learning technology, and in particular to a testing method, a target object detection method, a driving control method, a device, an electronic device, and a storage medium. Background Art

[0002] Due to the wide application of target detection algorithms, target detection algorithms have become a hot research topic in the field of computer vision. With the development of deep learning in recent years, research on target detection in three-dimensional 3D images has made great progress. Compared with two-dimensional 2D target detection, 3D target detection combines depth information and can provide spatial scene information such as the position, direction, and size of the target object. It has developed rapidly in the fields of autonomous driving and robotics, making 3D target detection a core issue in the field of computer vision.

[0003] Therefore, it is increasingly important to propose a method that can more accurately evaluate 3D object detection algorithms. Summary of the invention

[0004] In view of this, the present disclosure at least provides a testing method, a target object detection method, a driving control method, a device, an electronic device and a storage medium.

[0005] In a first aspect, the present disclosure provides a testing method, comprising:

[0006] Using a set detection method to detect the first sample data, and obtaining a detection result;

[0007] Based on the first sample data, the detection result, and the annotation result of the first sample data, determine the first evaluation data of the set detection method within the total distance range and the second evaluation data within each local distance range; wherein each local range is obtained by dividing the total distance range; the total distance range is determined based on the detection range of the acquisition device corresponding to the first sample data and / or the depth information of the object included in the first sample data;

[0008] Based on the first evaluation data and the second evaluation data, the performance of the set detection method is determined.

[0009] In a possible implementation manner, the set detection method is executed by a neural network, and based on the first evaluation data and the second evaluation data, the performance of the set detection method is determined, including:

[0010] Based on the first evaluation data and the second evaluation data, performance of the neural network is determined.

[0011] In a possible implementation manner, when the performance of the neural network does not reach a preset performance, the method further includes:

[0012] The neural network is trained using the second sample data until the performance of the trained neural network determined based on the first evaluation data and the second evaluation data of the trained neural network reaches or exceeds the preset performance.

[0013] In a possible implementation manner, the first evaluation data and the second evaluation data include one or more of the following:

[0014] Bird's-eye view average accuracy BEV mAP indicator, three-dimensional average accuracy 3D mAP indicator, false detection rate, missed detection rate, average distance error, average size error, and average orientation error.

[0015] By adopting the above method, the first evaluation data and the second evaluation data include one or more indicators. By setting multiple indicators, the performance of the detection method can be determined more accurately, thereby improving the accuracy of the detection method.

[0016] In a possible implementation manner, when the first evaluation data and / or the second evaluation data include an average distance error, the average distance error is determined according to the following steps:

[0017] Based on the labeling result of the first sample data and the detection result, determine from the first sample data the target sample data that meets the corresponding distance range and belongs to the true label; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result;

[0018] Determine position information of a projected detection frame of a predicted three-dimensional detection frame indicated by a detection result of the target sample data in a top view, and position information of a projected true value frame of a labeled three-dimensional detection frame indicated by a labeling result of the target sample data in the top view;

[0019] Determining the average distance error corresponding to the target sample data based on the position information of the projected detection frame and the position information of the projected true value frame;

[0020] The average distance error is used to characterize the position difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

[0021] Here, the average distance error can characterize the position difference between the predicted three-dimensional detection frame and the labeled three-dimensional detection frame of the first sample data. The average distance error can be used to determine the accuracy of the detection method in determining the position of the object, and the detection method can be optimized based on the average distance error, so that the optimized detection method can more accurately determine the position of the predicted three-dimensional detection frame of the object.

[0022] In a possible implementation manner, when the first evaluation data and / or the second evaluation data include an average size error, the average size error is determined according to the following steps:

[0023] Based on the labeling result of the first sample data and the detection result, determine from the first sample data the target sample data that meets the corresponding distance range and belongs to the true label; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result;

[0024] Based on the first orientation and the first center point position information of the annotated three-dimensional detection frame indicated by the annotation result of the target sample data, adjusting the second orientation and the second center point position information of the predicted three-dimensional detection frame indicated by the detection result of the target sample data, and generating an adjusted detection result corresponding to the target sample data;

[0025] Calculate an intersection-over-union ratio between the annotated 3D detection box and the predicted 3D detection box indicated by the adjusted detection result based on first size information of the annotated 3D detection box indicated by the annotation result of the target sample data and second size information of the predicted 3D detection box indicated by the adjusted detection result;

[0026] Based on the intersection-over-union ratio, determining the average size error corresponding to the target sample data;

[0027] The average size error is used to characterize the size difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

[0028] Here, the average size error can characterize the size difference between the predicted three-dimensional detection box and the annotated three-dimensional detection box corresponding to the target sample data. The average size error can be used to determine the accuracy of the detection method in determining the object size. The set detection method can be optimized based on the average size error, so that the optimized detection method can more accurately determine the size of the predicted three-dimensional detection box of the object.

[0029] In a possible implementation manner, when the first evaluation data and / or the second evaluation data include an average orientation error, the average orientation error is determined according to the following steps:

[0030] Based on the labeling result of the first sample data and the detection result, determine from the first sample data the target sample data that meets the corresponding distance range and belongs to the true label; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result;

[0031] Determining the average orientation error corresponding to the target sample data based on a first orientation of the annotated three-dimensional detection box indicated by the annotation result of the target sample data and a second orientation of the predicted three-dimensional detection box indicated by the detection result of the target sample data;

[0032] The average orientation error is used to characterize the orientation difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

[0033] Here, the average orientation error can characterize the orientation difference between the predicted three-dimensional detection box and the labeled three-dimensional detection box corresponding to the target sample data. The average orientation error can be used to determine the accuracy of the detection method in determining the orientation of the object. The detection method can be optimized based on the average orientation error, so that the optimized detection method can more accurately determine the orientation of the predicted three-dimensional detection box of the object.

[0034] In a possible implementation manner, after determining the first evaluation data and the second evaluation data, the method further includes:

[0035] For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determine the false detection sample data corresponding to the detection category from the first sample data, and determine the false detection cause category corresponding to the false detection sample data;

[0036] Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes:

[0037] The performance of the set detection method is determined based on the false detection cause categories of the false detection sample data respectively corresponding to the at least one detection category, the first evaluation data, and the second evaluation data.

[0038] In the above implementation, by determining the false detection sample data corresponding to each detection category from the first sample data, and determining the false detection cause category of the false detection sample data corresponding to each detection category, there is a clear and distinct understanding of the false detection cause of the false detection sample data, and then based on the false detection cause category corresponding to at least one detection category, the first evaluation data and the second evaluation data, the performance of the detection method can be determined more accurately.

[0039] In a possible implementation manner, after determining the first evaluation data and the second evaluation data, the method further includes:

[0040] For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determining the missed detection sample data corresponding to the detection category from the first sample data, and determining the missed detection reason category corresponding to the missed detection sample data;

[0041] Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes:

[0042] The performance of the set detection method is determined based on the missed detection reason categories of the missed detection sample data, the first evaluation data, and the second evaluation data respectively corresponding to the at least one detection category.

[0043] In the above implementation, by determining the missed detection sample data corresponding to each detection category from the first sample data, and determining the missed detection reason category of the missed detection sample data corresponding to each detection category, there is a clear and distinct understanding of the missed detection reason of the missed detection sample data, and then based on the missed detection reason category corresponding to at least one detection category, the first evaluation data and the second evaluation data, the performance of the detection method can be determined more accurately.

[0044] In a possible implementation manner, after determining the first evaluation data and the second evaluation data, the method further includes:

[0045] For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determining the missed detection sample data corresponding to the detection category from the first sample data, and determining the missed detection reason category of the missed detection sample data corresponding to the detection category;

[0046] For each missed detection cause category corresponding to the detection category, determine target missed detection sample data belonging to the missed detection cause category from the missed detection sample data corresponding to the detection category, and generate a target missed detection heat map corresponding to the missed detection cause category under the detection category based on the position information indicated by the annotation result of the target missed detection sample data, wherein the target missed detection heat map represents the missed detection probability of the missed detection cause category under the detection category at different positions within the total distance range;

[0047] Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes:

[0048] The performance of the set detection method is determined based on the target missed detection heat map corresponding to different missed detection reason categories under each detection category, the first evaluation data and the second evaluation data.

[0049] In the above implementation, a corresponding target missed detection heat map is generated for each missed detection cause category under each detection category. For example, if there are four detection categories and three missed detection cause categories, a 12-frame target missed detection heat map can be generated. Through the 12-frame target missed detection heat map, the missed detection probability at different positions corresponding to each missed detection cause category under each detection category can be clearly and unambiguously determined. Furthermore, based on the multi-frame target missed detection heat map, the first evaluation data and the second evaluation data, the performance of the detection method can be determined more accurately.

[0050] In a possible implementation manner, after determining the first evaluation data and the second evaluation data, the method further includes:

[0051] For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determine the false detection sample data corresponding to the detection category from the first sample data, and determine the false detection cause category of the false detection sample data corresponding to the detection category;

[0052] For each false detection cause category corresponding to the detection category, determine target false detection sample data belonging to the false detection cause category from the false detection sample data corresponding to the detection category, and generate a target false detection heat map corresponding to the false detection cause category under the detection category based on the position information indicated by the annotation result of the target false detection sample data, wherein the target false detection heat map represents the false detection probability of the false detection cause category under the detection category at different positions within the total distance range;

[0053] Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes:

[0054] The performance of the set detection method is determined based on the target false detection heat map corresponding to different false detection cause categories under each detection category, the first evaluation data, and the second evaluation data.

[0055] In the above implementation, by generating a corresponding target false detection heat map for each false detection cause category under each detection category, through at least one frame of the target false detection heat map, the false detection probability at different positions corresponding to each false detection cause category under each detection category can be clearly and unambiguously determined, and then based on multiple frames of target false detection heat maps, the first evaluation data and the second evaluation data, the performance of the detection method can be more accurately determined.

[0056] The effects of the following devices, electronic devices, etc. are described in the description of the above method and will not be repeated here.

[0057] In a second aspect, the present disclosure provides a target object detection method, comprising:

[0058] Acquire data to be detected; the data to be detected includes images to be detected and / or point cloud data to be detected;

[0059] Based on the data to be detected and a first target neural network for object detection, target detection data of each target object included in the data to be detected is determined, wherein the first target neural network is obtained by testing using the testing method described in any one of the first aspects.

[0060] In a third aspect, the present disclosure provides a driving control method, comprising:

[0061] Acquire road data collected by the driving device during driving; the road data includes road images and / or road point cloud data;

[0062] Performing target detection on the road data using a second target neural network to determine a target object included in the road data; wherein the second target neural network is obtained by testing using the testing method described in any one of the first aspects;

[0063] The travel device is controlled based on the target object included in the road data.

[0064] In a fourth aspect, the present disclosure provides a testing device, comprising:

[0065] A first detection module, used to detect the first sample data using a set detection method to obtain a detection result;

[0066] A first determination module, configured to determine, based on the first sample data, the detection result, and the annotation result of the first sample data, the first evaluation data of the set detection method within the total distance range and the second evaluation data within each local distance range; wherein each local range is obtained by dividing the total distance range; and the total distance range is determined based on the detection range of the acquisition device corresponding to the first sample data and / or the depth information of the object included in the first sample data;

[0067] The second determination module is used to determine the performance of the set detection method based on the first evaluation data and the second evaluation data.

[0068] In a fifth aspect, the present disclosure provides a target object detection device, comprising:

[0069] A first acquisition module is used to acquire data to be detected; the data to be detected includes an image to be detected and / or point cloud data to be detected;

[0070] A second detection module is used to determine target detection data of each target object included in the data to be detected based on the data to be detected and a first target neural network for object detection, wherein the first target neural network is obtained by testing using the testing method described in any one of the first aspects.

[0071] In a sixth aspect, the present disclosure provides a driving control device, comprising:

[0072] A second acquisition module is used to acquire road data collected by the driving device during driving; the road data includes road images and / or road point cloud data;

[0073] A third detection module, configured to perform target detection on the road data using a second target neural network to determine a target object included in the road data; wherein the second target neural network is obtained by testing using the testing method described in any one of the first aspects;

[0074] A control module is used to control the travel device based on the target object included in the road data.

[0075] In the seventh aspect, the present disclosure provides an electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the test method described in the first aspect or any one of the embodiments are executed; or the steps of the target object detection method described in the second aspect are executed; or the steps of the driving control method described in the third aspect are executed.

[0076] In an eighth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program executes the steps of the test method described in the first aspect or any one of the embodiments; or executes the steps of the target object detection method described in the second aspect; or executes the steps of the driving control method described in the third aspect.

[0077] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0079] Figure 1 A flow chart of a testing method provided by an embodiment of the present disclosure is shown;

[0080] Figure 2 A schematic diagram showing a total distance range and a local distance range in a testing method provided by an embodiment of the present disclosure is shown;

[0081] Figure 3 A schematic diagram of a process flow of a target object detection method provided by an embodiment of the present disclosure is shown;

[0082] Figure 4 A schematic flow chart of a driving control method provided by an embodiment of the present disclosure is shown;

[0083] Figure 5 A schematic diagram of the architecture of a testing device provided by an embodiment of the present disclosure is shown;

[0084] Figure 6 A schematic diagram of the architecture of a target object detection device provided by an embodiment of the present disclosure is shown;

[0085] Figure 7 A schematic diagram of the architecture of a driving control device provided by an embodiment of the present disclosure is shown;

[0086] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown;

[0087] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown;

[0088] Fig.10 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0089] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0090] Due to the wide application of target detection algorithms, target detection algorithms have become a research hotspot that has attracted much attention in the field of computer vision. In recent years, with the development of deep learning, research on target detection in three-dimensional 3D images has made great progress. Compared with two-dimensional 2D target detection, 3D target detection combines depth information and can provide spatial scene information such as the position, direction, and size of the target object. It has developed rapidly in the fields of autonomous driving and robotics, making 3D target detection a core issue in the field of computer vision. Therefore, in order to more accurately evaluate the 3D target detection algorithm, that is, to obtain a more accurate 3D target detection algorithm, the embodiments of the present disclosure provide a testing method and device.

[0091] The defects existing in the above solutions are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present disclosure for the above problems below should be the contributions made by the inventor to the present disclosure during the disclosure process.

[0092] The technical solutions in the present disclosure will be clearly and completely described below in conjunction with the drawings in the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure claimed for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0093] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0094] To facilitate understanding of the embodiments of the present disclosure, a test method, a target object detection method, and a driving control method disclosed in the embodiments of the present disclosure are first introduced in detail. The execution subject of the test method, the target object detection method, or the driving control method provided in the embodiments of the present disclosure is generally a computer device with a certain computing capability, and the computer device includes, for example: a terminal device or a server or other processing device, and the terminal device can be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the test method, the target object detection method, or the driving control method can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0095] See also Figure 1 FIG. 1 is a flow chart of a test method provided by an embodiment of the present disclosure, the method comprising S101-S103, wherein:

[0096] S101, using a set detection method to detect the first sample data to obtain a detection result;

[0097] S102, based on the first sample data, the detection result, and the annotation result of the first sample data, determining the first evaluation data of the set detection method within the total distance range and the second evaluation data within each local distance range; wherein each local range is obtained by dividing the total distance range; the total distance range is determined based on the detection range of the acquisition device corresponding to the first sample data and / or the depth information of the object included in the first sample data;

[0098] S103: Determine the performance of the set detection method based on the first evaluation data and the second evaluation data.

[0099] In the above method, by using the first sample data, the obtained detection results and the annotation results of the first sample data, the first evaluation data of the set detection method within the total distance range and the second evaluation data within each local distance range are determined. Since the performance of the detection method is related to the distance range in which the object is located, that is, when the detection method detects images corresponding to different local distance ranges, the accuracy of the detection results corresponding to different local distance ranges is inconsistent. For example, the accuracy is lower in the long distance range and higher in the close distance range. Therefore, by using the first evaluation data within the total distance range and the second evaluation data corresponding to each local distance range, the performance of the detection method can be determined more accurately, thereby improving the accuracy of the detection method.

[0100] S101 to S103 are described in detail below.

[0101] For S101:

[0102] The first sample data may be data in image format, point cloud data, etc. The first sample data carries a labeling result, for example, the labeling result of the first sample data may include category information, position information, size information, orientation information, etc. of a labeling 3D detection box corresponding to each target object included in the first sample data.

[0103] The set detection method may be any method that can detect the target object in the data. For example, the set detection method may be executed by a neural network, and the neural network may be a three-dimensional target detection neural network.

[0104] Exemplarily, the acquired first sample data carrying the annotation results can be input into a neural network that executes the detection method, and the first sample data can be detected to determine the detection result corresponding to the first sample data. The detection result can include category information, position information, size information, orientation information, confidence, etc. of the predicted three-dimensional detection box corresponding to the first sample data.

[0105] In a possible implementation, the set detection method is executed by a neural network, and the performance of the set detection method is determined based on the first evaluation data and the second evaluation data, including: determining the performance of the neural network based on the first evaluation data and the second evaluation data.

[0106] Here, the first evaluation data and the second evaluation data can be used to determine the performance of the neural network. For example, the first evaluation data and the second evaluation data can be used to determine the accuracy of the neural network, and the accuracy can be used to evaluate the performance of the neural network; or the first evaluation data and the second evaluation data can be used to determine the loss value of the neural network, and the loss value can be used to evaluate the performance of the neural network.

[0107] In one possible implementation, when the performance of the neural network does not reach the preset performance, the method further includes: training the neural network using the second sample data until the performance of the trained neural network determined based on the first evaluation data and the second evaluation data of the trained neural network reaches or exceeds the preset performance.

[0108] The second sample data may be the same as or different from the first sample data. When it is determined that the performance of the neural network does not reach the preset performance, for example, when the accuracy of the neural network is less than a set accuracy threshold, the second sample data may be used to perform multiple rounds of training on the neural network until the performance of the trained neural network determined based on the first evaluation data and the second evaluation data of the trained neural network reaches or exceeds the preset performance.

[0109] For S102 and S103:

[0110] Here, the total distance range can be determined based on the detection range of the acquisition device corresponding to the first sample data and / or the depth information of the object included in the first sample data. The acquisition device can be a monocular camera, a binocular camera, a laser radar, a radar, etc. For example, the total distance range can be determined based on the farthest detection range of the acquisition device; when the farthest detection range of the acquisition device is 90 meters, the total distance range can be determined to be [-90m, 90m]. Alternatively, the total distance range can also be determined based on the optimal detection range of the acquisition device; for example, when the farthest detection range of the acquisition device is 90 meters and the optimal detection range is 80 meters, that is, within the range of 80 meters to 90 meters, the accuracy of the data collected by the acquisition device is low. At this time, the total distance range can be determined to be [-80m, 80m].

[0111] Alternatively, the total distance range may be determined using the depth information of the object included in the first sample data. For example, if the farthest depth information of the object in the first sample data is 100 meters, the total distance range is determined to be [-100m, 100m].

[0112] Alternatively, the total distance range may also be determined based on the detection range of the acquisition device corresponding to the first sample data and the depth information of the object included in the first sample data. For example, the first total distance range may be determined based on the detection range of the acquisition device corresponding to the first sample data; the second total distance range may be determined based on the depth information of the object included in the first sample data, and the intersection or union of the first total distance range and the second total distance range may be determined as the total distance range corresponding to the set detection method.

[0113] After the total distance range is determined, the total distance range can be divided into various local ranges, and the division can be uniform or non-uniform. For example, when the total distance range is [-90m, 90m], the divided local distance ranges may include a short distance range [-30m, 30m], a medium distance range [-60m, -30m] and [30m, 60m], and a long distance range [60m, 90m] and [-90m, -60m]. Alternatively, the divided local distance ranges may include a short distance range [-40m, 40m], a medium distance range [-70m, -40m] and [40m, 70m], and a long distance range [70m, 90m] and [-90m, -70m].

[0114] See also Figure 2 In a test method shown, a schematic diagram of the total distance range and the local distance range is illustrated by taking an autonomous driving scenario as an example. With the target vehicle 21 as the center, the total distance range is [-90m, 90m], and the multiple local distance ranges may be a short distance range [-30m, 30m], a medium distance range [-60m, -30m] and [30m, 60m], and a long distance range [60m, 90m] and [-90m, -60m]. The total distance range and the local distance range may be determined as needed, and this is only an exemplary description.

[0115] Based on the first sample data, the detection results and the annotation results of the first sample data, the first evaluation data of the set detection method within the total distance range is determined, and the second evaluation data corresponding to each local distance range is determined. For example, the first evaluation data within the total distance range, the second evaluation data within the long distance range, the second evaluation data within the medium distance range, and the second evaluation data within the close distance range can be obtained.

[0116] Among them, the first evaluation data and the second evaluation data include one or more of the following: Bird's Eye View (BEV) mean average precision (mAP) indicator, three-dimensional (3D) average precision mAP indicator, false detection rate, missed detection rate, average translation error (ATE), average scale error (ASE), and average orientation error (AOE).

[0117] By adopting the above method, the first evaluation data and the second evaluation data include one or more indicators. By setting multiple indicators, the performance of the detection method can be determined more accurately, thereby improving the accuracy of the detection method.

[0118] In specific implementation, based on the detection results and labeling results, the first intermediate sample data (target sample data) corresponding to the true positive (True Positive, TP) label in the first sample data, the second intermediate sample data corresponding to the true negative (True Negative, TN) label, the third intermediate sample data corresponding to the false positive (False Positive, FP) label, and the fourth intermediate sample data corresponding to the false negative (False Negative, FN) label can be determined.

[0119] When BEV mAP is included in the first evaluation data and the second evaluation data, position information of the projected true value frame of the labeled three-dimensional detection frame represented by the labeling result in the top view can be determined, as well as position information of the projected detection frame of the predicted three-dimensional detection frame represented by the detection result in the top view can be determined. Based on the position information of the projected true frame and the position information of the projected detection frame, a two-dimensional intersection over Union (IoU) is determined; and based on the two-dimensional IoU, BEVmAP is determined.

[0120] When 3D mAP is included in the first evaluation data and the second evaluation data, the 3D IoU between the annotated 3D detection box indicated by the annotation result of the first sample data and the predicted 3D detection box indicated by the detection result can be calculated; and the 3D mAP is determined based on the calculated 3D IoU.

[0121] When calculating BEV mAP and 3D mAP, different cross ratio thresholds can be set for different detection categories. For example, for vehicles, the cross ratio threshold can be set to 0.7, and for pedestrians, the cross ratio threshold can be set to 0.5.

[0122] When the false detection rate is included in the first evaluation data and the second evaluation data, the number x of the first intermediate sample data corresponding to the TP label in the first sample data can be determined. TP , determine the number x of second intermediate sample data corresponding to the FP label in the first sample data FP , then the false positive rate is x TP / (x TP +x FP ).

[0123] When the first evaluation data and the second evaluation data include the missed detection rate, the number x of the first intermediate sample data corresponding to the TP tag in the first sample data can be determined. TP , determine the number x of fourth intermediate sample data corresponding to the FN label in the first sample data FN , then the false positive rate is x TP / (x TP +x FN ).

[0124] In an optional implementation manner, when the first evaluation data and / or the second evaluation data include the average distance error, the average distance error is determined according to the following steps:

[0125] Step 1: Based on the labeling result and the detection result of the first sample data, determine the target sample data that meets the corresponding distance range and belongs to the true label from the first sample data; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result;

[0126] Step 2: determine the position information of the projected detection frame of the predicted three-dimensional detection frame indicated by the detection result of the target sample data in the top view, and the position information of the projected true value frame of the annotated three-dimensional detection frame indicated by the annotation result of the target sample data in the top view;

[0127] Step 3: Based on the position information of the projected detection frame and the position information of the projected true value frame, determine the average distance error corresponding to the target sample data; wherein the average distance error is used to characterize the position difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

[0128] Here, the target sample data corresponding to the TP label can be determined from the first sample data based on the labeling result and the detection result, wherein the TP label target sample data is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result. For the average distance error included in the first evaluation data, the target sample data belonging to the TP label can be determined from all the first sample data. For the average distance error included in the second evaluation data, the target sample data belonging to the TP label that meets the corresponding local distance range can be determined from all the first sample data. For example, for the second evaluation data within the long-distance range, the candidate first sample data located within the long-distance range can be selected from the first sample data, and then the target sample data belonging to the TP label can be determined from the candidate first sample data.

[0129] Then determine the position information of the projected detection frame of the predicted three-dimensional detection frame indicated by the detection result of the target sample data in the top view, and determine the position information of the projected true value frame of the annotated three-dimensional detection frame indicated by the annotation result corresponding to the target sample data in the top view, wherein the position information of the projected detection frame may be the position information of the center point of the projected detection frame, and the position information of the projected true value frame may be the position information of the center point of the projected true value frame.

[0130] Then, for each target object included in the target sample data, the distance error between the position information of the projected detection frame corresponding to the target object and the position information of the projected true value frame is calculated. Therefore, the distance error corresponding to each target object included in the target sample data can be obtained. The distance errors corresponding to each target object are averaged to obtain the average distance error corresponding to the target sample data.

[0131] Here, the average distance error can characterize the position difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame of the target sample data. The average distance error can be used to determine the accuracy of the set detection method in determining the object position, and the set detection method can be optimized based on the average distance error, so that the optimized detection method can more accurately determine the position of the predicted three-dimensional detection frame of the object.

[0132] In another optional implementation, when the first evaluation data and / or the second evaluation data include an average size error, the average size error is determined according to the following steps:

[0133] Step 1: Based on the labeling result and the detection result of the first sample data, determine the target sample data that meets the corresponding distance range and belongs to the true label from the first sample data; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result;

[0134] Step 2: Based on the first orientation and the first center point position information of the annotated three-dimensional detection frame indicated by the annotation result of the target sample data, the second orientation and the second center point position information of the predicted three-dimensional detection frame indicated by the detection result of the target sample data are adjusted to generate an adjusted detection result corresponding to the target sample data;

[0135] Step 3: based on the first size information of the annotated 3D detection frame indicated in the annotation result of the target sample data and the second size information of the predicted 3D detection frame indicated by the adjusted detection result, calculate the intersection-over-union ratio between the annotated 3D detection frame and the predicted 3D detection frame indicated by the adjusted detection result;

[0136] Step 4: Based on the intersection-over-union ratio, determine the average size error corresponding to the target sample data; wherein the average size error is used to characterize the size difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

[0137] In step 1, for the average size error included in the first evaluation data, the target sample data belonging to the TP label can be determined from all the first sample data. For the average size error included in the second evaluation data, the target sample data belonging to the TP label that meets the corresponding local distance range can be determined from all the first sample data. For example, for the second evaluation data within the long-distance range, the candidate first sample data within the long-distance range can be selected from the first sample data, and then the target sample data belonging to the TP label can be determined from the candidate first sample data.

[0138] In step two, the first orientation and the first center point position information of the annotated three-dimensional detection frame indicated by the annotation result of the target sample data can be used to adjust the second orientation and the second center point position information of the predicted three-dimensional detection frame indicated by the detection result of the target sample data. For example, the second center point position information can be translated and the predicted three-dimensional detection frame can be rotated, etc., to generate an adjusted detection result corresponding to the target sample data, so that the center point position and orientation between the predicted three-dimensional detection frame indicated by the adjusted detection result and the annotated three-dimensional detection frame indicated by the annotation result are consistent.

[0139] In step three, for each target object included in the target sample data, the intersection over union (IoU) between the annotated three-dimensional detection box corresponding to the target object and the adjusted predicted three-dimensional detection box can be calculated based on the first size information of the annotated three-dimensional detection box corresponding to the target object indicated in the annotation result and the second size information of the predicted three-dimensional detection box corresponding to the target object indicated by the adjusted detection result, thereby obtaining the IoU of each target object included in the target sample data.

[0140] In step 4, for each target object, the 1-IoU value is determined based on the IoU of the target object, and the 1-IoU values ​​corresponding to each target object are averaged to obtain the average size error corresponding to the target sample data.

[0141] Here, the average size error can characterize the size difference between the predicted three-dimensional detection box and the annotated three-dimensional detection box corresponding to the target sample data. The average size error can be used to determine the accuracy of the detection method in determining the object size. The detection method can be optimized based on the average size error, so that the optimized detection method can more accurately determine the size of the predicted three-dimensional detection box of the object.

[0142] In an optional implementation manner, when the first evaluation data and / or the second evaluation data include an average orientation error, the average orientation error is determined according to the following steps:

[0143] Step 1: Based on the labeling result and the detection result of the first sample data, determine the target sample data that meets the corresponding distance range and belongs to the true label from the first sample data; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result;

[0144] Step 2: Based on the first orientation of the labeled three-dimensional detection box indicated by the labeling result of the target sample data and the second orientation of the predicted three-dimensional detection box indicated by the detection result of the target sample data, determine the average orientation error corresponding to the target sample data; wherein the average orientation error is used to characterize the orientation difference between the predicted three-dimensional detection box and the labeled three-dimensional detection box corresponding to the target sample data.

[0145] In step 1, for the average orientation error included in the first evaluation data, target sample data belonging to the TP label can be determined from all the first sample data. For the average orientation error included in the second evaluation data, target sample data belonging to the TP label that meets the corresponding local distance range can be determined from all the first sample data.

[0146] In step two, for each target object in the target sample data, based on the first orientation of the annotated three-dimensional detection box of the target object indicated by the target annotation result corresponding to the target sample data, and the second orientation of the predicted three-dimensional detection box of the target object indicated by the target detection result corresponding to the target sample data, the orientation difference corresponding to the target object is calculated, and the orientation differences of each target object in the target sample data are averaged to obtain the average orientation error corresponding to the target sample data.

[0147] Here, the average orientation error can characterize the orientation difference between the predicted three-dimensional detection box and the labeled three-dimensional detection box corresponding to the target sample data. The average orientation error can be used to determine the accuracy of the detection method in determining the orientation of the object. The detection method can be optimized based on the average orientation error, so that the optimized detection method can more accurately determine the orientation of the predicted three-dimensional detection box of the object.

[0148] In specific implementation, when the set detection method is executed by a neural network, the first evaluation data and the second evaluation data can be used to evaluate the neural network after each training. When the trained neural network does not meet the evaluation conditions, the first evaluation data and the second evaluation data can be used to train the neural network to be trained for the next time. For example, the first evaluation data and the second evaluation data can be used to generate a loss value corresponding to the neural network to be trained, and the determined loss value and the second sample data can be used to train the neural network to be trained for the next time, until the performance of the trained neural network determined based on the first evaluation data and the second evaluation data of the trained neural network reaches or exceeds the preset performance.

[0149] Exemplarily, whether the neural network meets the evaluation conditions can be determined in the following manner:

[0150] Method 1: The first evaluation data and the second evaluation data generated after training both meet the set first condition. For example, when the first evaluation data and the second evaluation data include BEVmAP, 3DmAP, false detection rate, and missed detection rate, when the BEVmAP and 3DmAP in the first evaluation data and the second evaluation data are both greater than the set accuracy threshold, the false detection rates in the first evaluation data and the second evaluation data are both less than the set false detection threshold, and the missed detection rates in the first evaluation data and the second evaluation data are both less than the set missed detection threshold, it is determined that the neural network meets the evaluation condition.

[0151] Method 2: using the generated first evaluation data and second evaluation data to determine the score of the neural network after this training, when the score is greater than a set score threshold, it is determined that the neural network after this training meets the evaluation conditions.

[0152] There are many ways to determine whether a neural network meets the evaluation conditions, which are only illustrative here.

[0153] In an optional embodiment, after determining the first evaluation data and the second evaluation data, the method further includes: for each detection category in at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data, and the target detection result corresponding to the detection category in the detection result, determining the false detection sample data corresponding to the detection category from the first sample data, and determining the false detection cause category corresponding to the false detection sample data.

[0154] Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes: determining the performance of the set detection method based on the false detection cause category of the false detection sample data corresponding to at least one detection category, the first evaluation data and the second evaluation data.

[0155] Here, at least one detection category set can be determined as needed. For example, in an autonomous driving scenario, at least one detection category may include pedestrians, motor vehicles, non-motor vehicles, road signs, etc.

[0156] After determining the first evaluation data and the second evaluation data, for each detection category of at least one detection category corresponding to the set detection method, based on the target labeling results and target detection results corresponding to the detection category in the labeling results of the first sample data, the falsely detected sample data corresponding to the detection category can be determined from the first sample data, wherein the falsely detected sample data corresponding to the detection category may include samples whose predicted detection category is the detection category but whose labeled detection category does not belong to the detection category.

[0157] And the categories of false detection reasons corresponding to the false detection sample data can be determined, wherein the set false detection reason categories include: Category 1, false detection caused by insufficient matching IoU, for example, the predicted 3D detection frame is detected at position A of the first sample data, but the IoU match between the predicted 3D detection frame at position A and the labeled 3D detection frame is insufficient, resulting in false detection; Category 2, false detection caused by classification error, for example, the target object A at position A of the first sample data belongs to a pedestrian, but the predicted category of the target object A is a vehicle; Category 3, false detection that occurs out of thin air; for example, a pedestrian is predicted to exist at position A, but in fact there is no pedestrian at position A. Among them, the set false detection reason categories can be set as needed, and this is only an exemplary description.

[0158] Exemplarily, when the false detection sample data includes false detection sample data one and false detection sample data two, it can be determined that the false detection cause category corresponding to the false detection sample data one can be category one, and the false detection cause category corresponding to the false detection sample data two can be category three.

[0159] Furthermore, the performance of the set detection method can be determined based on the false detection cause categories of the false detection sample data corresponding to at least one detection category, the first evaluation data, and the second evaluation data. For example, when the detection method is executed by a neural network, the weight corresponding to each detection category can be set for the false detection cause categories of the false detection samples corresponding to at least one detection category, and the loss value of the neural network can be determined based on the set weights, the first evaluation data, and the second evaluation data. The neural network is trained for the next time using the determined loss value and the second sample data. Alternatively, the parameters or structure of the neural network to be trained can be adjusted for the false detection cause categories of the false detection samples corresponding to at least one detection category, and the adjusted neural network can be trained using the first evaluation data, the second evaluation data, and the second sample data.

[0160] In the above implementation, by determining the false detection sample data corresponding to each detection category from the first sample data, and determining the false detection cause category of the false detection sample data corresponding to each detection category, there is a clear and distinct understanding of the false detection cause of the false detection sample data, and then based on the false detection cause category corresponding to at least one detection category, the first evaluation data and the second evaluation data, the performance of the detection method can be determined more accurately.

[0161] In an optional embodiment, after determining the first evaluation data and the second evaluation data, the method further includes: for each detection category in at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data, and the target detection result corresponding to the detection category in the detection result, determining the missed detection sample data corresponding to the detection category from the first sample data, and determining the missed detection reason category corresponding to the missed detection sample data.

[0162] Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes: determining the performance of the set detection method based on the missed detection reason category of the missed detection sample data corresponding to at least one detection category, the first evaluation data and the second evaluation data.

[0163] After determining the first evaluation data and the second evaluation data, for each detection category of at least one detection category corresponding to the neural network to be trained, based on the target labeling result and the target detection result corresponding to the detection category, the missed detection sample data corresponding to the detection category can be determined from the first sample data, wherein the missed detection sample data corresponding to the detection category may include samples whose labeled detection category belongs to the detection category but whose predicted detection category is not the detection category, and / or samples whose labeled detection category belongs to the detection category but no detection result corresponding to the detection category is generated.

[0164] And the missed detection reason category corresponding to the missed detection sample data can be determined, wherein the set missed detection reason category includes: Category 1, missed detection caused by insufficient matching IoU, for example, the predicted 3D detection frame is detected at position A of the first sample data, but the IoU match between the predicted 3D detection frame at position A and the annotated 3D detection frame is insufficient, resulting in missed detection; Category 2, missed detection caused by classification error, for example, the target object A at position A of the first sample data belongs to a pedestrian, but the predicted target object A is a vehicle; Category 3, pure missed detection; for example, there is a pedestrian at position A, but no detection result is generated at position A. Among them, the set missed detection reason category can be set as needed, which is only an exemplary description here.

[0165] Exemplarily, when the missed detection sample data includes missed detection sample data one and missed detection sample data two, it can be determined that the missed detection cause category corresponding to the missed detection sample data one can be category one, and the missed detection cause category corresponding to the missed detection sample data two can be category three.

[0166] Furthermore, when the detection method is executed by a neural network, the performance of the neural network can be determined based on the missed detection cause category, the first evaluation data, and the second evaluation data of the missed detection sample data corresponding to at least one detection category. For example, the second sample data can be data enhanced for the missed detection cause category of the missed detection sample data corresponding to at least one detection category. For example, if it is determined that there are more pure missed detections (category three) of pedestrians (detection category) in the long-distance range, the number of second sample data corresponding to pedestrians in the long-distance range can be increased, so as to use the first evaluation data, the second evaluation data, and the second sample data after data enhancement processing to train the neural network and determine the performance of the neural network again. Alternatively, the parameters or structure of the neural network can be adjusted for the missed detection cause category of the missed detection sample data corresponding to at least one detection category, and the adjusted neural network can be trained using the first evaluation data, the second evaluation data, and the second sample data.

[0167] In the above implementation, by determining the missed detection sample data corresponding to each detection category from the first sample data, and determining the missed detection reason category of the missed detection sample data corresponding to each detection category, there is a clear and distinct understanding of the missed detection reason of the missed detection sample data, and then based on the missed detection reason category corresponding to at least one detection category, the first evaluation data and the second evaluation data, the performance of the detection method can be determined more accurately.

[0168] In an optional implementation manner, after determining the first evaluation data and the second evaluation data, the method further includes:

[0169] Step 1: for each detection category in at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determine the missed detection sample data corresponding to the detection category from the first sample data, and determine the missed detection reason category of the missed detection sample data corresponding to the detection category;

[0170] Step 2: For each missed detection reason category corresponding to the detection category, determine the target missed detection samples belonging to the missed detection reason category from the missed detection sample data corresponding to the detection category, and generate a target missed detection heat map corresponding to the missed detection reason category under the detection category based on the position information indicated by the annotation result corresponding to the target missed detection sample data, wherein the target missed detection heat map represents the missed detection probability of the missed detection reason category under the detection category at different positions within the total distance range.

[0171] Based on the first evaluation data and the second evaluation data, the performance of the set detection method is determined, including: based on the target missed detection heat map corresponding to different missed detection reason categories under each detection category, the first evaluation data and the second evaluation data, the performance of the set detection method is determined.

[0172] In step one, for each detection category in at least one detection category corresponding to the neural network, based on the target labeling result and the target detection result corresponding to the detection category, the missed detection sample data corresponding to the detection category is determined from the first sample data, and the missed detection reason category of the missed detection sample data corresponding to the detection category is determined. For example, when at least one detection category includes pedestrians, motor vehicles, and non-motor vehicles, the missed detection sample data corresponding to the detection category of pedestrians and the missed detection reason category of the missed detection sample data corresponding to pedestrians can be determined; the missed detection sample data corresponding to the detection category of motor vehicles and the missed detection reason category of the missed detection sample data corresponding to motor vehicles can be determined; the missed detection sample data corresponding to the detection category of non-motor vehicles and the missed detection reason category of the missed detection sample data corresponding to non-motor vehicles can be determined. Among them, the missed detection reason category may include: Category 1, missed detection caused by insufficient matching IoU; Category 2, missed detection caused by classification error; Category 3, pure missed detection.

[0173] In step 2, for each missed detection reason category corresponding to each detection category, target missed detection sample data belonging to the missed detection reason category can be determined from the missed detection sample data corresponding to the detection category. For example, target missed detection sample data A belonging to category one can be determined from the missed detection sample data corresponding to pedestrians. Furthermore, a target missed detection heat map corresponding to the missed detection reason category under the detection category can be generated based on the position information indicated by the annotation result corresponding to the target missed detection sample data. For example, a target missed detection heat map A corresponding to category one (missed detection reason category) under the detection category of pedestrians can be generated based on the position information indicated by the annotation result corresponding to the target missed detection sample data A. Furthermore, it can be known that when the detection categories include pedestrians, motor vehicles, and non-motor vehicles, the missed detection reason categories can include: category one, missed detection caused by insufficient matching IoU; category two, missed detection caused by classification errors; category three, pure missed detection, 9 frames of target missed detection heat maps can be generated for various missed detection reason categories of each detection category.

[0174] Among them, the target missed detection heat map represents the missed detection probability of the missed detection cause category under the detection category at different positions within the total distance range, that is, the color of the pixel position in the target missed detection heat map represents the missed detection probability corresponding to the missed detection cause category under the detection category at the pixel position.

[0175] Furthermore, the performance of the set detection method can be determined based on the target missed detection heat map corresponding to different missed detection cause categories under each detection category, the first evaluation data, and the second evaluation data. For example, the parameters or structure of the neural network can be adjusted based on the target missed detection heat map corresponding to different missed detection cause categories under each detection category, and the adjusted neural network can be retrained using the first evaluation data, the second evaluation data, and the second sample data.

[0176] In the above implementation, a corresponding target missed detection heat map is generated for each missed detection cause category under each detection category. For example, if there are four detection categories and three missed detection cause categories, a 12-frame target missed detection heat map can be generated. Through the 12-frame target missed detection heat map, the missed detection probability at different positions corresponding to each missed detection cause category under each detection category can be clearly and unambiguously determined. Furthermore, based on the multi-frame target missed detection heat map, the first evaluation data and the second evaluation data, the performance of the detection method can be determined more accurately.

[0177] In an optional implementation manner, after determining the first evaluation data and the second evaluation data, the method further includes:

[0178] Step 1: for each detection category in at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determine the false detection sample data corresponding to the detection category from the first sample data, and determine the false detection cause category of the false detection sample data corresponding to the detection category;

[0179] Step 2: For each false detection cause category corresponding to the detection category, determine the target false detection sample data belonging to the false detection cause category from the false detection sample data corresponding to the detection category, and generate a target false detection heat map corresponding to the false detection cause category under the detection category based on the position information indicated by the annotation result corresponding to the target false detection sample data, wherein the target false detection heat map represents the false detection probability at different positions corresponding to the false detection cause category under the detection category.

[0180] Based on the first evaluation data and the second evaluation data, determining the performance of the set detection method includes: based on the target false detection heat map corresponding to different false detection cause categories under each detection category, the first evaluation data and the second evaluation data, determining the performance of the set detection method.

[0181] In step one, for each detection category in at least one detection category corresponding to the neural network, based on the labeling result and the detection result corresponding to the detection category, the false detection sample data corresponding to the detection category is determined from the first sample data, and the false detection cause category of the false detection sample data corresponding to the detection category is determined. For example, when at least one detection category includes pedestrians, motor vehicles, and non-motor vehicles, the false detection sample data corresponding to the detection category of pedestrians and the false detection cause category of the false detection sample data corresponding to pedestrians can be determined; the false detection sample data corresponding to the detection category of motor vehicles and the false detection cause category of the false detection sample data corresponding to motor vehicles can be determined; the false detection sample data corresponding to the detection category of non-motor vehicles and the false detection cause category of the false detection samples corresponding to non-motor vehicles can be determined. Among them, the false detection cause category can include: Category 1, false detection caused by insufficient matching IoU; Category 2, false detection caused by classification error; Category 3, false detection that appears out of thin air.

[0182] In step 2, for each false detection cause category corresponding to each detection category, target false detection sample data belonging to the false detection cause category can be determined from the false detection sample data corresponding to the detection category. For example, target false detection sample data A belonging to category one can be determined from the false detection sample data corresponding to pedestrians. Furthermore, a target false detection heat map corresponding to the false detection cause category under the detection category can be generated based on the position information indicated by the annotation result corresponding to the target false detection sample data. For example, a target false detection heat map A corresponding to category one (false detection cause category) under the detection category of pedestrians can be generated based on the position information indicated by the annotation result corresponding to the target false detection sample A. Furthermore, it can be known that when the detection categories include pedestrians, motor vehicles, and non-motor vehicles, the false detection cause categories can include: category one, false detection caused by insufficient matching IoU; category two, false detection caused by classification errors; category three, false detection that occurs out of thin air, 9 frames of target false detection heat maps can be generated for each false detection cause category of each detection category.

[0183] Among them, the target false detection heat map represents the false detection probability of the false detection cause category under the detection category at different positions within the total distance range, that is, the color at the pixel position in the target false detection heat map represents the false detection probability corresponding to the false detection cause category under the detection category at the pixel position.

[0184] Furthermore, the performance of the set detection method can be determined based on the target false detection heat map corresponding to different false detection cause categories under each detection category, the first evaluation data, and the second evaluation data. For example, the parameters or structure of the trained neural network can be adjusted based on the target false detection heat map corresponding to different false detection cause categories under each detection category, and the adjusted neural network can be retrained using the first evaluation data, the second evaluation data, and the first sample data.

[0185] Among them, in the specific implementation, the usage of the target false detection heat map corresponding to different false detection cause categories under each detection category and the target missed detection heat map corresponding to different missed detection cause categories under each detection category can be determined as needed, which is an exemplary description here.

[0186] In the above implementation, by generating a corresponding target false detection heat map for each false detection cause category under each detection category, through at least one frame of the target false detection heat map, the false detection probability at different positions corresponding to each false detection cause category under each detection category can be clearly and unambiguously determined, and then based on multiple frames of target false detection heat maps, the first evaluation data and the second evaluation data, the performance of the set detection method can be more accurately determined.

[0187] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0188] Based on the same idea, see Figure 3 As shown, the embodiment of the present disclosure further provides a target object detection method, the method includes S301-S302, wherein:

[0189] S301, obtaining data to be detected; the data to be detected includes images to be detected and / or point cloud data to be detected;

[0190] S302, based on the data to be detected and a first target neural network for object detection, determine the target detection data of each target object included in the data to be detected, wherein the first target neural network is obtained after testing using the testing method described in the embodiment of the present disclosure.

[0191] Here, the data to be detected can be any frame of image or any frame of point cloud data, and the data to be detected is input into the first target neural network for object detection to determine the target detection data of each target object included in the data to be detected. The first target neural network is obtained by testing using the test method described in the embodiment of the present disclosure.

[0192] The target object may be set as required, for example, the target object may be a pedestrian, a vehicle, an animal, a road sign, etc. The target detection data of the target object may include position information, size information, and orientation information of a three-dimensional detection frame of the target object.

[0193] In the above method, by testing the first neural network using the testing method proposed in the embodiment of the present disclosure, the accuracy of the trained first neural network can be higher, and then the target detection data of the target object included in the data to be detected can be determined more accurately by using the first neural network.

[0194] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0195] Based on the same idea, see Figure 4 As shown, the embodiment of the present disclosure further provides a driving control method, the method comprising S401-S403, wherein:

[0196] S401, acquiring road data collected by the driving device during driving; the road data includes road images and / or road point cloud data;

[0197] S402, using a second target neural network to perform target detection on the road data to determine a target object included in the road data; wherein the second target neural network is obtained after testing using the testing method described in the embodiment of the present disclosure;

[0198] S403: Control the travel device based on the target object included in the road data.

[0199] Exemplarily, the driving device may be an autonomous vehicle, a vehicle equipped with an Advanced Driving Assistance System (ADAS), or a robot. The road image may be an image collected by the driving device in real time during driving. The target object may be any object that may appear on the road, for example, the target object may be a road sign such as a zebra crossing or a right turn, or a sign such as a no parking sign, or an animal or pedestrian that appears on the road, or other vehicles on the road.

[0200] In a specific implementation, the acquired road data can be input into a second target neural network to determine the target object included in the road data, that is, to determine the three-dimensional detection data of the target object included in the road data. The three-dimensional detection data of the target object can include size information, position information, orientation information, category information, etc. of the three-dimensional detection frame.

[0201] Then, the driving device is controlled based on the target object included in the road data. When controlling the driving device, the driving device may be controlled to accelerate, decelerate, turn, brake, etc., or a voice prompt message may be played to prompt the driver to control the driving device to accelerate, decelerate, turn, brake, etc.

[0202] In the above method, by testing the second neural network using the testing method proposed in the embodiment of the present disclosure, the accuracy of the second neural network can be made higher, and then the target object included in the road data can be determined more accurately by using the second neural network, and the driving device can be controlled more accurately.

[0203] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0204] Based on the same concept, the present disclosure also provides a testing device, see Figure 5 As shown, it is a schematic diagram of the architecture of a test device provided by an embodiment of the present disclosure, including a first detection module 501, a first determination module 502, and a second determination module 503. Specifically:

[0205] The first detection module 501 is used to detect the first sample data using a set detection method to obtain a detection result;

[0206] A first determination module 502 is used to determine, based on the first sample data, the detection result, and the annotation result of the first sample data, the first evaluation data of the set detection method within the total distance range and the second evaluation data within each local distance range; wherein each local range is obtained by dividing the total distance range; the total distance range is determined based on the detection range of the acquisition device corresponding to the first sample data and / or the depth information of the object included in the first sample data;

[0207] The second determination module 503 is used to determine the performance of the set detection method based on the first evaluation data and the second evaluation data.

[0208] In a possible implementation manner, the set detection method is executed by a neural network, and the second determination module 503, when determining the performance of the set detection method based on the first evaluation data and the second evaluation data, is used to:

[0209] Based on the first evaluation data and the second evaluation data, performance of the neural network is determined.

[0210] In a possible implementation manner, when the performance of the neural network does not reach a preset performance, the device further includes: a training module 504, configured to:

[0211] The neural network is trained using the second sample data until the performance of the trained neural network determined based on the first evaluation data and the second evaluation data of the trained neural network reaches or exceeds the preset performance.

[0212] In a possible implementation manner, the first evaluation data and the second evaluation data include one or more of the following:

[0213] Bird's-eye view average accuracy BEV mAP indicator, three-dimensional average accuracy 3D mAP indicator, false detection rate, missed detection rate, average distance error, average size error, and average orientation error.

[0214] In a possible implementation manner, when the first evaluation data and / or the second evaluation data include an average distance error, the first determination module 502 is configured to determine the average distance error according to the following steps:

[0215] Based on the labeling result of the first sample data and the detection result, determine from the first sample data the target sample data that meets the corresponding distance range and belongs to the true label; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result;

[0216] Determine position information of a projected detection frame of a predicted three-dimensional detection frame indicated by a detection result of the target sample data in a top view, and position information of a projected true value frame of a labeled three-dimensional detection frame indicated by a labeling result of the target sample data in the top view;

[0217] Determining the average distance error corresponding to the target sample data based on the position information of the projected detection frame and the position information of the projected true value frame;

[0218] The average distance error is used to characterize the position difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

[0219] In a possible implementation manner, when the first evaluation data and / or the second evaluation data include an average size error, the first determination module 502 is configured to determine the average size error according to the following steps:

[0220] Based on the labeling result of the first sample data and the detection result, determine from the first sample data the target sample data that meets the corresponding distance range and belongs to the true label; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result;

[0221] Based on the first orientation and the first center point position information of the annotated three-dimensional detection frame indicated by the annotation result of the target sample data, adjusting the second orientation and the second center point position information of the predicted three-dimensional detection frame indicated by the detection result of the target sample data, and generating an adjusted detection result corresponding to the target sample data;

[0222] Calculate an intersection-over-union ratio between the annotated 3D detection box and the predicted 3D detection box indicated by the adjusted detection result based on first size information of the annotated 3D detection box indicated by the annotation result of the target sample data and second size information of the predicted 3D detection box indicated by the adjusted detection result;

[0223] Based on the intersection-over-union ratio, determining the average size error corresponding to the target sample data;

[0224] The average size error is used to characterize the size difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

[0225] In a possible implementation manner, when the first evaluation data and / or the second evaluation data include an average orientation error, the first determination module 502 is configured to determine the average orientation error according to the following steps:

[0226] Based on the labeling result of the first sample data and the detection result, determine from the first sample data the target sample data that meets the corresponding distance range and belongs to the true label; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result;

[0227] Determining the average orientation error corresponding to the target sample data based on a first orientation of the annotated three-dimensional detection box indicated by the annotation result of the target sample data and a second orientation of the predicted three-dimensional detection box indicated by the detection result of the target sample data;

[0228] The average orientation error is used to characterize the orientation difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

[0229] In a possible implementation manner, after determining the first evaluation data and the second evaluation data, the apparatus further includes: a false detection determination module 505, configured to:

[0230] For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determine the false detection sample data corresponding to the detection category from the first sample data, and determine the false detection cause category corresponding to the false detection sample data;

[0231] The second determination module 503, when determining the performance of the set detection method based on the first evaluation data and the second evaluation data, is used to:

[0232] The performance of the set detection method is determined based on the false detection cause categories of the false detection sample data respectively corresponding to the at least one detection category, the first evaluation data, and the second evaluation data.

[0233] In a possible implementation manner, after determining the first evaluation data and the second evaluation data, the apparatus further includes: a missed detection determination module 506, configured to:

[0234] For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determining the missed detection sample data corresponding to the detection category from the first sample data, and determining the missed detection reason category corresponding to the missed detection sample data;

[0235] The second determination module 503, when determining the performance of the set detection method based on the first evaluation data and the second evaluation data, is used to:

[0236] The performance of the set detection method is determined based on the missed detection reason categories of the missed detection sample data, the first evaluation data, and the second evaluation data respectively corresponding to the at least one detection category.

[0237] In a possible implementation manner, after determining the first evaluation data and the second evaluation data, the device further includes: a missed detection heat map determination module 507, which is used to:

[0238] For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determining the missed detection sample data corresponding to the detection category from the first sample data, and determining the missed detection reason category of the missed detection sample data corresponding to the detection category;

[0239] For each missed detection cause category corresponding to the detection category, determine target missed detection sample data belonging to the missed detection cause category from the missed detection sample data corresponding to the detection category, and generate a target missed detection heat map corresponding to the missed detection cause category under the detection category based on the position information indicated by the annotation result of the target missed detection sample data, wherein the target missed detection heat map represents the missed detection probability of the missed detection cause category under the detection category at different positions within the total distance range;

[0240] The second determination module 503, when determining the performance of the set detection method based on the first evaluation data and the second evaluation data, is used to:

[0241] The performance of the set detection method is determined based on the target missed detection heat map corresponding to different missed detection reason categories under each detection category, the first evaluation data and the second evaluation data.

[0242] In a possible implementation manner, after determining the first evaluation data and the second evaluation data, the apparatus further includes: a false detection heat map determination module 508, configured to:

[0243] For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determine the false detection sample data corresponding to the detection category from the first sample data, and determine the false detection cause category of the false detection sample data corresponding to the detection category;

[0244] For each false detection cause category corresponding to the detection category, determine target false detection sample data belonging to the false detection cause category from the false detection sample data corresponding to the detection category, and generate a target false detection heat map corresponding to the false detection cause category under the detection category based on the position information indicated by the annotation result of the target false detection sample data, wherein the target false detection heat map represents the false detection probability of the false detection cause category under the detection category at different positions within the total distance range;

[0245] The second determination module 503, when determining the performance of the set detection method based on the first evaluation data and the second evaluation data, is used to:

[0246] The performance of the set detection method is determined based on the target false detection heat map corresponding to different false detection cause categories under each detection category, the first evaluation data, and the second evaluation data.

[0247] Based on the same concept, the present disclosure also provides a target object detection device, see Figure 6 FIG. 6 is a schematic diagram of the architecture of a target object detection device provided by an embodiment of the present disclosure, including a first acquisition module 601 and a second detection module 602. Specifically:

[0248] The first acquisition module 601 is used to acquire data to be detected; the data to be detected includes images to be detected and / or point cloud data to be detected;

[0249] The second detection module 602 is used to determine the target detection data of each target object included in the data to be detected based on the data to be detected and a first target neural network for object detection, wherein the first target neural network is obtained by testing using the testing method described in any one of the first aspects.

[0250] Based on the same concept, the present disclosure also provides a driving control device, see Figure 7As shown, it is a schematic diagram of the architecture of a driving control device provided by an embodiment of the present disclosure, including a second acquisition module 701, a third detection module 702, and a control module 703. Specifically:

[0251] The second acquisition module 701 is used to acquire road data collected by the driving device during driving; the road data includes road images and / or road point cloud data;

[0252] A third detection module 702 is used to perform target detection on the road data using a second target neural network to determine a target object included in the road data; wherein the second target neural network is obtained by testing using the testing method described in any one of the first aspects;

[0253] The control module 703 is used to control the travel device based on the target object included in the road data.

[0254] In some embodiments, the functions or templates contained in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0255] Based on the same technical concept, the embodiment of the present disclosure also provides an electronic device. Figure 8 As shown, it is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure, including a processor 801, a memory 802, and a bus 803. Among them, the memory 802 is used to store execution instructions, including a memory 8021 and an external memory 8022; the memory 8021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 801, and the data exchanged with the external memory 8022 such as a hard disk. The processor 801 exchanges data with the external memory 8022 through the memory 8021. When the electronic device 800 is running, the processor 801 communicates with the memory 802 through the bus 803, so that the processor 801 executes the following instructions:

[0256] Using a set detection method to detect the first sample data, and obtaining a detection result;

[0257] Based on the first sample data, the detection result, and the annotation result of the first sample data, determine the first evaluation data of the set detection method within the total distance range and the second evaluation data within each local distance range; wherein each local range is obtained by dividing the total distance range; the total distance range is determined based on the detection range of the acquisition device corresponding to the first sample data and / or the depth information of the object included in the first sample data;

[0258] Based on the first evaluation data and the second evaluation data, the performance of the set detection method is determined.

[0259] Based on the same technical concept, the embodiment of the present disclosure also provides an electronic device. Fig. 9 As shown, it is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure, including a processor 901, a memory 902, and a bus 903. Among them, the memory 902 is used to store execution instructions, including a memory 9021 and an external memory 9022; the memory 9021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 901, and the data exchanged with the external memory 9022 such as a hard disk. The processor 901 exchanges data with the external memory 9022 through the memory 9021. When the electronic device 900 is running, the processor 901 communicates with the memory 902 through the bus 903, so that the processor 901 executes the following instructions:

[0260] Acquire data to be detected; the data to be detected includes images to be detected and / or point cloud data to be detected;

[0261] Based on the data to be detected and a first target neural network for object detection, detection data of each target object included in the data to be detected is determined, wherein the first target neural network is obtained by testing using the testing method described in any one of the first aspects.

[0262] Based on the same technical concept, the embodiment of the present disclosure also provides an electronic device. Fig.10 As shown, it is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure, including a processor 1001, a memory 1002, and a bus 1003. Among them, the memory 1002 is used to store execution instructions, including a memory 10021 and an external memory 10022; the memory 10021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 1001, and the data exchanged with the external memory 10022 such as a hard disk. The processor 1001 exchanges data with the external memory 10022 through the memory 10021. When the electronic device 1000 is running, the processor 1001 communicates with the memory 1002 through the bus 1003, so that the processor 1001 executes the following instructions:

[0263] Acquire road data collected by the driving device during driving; the road data includes road images and / or road point cloud data;

[0264] Performing target detection on the road data using a second target neural network to determine a target object included in the road data; wherein the second target neural network is obtained by testing using the testing method described in any one of the first aspects;

[0265] The travel device is controlled based on the target object included in the road data.

[0266] In addition, the embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the test method described in the above method embodiment are executed; or the steps of the target object detection method described in the above method embodiment are executed; or the steps of the driving control method described in the above method embodiment are executed. The storage medium may be a volatile or non-volatile computer-readable storage medium.

[0267] The embodiments of the present disclosure also provide a computer program product, which carries a program code. The instructions included in the program code can be used to execute the steps of the test method described in the above method embodiment, or execute the steps of the target object detection method described in the above method embodiment, or execute the steps of the driving control method described in the above method embodiment. Please refer to the above method embodiment for details, which will not be repeated here.

[0268] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0269] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0270] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0271] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0272] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0273] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A testing method, characterized in that: include: Using a set detection method to detect the first sample data, and obtaining a detection result; Based on the first sample data, the detection result, and the annotation result of the first sample data, determine the first evaluation data of the set detection method within the total distance range and the second evaluation data within each local distance range; wherein each local range is obtained after dividing the total distance range; the total distance range is determined based on the detection range of the acquisition device corresponding to the first sample data and / or the depth information of the object included in the first sample data; wherein the first evaluation data and the second evaluation data include one or more of the following: bird's-eye view average accuracy rate BEV mAP indicator, three-dimensional average accuracy rate 3D mAP indicator, false detection rate, missed detection rate, average distance error, average size error, average orientation error; Determining the performance of the set detection method based on the first evaluation data and the second evaluation data; The set detection method is executed by a neural network, and the performance of the set detection method is determined based on the first evaluation data and the second evaluation data, including: determining the performance of the neural network based on the first evaluation data and the second evaluation data.

2. The method according to claim 1, characterized in that In the case where the performance of the neural network does not reach a preset performance, the method further includes: The neural network is trained using the second sample data until the performance of the trained neural network determined based on the first evaluation data and the second evaluation data of the trained neural network reaches or exceeds the preset performance.

3. The method according to claim 1, characterized in that: In the case where the first evaluation data and / or the second evaluation data include an average distance error, the average distance error is determined according to the following steps: Based on the labeling result of the first sample data and the detection result, determine from the first sample data the target sample data that meets the corresponding distance range and belongs to the true label; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result; Determine position information of a projected detection frame of a predicted three-dimensional detection frame indicated by a detection result of the target sample data in a top view, and position information of a projected true value frame of a labeled three-dimensional detection frame indicated by a labeling result of the target sample data in the top view; Determining the average distance error corresponding to the target sample data based on the position information of the projected detection frame and the position information of the projected true value frame; The average distance error is used to characterize the position difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

4. The method according to claim 1, characterized in that: In the case where the first evaluation data and / or the second evaluation data include an average size error, the average size error is determined according to the following steps: Based on the labeling result of the first sample data and the detection result, determine from the first sample data the target sample data that meets the corresponding distance range and belongs to the true label; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result; Based on the first orientation and the first center point position information of the annotated three-dimensional detection frame indicated by the annotation result of the target sample data, adjusting the second orientation and the second center point position information of the predicted three-dimensional detection frame indicated by the detection result of the target sample data, and generating an adjusted detection result corresponding to the target sample data; Calculate an intersection-over-union ratio between the annotated 3D detection box and the predicted 3D detection box indicated by the adjusted detection result based on first size information of the annotated 3D detection box indicated by the annotation result of the target sample data and second size information of the predicted 3D detection box indicated by the adjusted detection result; Based on the intersection-over-union ratio, determining the average size error corresponding to the target sample data; The average size error is used to characterize the size difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

5. The method according to claim 1, characterized in that In the case where the first evaluation data and / or the second evaluation data include an average orientation error, the average orientation error is determined according to the following steps: Based on the labeling result of the first sample data and the detection result, determine from the first sample data the target sample data that meets the corresponding distance range and belongs to the true label; wherein the target sample data of the true label is a positive sample whose detection category indicated by the detection result is consistent with the detection category indicated by the labeling result; Determining the average orientation error corresponding to the target sample data based on a first orientation of the annotated three-dimensional detection box indicated by the annotation result of the target sample data and a second orientation of the predicted three-dimensional detection box indicated by the detection result of the target sample data; The average orientation error is used to characterize the orientation difference between the predicted three-dimensional detection frame and the annotated three-dimensional detection frame corresponding to the target sample data.

6. The method according to any one of claims 1 to 5, characterized in that: After determining the first evaluation data and the second evaluation data, the method further includes: For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determine the false detection sample data corresponding to the detection category from the first sample data, and determine the false detection cause category corresponding to the false detection sample data; Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes: The performance of the set detection method is determined based on the false detection cause categories of the false detection sample data respectively corresponding to the at least one detection category, the first evaluation data, and the second evaluation data.

7. The method according to any one of claims 1 to 5, characterized in that: After determining the first evaluation data and the second evaluation data, the method further includes: For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determining the missed detection sample data corresponding to the detection category from the first sample data, and determining the missed detection reason category corresponding to the missed detection sample data; Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes: The performance of the set detection method is determined based on the missed detection reason categories of the missed detection sample data, the first evaluation data, and the second evaluation data respectively corresponding to the at least one detection category.

8. The method according to any one of claims 1 to 5, characterized in that: After determining the first evaluation data and the second evaluation data, the method further includes: For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determining the missed detection sample data corresponding to the detection category from the first sample data, and determining the missed detection reason category of the missed detection sample data corresponding to the detection category; For each missed detection cause category corresponding to the detection category, determine target missed detection sample data belonging to the missed detection cause category from the missed detection sample data corresponding to the detection category, and generate a target missed detection heat map corresponding to the missed detection cause category under the detection category based on the position information indicated by the annotation result of the target missed detection sample data, wherein the target missed detection heat map represents the missed detection probability of the missed detection cause category under the detection category at different positions within the total distance range; Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes: The performance of the set detection method is determined based on the target missed detection heat map corresponding to different missed detection reason categories under each detection category, the first evaluation data and the second evaluation data.

9. The method according to any one of claims 1 to 5, characterized in that: After determining the first evaluation data and the second evaluation data, the method further includes: For each detection category of at least one detection category corresponding to the set detection method, based on the target labeling result corresponding to the detection category in the labeling result of the first sample data and the target detection result corresponding to the detection category in the detection result, determine the false detection sample data corresponding to the detection category from the first sample data, and determine the false detection cause category of the false detection sample data corresponding to the detection category; For each false detection cause category corresponding to the detection category, determine target false detection sample data belonging to the false detection cause category from the false detection sample data corresponding to the detection category, and generate a target false detection heat map corresponding to the false detection cause category under the detection category based on the position information indicated by the annotation result of the target false detection sample data, wherein the target false detection heat map represents the false detection probability of the false detection cause category under the detection category at different positions within the total distance range; Determining the performance of the set detection method based on the first evaluation data and the second evaluation data includes: The performance of the set detection method is determined based on the target false detection heat map corresponding to different false detection cause categories under each detection category, the first evaluation data, and the second evaluation data.

10. A target object detection method, characterized in that: include: Acquire data to be detected; the data to be detected includes images to be detected and / or point cloud data to be detected; Based on the data to be detected and a first target neural network for performing object detection, target detection data of each target object included in the data to be detected is determined, wherein the first target neural network is obtained by testing using the testing method described in any one of claims 1 to 9.

11. A driving control method, characterized in that: include: Acquire road data collected by the driving device during driving; the road data includes road images and / or road point cloud data; Performing target detection on the road data using a second target neural network to determine a target object included in the road data; wherein the second target neural network is obtained by testing using the testing method according to any one of claims 1 to 9; The travel device is controlled based on the target object included in the road data.

12. A testing device, characterized in that: include: A first detection module, used to detect the first sample data using a set detection method to obtain a detection result; A first determination module is used to determine the first evaluation data of the set detection method within the total distance range and the second evaluation data within each local distance range based on the first sample data, the detection result, and the annotation result of the first sample data; wherein each local range is obtained after dividing the total distance range; the total distance range is determined based on the detection range of the acquisition device corresponding to the first sample data and / or the depth information of the object included in the first sample data; wherein the first evaluation data and the second evaluation data include one or more of the following: bird's-eye view average accuracy rate BEV mAP indicator, three-dimensional average accuracy rate 3D mAP indicator, false detection rate, missed detection rate, average distance error, average size error, average orientation error; A second determination module, configured to determine the performance of the set detection method based on the first evaluation data and the second evaluation data; The set detection method is executed by a neural network, and the second determination module, when determining the performance of the set detection method based on the first evaluation data and the second evaluation data, is used to: determine the performance of the neural network based on the first evaluation data and the second evaluation data.

13. A target object detection device, characterized in that: include: A first acquisition module, used to acquire data to be detected; The data to be detected includes images to be detected and / or point cloud data to be detected; A second detection module is used to determine target detection data of each target object included in the data to be detected based on the data to be detected and a first target neural network for object detection, wherein the first target neural network is obtained by testing using the testing method described in any one of claims 1 to 9.

14. A driving control device, characterized in that: include: A second acquisition module is used to acquire road data collected by the driving device during driving; the road data includes road images and / or road point cloud data; A third detection module, configured to perform target detection on the road data using a second target neural network to determine a target object included in the road data; wherein the second target neural network is obtained by testing using the testing method according to any one of claims 1 to 9; A control module is used to control the travel device based on the target object included in the road data.

15. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the test method as described in any one of claims 1 to 9 are executed; or the steps of the target object detection method as described in claim 10 are executed; or the steps of the driving control method as described in claim 11 are executed.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the testing method as described in any one of claims 1 to 9; or executes the steps of the target object detection method as described in claim 10; or executes the steps of the driving control method as described in claim 11.