Performance evaluation method and device for perception data detection algorithm, and program product
By comparing the sensory data with the reference data, the performance of the sensory data detection algorithm is evaluated and adjusted, which solves the problem of unguaranteed detection performance in the existing technology and improves the accuracy of environment rendering and detection accuracy.
Patent Information
- Application Number
- CN202410867549.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-29
AI Technical Summary
There is a lack of evaluation of the performance of sensory data detection algorithms in the existing technology, resulting in a decrease in environment rendering accuracy and inability to guarantee detection performance.
By obtaining multi-frame sensing data and comparing it with reference data, the performance indicators of the sensing data detection algorithm, including accuracy and recall, are determined to evaluate the detection performance, and the algorithm is adjusted according to the performance indicators to improve detection accuracy.
It realizes the performance evaluation and adjustment of the sensory data detection algorithm, improves the accuracy of environment rendering and detection performance, and ensures the accuracy of sensory data detection.
Smart Images

Figure CN118861702A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of algorithm performance evaluation, and in particular to a performance evaluation method, electronic device, and computer program product for a perception data detection algorithm. Background Art
[0002] In the automotive field, intelligence has gradually become one of the important directions of automotive development, so that users can be provided with high-quality automotive intelligent services. For example, by rendering the environmental perception data collected by the car, the surrounding environment of the car can be displayed to the user. However, since the environmental perception data may deviate from the actual environment, it will affect the accuracy of environmental rendering.
[0003] In the related art, in order to improve the accuracy of environment rendering, the environment perception data is usually detected based on the perception data detection algorithm. However, due to the lack of performance evaluation of the perception data detection algorithm, the detection performance of the perception data detection algorithm cannot be guaranteed. Summary of the invention
[0004] The embodiments of the present disclosure at least provide a performance evaluation method, electronic device, and computer program product of a perception data detection algorithm, which can realize the evaluation of the detection performance of the perception data detection algorithm.
[0005] The present disclosure provides a method for evaluating the performance of a perception data detection algorithm, including:
[0006] Acquire multiple frames of first perception data, wherein the first perception data refers to environmental perception data detected based on a perception data detection algorithm, and the detection result does not meet the first preset requirement;
[0007] For each frame of the first perception data, the first perception data is compared with reference data to obtain a comparison result; the reference data is used to measure whether the first perception data meets a preset condition, and the comparison result is used to indicate a difference between the first perception data and the reference data;
[0008] Based on the comparison results of the first perception data of each frame, a performance indicator of the perception data detection algorithm is determined; the performance indicator is used to characterize whether the detection performance of the perception data detection algorithm meets the second preset requirement.
[0009] In the embodiment of the present disclosure, by comparing each frame of first perception data with reference data, and based on the comparison results of the first perception data of each frame, the performance indicators of the perception data detection algorithm are determined. Since the comparison results are used to indicate the difference between the first perception data and the reference data, the performance indicators determined based on the comparison results can characterize the detection performance of the perception data detection algorithm, thereby realizing the evaluation of the detection performance of the perception data detection algorithm.
[0010] In an optional implementation manner, for each frame of the first perception data, comparing the first perception data with reference data to obtain a comparison result includes:
[0011] In the case where the reference data includes user-marked reference data, for each frame of the first perception data, the first perception data is compared with the user-marked reference data to obtain the comparison result; the user-marked reference data is obtained by the user marking the environmental perception data.
[0012] In the disclosed embodiment, since the user-marked reference data is obtained by the user marking the environmental perception data, that is, the marking accuracy of the user-marked reference data is relatively high, comparing the first perception data with the user-marked reference data can improve the accuracy of the comparison result.
[0013] In an optional implementation manner, for each frame of the first perception data, comparing the first perception data with the user-marked reference data to obtain the comparison result includes:
[0014] For each frame of the first perception data, the attribute information of the first perception data is compared with the attribute information of the user-marked reference data to obtain the comparison result; wherein the attribute information includes at least one of category, time and location.
[0015] In the disclosed embodiment, since the attribute information includes at least one of the category, time and location, fine-grained comparison can be achieved, which is beneficial to improving the accuracy of the comparison result.
[0016] In an optional implementation manner, the reference data further includes map reference data; and the method further includes:
[0017] For each frame of the first perception data, the first perception data is compared with the map reference data to obtain the comparison result.
[0018] In the disclosed embodiment, the first perception data may also be compared with the map reference data, thereby increasing the diversity of the comparison methods.
[0019] In an optional implementation manner, for each frame of the first perception data, comparing the first perception data with the map reference data to obtain the comparison result includes:
[0020] For each frame of the first perception data, determining a category of the first perception data;
[0021] Based on the matching condition corresponding to the category of the first perception data, the first perception data is compared with the map reference data to obtain the comparison result; wherein different categories correspond to different matching conditions.
[0022] In the disclosed embodiment, corresponding matching conditions are pre-set for each category, so that the first perception data is compared with the map reference data based on the matching conditions corresponding to the category of the first perception data, which can improve the accuracy of the comparison results under this category.
[0023] In an optional implementation, the first perception data includes at least one first perception lane line, the category includes a lane line category, the map reference data is map reference data of a high-precision map, and the map reference data includes a map reference lane line; the first perception data is compared with the map reference data based on the matching condition corresponding to the category of the first perception data to obtain the comparison result, including:
[0024] When the category of the first perception data is the lane line category, for each first perception lane line, the shape and position of the first perception lane line are respectively compared with the map reference lane line to obtain a first sub-comparison result;
[0025] The comparison result is determined based on the first sub-comparison results of each first sensed lane line.
[0026] In the disclosed embodiment, the first perceived lane line is compared with the map reference lane line from the perspectives of shape and position. In this way, the accuracy of the comparison can be improved, and comparison errors can be avoided through position comparison.
[0027] In an optional implementation, for each first sensed lane line, the shape and position of the first sensed lane line and the map reference lane line are respectively compared to obtain a first sub-comparison result, including:
[0028] For each first sensed lane line, determine position information of the first sensed lane line in a world coordinate system, and determine a target map reference lane line corresponding to the first sensed lane line from the map reference lane lines based on the position information;
[0029] Sampling the first sensed lane line to obtain a plurality of first sampling points, and sampling at positions in the target map reference lane line that respectively correspond to the plurality of first sampling points to obtain a plurality of second sampling points;
[0030] The first sub-alignment result is determined based on the distance between each of the first sampling points and the corresponding second sampling point.
[0031] In the disclosed embodiment, the first perceived lane line and the target map reference lane line are sampled respectively, and the comparison result is determined based on the distance between each first sampling point and the corresponding second sampling point. That is, through the distance between the corresponding sampling points, it can be determined whether the first perceived lane line and the target map reference lane line are consistent. In this way, the accuracy of the comparison result can be improved.
[0032] In an optional implementation, the first perception data further includes at least one first perception marker, the category includes a marker category, the map reference data includes map reference data of a high-precision map, and the map reference data includes a map reference marker;
[0033] The comparing the first perception data with the map reference data based on the matching condition corresponding to the category of the first perception data to obtain the comparison result includes:
[0034] In the case where the category of the first perception data is the category of the marker, for each first perception marker, the type and position of the first perception marker and the map reference marker are respectively compared to obtain a second sub-comparison result;
[0035] The alignment result is determined based on the second sub-alignment results of each first sensory marker.
[0036] In the disclosed embodiment, each first perceived marker is compared with the map reference marker from two perspectives: marker type and position. This can improve the comprehensiveness and accuracy of the comparison.
[0037] In an optional implementation manner, determining the performance indicator of the perception data detection algorithm based on the comparison result of the first perception data of each frame includes:
[0038] Based on the comparison results of the first perception data of each frame, the amount of target perception data is determined, and based on the amount of the target perception data and the amount of the first perception data, the performance indicator is determined; the target perception data refers to the first perception data that meets the preset conditions.
[0039] In the disclosed embodiment, since the first perception data is obtained by detection through a perception data detection algorithm, and the target perception data is obtained by comparison with the first perception data, the accuracy of the detection of the perception data detection algorithm can be verified based on the number of target perception data and the number of first perception data, that is, by determining the performance indicators in a quantitative manner, the accuracy of the performance indicators can be improved.
[0040] In an optional implementation, when the reference data includes the user-labeled reference data, the performance indicator includes an accuracy indicator and a recall indicator; and determining the performance indicator based on the amount of the target perception data and the amount of the first perception data includes:
[0041] Determining the accuracy index based on the amount of the first perception data and the amount of the target perception data;
[0042] Determining the recall rate indicator based on the amount of the target perception data and the amount of the user-labeled reference data;
[0043] The performance indicator is determined based on the accuracy indicator and the recall indicator.
[0044] In the disclosed embodiment, the performance index is determined based on the accuracy index and the recall index, so that the comprehensiveness and accuracy of the performance index can be improved.
[0045] In an optional implementation manner, the method further includes:
[0046] Based on the performance indicator, the perception data detection algorithm is adjusted to obtain a new perception data detection algorithm, and the target environment perception data is detected based on the new perception data detection algorithm.
[0047] In the embodiment of the present disclosure, the perception data detection algorithm is adjusted based on the performance indicators to obtain a new perception data detection algorithm. In this way, the detection performance of the perception data detection algorithm can be improved, so that when detection is performed based on the new perception data detection algorithm, the detection accuracy can be improved, thereby improving the accuracy of environment rendering.
[0048] An embodiment of the present disclosure also provides an electronic device, including: 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 performance evaluation method of any possible perception data detection algorithm described above are performed.
[0049] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the performance evaluation method of any possible perception data detection algorithm described above are executed.
[0050] The embodiments of the present disclosure also provide a computer program product, including a computer program, which, when executed by a processor, executes the steps of any possible performance evaluation method of the perception data detection algorithm described above.
[0051] For a description of the effects of the above-mentioned computer-readable storage medium, electronic device and computer program product, please refer to the description of the performance evaluation method of the above-mentioned perception data detection algorithm, which will not be repeated here.
[0052] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present disclosure.
[0053] 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
[0054] 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.
[0055] Figure 1 A flow chart showing a performance evaluation method of a perception data detection algorithm provided by an embodiment of the present disclosure is shown;
[0056] Figure 2 A flow chart of a method for comparing first perception data with reference data provided by an embodiment of the present disclosure is shown;
[0057] Figure 3 A schematic diagram of lane line sampling provided by an embodiment of the present disclosure is shown;
[0058] Figure 4 A schematic diagram of a performance evaluation device for a perception data detection algorithm provided by an embodiment of the present disclosure is shown;
[0059] Figure 5A schematic diagram showing another performance evaluation device for a perception data detection algorithm provided by an embodiment of the present disclosure is shown;
[0060] Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme 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.
[0062] 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.
[0063] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0064] In the automotive field, intelligence has gradually become one of the important directions of automotive development, so that users can be provided with high-quality automotive intelligent services. For example, by rendering the environmental perception data collected by the car, the surrounding environment of the car can be displayed to the user. However, since the environmental perception data may deviate from the actual environment, it will affect the accuracy of environmental rendering.
[0065] Research has found that in order to improve the accuracy of environmental rendering, related technologies usually detect environmental perception data based on perception data detection algorithms. However, due to the lack of performance evaluation of perception data detection algorithms, the detection performance of perception data detection algorithms cannot be guaranteed.
[0066] Based on the above research, the present disclosure provides a performance evaluation method for a perception data detection algorithm, firstly obtaining multiple frames of first perception data, wherein the first perception data refers to environmental perception data that is detected based on a perception data detection algorithm and the detection result does not meet a first preset requirement; then for each frame of the first perception data, the first perception data is compared with reference data to obtain a comparison result; the reference data is used to measure whether the first perception data meets a preset condition, and the comparison result is used to indicate the difference between the first perception data and the reference data; finally, based on the comparison result of the first perception data of each frame, the performance indicator of the perception data detection algorithm is determined; the performance indicator is used to characterize whether the detection performance of the perception data detection algorithm meets a second preset requirement.
[0067] In the embodiment of the present disclosure, by comparing each frame of first perception data with reference data, and based on the comparison results of the first perception data of each frame, the performance indicators of the perception data detection algorithm are determined. Since the comparison results are used to indicate the differences between the first perception data and the reference data, the performance indicators determined based on the comparison results can characterize whether the detection performance of the perception data detection algorithm meets the second preset requirements, thereby realizing the evaluation of the detection performance of the perception data detection algorithm.
[0068] To facilitate understanding of this embodiment, a performance evaluation method for a perception data detection algorithm disclosed in the embodiment of the present disclosure is first introduced in detail. The execution subject of the performance evaluation method for the perception data detection algorithm provided in the embodiment of the present disclosure is generally an electronic device, and the electronic device can be a server, which can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud storage, big data and artificial intelligence platforms. In other embodiments, the electronic device can also be a terminal device, wherein the terminal device can be a mobile device, a user terminal, a terminal, a handheld device, a computing device, a vehicle-mounted device, a wearable device, and the like.
[0069] In other implementations, the method can also be applied to an implementation environment consisting of a terminal device and a server. In addition, the performance evaluation method of the perception data detection algorithm can also be implemented by a processor calling a computer-readable instruction stored in a memory.
[0070] The following describes a performance evaluation method for a perception data detection algorithm provided by an embodiment of the present disclosure.
[0071] See also Figure 1 As shown, it is a flowchart of a performance evaluation method of a perception data detection algorithm provided by an embodiment of the present disclosure, such as Figure 1 As shown in , the method includes steps S101 to S103, wherein:
[0072] S101: Acquire multiple frames of first perception data, wherein the first perception data refers to environmental perception data detected based on a perception data detection algorithm, and the detection result does not meet the first preset requirement.
[0073] Among them, environmental perception data can refer to data obtained by collecting environmental information through perception components (such as radar, camera, etc.). Environmental perception data can be image data or point cloud data, which is not limited here.
[0074] In some embodiments, the sensing component may be a component provided on the vehicle. Of course, the sensing component may also be a component provided on other movable devices, such as a robot, etc., which is not limited here. In this embodiment, the sensing component may be provided on the vehicle, wherein the vehicle may be a car powered by a power battery. Specifically, the vehicle may include a battery electric vehicle (BEV), a hybrid electric vehicle (HEV), and a plug-in hybrid electric vehicle (PHEV), etc., which are not specifically limited. In other embodiments, the vehicle may also be a fuel vehicle or a new energy vehicle, etc. The vehicles include, but are not limited to, cars, buses, trucks, and tractors, etc., which are not limited here.
[0075] In this embodiment, the environmental perception data may include road perception data, wherein the road perception data may include different types of data, for example, may include perceived lane lines and / or perceived markers. Here, the perceived lane lines may include perceived driving lines and perceived boundary lines, and the perceived markers may include perceived stop lines, perceived zebra crossings, perceived guide lines, perceived turn signs, and perceived deceleration signs, etc., which are not limited here.
[0076] In other implementations, the environmental perception data may also include other perception data, such as perception of buildings, perception of traffic lights, etc., which are not limited here.
[0077] The first perception data may include a first perception lane line and a first perception marker. The first perception lane line may include a first perception driving line and a first perception boundary line, and the first perception marker may include a first perception stop line, a first perception zebra crossing, a first perception guide line, a first perception turn sign, and a first perception deceleration sign, etc., which are not limited here.
[0078] In the autonomous driving scenario, since the collected environmental perception data may not match the actual environment, in order to improve the safety of autonomous driving, it is necessary to detect the environmental perception data through a perception data detection algorithm to detect environmental perception data that does not match the actual environment (also known as badcase). The above detection process is also called the automated badcase mining process.
[0079] In the disclosed embodiment, the environmental perception data is detected by a perception data detection algorithm. If the detection result does not meet the first preset requirement, it means that the environmental perception data does not match the actual environment, and the environmental perception data can be considered to be a bad case.
[0080] Specifically, since the map reference data is relatively close to the actual environment, in the embodiment of the present disclosure, the process of detecting the environmental perception data through the perception data detection algorithm refers to comparing the environmental perception data with the map reference data. According to the comparison result, the difference between the environmental perception data and the map reference data can be determined, that is, the detection result is obtained.
[0081] For example, if the environmental perception data includes a perception marker, and the map reference data at the location corresponding to the environmental perception data does not include a reference marker corresponding to the perception marker, it means that the environmental perception data does not match the map reference data (that is, the detection result does not meet the first preset requirement), and the environmental perception data can be determined as the first perception data (that is, a bad case). The specific process of the perception data detection algorithm detecting environmental perception data will be described in detail later, and will not be repeated here.
[0082] S102: For each frame of the first perception data, compare the first perception data with reference data to obtain a comparison result; the reference data is used to measure whether the first perception data meets a preset condition, and the comparison result is used to indicate the difference between the first perception data and the reference data.
[0083] In this implementation, the reference data may include user-marked reference data, and the reference data may also include map reference data.
[0084] Among them, the user-marked reference data is obtained by the user marking the environmental perception data. Specifically, after obtaining the environmental perception data, the user can mark the environmental perception data according to the observed real environment. For example, there is a lane boundary line at a certain position in the real environment, but the environmental perception data does not contain the perception data of the lane boundary line. At this time, the user can mark the environmental perception data.
[0085] Here, the map reference data may be the map reference data of a high definition (HD) map or the map reference data of a standard definition (SD) map, and is not limited here. The map reference data of a high definition map may include map reference lane lines and map reference markers, etc., and the map reference data of a standard map may include the number of map reference lane lines, etc.
[0086] It should be understood that when the perception data detection algorithm detects environmental perception data, there may be deviations between the detection results and the actual results. For example, for some environmental perception data, the perception data detection algorithm may mistakenly detect them as first perception data. Therefore, it is necessary to compare the first perception data with the reference data for each frame of first perception data to obtain a comparison result, wherein the comparison result is used to indicate the difference between the first perception data and the reference data.
[0087] Here, the reference data is used to measure whether the first perception data meets the preset conditions. The first perception data meets the preset conditions, which may mean that the difference between the first perception data and the user-marked reference data is within a first preset difference range, or it may mean that the difference between the first perception data and the map reference data is not within a second preset difference range. The specific content of the preset conditions will be introduced later.
[0088] As can be seen from the foregoing, the reference data may include user-marked reference data and map reference data. Therefore, optionally, for S102, when comparing the first perception data with the reference data for each frame to obtain a comparison result, when the reference data includes the user-marked reference data, for each frame of the first perception data, the first perception data may be compared with the user-marked reference data to obtain a comparison result. Of course, for each frame of the first perception data, the first perception data may also be compared with the map reference data to obtain a comparison result.
[0089] In some other implementations, with respect to S102, the following steps may be included: S1021-S1023:
[0090] S1021: Determine whether there is user-marked reference data in the reference data. If yes, execute step S1022; if no, execute step S1023.
[0091] S1022: For each frame of the first perception data, compare the first perception data with the user-marked reference data to obtain the comparison result.
[0092] S1023: For each frame of the first perception data, compare the first perception data with the map reference data to obtain the comparison result.
[0093] Here, if there is user-marked reference data in the reference data, the first perception data is compared with the user-marked reference data to obtain a comparison result. Here, since the user-marked reference data is obtained by the user marking the environmental perception data, it can be considered that the accuracy of the user-marked reference data is higher. In this way, the comparison based on the user-marked reference data can improve the accuracy of the comparison result. If there is no user-marked reference data, the first perception data is compared with the map reference data to obtain a comparison result.
[0094] S103: Determine a performance indicator of the perception data detection algorithm based on a comparison result of the first perception data of each frame; the performance indicator is used to characterize whether the detection performance of the perception data detection algorithm meets a second preset requirement.
[0095] Based on the foregoing, since the comparison result can be used to indicate the difference between the first perception data and the reference data, the performance indicator of the perception data detection algorithm can be determined based on the comparison results of the first perception data of each frame, wherein the performance indicator is used to characterize whether the detection performance of the perception data detection algorithm meets the second preset requirement, thereby realizing the evaluation of the detection performance of the perception data detection algorithm.
[0096] Here, the performance indicator can be expressed in the form of an indicator value. If the indicator value of the performance indicator is within the preset indicator value range, it means that the detection performance of the perception data detection algorithm meets the second preset requirement; if the indicator value of the performance indicator is not within the preset indicator value range, it means that the detection performance of the perception data detection algorithm does not meet the second preset requirement.
[0097] Specifically, when determining the performance indicator of the perception data detection algorithm based on the comparison results of the first perception data of each frame, the number of target perception data can be determined based on the comparison results of the first perception data of each frame, and the performance indicator can be determined based on the number of target perception data and the number of first perception data.
[0098] Among them, the target perception data refers to the first perception data that meets the preset conditions.
[0099] Exemplarily, the performance indicator may include an accuracy indicator. If the total number of frames of the first perception data is 100 frames, and the comparison results of the first perception data of each frame indicate that 80 frames of first perception data are target perception data, then it can be determined that the accuracy of the perception data detection algorithm is 4 / 5, and the accuracy indicator is obtained.
[0100] Here, a preset accuracy range can be set. If the accuracy index is within the preset accuracy range, it means that the detection performance of the perception data detection algorithm meets the second preset requirement. For example, the preset accuracy range is not less than 0.8.
[0101] In the disclosed embodiment, the first perception data is compared with the reference data to obtain a comparison result, and then based on the comparison result of the first perception data of each frame, the performance index of the perception data detection algorithm can be determined. In this way, the detection performance of the perception data detection algorithm can be characterized by the performance index.
[0102] Optionally, when the user-labeled reference data exists in the reference data, the performance indicator includes an accuracy indicator and a recall indicator.
[0103] Therefore, when determining the performance indicator based on the number of the target perception data and the number of the first perception data, the accuracy indicator can be determined based on the number of the first perception data and the number of the target perception data; then the recall indicator can be determined based on the number of the target perception data and the number of the user-labeled reference data; finally, the performance indicator can be determined based on the accuracy indicator and the recall indicator.
[0104] Exemplarily, if the number of first perception data is 100 frames, and the comparison results of the first perception data of each frame indicate that 90 frames of first perception data are target perception data, then it can be determined that the accuracy of the perception data detection algorithm is 9 / 10, and the number of user-marked reference data is 120 frames, then it can be determined that the recall rate of the perception data detection algorithm is 3 / 4, and thus, the performance indicator is obtained.
[0105] Furthermore, when the accuracy of the perception data detection algorithm is not less than a first preset threshold and the recall rate of the perception data detection algorithm is not less than a second preset threshold, it means that the detection performance of the perception data detection algorithm meets the second preset requirement; if the accuracy of the perception data detection algorithm is less than the first preset threshold and / or the recall rate of the perception data detection algorithm is less than the second preset threshold, it means that the detection performance of the perception data detection algorithm does not meet the second preset requirement.
[0106] In addition, as can be seen from the foregoing, environmental perception data may include data of different categories. Therefore, the accuracy index under different categories can be determined for the first perception data under that category. If the accuracy index under that category is less than the third preset threshold, the perception data detection algorithm can be adjusted for that category.
[0107] In addition, if the recall rate of the perception data detection algorithm is low, it means that the algorithm has missed detections. In this case, the missed detections of the perception data detection algorithm can be adjusted in a targeted manner.
[0108] Specifically, after determining the performance indicator of the perception data detection algorithm, the perception data detection algorithm can be adjusted based on the performance indicator to obtain a new perception data detection algorithm, and the target environment perception data can be detected based on the new perception data detection algorithm.
[0109] Here, the target environment perception data and the environment perception data may be the same or different, and there is no limitation on this.
[0110] Here, the performance indicator can characterize whether the detection performance of the perception data detection algorithm meets the second preset requirement. Therefore, after determining the performance indicator, if the performance indicator characterizes that the detection performance of the detection algorithm does not meet the second preset requirement, the perception data detection algorithm can be adjusted according to the performance indicator (for example, the algorithm can be adjusted based on the accuracy rate or the detection algorithm can be adjusted based on the recall rate) to obtain a new perception data detection algorithm, so that the target environment perception data can be detected based on the new perception data detection algorithm.
[0111] In some embodiments, for step S1022, when comparing the first perception data with the user-marked reference data for each frame of the first perception data to obtain the comparison result, the attribute information of the first perception data can be compared with the attribute information of the user-marked reference data for each frame of the first perception data to obtain the comparison result.
[0112] The attribute information includes at least one of category, time and location.
[0113] Here, the category may include lane line category and / or marker category. Among them, the lane line category may include lane line shape, lane line number, etc., and the marker category may include marker type, marker number, etc. Time may refer to the time of occurrence of the data (first perception data and user-marked reference data). It can be understood that since the environmental perception data is collected over a period of time, and the first perception data is part of the environmental perception data, the first perception data and the user-marked reference data have timestamps respectively. Position may refer to the location of occurrence of the data (first perception data and user-marked reference data). It can be understood that the environmental perception data is collected for the environment within a range of locations, so the first perception data and the user-marked reference data have corresponding positions respectively.
[0114] The above comparison process is described below by taking the example that the attribute information includes category, time and location.
[0115] First, for each frame of first perception data, according to the category of each frame of first perception data, the first user mark reference data of the same category can be determined from the user mark reference data. If there is a first user mark reference data, then according to the time of the first perception data of the frame, the second user mark reference data consistent with the time is determined from the first user mark reference data. If there is a second user mark reference data, finally according to the position of the first perception data of the frame, it is determined whether there is a target user mark reference data consistent with its position in the second user mark reference data. If there is, it means that the comparison is successful, and the comparison result is obtained, wherein the comparison result indicates that the difference between the first perception data of the frame and the reference data is within the first preset difference range, and the first perception data of the frame is the target perception data, that is, the first perception data of the frame meets the preset conditions, and the comparison result is obtained. The comparison order of the above categories, time and position can be adjusted according to actual needs. Of course, if at least one of the categories, time and position is not successfully compared, the comparison result indicates that the difference between the first perception data of the frame and the reference data is not within the first preset difference range, which means that the first perception data of the frame is not the target perception data, that is, the first perception data of the frame does not meet the preset conditions.
[0116] It should be noted that the above-mentioned time can refer to a time point or a time period. For example, the time period to which the 10 frames of first perception data belong is from 10:00 to 10:01 on April 9, 2024. For each frame of first perception data, if the first user-marked reference data also contains reference data within this time period, it can be considered that there is a second user-marked reference data that is consistent with the time of the first perception data.
[0117] In addition, the position consistency can mean that the positions of the two are within a range, and the range can be set according to actual needs. For example, the position deviation can be considered consistent if it is within 20 meters. For example, the position corresponding to the first perception data is A, if the position of any second user marked reference data is B, and the distance between A and B is 5 meters, then the second user marked reference data can be determined as the target user marked reference data that is consistent with the position of the first perception data.
[0118] In other embodiments, with respect to step S1023, when comparing the first perception data with the map reference data for each frame of the first perception data to obtain the comparison result, the category of the first perception data can be determined for each frame of the first perception data; then, based on the matching condition corresponding to the category of the first perception data, the first perception data is compared with the map reference data to obtain the comparison result; wherein different categories correspond to different matching conditions.
[0119] As can be seen from the foregoing, the categories include lane line categories and landmark categories. Therefore, for the lane line category, the first perception data can be compared with the map reference data based on the matching conditions corresponding to the lane line category to obtain a comparison result.
[0120] Specifically, according to the foregoing, if the first perception data includes at least one first perception lane line, it can be determined that the category of the first perception data is a lane line category, and the map reference data includes a map reference lane line. Therefore, when the category to which the first perception data belongs is a lane line category, for each first perception lane line, the shape and position of the first perception lane line and the map reference lane line are compared respectively to obtain a sub-comparison result; then, based on the sub-comparison results of each first perception lane line, the comparison result is determined.
[0121] It can be understood that since the number of first perception lane lines can be one or more, the shape and position of each first perception lane line can be compared with the map reference lane line, thereby improving the accuracy of the comparison.
[0122] Here, the shape of the lane line may include a straight line shape or a curved shape.
[0123] It can be understood that if the sub-comparison results of each first perception lane line indicate a successful comparison, it means that the first perception data is not the target perception data, and the comparison result is obtained. Similarly, if there is at least one first perception lane line sub-comparison result indicating a failed comparison, it means that the first perception data is the target perception data, and the comparison result is obtained.
[0124] Optionally, when comparing the shape and position of the first sensed lane line with the map reference lane line to obtain the comparison result, the following steps (a) to (c) may be included:
[0125] (a) for each first sensed lane line, determining position information of the first sensed lane line in a world coordinate system, and based on the position information, determining a target map reference lane line corresponding to the first sensed lane line from the map reference lane lines.
[0126] Here, since the environmental perception data is collected by a perception component installed on the vehicle, the position information of the first perception lane line in the world coordinate system can be determined based on the internal parameters of the perception component, the position transformation relationship of the perception component relative to the vehicle, and the position of the vehicle in the world coordinate system.
[0127] After determining the position information of the first perceived lane line in the world coordinate system, the target map reference lane line corresponding to the first perceived lane line can be determined from the map reference lane line based on the position information. In this way, matching errors between the first perceived lane line and the map reference lane line can be avoided.
[0128] Exemplarily, if the first perceived lane line corresponds to the left lane boundary line, the reference lane boundary line corresponding to the position information can be determined from the map reference lane lines based on the position information of the first perceived lane line in the world coordinate system.
[0129] (b) sampling the first sensed lane line to obtain a plurality of first sampling points, and sampling at positions in the target map reference lane line corresponding to the plurality of first sampling points to obtain a plurality of second sampling points.
[0130] In this step, when sampling the first sensed lane line, random sampling or equal-interval sampling can be used, which is not limited here.
[0131] After obtaining a plurality of first sampling points, sampling may be performed on a position corresponding to each first sampling point in a reference lane line of the target map to obtain a plurality of second sampling points.
[0132] For example, see Figure 3 , is a schematic diagram of lane line sampling provided by an embodiment of the present disclosure. Figure 3 As shown in the figure, the solid line 10 on the left is the first perception lane line, and the solid line 20 on the right is the target map reference lane line. Then, multiple first sampling points (such as points 11, 12, 13, 14, and 15) can be obtained by sampling at equal intervals on the first perception lane line, and multiple second sampling points (such as points 21, 22, 23, 24, and 25) can be obtained by sampling at corresponding positions on the target map reference lane line.
[0133] (c) determining the sub-alignment result based on the distance between each of the first sampling points and the corresponding second sampling point.
[0134] It can be understood that after obtaining multiple first sampling points and corresponding second sampling points, the distance between each first sampling point and the corresponding second sampling point can be determined, and then the comparison result can be determined based on the distance between each first sampling point and the corresponding second sampling point.
[0135] Here, when determining the comparison result based on the distance between each first sampling point and the corresponding second sampling point, a distance threshold may be preset, and each distance is compared with the distance threshold to obtain a sub-comparison result.
[0136] Specifically, if each distance is not greater than the distance threshold, it is considered that the first perceived lane line is successfully compared with the target map reference lane line. If the comparison is successful, it means that the first perceived lane line is not the target perceived lane line. Similarly, if there is at least one distance greater than the distance threshold, it is considered that the first perceived lane line is failed to be compared with the target map reference lane line. If the comparison fails, it means that the first perceived lane line is the target perceived lane line, and a sub-comparison result is obtained.
[0137] The distance threshold can be set according to actual needs, for example, the distance threshold is 30 centimeters.
[0138] Based on the above example, the distance a1 between the first sampling point 11 and the corresponding second sampling point 21 can be determined, and the distance a2 between the second sampling point 12 and the corresponding second sampling point 22 can be determined. The distances between each first sampling point and the corresponding second sampling point, such as a1, a2, a3, a4, and a5, are calculated in sequence. If a1, a2, a3, a4, and a5 are all no greater than 30 centimeters, it means that the first sensed lane line is not the target sensed lane line. If there is a distance greater than 30 centimeters among a1, a2, a3, a4, and a5, it means that the first sensed lane line is the target sensed lane line.
[0139] In other embodiments, if the map reference data is map reference data of a standard map, the map reference data includes the number of standard map reference lane lines. Therefore, when the first perception data is compared with the map reference data based on the matching condition corresponding to the category of the first perception data to obtain the comparison result, the following steps (1) to (2) may be included:
[0140] (1) When the category of the first perception data is the lane line category, determine the position information of the first perception data in the world coordinate system, and based on the position information, determine the target map reference data in the map reference data corresponding to the position information of the first perception data.
[0141] Among them, for determining the position information of the first perception data in the world coordinate system, reference can be made to the aforementioned embodiment, which will not be elaborated here.
[0142] Here, the target map reference data may refer to part of the map reference data.
[0143] (2) Comparing the number of first perception lane lines in the first perception data with the number of map reference lane lines in the target map reference data to obtain the comparison result.
[0144] Exemplarily, the number of map reference lane lines in the target map reference data is 5. If the number of first lane lines in the first perception data is 5, it means that the first perception data is not the target perception data. If the number of candidate perception lane lines in the first perception data is 2, it means that the first perception data is the target perception data, and a comparison result is obtained.
[0145] Similarly, for the landmark category, the first perception data can be compared with the map reference data based on the matching condition corresponding to the landmark category to obtain a comparison result.
[0146] As can be seen from the foregoing, the first perception data may include at least one first perception marker, and the map reference data includes a map reference marker. Therefore, when the category of the first perception data is the marker category, for each first perception marker, the type and position between the first perception marker and the map reference marker may be compared to obtain a second sub-comparison result; and then the comparison result may be determined based on the second sub-comparison results of each first perception marker.
[0147] It can be understood that since the types of markers may include stop lines, zebra crossings, turn signs, etc., it is necessary to compare the types between the first perceived marker and the map reference marker. In addition, markers at different positions may be of the same type, so it is also necessary to compare the positions between the first perceived marker and the map reference marker. In this way, the accuracy of the comparison results can be improved.
[0148] Specifically, for each first perception marker, the type and position of the first perception marker and the map reference marker are compared respectively. When the second sub-comparison result is obtained, the type of the first perception marker and the target position information of the first perception marker in the world coordinate system can be determined first, and then it is determined whether there is a target map reference marker of the same type as the first perception marker at the position corresponding to the target position information in the map reference data. If not, it means that the first perception marker is the target perception marker. If so, it means that the first perception marker is not the target perception marker, and the second sub-comparison result is obtained. In this way, the comparison accuracy of the first perception marker can be improved.
[0149] Exemplarily, if the type of the first perceived marker is a stop line, the target position information of the first perceived stop line in the world coordinate system is C, and then the position D corresponding to the target position information C is determined in the map reference data, and it is determined whether there is a target map reference stop line that is the same as the stop line at position D. If not, it means that the first perceived stop line is the target perceived stop line. If so, it means that the first perceived stop line is not the target perceived stop line.
[0150] It should be noted that with respect to the above embodiment, if the category of the first perception data includes both lane line category and marker category, the two categories can be compared separately, and finally the final comparison result can be determined based on the sub-comparison results corresponding to the two categories.
[0151] In the embodiments of the present disclosure, taking a vehicle as an example, environmental perception data may be detected based on the following perception data detection algorithm.
[0152] (A) Acquiring environmental perception data.
[0153] (B) determining a first position of the vehicle in a world coordinate system based on the environmental perception data, and determining whether there is local map reference data corresponding to the first position in the map reference data;
[0154] (C) If so, the environmental perception data is compared with the local map reference data to obtain a target comparison result, where the target comparison result is used to indicate whether the environmental perception data is the first perception data.
[0155] Among them, the local map reference data corresponding to the first position may refer to map reference data within a preset range based on the first position, wherein the preset range can be set according to actual needs, for example, it can be 200 meters in front of the first position, or it can be 50 meters in front of the first position, which is not limited here.
[0156] As can be seen from the foregoing, environmental perception data may refer to data obtained by collecting the vehicle's environment through perception components (such as radar, camera, etc.) installed on the vehicle. Therefore, the first position of the vehicle in the world coordinate system may be determined based on the environmental perception data.
[0157] Specifically, the first position of the vehicle in the world coordinate system may be determined based on the environmental perception data, the internal parameters of the perception component, and the external parameters of the perception component.
[0158] Optionally, when comparing the environment perception data with the local map reference data to obtain a target comparison result, the following steps (I) to (III) may be included:
[0159] (I) Determine whether there is local map reference data of the high-precision map. If so, execute step (II); if not, execute step (III).
[0160] (II) Comparing the environmental perception data with the local map reference data of the high-precision map to obtain a target comparison result.
[0161] As can be seen from the foregoing, the environmental perception data includes perceived lane lines and perceived markers, and the local map reference data includes map reference lane lines and map reference markers.
[0162] Therefore, when comparing the environmental perception data with the local map reference data of the high-precision map to obtain a target comparison result, the perceived lane lines and the perceived landmarks can be compared separately to obtain a target comparison result.
[0163] Specifically, for the sensed lane line, the shape and position of the sensed lane line are compared with the map reference lane line to obtain a first target comparison result; the first target comparison result is used to indicate whether the sensed lane line is the first sensed lane line;
[0164] For the perception marker, the type and position of the perception marker are respectively compared with the map reference marker to obtain a second target comparison result; the second target comparison result is used to indicate whether the perception marker is the first perception marker;
[0165] The target comparison result is determined based on the first target comparison result and the second target comparison result.
[0166] Here, for the specific comparison process of comparing the shape and position of the perceived lane line with the map reference lane line, please refer to the comparison process of comparing the shape and position of the first perceived lane line with the map reference lane line described in the aforementioned embodiment, which will not be repeated here.
[0167] For the specific comparison process of comparing the type and position of the perception marker with the map reference marker, please refer to the comparison process of comparing the type and position of the first perception marker with the map reference marker described in the above embodiment, which will not be repeated here.
[0168] Among them, the number of first perceived lane lines can be determined based on the first target comparison result, and then the first accuracy rate can be determined based on the number of first perceived lane lines and the number of map reference lane lines; then the number of first perceived markers can be determined based on the second target comparison result, and then the second accuracy rate can be determined based on the number of first perceived markers and the number of map reference markers; finally, the target comparison result is determined based on the first accuracy rate and the second accuracy rate.
[0169] Under high-precision maps, the expression for determining the target comparison result is shown in formula (1):
[0170] F1=w1*s1+w2*s2 (1)
[0171] Among them, w1+w2=1, F1 is the target comparison result, s1 is the first accuracy, and s2 is the second accuracy.
[0172] Here, a first threshold may be set in advance. If the value of F1 is not less than the first threshold, it is considered that the frame environmental perception data is not the first perception data. If the value of F1 is less than the first threshold, it is considered that the frame environmental perception data is the first perception data.
[0173] (III) comparing the environmental perception data with the local map reference data of the standard map to obtain a target comparison result.
[0174] As can be seen from the foregoing, the local map reference data of the standard map includes the number of map lane lines, and the environmental perception data includes the number of perceived lane lines.
[0175] Therefore, when comparing the environmental perception data with the local map reference data of the standard map to obtain the target comparison result, the number of perceived lane lines can be compared with the number of map lane lines to obtain a third target comparison result; and based on the number of intersections between the perceived lane lines, the fourth target comparison result can be determined; based on the third target comparison result and the fourth target comparison result, the target comparison result is obtained.
[0176] Under the standard map, the expression for determining the target comparison result can be found in formulas (2) to (4):
[0177] s3=1-abs(MN) / N (2)
[0178] Among them, s3 is the third target comparison result, M is the number of perceived lane lines, and N is the number of map lane lines.
[0179] s4=max (1-h*n,0) (3)
[0180] Among them, s4 is the fourth target comparison result, h is the number of intersections between perceived lane lines, and n is a constant, which is generally set to 0.3.
[0181] F2=w3*s3+w4*s4 (4)
[0182] Among them, w3 and w4 are constants, w3+w4=1, and F2 is the target comparison result.
[0183] Here, similar to the previous embodiment, a second threshold can be set in advance. If the value of F2 is not less than the second threshold, it is considered that the frame environmental perception data is not the first perception data. If the value of F2 is less than the second threshold, it is considered that the frame environmental perception data is the first perception data.
[0184] In an embodiment of the present disclosure, if the method for detecting by the above-mentioned perception data detection algorithm is run on a vehicle, the number of frames of environmental perception data to be detected is usually multiple frames, and a portion of the data in these multiple frames may be normal perception data (that is, environmental perception data whose detection results meet the first preset requirements), and the other portion may be first perception data. In order to facilitate the subsequent evaluation of the perception data detection algorithm, the timestamp of the first detection as the first perception data can be used as the start time, and the timestamp of the last detection as the first perception data can be used as the end time. Then, all environmental perception data within the time period formed by the start time and the end time can be used as the first perception data and uploaded to the server.
[0185] It should be noted that there may be normal perception data in the time period formed by the start time and the end time, which can be ignored and can be directly used as the first perception data without being eliminated, thereby improving the efficiency of data uploading.
[0186] 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.
[0187] Based on the same inventive concept, the embodiment of the present disclosure also provides a performance evaluation device for a perceptual data detection algorithm corresponding to the performance evaluation method for the above-mentioned perceptual data detection algorithm. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the performance evaluation method for the above-mentioned perceptual data detection algorithm in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0188] See also Figure 4 , Figure 4 Schematic diagram of a performance evaluation device for a perception data detection algorithm provided by an embodiment of the present disclosure. Figure 4 As shown in , the performance evaluation device 400 of the perception data detection algorithm provided by the embodiment of the present disclosure includes:
[0189] The data acquisition module 410 is used to acquire multiple frames of first perception data, wherein the first perception data refers to the environmental perception data detected based on the perception data detection algorithm, and the detection result does not meet the first preset requirement;
[0190] A data comparison module 420 is used to compare the first perception data with reference data for each frame of the first perception data to obtain a comparison result; the reference data is used to measure whether the first perception data meets a preset condition, and the comparison result is used to indicate a difference between the first perception data and the reference data;
[0191] The performance evaluation module 430 is used to determine the performance index of the perception data detection algorithm based on the comparison results of the first perception data of each frame; the performance index is used to characterize whether the detection performance of the perception data detection algorithm meets the second preset requirement.
[0192] See also Figure 5 , Figure 5 A schematic diagram of another performance evaluation device for a perception data detection algorithm provided by an embodiment of the present disclosure. Figure 5 As shown in , the performance evaluation device of the perception data detection algorithm further includes a model adjustment module 440, and the model adjustment module 440 is used to:
[0193] Based on the performance indicator, the perception data detection algorithm is adjusted to obtain a new perception data detection algorithm, and the target environment perception data is detected based on the new perception data detection algorithm.
[0194] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0195] Corresponding to the above-mentioned performance evaluation method of the perception data detection algorithm, the embodiment of the present disclosure further provides an electronic device 600, such as Figure 6 FIG. 6 is a schematic diagram of the structure of an electronic device 600 provided in an embodiment of the present disclosure, including:
[0196] Processor 610, memory 620, and bus 630. The memory 620 is used to store execution instructions, including internal memory 621 and external memory 622; the internal memory 621 is also called internal memory, which is used to temporarily store the operation data in the processor 610 and the data exchanged with the external memory 622 such as a hard disk. The processor 610 exchanges data with the external memory 622 through the internal memory 621.
[0197] In the embodiment of the present application, the memory 620 is specifically used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 610. That is, when the electronic device 600 is running, the processor 610 communicates with the memory 620 through the bus 630, so that the processor 610 executes the application code stored in the memory 620, and then executes the performance evaluation method of the second perception data detection algorithm described in the above method embodiment.
[0198] Among them, the memory 620 can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0199] The processor 610 may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0200] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 600. In other embodiments of the present application, the electronic device 600 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0201] The present disclosure also 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 performance evaluation method of any perception data detection algorithm described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0202] The embodiments of the present disclosure also provide a computer program product, which includes a computer program. When the computer program is executed, the steps of the performance evaluation method of any one of the perception data detection algorithms described in the above method embodiments are implemented. For details, please refer to the above method embodiments, which will not be repeated here.
[0203] The method in the embodiments of the present disclosure may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM or other programmable device.
[0204] The computer program or instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0205] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and 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 performance evaluation method for a perception data detection algorithm, characterized in that: include: Acquire multiple frames of first perception data, wherein the first perception data refers to environmental perception data detected based on a perception data detection algorithm, and the detection result does not meet the first preset requirement; For each frame of the first perception data, the first perception data is compared with reference data to obtain a comparison result; the reference data is used to measure whether the first perception data meets a preset condition, and the comparison result is used to indicate a difference between the first perception data and the reference data; Based on the comparison results of the first perception data of each frame, a performance indicator of the perception data detection algorithm is determined; the performance indicator is used to characterize whether the detection performance of the perception data detection algorithm meets the second preset requirement.
2. The method according to claim 1, characterized in that For each frame of the first perception data, comparing the first perception data with reference data to obtain a comparison result includes: In the case where the reference data includes user-marked reference data, for each frame of the first perception data, the first perception data is compared with the user-marked reference data to obtain the comparison result; the user-marked reference data is obtained by the user marking the environmental perception data.
3. The method according to claim 2, characterized in that For each frame of the first perception data, comparing the first perception data with the user-marked reference data to obtain the comparison result includes: For each frame of the first perception data, the attribute information of the first perception data is compared with the attribute information of the user-marked reference data to obtain the comparison result; wherein the attribute information includes at least one of category, time and location.
4. The method according to any one of claims 1 to 3, characterized in that: The reference data also includes map reference data; the method also includes: For each frame of the first perception data, the first perception data is compared with the map reference data to obtain the comparison result.
5. The method according to claim 4, characterized in that For each frame of the first perception data, comparing the first perception data with the map reference data to obtain the comparison result includes: For each frame of the first perception data, determining a category of the first perception data; Based on the matching condition corresponding to the category of the first perception data, the first perception data is compared with the map reference data to obtain the comparison result; wherein different categories correspond to different matching conditions.
6. The method according to claim 5, characterized in that The first perception data includes at least one first perception lane line, the category includes a lane line category, the map reference data is map reference data of a high-precision map, and the map reference data includes a map reference lane line; the first perception data is compared with the map reference data based on the matching condition corresponding to the category of the first perception data to obtain the comparison result, including: When the category of the first perception data is the lane line category, for each first perception lane line, the shape and position of the first perception lane line are respectively compared with the map reference lane line to obtain a first sub-comparison result; The comparison result is determined based on the first sub-comparison results of each first sensed lane line.
7. The method according to claim 6, characterized in that For each first sensed lane line, the shape and position of the first sensed lane line and the map reference lane line are compared to obtain a first sub-comparison result, including: For each first sensed lane line, determine position information of the first sensed lane line in a world coordinate system, and determine a target map reference lane line corresponding to the first sensed lane line from the map reference lane lines based on the position information; Sampling the first sensed lane line to obtain a plurality of first sampling points, and sampling at positions in the target map reference lane line that respectively correspond to the plurality of first sampling points to obtain a plurality of second sampling points; The first sub-alignment result is determined based on the distance between each of the first sampling points and the corresponding second sampling point.
8. The method according to any one of claims 5 to 7, characterized in that: The first perception data further includes at least one first perception marker, the category includes a marker category, the map reference data includes map reference data of a high-precision map, and the map reference data includes a map reference marker; The comparing the first perception data with the map reference data based on the matching condition corresponding to the category of the first perception data to obtain the comparison result includes: In the case where the category of the first perception data is the category of the marker, for each first perception marker, the type and position of the first perception marker and the map reference marker are respectively compared to obtain a second sub-comparison result; The alignment result is determined based on the second sub-alignment results of each first sensory marker.
9. The method according to any one of claims 1 to 3, characterized in that: The determining the performance index of the perception data detection algorithm based on the comparison result of the first perception data of each frame includes: Based on the comparison results of the first perception data of each frame, the amount of target perception data is determined, and based on the amount of the target perception data and the amount of the first perception data, the performance indicator is determined; the target perception data refers to the first perception data that meets the preset conditions.
10. The method according to claim 9, characterized in that In the case where the reference data includes the user-labeled reference data, the performance index includes an accuracy index and a recall index; The determining the performance indicator based on the amount of the target perception data and the amount of the first perception data includes: Determining the accuracy index based on the amount of the first perception data and the amount of the target perception data; Determining the recall rate indicator based on the amount of the target perception data and the amount of the user-labeled reference data; The performance indicator is determined based on the accuracy indicator and the recall indicator.
11. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Based on the performance indicator, the perception data detection algorithm is adjusted to obtain a new perception data detection algorithm, and the target environment perception data is detected based on the new perception data detection algorithm.
12. An electronic device, characterized in that: It includes a processor, a memory and a bus, the memory stores 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, a performance evaluation method for a perception data detection algorithm as described in any one of claims 1 to 11 is performed.
13. A computer program product, characterized in that The computer program product stores a computer program, and when the computer program is executed by a processor, the performance evaluation method of the perception data detection algorithm described in any one of claims 1 to 11 is executed.
Citation Information
Patent Citations
Perception performance evaluation method and device, electronic device and storage medium
CN113155173A
Three-dimensional target perception evaluation method and system
CN114859307A
Lane line detection evaluation method and device, equipment and storage medium
CN115620254A
Determination method and device for detection performance of detector, equipment and storage medium
CN117349063A
Millimeter-wave radar calibration method and apparatus, and electronic device and roadside device
WO2022213632A1
