Target detection method, apparatus, electronic device and storage medium

By calculating the intersection point of the obstacle and the ray and forming an envelope, the effectiveness of the obstacle is determined, which solves the problem of low obstacle detection accuracy in the existing technology, improves the detection accuracy and reduces the risk of false braking.

WO2024188254A1PCT designated stage expired Publication Date: 2024-09-19BEIJING CO WHEELS TECH CO LTD

Patent Information

Application Number
PCT/CN2024/081326
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-16
Filing Date
2024-03-13
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Existing obstacle detection methods have low detection accuracy in the presence of occlusion, resulting in incorrect obstacle attribute detection and status detection, which may lead to problems such as incorrect vehicle braking.

Method used

By obtaining the sensing data collected by the sensing device, the ray intersection point between the obstacle and the target area is calculated to form the obstacle envelope, and the effectiveness of the obstacle is determined based on the occlusion ratio, and invalid obstacles that are seriously blocked are screened out, and the output is valid Obstacle detection results.

Benefits of technology

It improves the accuracy of obstacle detection, reduces the probability of wrong decisions in subsequent application scenarios, ensures safety and improves the user's driving experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024081326_19092024_PF_FP_ABST
    Figure CN2024081326_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A target detection method, an apparatus (700), an electronic device (800), a storage medium, a computer program product, and a computer program. The target detection method comprises: acquiring sensing data collected by a sensing apparatus, and performing obstacle recognition processing on the sensing data to obtain target information of each obstacle (S210); according to the target information, calculating a first intersection point of each obstacle and each ray in a target area (S220), the target area being an area constructed by emitting a plurality of rays by using the sensing apparatus as a central starting point; according to the first intersection point of each obstacle, forming an obstacle envelope centered on the sensing apparatus (S230); and calculating the occlusion proportion of the obstacles according to the obstacle envelope and the first intersection points, determining the effectiveness of the obstacles on the basis of a relationship between the occlusion proportion and a first preset proportion, and obtaining an obstacle detection result comprising effective obstacles (S240).
Need to check novelty before this filing date? Find Prior Art

Description

Target detection method, device, electronic device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310271917.4 filed in China on March 16, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of computer technology, and in particular to a target detection method, device, electronic device, storage medium, computer program product, and computer program. Background Art

[0004] Currently, most obstacle detection methods use sensing devices to collect sensing data, and then rely on the sensing data to detect obstacles and identify the corresponding obstacles. However, as the number of obstacles around the sensing device increases, the sensing device cannot directly collect sensing data for obstacles blocked by other obstacles, resulting in relatively low detection accuracy.

[0005] For example, object detection methods based on Bird's Eye View (BEV) perception have low detection accuracy for obstacles that are obstructed. From the BEV's perspective, if an obstacle is behind other obstacles, it can be determined to be obstructed. This prevents the BEV method from accurately detecting a large amount of information about the obstacle, resulting in erroneous obstacle attribute and status detection results. This can lead to problems in subsequent application scenarios, such as incorrect vehicle decisions such as braking errors. Therefore, accurately detecting obstacles has become a pressing issue.

[0006] Polar coordinate systems are also commonly used in existing recognition processes, and a brief introduction is provided here. Polar coordinate systems: Take a fixed point O in a plane, called the pole, draw a ray Ox, called the polar axis, and then select a unit of length and a positive angle direction (usually counterclockwise). For any point M in the plane, ρ represents the length of the line segment OM (sometimes also r), and θ represents the angle from Ox to OM. ρ is called the polar diameter of point M, and θ is called the polar angle of point M. The ordered pair (ρ, θ) is called the polar coordinates of point M. The coordinate system established in this way is called a polar coordinate system.

[0007] Summary of the Invention

[0008] In order to solve the above technical problems, the embodiments of the present disclosure provide a target detection method, device, electronic device, storage medium, computer program product and computer program, which can improve the accuracy of obstacle detection and reduce the probability of problems occurring in subsequent application scenarios to a certain extent.

[0009] In a first aspect, an embodiment of the present disclosure provides a target detection method, comprising:

[0010] Acquire sensing data collected by the sensing device, and perform obstacle recognition processing on the sensing data to obtain target information of each obstacle;

[0011] Calculating, based on the target information, a first intersection point of each obstacle with each ray in a target area, wherein the target area is an area constructed by emitting multiple rays with the sensing device as the center starting point;

[0012] forming an obstacle envelope centered at the sensing device based on the first intersection points of the obstacles; and

[0013] An occlusion ratio of the obstacle is calculated according to the obstacle envelope and the first intersection point, validity of the obstacle is determined based on a relationship between the occlusion ratio and a first preset ratio, and an obstacle detection result including valid obstacles is obtained.

[0014] In some embodiments, the target information includes edge information.

[0015] In some embodiments, calculating the first intersection point of each obstacle and each ray in the target area according to the target information includes:

[0016] In a polar coordinate system, taking the sensing device as the center starting point, emitting rays at preset angle intervals to construct a target area; and

[0017] The first intersection point of each obstacle edge and each ray in the target area is calculated according to the edge information.

[0018] In some embodiments, forming an obstacle envelope centered on the sensing device based on the first intersection points of the obstacles includes:

[0019] sorting the first intersection points on each ray in the target area respectively, and obtaining the second intersection point on each ray that is closest to the sensing device; and

[0020] The second intersection points on each ray are sequentially connected to form an obstacle envelope centered on the sensing device.

[0021] In some embodiments, the target information includes size information.

[0022] In some embodiments, before sequentially connecting the second intersection points on each ray to form an obstacle envelope centered on the sensing device, the method includes:

[0023] In response to a target obstacle having size information smaller than a preset size among the obstacles corresponding to the second intersection point, determining a target ray where the second intersection point corresponding to the target obstacle is located;

[0024] Determining a first intersection point on the target ray excluding all intersection points between the target obstacle and the target ray; and

[0025] The second intersection points on the rays other than the target ray and the first first intersection point are sequentially connected to form an obstacle envelope centered on the sensing device.

[0026] In some embodiments, in response to the presence of a target obstacle having size information smaller than a preset size among the obstacles corresponding to the second intersection point, the method further includes:

[0027] Setting the attribute of the target obstacle to a penetrable attribute, wherein the penetrable attribute means that the target obstacle does not block other obstacles; and

[0028] The target obstacle is determined to be a valid obstacle according to the penetrable attribute.

[0029] In some embodiments, calculating the occlusion ratio of the obstacle based on the obstacle envelope and the first intersection point, determining the validity of the obstacle based on a relationship between the occlusion ratio and a first preset ratio, and obtaining an obstacle detection result including a valid obstacle includes:

[0030] Calculate the occlusion ratio of the obstacle according to the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located;

[0031] In response to the acquired attribute of the obstacle not being a penetrable attribute and the blocking ratio being less than a first preset ratio, determining the obstacle as a valid obstacle; and

[0032] Generate obstacle detection information based on the target information of all valid obstacles.

[0033] In some embodiments, calculating the occlusion ratio of the obstacle based on the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located includes:

[0034] Calculating the visible ratio of the obstacle according to the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located; and

[0035] The blocking ratio of the obstacle is obtained based on the difference between the second preset ratio and the visible ratio.

[0036] In a second aspect, an embodiment of the present disclosure provides a target detection device, comprising:

[0037] An acquisition module is used to acquire sensing data collected by the sensing device and perform obstacle recognition processing on the sensing data to obtain target information of each obstacle;

[0038] a calculation module, configured to calculate, based on the target information, a first intersection point between each obstacle and each ray in a target area, wherein the target area is an area constructed by emitting multiple rays with the sensing device as a center starting point;

[0039] a forming module, configured to form an obstacle envelope centered on the sensing device based on the first intersection points of the obstacles; and

[0040] A generation module is configured to calculate an occlusion ratio of the obstacle based on the obstacle envelope and the first intersection point, determine the validity of the obstacle based on a relationship between the occlusion ratio and a first preset ratio, and obtain an obstacle detection result including valid obstacles.

[0041] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0042] Memory;

[0043] processor; and

[0044] computer programs;

[0045] The computer program is stored in a memory and is configured to be executed by a processor to implement the target detection method as described in any embodiment of the first aspect above.

[0046] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the target detection method of any embodiment of the first aspect described above are implemented.

[0047] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the target detection method of any embodiment of the first aspect above.

[0048] In a sixth aspect, an embodiment of the present disclosure provides a computer program, comprising computer program code, which, when executed on a computer, enables the computer to execute a target detection method as described in any one of the embodiments of the first aspect above.

[0049] The embodiments of the present disclosure provide a target detection method, comprising: obtaining sensing data collected by a sensing device, and performing obstacle recognition processing on the sensing data to obtain target information of each obstacle; calculating the first intersection point of each obstacle with each ray in a target area based on the target information, wherein the target area is an area constructed by emitting multiple rays with the sensing device as the starting point; forming an obstacle envelope with the sensing device as the center based on the first intersection points of each obstacle; and calculating the occlusion ratio of the obstacle based on the obstacle envelope and the first intersection points, determining the validity of the obstacle based on the relationship between the occlusion ratio and a first preset ratio, and obtaining an obstacle detection result including valid obstacles. The method provided by the embodiments of the present disclosure can screen out invalid obstacles that are easily erroneous in detection results due to severe occlusion, output a detection result including valid obstacles, improve detection accuracy, and to a certain extent reduce problems that may arise in subsequent application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

[0052] FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0053] FIG2 is a flow chart of a target detection method provided by an embodiment of the present disclosure;

[0054] FIG3 is a schematic diagram of a target area provided by an embodiment of the present disclosure;

[0055] FIG4 is a flow chart of a target detection method provided by an embodiment of the present disclosure;

[0056] FIG5 is a schematic diagram of an obstacle envelope provided by an embodiment of the present disclosure;

[0057] FIG6 is a flow chart of a target detection method provided by an embodiment of the present disclosure;

[0058] FIG7 is a schematic structural diagram of a target detection device provided by an embodiment of the present disclosure;

[0059] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

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

[0061] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0062] To address the above technical issues, the first embodiment of the present disclosure provides a target detection method. From the perspective of a BEV, this method calculates the envelope formed by obstacles and the occlusion ratio of each obstacle. It then filters out invalid obstacles detected by the perception algorithm that could cause false braking, outputting detection results containing valid obstacles. This improves detection accuracy and, to a certain extent, reduces the likelihood of incorrect vehicle decisions due to detection results containing invalid obstacles, thereby lowering the probability of safety issues in subsequent application scenarios and improving the user's driving experience while ensuring safety. This is explained in detail through one or more of the following embodiments.

[0063] Specifically, the object detection method provided in the first embodiment of the present disclosure can be performed by a vehicle or a server. In some embodiments, as shown in FIG1 , vehicle 11 transmits sensing data collected by a sensing device to server 12 . Server 12 then determines the effectiveness of obstacles based on the acquired sensing data, obtains a detection result including valid obstacle target information, and returns the detection result to vehicle 11 . Vehicle 11 then makes control decisions based on the detection result.

[0064] In another application scenario, the vehicle 11 determines the effectiveness of obstacles based on the sensing data collected by the sensing device, obtains a detection result including effective obstacle target information, and makes control decisions based on the detection result.

[0065] It is understandable that the target detection method provided by the embodiment of the first aspect of the present disclosure is not limited to the several possible scenarios described above.

[0066] FIG2 is a flow chart of a target detection method provided in an embodiment of the first aspect of the present disclosure, which is applied to the above-mentioned vehicle 11 and specifically includes the following steps S210 to S240 as shown in FIG2 .

[0067] S210: Acquire sensing data collected by the sensing device, and perform obstacle recognition processing on the sensing data to obtain target information of each obstacle.

[0068] The target information includes edge information and size information.

[0069] It is understood that the sensing device can be a sensor, such as a lidar or camera. The sensing device can be deployed by installing at least one sensing device on a vehicle or other device to collect environmental information around the vehicle or other device and generate sensing data. The sensing data can be the aforementioned bird's-eye view. Subsequently, existing perception algorithms can be used to process the sensing data for obstacle identification to obtain target information for each obstacle. The specific perception algorithm is not limited. The target information includes edge information and size information. The edge information includes the representation of the obstacle, such as linear, rectangular, or polygonal forms.

[0070] S220 , calculating a first intersection point between each obstacle and each ray in the target area according to the target information.

[0071] The target area is an area constructed by emitting multiple rays with the sensing device as the center starting point.

[0072] In some embodiments, the calculation of the first intersection point in S220 may be implemented by the following steps:

[0073] In a polar coordinate system, the target area is constructed by emitting rays at preset angle intervals with the sensing device as the center starting point; and the first intersection point of the edge of each obstacle and each ray in the target area is calculated based on the edge information.

[0074] It can be understood that in the polar coordinate system, with the sensing device as the central starting point, rays are emitted according to preset angle intervals to form a target area. The target area can also be understood as a polar coordinate canvas. The target area includes a center and multiple rays emitted from the center, among which the preset angle can be determined according to user needs.

[0075] Understandably, given that a vehicle is equipped with multiple sensing devices, a target area corresponding to each sensing device must be established. Different sensing devices collect different sensing data, and the target information for each obstacle derived from that data also differs. Therefore, obstacle validity must be determined for each sensing device, invalid obstacles screened out, and detection results including valid obstacles obtained. Finally, the detection results corresponding to different sensing devices are comprehensively processed to facilitate subsequent vehicle control decisions. The following embodiment uses a single sensing device as an example.

[0076] It can be understood that after constructing the target area, the intersection points of the edges of each obstacle and each ray in the target area are calculated based on the edge information of each obstacle, and recorded as the first intersection points. The obstacle may have first intersection points with different rays, or may have multiple first intersection points with a ray. It is also possible that the obstacle has no first intersection with any ray due to the large preset angle. Therefore, the preset angle can be set according to different application requirements to ensure that each obstacle has at least one first intersection point with at least one ray.

[0077] In some embodiments, referring to Figure 3, Figure 3 is a schematic diagram of a target area provided by an embodiment of the first aspect of the present disclosure. The target area in Figure 3 includes a plurality of rays distributed at intervals and a rectangular obstacle 1 centered on the sensing device, wherein the edge of the rectangular obstacle 1 and the three rays all have first intersections, and the three rays are recorded as rays 1 to ray 3, wherein ray 1 and ray 3 each have one first intersection, and ray 2 has two first intersections, and the rectangular obstacle 1 and each ray in the target area have four first intersections, as shown in the four black dots in Figure 3. Different obstacles have different numbers of first intersections.

[0078] S230: Form an obstacle envelope centered on the sensing device based on the first intersection points of the obstacles.

[0079] It can be understood that, based on the above S220, an obstacle envelope with the sensing device as the center is formed according to the first intersection points of all obstacles. The obstacle envelope is formed based on the target area and is a line formed by connecting some of the first intersection points of all the first intersection points in sequence.

[0080] S240: Calculate an occlusion ratio of the obstacle according to the obstacle envelope and the first intersection point, determine the validity of the obstacle based on a relationship between the occlusion ratio and a first preset ratio, and obtain an obstacle detection result including valid obstacles.

[0081] It is understandable that, based on the above and S220 and S230, for each obstacle, the occlusion ratio of the obstacle is calculated based on the first intersection point of the obstacle on the obstacle envelope and all first intersection points. The occlusion ratio refers to the ratio of the portion of the obstacle that cannot be directly collected by the sensing device (the occluded portion) to the entire obstacle. The validity of the obstacle is determined based on the relationship between the occlusion ratio and the first preset ratio. The validity of the obstacle refers to the occlusion status of the obstacle. If the entire obstacle or a large portion of the obstacle is occluded, the obstacle is most likely an invalid obstacle. The target information of the invalid obstacle identified by the perception algorithm has relatively low accuracy and is prone to erroneous detection results. Therefore, the target information of the invalid obstacle can be filtered out. If the obstacle is not occluded or only a small portion is occluded, the obstacle is most likely a valid obstacle. The target information of the valid obstacle identified by the perception algorithm is relatively high accuracy, and therefore the target information of the valid obstacle is output.

[0082] The disclosed embodiments provide a target detection method that acquires sensing data collected by a sensing device and performs obstacle recognition processing on the sensing data to obtain target information for each obstacle. The target information is the recognition result output by the normal obstacle recognition process, which may contain erroneous recognition results due to severe obstruction. In this case, the first intersection point of each obstacle with each ray in the target area is calculated based on the target information of all obstacles. Based on some of the first intersection points, an obstacle envelope is formed on the target area, also centered on the sensing device. The occlusion ratio of the obstacle is calculated based on the first intersection point and all first intersection points falling on the obstacle envelope. The validity of the obstacle is determined based on the relationship between the occlusion ratio and a first preset ratio. Invalid target information of severely obscured and highly erroneous obstacles is filtered out to obtain a final obstacle detection result that includes valid target information. By filtering out invalid target information while retaining valid target information, detection accuracy can be effectively improved, mitigating issues that may arise in subsequent application scenarios. For example, this can reduce vehicle errors caused by inaccurate detection, thereby enhancing the user's driving experience while ensuring safety.

[0083] Based on the above embodiments, referring to Figure 4, which is a flow chart of a target detection method provided by an embodiment of the first aspect of the present disclosure, in some embodiments, forming the obstacle envelope in step S230 specifically includes the following steps S410 to S420 as shown in Figure 4.

[0084] S410 , sorting the first intersection points on each ray in the target area respectively, and obtaining the second intersection point on each ray that is closest to the sensing device.

[0085] It can be understood that among the rays in the target area, the rays to be processed with at least one first intersection are determined, and at least one first intersection on the rays to be processed is sorted according to the distance from the sensing device (center), and the first intersection closest to the sensing device on each ray to be processed is obtained, and the closest first intersection is used as the second intersection on the corresponding ray.

[0086] S420: Connect the second intersection points on each ray in sequence to form an obstacle envelope centered on the sensing device.

[0087] It is understood that, based on the above S410, on the target area, the second intersection points on each ray are sequentially connected to form an obstacle envelope also centered on the sensing device. That is, the line formed by connecting all the second intersection points in a predetermined order is used as the envelope. For example, the second intersection point on any ray is first selected, and then the second intersection points on adjacent rays are selected in a clockwise order for connection. The line obtained after traversing all rays in a predetermined order can be used as the envelope. In some embodiments, in response to the inability to obtain a second intersection point on a ray due to the lack of a first intersection point on the ray, the sensing device (center) is used as the second intersection point on the ray for connection.

[0088] In some embodiments, the above-mentioned step S420 of forming the obstacle envelope is specifically implemented by the following steps:

[0089] In response to the presence of a target obstacle whose size information is smaller than a preset size among the obstacles corresponding to the second intersection point, a target ray on which the second intersection point corresponding to the target obstacle is located is determined; a first first intersection point other than the intersection point with the edge of the target obstacle is determined on the target ray; and the first first intersection point is used as the second intersection point of the target ray; wherein the first first intersection point is the intersection point on the target ray that is closest to the sensing device other than the intersection point with the edge of the target obstacle.

[0090] It is understood that before obtaining the final obstacle envelope, an initial envelope is formed based on the second intersection point determined in S410. Subsequently, based on the size information, it is determined whether any of the obstacles corresponding to the second intersection points have a target obstacle smaller than a preset size. The preset size may be the size of a preset rectangle with a length and width of 1 meter. In response to the absence of a target obstacle smaller than the preset size (less than 1 meter in both length and width), the initial envelope is directly used as the final obstacle envelope. In response to the presence of a target obstacle smaller than the preset size (i.e., the preset rectangle completely covers the target obstacle, in which case the target obstacle does not block the sensing device's data collection of subsequent obstacles, or the target obstacle's obstruction of other obstacles is limited, thus not significantly affecting the detection results of other obstacles), the second intersection point of the target obstacle on the initial envelope is adjusted. Specifically, the target ray at which the second intersection point corresponding to the target obstacle is located is determined. The first first intersection point, excluding the intersection point with the edge of the target obstacle, is determined on the sorted target ray. This first first intersection point is the intersection point of the edge of another obstacle with the target ray and is closest to the sensing device. This first first intersection point is then adjusted to become the second intersection point on the target ray. That is, after obtaining the initial envelope, the second intersection point on the envelope is adjusted to account for the presence of a small obstacle (target obstacle). Moving backward along the target ray, the first first intersection point on the sorted target ray, excluding all intersection points of the small obstacle on the target ray, is used as the new second intersection point on the target ray. Subsequently, the new second intersection point on the target ray is sequentially connected with the second intersection points on the remaining rays, excluding the target ray, to form a new envelope. The presence of a small obstacle on the envelope is again determined. If no small obstacle exists, the new envelope is used as the final obstacle envelope.

[0091] In some embodiments, referring to FIG5 , FIG5 is a schematic diagram of an obstacle envelope provided by an embodiment of the present disclosure, FIG5 includes an initial envelope 510 and a final obstacle envelope 520. After the initial envelope 510 is adjusted for the second intersection, the final obstacle envelope 520 can be obtained. The initial envelope 510 only shows the sensing device 516, the contents of part of the obstacle, and part of the intersection of the edge of the part of the obstacle and the target ray 512. There is a target obstacle 511 with a size smaller than the preset size on the initial envelope 510. The target obstacle 511 and the target ray 512 have a second intersection 513 and a second intersection 514. After excluding the second intersection point 513 and the first intersection point 514 corresponding to the target obstacle 511 on the target ray 512, the first first intersection point on the target ray 512 is the first intersection point 515. The first intersection point 515 is used as the new second intersection point on the target ray 512. A new envelope is formed based on the first intersection point 515 and the second intersection points on the remaining rays. If the new envelope does not contain any small obstacle intersections, the new envelope is used as the final obstacle envelope, as shown in the final obstacle envelope 520 in FIG. 5 . At this time, the target obstacle 511 is before the final obstacle envelope 520.

[0092] In some embodiments, after determining the target obstacle, the following steps are further included:

[0093] The target obstacle is set to a penetrable attribute, wherein the penetrable attribute is that the target obstacle does not block other obstacles; and the target obstacle is determined to be a valid obstacle according to the penetrable attribute.

[0094] It is understood that, based on the above-described S410, in response to the presence of a target obstacle smaller than a preset size among the obstacles corresponding to the second intersection point, the attribute of all intersection points of the target obstacle is set to the penetrable attribute, and the attribute of the target obstacle is also set to the penetrable attribute. The penetrable attribute means that the target obstacle does not block other obstacles, or the target obstacle only slightly blocks other obstacles. When determining the validity of the obstacle later, the target obstacle with the penetrable attribute can be directly determined as a valid obstacle. This means that the detection result for the target obstacle is more accurate and can be output to the vehicle for reference.

[0095] An embodiment of the present disclosure provides a target detection method, which sorts the first intersection points on each ray, obtains the second intersection point on each ray that is closest to a sensing device, determines whether there is a target obstacle smaller than a preset size among the obstacles corresponding to the second intersection point, and in response to the presence of a target obstacle smaller than the preset size among the obstacles corresponding to the second intersection point, determines the target ray where the second intersection point corresponding to the target obstacle is located, so as to adjust the intersection point of the target obstacle on the envelope line. That is, the target obstacle obstructs other obstacles less, and thus has a smaller impact on the accuracy of the recognition results of other obstacles. Therefore, a second intersection point is re-determined by moving backward along the target ray, thereby updating the envelope line to facilitate the subsequent accurate determination of the effectiveness of each obstacle.

[0096] Based on the above embodiment, FIG6 is a flow chart of a target detection method provided by an embodiment of the first aspect of the present disclosure. The above S420 determines the validity of the obstacle, which specifically includes the following steps S610 to S630 as shown in FIG6 .

[0097] S610: Calculate an occlusion ratio of the obstacle according to the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located.

[0098] In some embodiments, the calculation of the occlusion ratio in S610 is specifically implemented by the following steps:

[0099] The visible ratio of the obstacle is calculated according to the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located; and the occlusion ratio of the obstacle is obtained based on the difference between the second preset ratio and the visible ratio.

[0100] For each obstacle, determine the number of second intersection points of the obstacle falling on the envelope and the number of rays that have intersections with each ray in the target area (that is, the number of rays where the first intersection points of the obstacle are located). The ratio of the number of second intersection points of the obstacle falling on the envelope to the number of rays that have intersections with each ray in the target area is used as the visibility ratio, and then the visibility ratio of the obstacle is obtained. For example, as shown in Figure 3, obstacle 1 has four first intersection points with rays 1, ray 2, and ray 3 respectively. The four first intersection points are recorded from 210 to 240, so the number of first intersection points between the obstacle and each ray in the target area is 210. The number of rays at the intersection is 3. Obstacle 1 has a second intersection point (i.e., first intersection point 230) with ray 1 that falls on the envelope line, obstacle 1 has a second intersection point (i.e., first intersection point 220) with ray 2 that falls on the envelope line, and obstacle 1 has a second intersection point (i.e., first intersection point 210) with ray 3 that falls on the envelope line. Therefore, the number of second intersection points on the envelope line for obstacle 1 is 3. Therefore, the ratio of the number of second intersection points on the envelope line for obstacle 1 to the number of intersections between obstacle 1 and each ray in the target area is 1, i.e., the visibility ratio of obstacle 1 is 1.

[0101] In some embodiments, it is understandable that the occlusion ratio of the obstacle is obtained by calculating the difference between the second preset ratio and the visible ratio. Based on the above example, the second preset ratio is 1, and the difference between the second preset ratio and the visible ratio is 1-1=0, that is, the occlusion ratio is 0, indicating that the obstacle 1 is not blocked and is completely visible to the sensing device. The occlusion ratio is 1, indicating that the obstacle is completely blocked and is invisible to the sensing device. The larger the occlusion ratio, the lower the visibility to the sensing device. The occlusion ratio is between 0-1, indicating partial occlusion, that is, partial visibility. The specific division of the occlusion ratio can be determined according to user needs.

[0102] S620: In response to the acquired attribute of the obstacle not being a penetrable attribute and the blocking ratio being less than a first preset ratio, determine the obstacle as a valid obstacle.

[0103] It can be understood that, based on the above S610, the attributes of each obstacle are obtained. In response to the attribute of the obstacle not being a penetrable attribute and the occlusion ratio of the obstacle being less than the first preset ratio, the obstacle is determined to be a valid obstacle. In response to the attribute of the obstacle being a penetrable attribute, the obstacle is directly determined to be a valid obstacle without considering the occlusion ratio. In response to the attribute of the obstacle not being a penetrable attribute and the occlusion ratio of the obstacle being greater than or equal to the first preset ratio, the obstacle is determined to be an invalid obstacle.

[0104] S630: Generate obstacle detection information according to target information of all valid obstacles.

[0105] It is understandable that obstacle detection information is generated based on target information of all valid obstacles, and the obstacle detection information is a detection result of sensing data collected by a sensing device.

[0106] The disclosed embodiment provides a target detection method. For each obstacle, the visible ratio of the obstacle is calculated by the second intersection point falling on the envelope line and all first intersection points except the first first intersection point on the same ray. The occlusion ratio of the obstacle is calculated based on the difference between the second preset ratio and the visible ratio. Subsequently, the valid obstacle is determined based on the occlusion ratio and attributes of the obstacle. Since the valid obstacle has less occlusion, the sensing device can obtain a large amount of information, so the detection result is more accurate. All obstacles behind the envelope are filtered out. All obstacles behind the envelope are invalid obstacles. The occlusion ratio of invalid obstacles is close to 1, and the attribute is not penetrable. Since invalid obstacles have more occlusion, the sensing device cannot obtain a large amount of information, so the detection result is less accurate and erroneous detection results are very likely to occur. Therefore, outputting the detection result including the valid obstacle target information can improve the detection accuracy, reduce the possibility of the vehicle making erroneous decisions due to inaccurate detection, and enhance the user's driving experience while ensuring safety.

[0107] FIG7 is a schematic diagram of the structure of an object detection device provided in an embodiment of the second aspect of the present disclosure. The object detection device provided in an embodiment of the present disclosure can execute the processing flow provided in any of the object detection method embodiments of the first aspect described above, and is applied to the vehicle 11. As shown in FIG7 , the object detection device 700 includes:

[0108] An acquisition module 710 is configured to acquire sensing data collected by a sensing device and perform obstacle recognition processing on the sensing data to obtain target information of each obstacle;

[0109] A calculation module 720 is configured to calculate, based on the target information, a first intersection point between each obstacle and each ray in a target area, wherein the target area is an area constructed by emitting multiple rays with the sensing device as the center starting point;

[0110] A forming module 730, configured to form an obstacle envelope centered on the sensing device based on the first intersection points of the obstacles; and

[0111] The generation module 740 is configured to calculate an occlusion ratio of the obstacle based on the obstacle envelope and the first intersection point, determine the validity of the obstacle based on a relationship between the occlusion ratio and a first preset ratio, and obtain an obstacle detection result including valid obstacles.

[0112] Wherein, the target information includes edge information.

[0113] In some embodiments, the calculation module 720 is configured to:

[0114] In a polar coordinate system, taking the sensing device as the center starting point, emitting rays at preset angle intervals to construct a target area; and

[0115] The first intersection point of each obstacle edge and each ray in the target area is calculated according to the edge information.

[0116] In some embodiments, the formation module 730 is used to:

[0117] sorting the first intersection points on each ray in the target area respectively, and obtaining the second intersection point on each ray that is closest to the sensing device; and

[0118] The second intersection points on each ray are sequentially connected to form an obstacle envelope centered on the sensing device.

[0119] The target information includes size information.

[0120] In some embodiments, the apparatus 700 is further configured to:

[0121] In response to a target obstacle having size information smaller than a preset size among the obstacles corresponding to the second intersection point, determining a target ray where the second intersection point corresponding to the target obstacle is located;

[0122] Determining a first first intersection point on the target ray excluding the intersection point with the edge of the target obstacle, wherein the first first intersection point is the intersection point on the target ray excluding the intersection point with the edge of the target obstacle that is closest to the sensing device; and

[0123] The first intersection point is determined as a second intersection point on the target ray.

[0124] In some embodiments, the apparatus 700 is further configured to:

[0125] Setting the attribute of the target obstacle to a penetrable attribute, wherein the penetrable attribute means that the target obstacle does not block other obstacles; and

[0126] The target obstacle is determined to be a valid obstacle according to the penetrable attribute.

[0127] In some embodiments, the generation module 740 is configured to:

[0128] Calculate the occlusion ratio of the obstacle according to the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located;

[0129] In response to the acquired attribute of the obstacle not being a penetrable attribute and the blocking ratio being less than a first preset ratio, determining the obstacle as a valid obstacle; and

[0130] Generate obstacle detection information based on the target information of all valid obstacles.

[0131] In some embodiments, the generation module 740 is configured to:

[0132] Calculating the visible ratio of the obstacle according to the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located; and

[0133] The blocking ratio of the obstacle is obtained based on the difference between the second preset ratio and the visible ratio.

[0134] The target detection device of the embodiment shown in FIG7 can be used to execute the technical solution of any method embodiment of the first aspect described above. Its implementation principle and technical effects are similar and will not be described in detail here.

[0135] Figure 8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the third aspect of the present disclosure. Specific reference is made below to Figure 8, which shows a schematic diagram of the structure of an electronic device 800 suitable for implementing the embodiments of the present disclosure. The electronic device 800 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable electronic devices, and the like, as well as fixed terminals such as digital TVs, desktop computers, smart home devices, and the like. The electronic device shown in Figure 8 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

[0136] As shown in Figure 8, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes to implement the target detection method of the embodiment described in the present disclosure according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage device 808 into the random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0137] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 7 shows the electronic device 800 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.

[0138] An embodiment of the fourth aspect of the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the target detection method as in any of the embodiments of the first aspect are implemented.

[0139] An embodiment of a fifth aspect of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the target detection method as described in any embodiment of the first aspect above.

[0140] An embodiment of a sixth aspect of the present disclosure provides a computer program, comprising computer program code, which, when executed on a computer, enables the computer to execute a target detection method as in any one of the embodiments of the first aspect above.

[0141] It should be noted that the explanations of the target detection method and apparatus in the aforementioned embodiments are also applicable to the electronic device, computer-readable storage medium, computer program product, and computer program in the embodiments of the present disclosure, and will not be repeated here.

[0142] All embodiments of the present disclosure may be implemented individually or in combination with other embodiments, and are all considered to be within the scope of protection claimed by the present disclosure.

[0143] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart, thereby implementing the target detection method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0144] It should be noted that the computer-readable medium in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or device. In the embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0145] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.

[0146] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0147] In some embodiments, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

[0148] Computer program code for performing the operations of the embodiments of the present disclosure may be written in one or more programming languages, or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0149] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0150] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.

[0151] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0152] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0153] 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 such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or gateway that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article or gateway. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the presence of other identical elements in the process, method, article or gateway that includes the elements.

[0154] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily 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 disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A target detection method, comprising: Acquire sensing data collected by the sensing device, and perform obstacle recognition processing on the sensing data to obtain target information of each obstacle; Calculate the first intersection point of each obstacle and each ray in the target area according to the target information, wherein the target area is an area constructed by emitting multiple rays with the sensing device as the center starting point; forming an obstacle envelope centered at the sensing device according to the first intersection points of each obstacle; and The occlusion ratio of the obstacle is calculated according to the obstacle envelope and the first intersection point, the validity of the obstacle is determined based on the relationship between the occlusion ratio and a first preset ratio, and an obstacle detection result including a valid obstacle is obtained.

2. The method according to claim 1, wherein the target information includes edge information, and the step of calculating the first intersection point of each obstacle and each ray in the target area according to the target information comprises: In a polar coordinate system, taking the sensing device as the center starting point, emitting rays at preset angle intervals to construct a target area; and The first intersection point of the edge of each obstacle and each ray in the target area is calculated according to the edge information.

3. The method according to claim 1 or 2, wherein forming an obstacle envelope centered on the sensing device according to the first intersection points of each obstacle comprises: sorting the first intersection points on each ray in the target area respectively, and obtaining the second intersection point on each ray that is closest to the sensing device; and The second intersection points on each ray are sequentially connected to form an obstacle envelope with the sensing device as the center.

4. The method according to claim 3, wherein the target information includes size information, and before the second intersection points on each ray are sequentially connected to form an obstacle envelope centered on the sensing device, the method comprises: In response to the existence of a target obstacle whose size information is smaller than a preset size among the obstacles corresponding to the second intersection point, determining a target ray where the second intersection point corresponding to the target obstacle is located; Determine a first intersection point on the target ray except the intersection point with the edge of the target obstacle, wherein the first intersection point is the intersection point on the target ray that is closest to the sensing device except the intersection point with the edge of the target obstacle; and The first first intersection point is determined as a second intersection point on the target ray.

5. The method according to claim 4, wherein in response to the presence of a target obstacle whose size information is smaller than a preset size among the obstacles corresponding to the second intersection point, the method further comprises: The attribute of the target obstacle is set to a penetrable attribute, wherein the penetrable attribute is the target obstacle The object does not block other obstacles; and The target obstacle is determined to be a valid obstacle according to the penetrable attribute.

6. The method according to claim 3 or 4, wherein the calculating the occlusion ratio of the obstacle according to the obstacle envelope and the first intersection point, determining the validity of the obstacle based on the relationship between the occlusion ratio and a first preset ratio, and obtaining the obstacle detection result including the valid obstacle comprises: Calculate the occlusion ratio of the obstacle according to the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located; In response to the acquired attribute of the obstacle not being a penetrable attribute and the blocking ratio being less than a first preset ratio, determining the obstacle as a valid obstacle; and Generate obstacle detection information based on the target information of all valid obstacles.

7. The method according to claim 6, wherein the step of calculating the occlusion ratio of the obstacle according to the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located comprises: Calculate the visible ratio of the obstacle according to the number of second intersection points corresponding to the obstacle and the number of rays where the first intersection points corresponding to the obstacle are located; and The blocking ratio of the obstacle is obtained based on the difference between the second preset ratio and the visible ratio.

8. A target detection device, comprising: An acquisition module is used to acquire the sensing data collected by the sensing device, and perform obstacle recognition processing on the sensing data to obtain target information of each obstacle; A calculation module, used for calculating the first intersection point of each obstacle and each ray in the target area according to the target information, wherein the target area is an area constructed by emitting multiple rays with the sensing device as the center starting point; A forming module, configured to form an obstacle envelope centered on the sensing device according to the first intersection points of each obstacle; and A generation module is used to calculate the occlusion ratio of the obstacle according to the obstacle envelope and the first intersection point, determine the validity of the obstacle based on the relationship between the occlusion ratio and a first preset ratio, and obtain an obstacle detection result including a valid obstacle.

9. An electronic device, comprising: Memory; processor; and Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the target detection method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the target detection method according to any one of claims 1 to 7 are implemented.

11. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the target detection method according to any one of claims 1 to 7. 12 . A computer program, comprising computer program codes, which, when executed on a computer, enable the computer to execute the target detection method according to claim 1 .

Citation Information

Patent Citations

  • Planning method for mixed path of mobile robot under multi-resolution barrier environment

    CN105717929A

  • Target occlusion assessment method and system, medium and device

    CN112634313A

  • Vehicle control method and device, electronic equipment and storage medium

    CN113859228A

  • Denoising method and device for laser point cloud, storage medium and electronic equipment

    CN114488091A

  • Safe passing method and device, electronic equipment and storage medium

    CN114537447A

Cited By

  • Label data quality inspection method and device, electronic equipment and computer storage medium

    CN120635861A

  • POI visibility recognition method and device, computer equipment, medium and product

    CN120932487A