Obstacle filtering method and apparatus, computer device, and storage medium

By obtaining and analyzing the overlap of the obstacle detection frames, the obstacles to be filtered are selected, which solves the safety and stability problems caused by obstacle identification errors in autonomous driving, and achieves more efficient obstacle filtering and driving command accuracy.

WO2025180369A1PCT designated stage Publication Date: 2025-09-04BEIJING CO WHEELS TECH CO LTD

Patent Information

Application Number
PCT/CN2025/079070
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-26
Filing Date
2025-02-25
Publication Date
2025-09-04

AI Technical Summary

Technical Problem

During autonomous driving, obstacle identification errors lead to the issuance of wrong driving instructions, reducing the safety and stability of the driving process. Especially when large obstacle identification errors are wrong, the overlap of the obstacle detection frame and the autonomous driving vehicle detection frame cause wrong braking.

Method used

By obtaining the detection box position information of the target vehicle and candidate obstacles, the degree of overlap is determined, and when the preset overlap level is reached, the candidate obstacle is determined as the obstacle to be filtered, and the initial obstacle is filtered using a bird's-eye view prediction model and a non-maximum suppression algorithm to reduce the amount of data to improve work efficiency.

Benefits of technology

It improves the accuracy of obstacle identification, avoids issuance of wrong driving instructions, and ensures the stability and safety of the autonomous driving process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025079070_04092025_PF_FP_ABST
    Figure CN2025079070_04092025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of autonomous driving, and specifically discloses an obstacle filtering method and apparatus, a computer device, and a storage medium. The method comprises: first, acquiring first position information of a first bounding box corresponding to a target vehicle and second position information of a second bounding box corresponding to each candidate obstacle; then on the basis of the first position information and the second position information, determining the degree of overlap between the first bounding box and the second bounding box; and finally, using a candidate obstacle with the degree of overlap reaching a preset overlap level as an obstacle to be filtered and filtering same. The degree of incorrectness of candidate obstacle recognition is determined by determining the degree of overlap between the first bounding box and the second bounding box, and on the basis, whether the incorrect recognition of the current candidate obstacle would trigger incorrect issuing of a driving instruction is determined; and if the degree of overlap reaches the preset overlap level, the candidate obstacle is determined as an obstacle to be filtered and is filtered, thereby avoiding the incorrect issuing of driving instructions, and ensuring the stability and safety of autonomous driving processes.
Need to check novelty before this filing date? Find Prior Art

Description

Obstacle filtering method, device, computer equipment and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on February 26, 2024, with application number 202410211208.1, and application name “A method, device, computer equipment and storage medium for filtering obstacles”, all contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of autonomous driving technology, and in particular to an obstacle filtering method, device, computer equipment, and storage medium. Background Art

[0004] With the continuous development of internet technology, autonomous driving is gradually becoming part of people's lives. Autonomous driving involves analyzing and calculating identified obstacles during a vehicle's driving process to determine a route, and then providing corresponding driving instructions based on that route.

[0005] Obstacle recognition, which includes identifying the size and location of obstacles, is a crucial step in the autonomous driving process. Errors in obstacle recognition can lead to incorrect driving instructions, causing traffic accidents and reducing driving safety. In particular, when errors occur in identifying large obstacles near the vehicle, the obstacle's detection frame often overlaps with the autonomous vehicle's detection frame, causing the autonomous vehicle to brake incorrectly, reducing driving safety and stability. Summary of the Invention

[0006] In order to solve the above technical problems, the present application provides an obstacle filtering method, device, computer equipment and storage medium.

[0007] In a first aspect, the present application provides an obstacle filtering method, the method comprising:

[0008] Obtain first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame; determine the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information; and determine the candidate obstacle as an obstacle to be filtered when the degree of overlap reaches a preset overlap level.

[0009] In some embodiments of the present application, an obstacle filtering method is provided, which first obtains first position information of a target vehicle corresponding to a first detection frame and second position information of a candidate obstacle corresponding to a second detection frame; then, the degree of overlap between the first detection frame and the second detection frame is determined based on the first position information and the second position information; finally, candidate obstacles whose degree of overlap reaches a preset overlap level are filtered as obstacles to be filtered; in some embodiments of the present application, the degree of error in candidate obstacle identification is determined by determining the degree of overlap between the first detection frame and the second detection frame, and thereby determines whether the erroneous identification of the current candidate obstacle will cause the erroneous issuance of a driving instruction; if the degree of overlap reaches the preset overlap level, the candidate obstacle is determined as an obstacle to be filtered and filtered, thereby avoiding the erroneous issuance of driving instructions, thereby ensuring the stability and safety of the autonomous driving process.

[0010] In some embodiments, obtaining second position information of the candidate obstacle corresponding to the second detection frame includes:

[0011] Obtaining description information corresponding to the initial obstacle, the description information including position information of a detection frame to which the initial obstacle belongs and obstacle attributes corresponding to the initial obstacle; determining whether the initial obstacle meets preset conditions based on the description information, wherein the preset conditions are that the initial obstacle is within a preset range centered on the target vehicle and that the obstacle attributes of the initial obstacle are preset attributes; if the initial obstacle meets the preset conditions, determining the initial obstacle as a candidate obstacle, and obtaining second position information of a second detection frame corresponding to the candidate obstacle from the description information of the initial obstacle.

[0012] In some embodiments, obtaining description information corresponding to the initial obstacle includes:

[0013] Obtain image data at the current moment; input the image data into a pre-built bird's-eye view prediction model and output description information corresponding to the obstacles to be processed; based on the description information corresponding to the obstacles to be processed, use a non-maximum suppression algorithm to post-process the obstacles to be processed to determine the initial obstacles from the obstacles to be processed and obtain the description information corresponding to the initial obstacles.

[0014] The obstacle filtering method provided in some embodiments of the present application uses the NMS algorithm to post-process pending obstacles, removes redundant pending obstacles, and screens out initial obstacles with optimal bounding boxes. This reduces the amount of data to a certain extent, allowing for subsequent rapid screening of candidate obstacles from the initial obstacles, thereby improving work efficiency.

[0015] In some embodiments, determining the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information includes:

[0016] Based on the second position information, determine the center point coordinates of the second detection frame; based on the center point coordinates and the first position information, determine whether the center point coordinates are within the area covered by the first detection frame; and determine the degree of overlap between the first detection frame and the second detection frame based on the judgment result.

[0017] In some embodiments, determining the degree of overlap between the first detection frame and the second detection frame according to the judgment result includes:

[0018] When the center point coordinates are within the area covered by the first detection frame, the degree of overlap is determined to be high overlap; when the center point coordinates are not within the area covered by the first detection frame, based on the first position information and the second position information, the proportion of the overlapping area of ​​the first detection frame and the second detection frame to the corresponding area of ​​the first detection frame is calculated; and the degree of overlap is determined based on the proportion.

[0019] In some embodiments, determining the degree of overlap based on the proportions includes:

[0020] The proportion is compared with a preset proportion threshold; when the proportion is greater than or equal to the preset proportion threshold, the degree of overlap is determined to be moderate overlap; when the proportion is less than the preset proportion threshold, the degree of overlap is determined to be slight overlap.

[0021] The obstacle filtering method provided in some embodiments of the present application first determines the high overlap situation through the coordinates of the center point of the second detection frame, and then determines the moderate overlap and low overlap by the proportion of the overlapping area in the first detection frame. The above method can more accurately divide the degree of overlap to make the final filtering result more accurate.

[0022] In some embodiments, the method further comprises:

[0023] When the degree of overlap is slight, the candidate obstacle is determined as the target obstacle.

[0024] In a second aspect, the present application provides an obstacle filtering device, comprising:

[0025] An acquisition module is configured to obtain first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame. A determination module is configured to determine the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information. A filtering module is configured to determine the candidate obstacle as an obstacle to be filtered when the degree of overlap reaches a preset overlap level.

[0026] In a third aspect, the present application provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the obstacle filtering method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0027] In a fourth aspect, the present application provides a computer non-volatile readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the obstacle filtering method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate some embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0029] In order to more clearly illustrate some embodiments of the present application or technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0030] FIG1 is a flow chart of an obstacle filtering method provided in an embodiment of the present application;

[0031] FIG2 is a flow chart of another obstacle filtering method provided in an embodiment of the present application;

[0032] FIG3 is a flow chart of another obstacle filtering method provided in an embodiment of the present application;

[0033] FIG4 is a structural block diagram of an obstacle filtering device provided in an embodiment of the present application;

[0034] FIG5 is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to more clearly understand the above-mentioned objectives, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that, in the absence of conflict, the embodiments of the present application and the features therein can be combined with each other.

[0036] The following description sets forth many specific details to facilitate a thorough understanding of this application. However, this application may also be implemented in other ways different from those described herein. It is apparent that the embodiments described in this specification are only some of the embodiments of this application, not all of them. All other embodiments derived by those skilled in the art based on some of the embodiments of this application without inventive effort are also within the scope of protection of this application.

[0037] In the field of autonomous driving, safety is the primary concern for users and a key area in which current autonomous driving technology requires further advancement. Safety during autonomous driving is closely related to the accuracy of obstacle recognition. Obstacle recognition here primarily refers to the identification of obstacle location and spatial size. Errors in obstacle recognition can lead to route planning errors, causing the control system to issue driving instructions that are inconsistent with the current situation, potentially causing traffic accidents. Although obstacle recognition technology has matured, errors in recognition are still unavoidable. Sometimes, the identified obstacle differs significantly from the actual situation. Especially when there are large obstacles near the vehicle, the speed often leads to a large overlap between the identified obstacle detection frame and the autonomous vehicle's detection frame. This can cause the autonomous vehicle to brake incorrectly, reducing driving safety and stability. To address the above issues, the present application provides an obstacle filtering method, apparatus, computer device, and storage medium.

[0038] According to some embodiments of the present application, an obstacle filtering method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0039] In some embodiments of the present application, an obstacle filtering method is provided. FIG1 is a flow chart of the obstacle filtering method provided in some embodiments of the present application. As shown in FIG1 , the flow chart includes the following steps:

[0040] Step S101 : obtaining first position information of a target vehicle corresponding to a first detection frame and second position information of a candidate obstacle corresponding to a second detection frame.

[0041] Specifically, the first position information and the second position information can be obtained from the bird's-eye-view (BEV) corresponding to the current moment. The bird's-eye-view is a three-dimensional image based on the vehicle body coordinate system generated according to the information of all obstacles around the vehicle (the vehicle body coordinate system is a three-dimensional coordinate system with the autonomous driving vehicle as the coordinate origin). The bird's-eye-view includes the detection frames corresponding to the autonomous driving vehicle and all obstacles identified at the current moment, as well as the attribute information and position information of each detection frame. The attribute information is the attribute of the obstacle, such as the attribute information can be a truck, a van, a tree, a person, etc. The position information is the relevant information used to identify the position of the detection frame, such as the position information can be the coordinates of each vertex of the detection frame, the coordinates of the center point of the detection frame, and the side length information of each side of the detection frame.

[0042] Specifically, upon receiving an acquisition instruction, the first position information of the target vehicle corresponding to the first detection frame and the second position information of the candidate obstacle corresponding to the second detection frame in the BEV image can be acquired. It should be noted that the target vehicle is the autonomous vehicle, and the candidate obstacle is an obstacle in the BEV image that meets a preset condition. The preset condition is the position information of an obstacle that is likely to cause the autonomous vehicle to issue an erroneous driving instruction. For example, it can be an obstacle with attribute M within x meters in front of the target vehicle. The candidate obstacle can be one or more. The preset conditions for screening candidate obstacles are not specifically limited here, and those skilled in the art can set them according to actual needs.

[0043] Step S102 : determining the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information.

[0044] Specifically, the degree of overlap indicates the degree of error in obstacle identification. A higher degree of overlap indicates a greater discrepancy between the identified obstacle and the actual situation, making it more likely that an erroneous driving instruction will be issued. Conversely, a lower degree of overlap indicates a smaller discrepancy between the identified obstacle and the actual situation, reducing the probability of an erroneous driving instruction being issued. There are various ways to determine the degree of overlap based on the first and second position information, which are not specifically limited here. Persons skilled in the art may choose any feasible method.

[0045] For example, in some embodiments of the present application, the relative positional relationship between the first detection frame and the second detection frame can be determined based on the first position information and the second position information, and the degree of overlap between the first detection frame and the second detection frame can be determined based on the relative positional relationship between the two. The relative positional relationship can be measured by whether the center point of the second detection frame is within the first detection frame.

[0046] For example, in some embodiments of the present application, the overlapping area between the first detection frame and the second detection frame can be determined based on the first position information and the second position information; and the degree of overlap can be determined based on the proportion of the overlapping area in the area where the first detection frame is located.

[0047] Step S103: When the degree of overlap reaches a preset overlap level, the candidate obstacle is determined as an obstacle to be filtered.

[0048] Specifically, the preset overlap level is the lowest level that is likely to cause the incorrect issuance of driving instructions. In some embodiments of the present application, the degree of overlap may include slight overlap, moderate overlap, and high overlap, and the preset overlap level may be moderate overlap. That is, when the degree of overlap is moderate overlap or high overlap, it means that the current candidate obstacle differs significantly from the actual situation, which may easily lead to the incorrect issuance of driving instructions. In this case, the candidate obstacle is determined as an obstacle to be filtered, and the obstacle to be filtered is filtered out, that is, the second detection frame corresponding to the obstacle to be filtered and related information are deleted from the bird's-eye view. When the degree of overlap is slight overlap, it means that the current candidate obstacle differs slightly from the actual situation and the error is within an acceptable range. In this case, the candidate obstacle can be determined as a target obstacle and the target obstacle can be retained.

[0049] In some embodiments of the present application, an obstacle filtering method is provided, which first obtains first position information of a target vehicle corresponding to a first detection frame and second position information of a candidate obstacle corresponding to a second detection frame; then, the degree of overlap between the first detection frame and the second detection frame is determined based on the first position information and the second position information; finally, candidate obstacles whose degree of overlap reaches a preset overlap level are filtered as obstacles to be filtered; in some embodiments of the present application, the degree of error in candidate obstacle identification is determined by determining the degree of overlap between the first detection frame and the second detection frame, and thereby determines whether the erroneous identification of the current candidate obstacle will cause the erroneous issuance of a driving instruction; if the degree of overlap reaches the preset overlap level, the candidate obstacle is determined as an obstacle to be filtered and filtered, thereby avoiding the erroneous issuance of driving instructions, thereby ensuring the stability and safety of the autonomous driving process.

[0050] In some embodiments of the present application, as shown in FIG2 , obtaining the second position information of the candidate obstacle corresponding to the second detection frame in step S101 includes the following steps:

[0051] Step S1011: Obtain description information corresponding to the initial obstacle.

[0052] Specifically, the description information includes the position information of the detection frame corresponding to the initial obstacle and the obstacle attributes corresponding to the initial obstacle. For detailed description of the position information and obstacle attributes, please refer to step S101 of the embodiment shown in Figure 1, which will not be repeated here.

[0053] In some embodiments, the above step S1011 includes:

[0054] Step a1: Acquire image data at the current moment.

[0055] Specifically, the image data at the current moment is the image collected by various cameras installed around the autonomous driving vehicle at the current moment.

[0056] Step a2: input the image data into the pre-built bird's-eye view prediction model and output the description information corresponding to the obstacle to be processed.

[0057] Specifically, the image data is input into the bird's-eye view prediction model, which extracts and analyzes the image data to generate a bird's-eye view. The model then outputs the descriptions of all obstacles in the bird's-eye view (i.e., obstacles to be processed) for post-processing based on the output descriptions. It should be noted that since the image data is collected while the vehicle is in motion, especially at high speeds, it is easy for one obstacle to be identified as multiple during the obstacle recognition process. Therefore, the number of obstacles in the bird's-eye view (i.e., obstacles to be processed) is often greater than the actual number of obstacles.

[0058] In step a3, based on the description information corresponding to the obstacles to be processed, the obstacles to be processed are post-processed using a non-maximum suppression algorithm to determine an initial obstacle from the obstacles to be processed and obtain the description information corresponding to the initial obstacle.

[0059] Specifically, the Non-Maximum Suppression (NMS) algorithm is a technology used for target detection, which aims to select the best bounding box from a set of overlapping boxes. Some embodiments of the present application use the NMS algorithm to post-process the obstacles to be processed based on the description information of the detection box corresponding to the obstacle to be processed, so as to filter out the initial obstacles from the obstacles to be processed. For example, obstacle A in the actual environment is identified as three obstacles A1, A2, and A3 to be processed in the bird's-eye view. After post-processing with the NMS algorithm, A3 is filtered out as the obstacle corresponding to the best bounding box, and A3 is determined as the initial obstacle. It should be emphasized that after post-processing, the number of initial obstacles obtained is less than the number of obstacles to be processed, and is greater than or equal to the number of actual obstacles.

[0060] The obstacle filtering method provided in some embodiments of the present application uses the NMS algorithm to post-process pending obstacles, removes redundant pending obstacles, and screens out initial obstacles with optimal bounding boxes. This reduces the amount of data to a certain extent, allowing for subsequent rapid screening of candidate obstacles from the initial obstacles, thereby improving work efficiency.

[0061] Step S1012: Based on the description information, determine whether the initial obstacle meets the preset conditions.

[0062] Specifically, the preset condition is that the initial obstacle is within a preset range centered on the target vehicle and the obstacle attribute of the initial obstacle is a preset attribute. For example, the preset condition is that the obstacle is within a range of 1 meter from the target vehicle and the obstacle is a truck.

[0063] Step S1013 : When the initial obstacle meets a preset condition, the initial obstacle is determined as a candidate obstacle, and second position information of the candidate obstacle corresponding to the second detection frame is obtained from the description information of the initial obstacle.

[0064] In some embodiments of the present application, an obstacle filtering method is provided. FIG3 is a flow chart of the obstacle filtering method in some embodiments of the present application. As shown in FIG3 , the flow chart includes the following steps:

[0065] Step S301: Obtain first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame. For details, please refer to step S101 of the embodiment shown in Figure 1 and all steps of the embodiment shown in Figure 2, which will not be repeated here.

[0066] Step S302 : determining the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information.

[0067] Specifically, the above step S302 includes:

[0068] Step S3021: Determine the center point coordinates of the second detection frame according to the second position information.

[0069] Specifically, when the second position information is the coordinates of each vertex of the second detection frame, the coordinates of the center point of the second detection frame are determined based on the coordinates of each vertex.

[0070] Step S3022: Based on the center point coordinates and the first position information, determine whether the center point coordinates are within the area covered by the first detection frame.

[0071] Specifically, first, the area covered by the first detection frame is determined according to the first position information, and then it is determined whether the coordinates of the center point are within the area covered by the first detection frame.

[0072] Step S3023: Determine the degree of overlap between the first detection frame and the second detection frame according to the judgment result.

[0073] In some embodiments, step S3023 includes:

[0074] Step b1: When the center point coordinates are within the area covered by the first detection frame, the degree of overlap is determined to be high overlap.

[0075] Step b2: When the center point coordinates are not within the area covered by the first detection frame, based on the first position information and the second position information, calculate the proportion of the overlapping area of ​​the first detection frame and the second detection frame in the corresponding area of ​​the first detection frame.

[0076] Specifically, when the coordinates of the center point are not within the coverage range of the first detection frame, the coverage area of ​​the first detection frame is first determined based on the first position information, and the coverage area of ​​the second detection frame is determined based on the second position information; then, the overlapping area of ​​the first detection frame and the second detection frame is determined based on the coverage area of ​​the first detection frame and the coverage area of ​​the second detection frame; finally, the proportion of the overlapping area to the coverage area of ​​the first detection frame (i.e., the proportion) is calculated.

[0077] Step b3: Determine the degree of overlap based on the proportion.

[0078] Specifically, the ratio is compared with a preset ratio threshold. If the ratio is greater than or equal to the preset ratio threshold, the overlap is determined to be moderate; if the ratio is less than the preset ratio threshold, the overlap is determined to be slight. The preset ratio threshold is the maximum acceptable ratio that does not cause erroneous driving instructions while ensuring safe driving.

[0079] In step S303, when the degree of overlap reaches a preset overlap level, the candidate obstacle is determined as an obstacle to be filtered. For details, please refer to step S103 of the embodiment shown in FIG1 , which will not be described in detail here.

[0080] Some embodiments of the present application provide an obstacle filtering method that first determines the high overlap situation through the coordinates of the center point of the second detection frame, and then determines the moderate overlap and low overlap through the proportion of the overlapping area in the first detection frame. The above method can more accurately divide the degree of overlap to make the final filtering result more accurate.

[0081] In some embodiments of the present application, a method for filtering obstacles is provided, and the process includes the following steps:

[0082] Step S11 , obtaining first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame.

[0083] Specifically, step S11 may include the following steps:

[0084] Step S111 : obtaining description information corresponding to the initial obstacle, where the description information includes the position information of the detection frame to which the initial obstacle belongs and the obstacle attributes corresponding to the initial obstacle.

[0085] In step S112 , based on the description information, it is determined whether the initial obstacle meets a preset condition. The preset condition is that the initial obstacle is within a preset range centered on the target vehicle and the obstacle attribute of the initial obstacle is a preset attribute.

[0086] Step S113 : When the initial obstacle meets the preset conditions, the initial obstacle is determined as a candidate obstacle, and second position information of the candidate obstacle corresponding to the second detection frame is obtained from the description information of the initial obstacle.

[0087] Step S12: determining the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information.

[0088] Step S13: When the degree of overlap reaches a preset overlap level, the candidate obstacle is determined as an obstacle to be filtered.

[0089] In some embodiments of the present application, a method for filtering obstacles is provided, and the process includes the following steps:

[0090] Step S21 , obtaining first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame.

[0091] Specifically, step S21 may include the following steps:

[0092] Step S211 : obtaining description information corresponding to the initial obstacle, where the description information includes the position information of the detection frame to which the initial obstacle belongs and the obstacle attributes corresponding to the initial obstacle.

[0093] In step S212 , based on the description information, it is determined whether the initial obstacle meets a preset condition. The preset condition is that the initial obstacle is within a preset range centered on the target vehicle and the obstacle attribute of the initial obstacle is a preset attribute.

[0094] Step S213 : When the initial obstacle meets the preset conditions, the initial obstacle is determined as a candidate obstacle, and second position information of the candidate obstacle corresponding to the second detection frame is obtained from the description information of the initial obstacle.

[0095] Specifically, step S211 may include the following steps:

[0096] Step S2111, obtaining image data at the current moment.

[0097] Step S2112: input the image data into a pre-built bird's-eye view prediction model, and output the description information corresponding to the obstacle to be processed.

[0098] In step S2113 , based on the description information corresponding to the obstacles to be processed, the obstacles to be processed are post-processed using a non-maximum suppression algorithm to determine an initial obstacle from the obstacles to be processed and obtain the description information corresponding to the initial obstacle.

[0099] Step S22: determining the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information.

[0100] Step S23: When the degree of overlap reaches a preset overlap level, the candidate obstacle is determined as an obstacle to be filtered.

[0101] In some embodiments of the present application, a method for filtering obstacles is provided, and the process includes the following steps:

[0102] Step S31 : obtaining first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame.

[0103] Specifically, step S31 may include the following steps:

[0104] Step S311: Obtain description information corresponding to the initial obstacle. The description information includes the position information of the detection frame to which the initial obstacle belongs and the obstacle attributes corresponding to the initial obstacle.

[0105] In step S312 , based on the description information, it is determined whether the initial obstacle meets a preset condition. The preset condition is that the initial obstacle is within a preset range centered on the target vehicle and the obstacle attribute of the initial obstacle is a preset attribute.

[0106] Step S313 : When the initial obstacle meets the preset conditions, the initial obstacle is determined as a candidate obstacle, and second position information of the candidate obstacle corresponding to the second detection frame is obtained from the description information of the initial obstacle.

[0107] Specifically, step S311 may include the following steps:

[0108] Step S3111, obtaining image data at the current moment.

[0109] Step S3112: input the image data into a pre-built bird's-eye view prediction model, and output the description information corresponding to the obstacle to be processed.

[0110] Step S3113 : Based on the description information corresponding to the obstacles to be processed, the obstacles to be processed are post-processed using a non-maximum suppression algorithm to determine an initial obstacle from the obstacles to be processed and obtain the description information corresponding to the initial obstacle.

[0111] Step S32: determining the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information.

[0112] Specifically, step S32 may include the following steps:

[0113] Step S321: Determine the center point coordinates of the second detection frame according to the second position information.

[0114] Step S322: Based on the center point coordinates and the first position information, determine whether the center point coordinates are within the area covered by the first detection frame.

[0115] Step S323 : determining the degree of overlap between the first detection frame and the second detection frame according to the judgment result.

[0116] Specifically, step S323 may include the following steps:

[0117] Step S3231: When the center point coordinates are within the area covered by the first detection frame, the degree of overlap is determined to be high overlap.

[0118] Step S3232: When the center point coordinates are not within the area covered by the first detection frame, the proportion of the overlapping area of ​​the first detection frame and the second detection frame in the corresponding area of ​​the first detection frame is calculated based on the first position information and the second position information.

[0119] Step S3232: Determine the degree of overlap based on the proportion.

[0120] Specifically, step S3232 may include the following steps:

[0121] Step S32321, compare the proportion with a preset proportion threshold.

[0122] Step S32322: When the proportion is greater than or equal to the preset proportion threshold, the degree of overlap is determined to be moderate overlap.

[0123] Step S32323: When the proportion is less than the preset proportion threshold, the degree of overlap is determined to be slight overlap.

[0124] Step S33: When the degree of overlap reaches a preset overlap level, the candidate obstacle is determined as an obstacle to be filtered.

[0125] In some embodiments of the present application, a method for filtering obstacles is provided, and the process includes the following steps:

[0126] Step S41 , obtaining first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame.

[0127] Step S42: determining the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information.

[0128] Specifically, step S42 may include the following steps:

[0129] Step S421: Determine the center point coordinates of the second detection frame according to the second position information.

[0130] Step S422: Based on the center point coordinates and the first position information, determine whether the center point coordinates are within the area covered by the first detection frame.

[0131] Step S423 : determining the degree of overlap between the first detection frame and the second detection frame according to the judgment result.

[0132] Specifically, step S423 may include the following steps:

[0133] Step S4231: When the center point coordinates are within the area covered by the first detection frame, the degree of overlap is determined to be high overlap.

[0134] Step S4232: When the center point coordinates are not within the area covered by the first detection frame, the proportion of the overlapping area of ​​the first detection frame and the second detection frame in the corresponding area of ​​the first detection frame is calculated based on the first position information and the second position information.

[0135] Step S4233: Determine the degree of overlap based on the proportion.

[0136] Specifically, step S4233 may include the following steps:

[0137] Step S42331, compare the proportion with a preset proportion threshold.

[0138] Step S42332: When the proportion is greater than or equal to the preset proportion threshold, the degree of overlap is determined to be moderate overlap.

[0139] Step S42333: When the proportion is less than the preset proportion threshold, the degree of overlap is determined to be slight overlap.

[0140] Step S43: When the degree of overlap reaches a preset overlap level, the candidate obstacle is determined as an obstacle to be filtered.

[0141] In some embodiments of the present application, an obstacle filtering device is also provided. This device is used to implement some embodiments of the present application, and the details that have been described will not be repeated here. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0142] Some embodiments of the present application provide an obstacle filtering device, as shown in FIG4 , comprising:

[0143] The acquisition module 401 is used to acquire first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame.

[0144] The determination module 402 is configured to determine the degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information.

[0145] The filtering module 403 is configured to determine the candidate obstacle as an obstacle to be filtered when the degree of overlap reaches a preset overlap level.

[0146] In some embodiments, the acquisition module 401 includes:

[0147] The acquisition submodule is configured to obtain descriptive information corresponding to the initial obstacle, including positional information of a detection frame to which the initial obstacle belongs and obstacle attributes corresponding to the initial obstacle. The first judgment submodule is configured to determine, based on the descriptive information, whether the initial obstacle meets preset conditions, where the preset conditions are that the initial obstacle is within a preset range centered on the target vehicle and that the obstacle attributes of the initial obstacle are preset attributes. The first determination submodule is configured to determine the initial obstacle as a candidate obstacle when the preset conditions are met, and to obtain second positional information of a second detection frame corresponding to the candidate obstacle from the descriptive information of the initial obstacle.

[0148] In some embodiments, the acquisition submodule includes:

[0149] The acquisition unit is used to acquire image data at the current moment; input the image data into a pre-built bird's-eye view prediction model and output descriptive information corresponding to the obstacle to be processed; and the post-processing unit is used to post-process the obstacle to be processed using a non-maximum suppression algorithm based on the descriptive information corresponding to the obstacle to be processed, so as to determine the initial obstacle from the obstacles to be processed and obtain the descriptive information corresponding to the initial obstacle.

[0150] In some embodiments, the determination module 402 includes:

[0151] The second determination submodule is used to determine the center point coordinates of the second detection frame based on the second position information; the second judgment submodule is used to judge whether the center point coordinates are within the area covered by the first detection frame based on the center point coordinates and the first position information; the third determination submodule is used to determine the degree of overlap between the first detection frame and the second detection frame based on the judgment result.

[0152] In some embodiments, the third determining submodule includes:

[0153] The first determination unit is used to determine the degree of overlap as high overlap when the center point coordinates are within the area covered by the first detection frame; the calculation unit is used to calculate the proportion of the overlapping area of ​​the first detection frame and the second detection frame to the corresponding area of ​​the first detection frame based on the first position information and the second position information when the center point coordinates are not within the area covered by the first detection frame; the second determination unit is used to determine the degree of overlap based on the proportion.

[0154] In some embodiments, the second determining unit includes:

[0155] A comparison subunit is used to compare the proportion with a preset proportion threshold; a first determination subunit is used to determine the degree of overlap as moderate overlap when the proportion is greater than or equal to the preset proportion threshold; and a second determination subunit is used to determine the degree of overlap as slight overlap when the proportion is less than the preset proportion threshold.

[0156] In some embodiments, the apparatus further comprises:

[0157] The retention module is used to determine the candidate obstacle as the target obstacle when the overlap degree is slight.

[0158] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0159] The obstacle filtering device in some embodiments of the present application is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0160] Some embodiments of the present application further provide a computer device having the obstacle filtering device shown in FIG. 4 above.

[0161] Please refer to Figure 5, which is a structural diagram of a computer device provided in some embodiments of the present application. As shown in Figure 5, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 takes a processor 10 as an example.

[0162] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0163] The memory 20 stores instructions that can be executed by at least one processor 10, so as to enable at least one processor 10 to execute the method shown in the above embodiment.

[0164] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0165] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0166] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0167] In some embodiments of the present application, a computer non-volatile readable storage medium is also provided. The above-mentioned methods according to some embodiments of the present application can be implemented in hardware, firmware, or can be implemented as computer code that can be recorded in a storage medium, or can be implemented as computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the methods described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0168] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.

[0169] The above are merely some examples of the present application, intended to enable those skilled in the art to understand or implement the present application. Various modifications to these examples will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to these examples, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An obstacle filtering method, characterized in that: The method comprises: Obtain first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame; determining, based on the first position information and the second position information, a degree of overlap between the first detection frame and the second detection frame; When the degree of overlap reaches a preset overlap level, the candidate obstacle is determined as an obstacle to be filtered.

2. The obstacle filtering method according to claim 1, characterized in that: Obtaining the second position information of the candidate obstacle corresponding to the second detection frame includes: Obtaining description information corresponding to the initial obstacle, the description information including position information of the detection frame to which the initial obstacle belongs and obstacle attributes corresponding to the initial obstacle; Based on the description information, determining whether the initial obstacle meets a preset condition, wherein the preset condition is that the initial obstacle is within a preset range centered on the target vehicle and the obstacle attribute of the initial obstacle is a preset attribute; When the initial obstacle meets the preset condition, the initial obstacle is determined as the candidate obstacle, and second position information of the candidate obstacle corresponding to the second detection frame is obtained from the description information of the initial obstacle.

3. The obstacle filtering method according to claim 2, characterized in that: The obtaining of description information corresponding to the initial obstacle includes: Get the image data at the current moment; Input the image data into a pre-built bird's-eye view prediction model and output description information corresponding to the obstacle to be processed; Based on the description information corresponding to the obstacles to be processed, the obstacles to be processed are post-processed using a non-maximum suppression algorithm to determine the initial obstacle from the obstacles to be processed and obtain the description information corresponding to the initial obstacle.

4. The obstacle filtering method according to any one of claims 1 to 3, characterized in that: The determining, based on the first position information and the second position information, a degree of overlap between the first detection frame and the second detection frame includes: Determining the center coordinates of the second detection frame according to the second position information; Based on the center point coordinates and the first position information, determining whether the center point coordinates are within an area covered by the first detection frame; The degree of overlap between the first detection frame and the second detection frame is determined according to the judgment result.

5. The obstacle filtering method according to claim 4, characterized in that: The determining, according to the judgment result, the degree of overlap between the first detection frame and the second detection frame includes: When the center point coordinates are within the area covered by the first detection frame, determining the degree of overlap as high overlap; When the center point coordinates are not within the area covered by the first detection frame, calculating, based on the first position information and the second position information, a proportion of the overlapping area of ​​the first detection frame and the second detection frame in the area corresponding to the first detection frame; The degree of overlap is determined based on the proportion.

6. The obstacle filtering method according to claim 5, characterized in that: The determining the degree of overlap based on the proportion includes: Comparing the proportion with a preset proportion threshold; When the proportion is greater than or equal to the preset proportion threshold, the degree of overlap is determined to be moderate overlap; When the proportion is less than the preset proportion threshold, the overlap degree is determined to be slight overlap.

7. The obstacle filtering method according to claim 1, characterized in that: The method further comprises: When the degree of overlap is slight, the candidate obstacle is determined as a target obstacle.

8. An obstacle filtering device, characterized in that: The device comprises: An acquisition module, configured to acquire first position information of the target vehicle corresponding to the first detection frame and second position information of the candidate obstacle corresponding to the second detection frame; a determination module, configured to determine a degree of overlap between the first detection frame and the second detection frame based on the first position information and the second position information; The filtering module is configured to determine the candidate obstacle as an obstacle to be filtered when the degree of overlap reaches a preset overlap level.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the obstacle filtering method according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable non-volatile storage medium, characterized in that: The computer non-volatile readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the obstacle filtering method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Obstacle positioning method and device and terminal

    CN109633662A

  • Target detection method and related device

    CN113297881A

  • Vehicle collision detection method and device and computer readable storage medium

    CN113968216A

  • Detection frame filtering method and device, vehicle, equipment and computer storage medium

    CN115690725A

  • Obstacle false detection identification method and device, electronic equipment and medium

    CN115861965A

Cited By

  • High-performance telescopic electric side pedal control method and device

    CN121269040A