Static target detection method, device and equipment, storage medium and vehicle

Through the correlation and status prediction update of camera and radar data, the problem of low stationary target detection accuracy and efficiency is solved, the accurate identification of long-distance stationary targets is achieved, and the safety of autonomous vehicles is improved.

CN118675149AActive Publication Date: 2024-09-20GUANGZHOU XIAOPENG CONNECTIVITY TECH CO LTD
View PDF 16 Cites 0 Cited by

Patent Information

Application Number
CN202410972892.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-09-20
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

When the existing technology detects stationary targets, especially long-distance stationary targets, the speed measurement and ranging accuracy of the camera is not high, the radar is prone to false detection, and the data fusion processing efficiency is low.

Method used

By obtaining the current frame image collected by the camera, the camera observation target is identified, and it is associated with the target detection frame, the state prediction is updated, and it is judged whether the target detection frame has converged state, thereby determining whether it is stationary. This method combines camera and radar data and uses multiple rounds of processing to reduce the impact of observation errors and improve detection accuracy.

Benefits of technology

It achieves accurate detection of stationary targets, improves detection accuracy and recall rate, reduces the amount of calculation, is suitable for autonomous vehicles, and improves safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675149A
    Figure CN118675149A
Patent Text Reader

Abstract

The invention relates to the technical field of target detection, and discloses a static target detection method, device and equipment, a storage medium and a vehicle, and the method comprises the steps: obtaining a current frame image collected by a camera, and recognizing a camera observation target in the current frame image; associating the camera observation target with a current target detection frame, and performing state prediction updating on the associated target detection frame according to the relative motion parameters of the camera observation target; the target detection frame comprises a detection frame created based on an observed historical target; judging whether the updated target detection frame is in state convergence or not; and under the condition that the state of the updated target detection frame is converged, determining whether the updated target detection frame is static or not. According to the method, the observation target and the target detection frame are associated and subjected to state updating, and whether the target detection frame is static or not can be accurately judged by using the target detection frame with state convergence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of target detection technology, and in particular to a detection method, device, equipment, storage medium and vehicle for stationary targets. Background Art

[0002] Smart driving vehicles are equipped with a variety of sensors such as cameras and radars. Based on the data collected by the sensors, objects around the vehicle can be detected so that they can be avoided. Among them, stationary objects have a greater impact on vehicle driving, so it is necessary to be able to detect stationary objects around the vehicle more accurately.

[0003] When detecting stationary targets, especially those at long distances (for example, more than 100m), the camera's speed and distance measurement accuracy is not high, while radar is prone to false detection of stationary targets. Some solutions fuse the camera's image features and radar features, but data fusion requires a lot of calculations and has low processing efficiency. Summary of the invention

[0004] In view of this, the present invention provides a method, device, equipment, storage medium and vehicle for detecting a stationary target to solve the problem of inaccurate stationary target detection.

[0005] In a first aspect, the present invention provides a method for detecting a stationary target, comprising:

[0006] Acquire a current frame image captured by a camera, and identify a camera observation target in the current frame image;

[0007] Associating the camera-observed target with a current target detection frame, and performing state prediction update on the associated target detection frame according to the relative motion parameters of the camera-observed target; the target detection frame includes a detection frame created based on the observed historical target;

[0008] Determine whether the updated target detection frame is in a converged state;

[0009] When the state of the updated target detection frame converges, it is determined whether the updated target detection frame is stationary.

[0010] In some optional implementations, associating the camera observation target with the current target detection frame includes:

[0011] Associating a first camera observation target with a current target detection frame; the first camera observation target is a camera observation target corresponding to the most critical moving object;

[0012] Afterwards, associating the second camera observation target with the target detection frame that is not currently associated with the first camera observation target; the second camera observation target is a camera observation target other than the first camera observation target;

[0013] A new object detection box is created for the second camera observation object that cannot be associated with the object detection box.

[0014] In some optional implementations, associating the camera observation target with the current target detection frame further includes:

[0015] In a case where the first camera observation target cannot be associated with a target detection frame, after creating a new target detection frame for the second camera observation target that cannot be associated with a target detection frame, re-associating the first camera observation target with a target detection frame that is not currently associated with the camera observation target;

[0016] In a case where the first camera observation target cannot be associated with the target detection frame again, a new target detection frame is created for the first camera observation target.

[0017] In some optional implementations, determining whether the updated target detection frame is in a converged state includes:

[0018] Determine a first association number of the updated target detection frame; the first association number is the number of times the updated target detection frame is associated with the camera observation target corresponding to the most critical moving object;

[0019] When the first association number is greater than a first threshold, determining that the updated target detection frame state converges;

[0020] and / or,

[0021] Determine a second association number of the updated target detection frame; the second association number is the number of times the updated target detection frame is associated with the camera observation target;

[0022] When the second association number is greater than a second threshold, determining a covariance matrix between a relative speed and a relative depth corresponding to the updated target detection frame;

[0023] When the covariance matrix satisfies a convergence condition, it is determined that the updated target detection frame state converges.

[0024] In some optional implementations, the covariance matrix is:

[0025]

[0026] Where depth represents the relative depth observation, speed represents the relative speed observation, and P(depth, speed) represents the covariance matrix between relative speed and relative depth. dd represents the variance of relative depth observations, P ss represents the variance of the relative velocity observation, P ds represents the covariance between the relative depth observation and the relative velocity observation, P sd represents the covariance between the relative velocity observation and the relative depth observation;

[0027] The convergence conditions include:

[0028]

[0029] Among them, depth′ is the relative depth of the target detection box, and k1 and k2 are both preset threshold parameters.

[0030] In some optional implementations, when the state of the updated target detection frame converges, determining whether the updated target detection frame is stationary includes:

[0031] When the state of the updated target detection frame converges, if the relative speed of the updated target detection frame is less than the current speed threshold, determining that the updated target detection frame is stationary;

[0032] or,

[0033] When the state of the updated target detection frame converges, the negative value of the own speed is used as a variable and the relative speed of the updated target detection frame is used as an expectation, and the normal distribution cumulative probability corresponding to the own speed is determined;

[0034] When the normal distribution cumulative probability is greater than a preset probability value, it is determined that the target in the updated target detection frame is stationary.

[0035] In some optional implementations, the normal distribution cumulative probability is:

[0036]

[0037] Wherein, x represents the negative value of the own speed, Δv represents the preset speed difference, μ represents the relative speed expectation, and σ represents the relative speed standard deviation.

[0038] In some optional embodiments, the method further comprises:

[0039] Determine the radar observation targets currently identified by the radar, and screen out the stationary radar observation targets;

[0040] The stationary radar observation target is associated with the current target detection frame, and the state prediction and update of the associated target detection frame are performed according to the relative motion parameters of the stationary radar observation target.

[0041] In some optional implementations, determining whether the updated target detection frame is in a converged state includes:

[0042] Determine a third association number of the updated target detection frame; the third association number is the number of times the updated target detection frame is associated with the stationary radar observation target; when the third association number is greater than a third threshold, determine that the state of the updated target detection frame converges;

[0043] When the state of the updated target detection frame converges, determining whether the updated target detection frame is stationary includes:

[0044] When a third association number of the updated target detection frame and the stationary radar observation target is greater than a third threshold, it is determined that the updated target detection frame is stationary.

[0045] In some optional embodiments, the method further comprises:

[0046] Delete the target detection frame that meets the failure conditions;

[0047] Among them, the failure conditions include: the time period during which the target detection frame is not associated exceeds a first preset time period; or the target type of the target detection frame is inconsistent with the target type of the associated observation target, and the inconsistency lasts for more than a second preset time period.

[0048] In a second aspect, the present invention provides a stationary target detection device, comprising:

[0049] The target recognition module is used to obtain the current frame image captured by the camera and identify the camera observation target in the current frame image;

[0050] An association update module, used to associate the camera observation target with the current target detection frame, and perform state prediction update on the associated target detection frame according to the relative motion parameters of the camera observation target; the target detection frame includes a detection frame created based on the observed historical target;

[0051] A convergence judgment module is used to judge whether the updated target detection frame is in a converged state;

[0052] The detection module is used to determine whether the updated target detection frame is stationary when the state of the updated target detection frame converges.

[0053] In a third aspect, the present invention 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 method for detecting a stationary target of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0054] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for detecting a stationary target according to the first aspect or any corresponding embodiment thereof.

[0055] In a fifth aspect, the present invention provides a vehicle, comprising a vehicle controller, wherein the vehicle controller is used to execute the method for detecting a stationary target according to the first aspect or any corresponding embodiment thereof.

[0056] The present invention associates the observed target observed by the camera with the target detection frame and updates the state. After multiple rounds of processing, the state of the target detection frame can be converged. Even if the observed value of the observed target has a large observation error, the target detection frame with a converged state can be used to more accurately represent the true state of the corresponding observed target, and the impact caused by the observation error can be reduced, so that it can more accurately judge whether the target detection frame is stationary. It also has a good detection effect on long-distance stationary targets, with high accuracy and recall rate; when applied to autonomous driving vehicles, it can accurately identify stationary objects such as obstacles in the lane, which can improve the safety of autonomous driving vehicles. The camera-based visual detection and recognition of stationary targets has low cost, does not require data fusion, has a small amount of calculation, and has high recognition efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0058] Figure 1 is a flow chart of a method for detecting a stationary target according to an embodiment of the present invention;

[0059] Figure 2 is a flow chart of another stationary target detection method according to an embodiment of the present invention;

[0060] Figure 3 is a schematic diagram of a process of associating cameras observing a target according to an embodiment of the present invention;

[0061] Figure 4 is a flow chart of another stationary target detection method according to an embodiment of the present invention;

[0062] Figure 5 is a structural block diagram of a stationary target detection device according to an embodiment of the present invention;

[0063] Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0065] During the process of autonomous driving or assisted driving, the vehicle needs to use installed cameras, radars and other sensors to detect objects around the vehicle to remind the driver to avoid them or to avoid them automatically. Since stationary objects have a greater impact on the safe driving of the vehicle, it is particularly important to be able to accurately detect stationary objects.

[0066] For example, when vehicle A is driving automatically, there is another vehicle B in front of it. If vehicle B temporarily stops in the middle of the lane due to a breakdown, traffic accident, etc., the camera, radar, etc. in vehicle A need to detect vehicle B in front and determine that it is currently stationary, that is, vehicle B is a stationary target, so that vehicle A can automatically avoid vehicle B to avoid a collision. However, if vehicle A mistakenly believes that vehicle B is not stationary, for example, mistakenly believes that vehicle B is also moving forward, vehicle A may fail to avoid vehicle B in time due to misjudgment, thus posing a collision risk.

[0067] In addition, since there are generally large errors when sensors such as cameras and radars detect the state of distant objects, it is difficult to accurately determine the relative speed, relative position and other information of distant objects. If distant stationary objects can be accurately identified, the vehicle A can avoid stationary objects in advance when driving at high speed on highways and other roads, ensuring the safety of vehicle driving.

[0068] According to an embodiment of the present invention, an embodiment of a method for detecting a stationary target 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.

[0069] In this embodiment, a method for detecting a stationary target is provided, which can be applied to a local terminal such as a vehicle controller, or to a server located on the network side, or to a distributed system located on the network side, and the specific method can be determined based on actual conditions. Figure 1 is a flow chart of a method for detecting a stationary target according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps.

[0070] Step S101, obtaining a current frame image captured by a camera, and identifying a camera observation target in the current frame image.

[0071] In this embodiment, when detecting a stationary target, a camera is used to capture images in real time, and a frame of image captured by the camera at the current moment is called a current frame image; wherein the current frame image includes targets around the camera, which are observed by the camera and are subsequently referred to as camera observed targets.

[0072] For example, the camera is a vehicle-mounted camera, which can collect environmental images around the vehicle in real time, generate a corresponding current frame image, and detect the current frame image to identify vehicles, pedestrians and other targets in the current frame image, which are all camera observation targets. Some of the targets may be stationary targets, for example, stationary targets may be vehicles or pedestrians stopped in the lane, or roadblocks, fallen rocks in the lane, etc.

[0073] Step S102, associating the camera observed target with the current target detection frame, and performing state prediction update on the associated target detection frame according to the relative motion parameters of the camera observed target; the target detection frame includes a detection frame created based on the observed historical target.

[0074] In this embodiment, when performing target detection, corresponding detection frames are created for the observed targets, and these detection frames can be used as target detection frames; wherein, the target detection frames are detection frames corresponding to the historical targets observed previously. Corresponding target detection frames can be created for the initially observed targets; for example, based on the first frame image captured by the camera, the observed targets can be identified, and initial target detection frames can be created for each observed target, and then these initial target detection frames are used as the basis to associate with the camera observed targets.

[0075] Specifically, after determining the current camera observation target, these camera observation targets can be associated with the current target detection frame to determine which target detection frame the camera observation target is associated with. For example, by calculating the IOU (intersection-over-union) or size ratio between the camera observation target and the target detection frame, it can be determined which target detection frame the camera observation target can be associated with.

[0076] Furthermore, each camera observation target has certain relative motion parameters. If a camera observation target 1 is associated with a target detection frame A, the state of the target detection frame A can be predicted based on the relative motion parameters of the camera observation target 1, so that the state of the target detection frame A can be updated. For example, the relative motion parameters may specifically include relative speed (i.e., the relative speed between the camera observation target and the camera observation target) and relative depth (i.e., the relative depth between the camera observation target and the camera observation target, which may also be referred to as relative distance). The state prediction and update of the target detection frame A may be performed based on Kalman filtering, particle filtering, etc., so as to update the state information of the target detection frame A, such as the position, speed, acceleration, etc., which will not be described in detail here.

[0077] For example, after creating an initial target detection frame based on the first frame image, since the initial target detection frame corresponds one-to-one to the observed target, the state prediction update of the initial target detection frame can be performed based on the relative motion parameters of these observed targets. These updated target detection frames can be associated with the camera observed targets in the second frame image, that is, the second frame image is the current frame image, and the above step S102 is executed, and this is repeated to achieve real-time association and update of the target detection frame.

[0078] Step S103, determining whether the updated target detection frame is in a converged state.

[0079] In this embodiment, whenever the current frame image is acquired, the target detection frame can be associated and updated based on the currently identified camera observation target. After multiple rounds of updates, the state of the target detection frame can be stabilized, that is, the state converges.

[0080] Taking the Kalman filter state prediction of the target detection frame as an example, the more times the target detection frame is updated, the more stable the state of the target detection frame tends to be. Therefore, it is possible to judge whether its state converges based on the number of times the target detection frame is updated.

[0081] Step S104: when the state of the updated target detection frame converges, determine whether the updated target detection frame is stationary.

[0082] If the state of the target detection frame converges, it means that the state (position, speed, acceleration, etc.) of the target detection frame has become stable. At this time, even if the error of the camera observing the target is large, for example, the speed observation value of the camera observing the target has a large error, updating the target detection frame with the speed observation value with a large error can ensure that the speed of the target detection frame is close to the actual speed of the camera observing the target. In other words, the state of the target detection frame with converged state is stable and is less affected by the error of the observation value.

[0083] Therefore, the target detection frame based on state convergence can more accurately represent the state of the corresponding observed target and reduce the impact of observation errors. In particular, for long-distance target detection, it can reduce the problem of inaccurate measurement caused by long distance and large error, so that it can accurately determine whether the target detection frame is stationary. If the target detection frame is stationary, the observed target associated with the target detection frame is also stationary. At this time, the stationary target detection frame can be sent downstream for planning control.

[0084] The detection method of a stationary target provided by an embodiment of the present invention associates the observed target observed by the camera with the target detection frame and updates the state. After multiple rounds of processing, the state of the target detection frame can be converged. Even if the observed value of the observed target has a large observation error, the target detection frame with a converged state can be used to accurately represent the true state of the corresponding observed target, which can reduce the impact caused by the observation error, so that it can more accurately judge whether the target detection frame is stationary. It also has a good detection effect on stationary targets at a distance, with high accuracy and recall rate; when applied to autonomous driving vehicles, it can accurately identify stationary objects such as obstacles in the lane, which can improve the safety of autonomous driving vehicles. The camera-based visual detection and recognition of stationary targets is low-cost, does not require data fusion, has a small amount of calculation, and has a high recognition efficiency.

[0085] In this embodiment, a method for detecting a stationary target is provided, which can be applied to a local terminal such as a vehicle controller, or to a server located on the network side, or a distributed system located on the network side. Figure 2 is a flow chart of a method for detecting a stationary target according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps.

[0086] Step S201, obtaining a current frame image captured by a camera, and identifying a camera observation target in the current frame image.

[0087] For details, please see Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0088] Step S202, associating the camera observed target with the current target detection frame, and performing state prediction update on the associated target detection frame according to the relative motion parameters of the camera observed target; the target detection frame includes a detection frame created based on the observed historical target.

[0089] For details, please see Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0090] In some optional implementations, the above step S202 of "associating the camera observation target with the current target detection frame" includes the following steps A1 to A3.

[0091] Step A1, associating the first camera observation target with the current target detection frame; the first camera observation target is the camera observation target corresponding to the most critical moving object.

[0092] Step A2, thereafter, the second camera observation target is associated with the target detection frame that is not currently associated with the first camera observation target; the second camera observation target is the camera observation target other than the first camera observation target.

[0093] Step A3: creating a new target detection frame for the target observed by the second camera that cannot be associated with the target detection frame.

[0094] In the autonomous driving scenario, there is the most critical driving object (MCDO) that affects the vehicle's driving. Since the first object in the ego lane is the most dangerous, it is generally used as the MCDO. After identifying multiple camera observation targets in the current frame image, it can be determined which camera observation target is the MCDO observation target. For ease of description, the camera observation target corresponding to the MCDO is called the first camera observation target, and the other camera observation targets except the first camera observation target are called the second camera observation targets, that is, the second camera observation target is a non-MCDO observation target.

[0095] When associating the detection frame, the first camera observation target related to the MCDO is first associated, which can increase the probability of the first camera observation target being associated and avoid the risk of association failure due to conflict with other camera observation targets.

[0096] After associating the first camera observation target, the remaining second camera observation targets can be associated. Specifically, the second camera observation target is associated with the target detection frame that is not currently associated with the first camera observation target.

[0097] If the first camera observes the target and successfully associates it with a target detection frame, the second camera observes the target and cannot associate it with the successfully associated target detection frame. If the first camera observes the target and fails to associate it, the second camera observes the target and can try to associate it with any target detection frame.

[0098] Furthermore, if there are second camera observation targets that cannot be associated with the target detection frame, new target detection frames are created for these second camera observation targets; if all second camera observation targets are successfully associated, no additional processing is required for the second camera observation targets.

[0099] In this embodiment, the camera observation target corresponding to the MCDO is first associated, so that the camera observation target corresponding to the MCDO can be associated and updated first, which can improve the recall rate of the MCDO target and thus improve the safety of the autonomous driving vehicle. Creating a new target detection frame for the second camera observation target that cannot be associated with the target detection frame can improve the detection rate of stationary targets; and creating a new target detection frame based on the camera observation target does not require the use of radar, which can avoid the problem of a large number of erroneous creation of target detection frames due to radar ghosting.

[0100] Optionally, the above step S202 of “associating the camera observation target with the current target detection frame” may also include the following steps A4 to A5.

[0101] Step A4, when the first camera observation target cannot be associated with the target detection frame, after creating a new target detection frame for the second camera observation target that cannot be associated with the target detection frame, the first camera observation target is re-associated with the target detection frame that is not currently associated with the camera observation target.

[0102] Step A5: when the target observed by the first camera cannot be associated with the target detection frame again, a new target detection frame is created for the target observed by the first camera.

[0103] In the embodiment of the present invention, if the target observed by the first camera cannot be associated with the target detection frame, a new target detection frame can be created for the target observed by the first camera similar to the above step A3. In order to improve the detection recall rate of MCDO, the target observed by the first camera is associated again.

[0104] Specifically, if in the above step A1, the target observed by the first camera cannot be associated with the target detection frame, then after the above step A3 "create a new target detection frame for the second camera observed target that cannot be associated with the target detection frame", the target observed by the first camera is associated again, that is, the first camera observed target is associated with the target detection frame that is not currently associated with the camera observed target. If the first camera observed target is successfully associated, the state prediction and update of the associated target detection frame is performed; if the first camera observed target fails to be associated again, that is, the target detection frame cannot be associated again, a new target detection frame is created for the first camera observed target.

[0105] Optionally, the method further includes step A6.

[0106] Step A6: Delete the target detection frame that meets the failure condition.

[0107] Among them, the failure condition includes: the time period when the target detection frame is not associated exceeds a first preset time period; or the target type of the target detection frame is inconsistent with the target type of the associated observation target, and the inconsistency lasts for more than a second preset time period.

[0108] In an embodiment of the present invention, for a certain target detection frame, if the time duration for which it is not associated exceeds a first preset time duration (for example, 300ms, 400ms, etc.), it means that the target detection frame has failed to be associated for a long time, and the target detection frame can be deleted.

[0109] Alternatively, if a target detection frame has established an association relationship with an observed target, but if the target type of the target detection frame is inconsistent with the target type of the observed target it is associated with for a long time, that is, the duration of the inconsistency between the two exceeds a second preset duration (e.g., 200ms, 300ms, etc.), then the association between the two can also be considered invalid, and the target detection frame can also be deleted. For example, if the target type of a target detection frame is "vehicle", but the target type of the observed target associated with it is "pedestrian", if the target types of the two are inconsistent for a long time, then the target detection frame is deleted.

[0110] Figure 3 A schematic diagram of the process of associating cameras to observe targets is shown in FIG. Figure 3 As shown, if there are currently seven target detection frames, namely target detection frames A to G; and six camera observation targets are identified in the current frame image, namely camera observation targets 1 to 6.

[0111] First, perform MCDO correlation. Figure 3 As shown in the figure, if the camera observed target 1 corresponds to MCDO, the camera observed target 1 is associated with the target detection frame; if the IOU between the camera observed target 1 and the target detection frame A is greater than the threshold, the two can be associated, and then the state prediction of the target detection frame A is updated based on the relative motion parameters of the camera observed target 1.

[0112] Then non-MCDO association is performed. Figure 3 As shown, camera observation targets 2 to 6 are all second camera observation targets, and these camera observation targets can be associated with the remaining target detection frames. Figure 3 As shown, camera observation targets 2, 3, 4, and 5 are associated with target detection frames B, C, D, and E, respectively, while camera observation target 6 fails to be associated.

[0113] After that, a new target detection frame can be created for the camera observation target that failed to be associated. Figure 3 As shown, based on the position, velocity, acceleration and other parameters of the target 6 observed by the camera, a new target detection frame H can be created.

[0114] Furthermore, if a target detection frame meets the invalidation condition, the invalid target detection frame is deleted. Figure 3 As shown, if the target detection frame G has not been associated for a long time, the target detection frame G can be deleted. When the next frame image is acquired, the camera observation target extracted therefrom is used to associate with the target detection frames A, B, C, D, E, F, and H.

[0115] It should be noted that in this embodiment, the radar detection results can also be associated with the target detection frame. If a target detection frame is not associated with the camera observation target but is successfully associated with the radar detection result, then the target detection frame is the associated target detection frame; the target detection frame will only be deleted if it has not been associated with the camera and radar observation targets for a long time.

[0116] In this embodiment, a second round of association update is performed on the first camera observation target corresponding to MCDO, which can improve the detection recall rate of MCDO and effectively avoid the missed detection of MCDO observation targets; and the invalid target detection frame is deleted in time, which can improve the accuracy of target detection.

[0117] Step S203, determining the radar observation targets currently identified by the radar, and screening out the stationary radar observation targets.

[0118] Since camera detection is greatly affected by light, there may be problems such as missed detection. Based on this, in this embodiment, radar is also used for target detection.

[0119] Specifically, based on the radar data collected by the radar, the target observed by the radar, i.e., the radar observation target, can be identified. The radar observation target can specifically include a radar point cloud target, and by tracking the radar point cloud target, a corresponding radar track target can be generated, and the radar track target can also be used as a radar observation target.

[0120] For each radar observation target, the probability that it is an obstacle can be determined. For radar observation targets whose probability exceeds a threshold, they can be preliminarily considered to be stationary. These radar observation targets will be referred to as stationary radar observation targets in the future.

[0121] Specifically, the radar can be a millimeter-wave radar, which eliminates the need for expensive laser radars, thus reducing the hardware cost of autonomous vehicles. In addition, camera detection and radar detection can run in parallel without affecting each other, and do not require data fusion, resulting in low computational complexity and high processing efficiency.

[0122] Step S204: associate the stationary radar observation target with the current target detection frame, and perform state prediction and update on the associated target detection frame according to the relative motion parameters of the stationary radar observation target.

[0123] In this embodiment, similar to identifying the camera observation target, after determining the stationary radar observation target, these stationary radar observation targets are associated with the current target detection frame, and then the state prediction and update of the associated target detection frame can be performed, which will not be repeated here.

[0124] Among them, since radar observation targets generally do not distinguish between target types, there are useless targets among the screened out stationary radar observation targets, such as roadside fences and trees. The target detection frame is created based on the target observed by the camera. The vision-based target detection frame has nothing to do with useless targets such as fences and trees. By associating the stationary radar observation target with the current target detection frame, useless targets identified by the radar can also be excluded.

[0125] It can be understood that camera target detection and radar target detection are independent. Therefore, for a certain target detection box, if it is associated with a camera detection target, a state prediction update can be performed based on the relative motion parameters of the camera detection target; if the target detection box is also associated with a stationary radar observation target, the state prediction update can be performed again based on the relative motion parameters of the stationary radar detection target.

[0126] Step S205, determining whether the updated target detection frame is in a converged state.

[0127] For details, please see Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0128] In some optional implementations, for a relatively important MCDO observation target, i.e., the first camera observation target, the convergence of the target detection frame associated with the MCDO observation target may be determined separately. Specifically, the above step S205 "determining whether the updated target detection frame is in a converged state" may specifically include steps B1 to B2.

[0129] Step B1, determining a first association number of the updated target detection frame; the first association number is the number of times the updated target detection frame is associated with the camera observation target corresponding to the most critical moving object.

[0130] Step B2: when the first association number is greater than the first threshold, determining that the updated target detection frame state converges.

[0131] In this embodiment, as described above, the camera observation target includes the first camera observation target corresponding to the most critical moving object, and the second camera observation target other than the first camera observation target. For any target detection frame, if it is associated with the first camera observation target, the number of times the target detection frame is associated with the camera observation target corresponding to the most critical moving object can be counted, thereby obtaining the first association number of the target detection frame. Wherein, each time the MCDO observation target of a frame image is associated with the target detection frame, the first association number of the target detection frame can be increased by one.

[0132] To ensure the accuracy of the first association number, the number of consecutive associations with the MCDO observation target may be counted, that is, the first association number is the number of consecutive associations of the updated target detection frame with the camera observation target corresponding to the most critical moving object.

[0133] If the first number of associations is greater than the first threshold, it means that the target detection frame has performed state prediction updates based on the relative motion parameters of the MCDO observed target at multiple moments, and the state of the target detection frame at this time can accurately represent the state of the MCDO observed target, so it can be determined that the state of the target detection frame has converged.

[0134] Alternatively, for any target detection frame, the number of times the associated camera observes the target may be counted, and convergence judgment may be performed based on the number. Specifically, the above step S205 "judging whether the updated target detection frame is in a converged state" may include steps B3 to B5.

[0135] Step B3, determining a second association number of the updated target detection frame; the second association number is the number of times the updated target detection frame is associated with the camera observation target.

[0136] Step B4, when the second number of associations is greater than the second threshold, determine the covariance matrix between the relative speed and the relative depth corresponding to the updated target detection frame.

[0137] Step B5: when the covariance matrix satisfies the convergence condition, determine whether the updated target detection frame state converges.

[0138] In this embodiment, for at least part of the target detection frame, the number of times it is associated with the camera observation target can be counted, and the number is used as the second association number of the target detection frame. In order to avoid misjudgment, the second association number can be the number of times the updated target detection frame is associated with the same camera observation target; for example, IDs can be set for different camera observation targets, and the second association number is the number of times the updated target detection frame is associated with the camera observation target corresponding to the same ID.

[0139] If the second number of associations is greater than the second threshold, it means that the target detection frame has most likely stabilized. In addition, to ensure the accuracy of the convergence judgment, in this embodiment, the covariance matrix between the relative speed and the relative depth corresponding to the target detection frame is also determined, and the convergence of the target detection frame state is further judged based on the covariance matrix.

[0140] Wherein, the convergence condition of the covariance matrix is ​​preset, and if the second association number of the target detection frame is greater than the second threshold and the covariance matrix satisfies the convergence condition, it can be determined that the state of the target detection frame is converged. For example, whether convergence can be judged based on the rank of the covariance matrix, or convergence can be judged based on the residual.

[0141] For the target detection frame associated with the MCDO observation target, the convergence judgment can also be performed again based on the above steps B3 to B5 to improve the reliability of the judgment result.

[0142] Optionally, the covariance matrix of the target detection box is:

[0143]

[0144] Where depth represents the relative depth observation, speed represents the relative speed observation, and P(depth, speed) represents the covariance matrix between relative speed and relative depth. dd represents the variance of relative depth observations, P ss represents the variance of the relative velocity observation, P ds represents the covariance between the relative depth observation and the relative velocity observation, P sd Represents the covariance between the relative velocity observation and the relative depth observation.

[0145] In this embodiment, for the current frame image captured by the camera, the relative depth and relative speed of the target observed by the camera can be determined, that is, the relative depth observation quantity depth and the relative speed observation quantity speed. For example, the current frame image can be input into a velocity network (Velocity Net), and the relative depth and relative speed of the target observed by the camera can be determined based on the output of the velocity network. Based on the relative depth observation quantity depth and the relative speed observation quantity speed corresponding to the frame image, the covariance matrix between the relative speed and the relative depth can be calculated. Among them, P ds , P sd The physical meanings of the two are different, but their values ​​are generally the same.

[0146] In this embodiment, the convergence condition set is specifically:

[0147]

[0148] Wherein, depth′ is the relative depth of the target detection box, that is, the relative depth predicted by the target detection box. k1 and k2 are both preset threshold parameters, and both are pre-set hyper parameters.

[0149] After determining the covariance matrix of the target detection box, we can quickly and easily determine whether the above formula is true: if P dd -P ds *P sd / P ss <(k1*depth′) 2 , and P ss -P sd *P ds / P dd <k2 2 , then the covariance matrix satisfies the convergence condition, that is, the state of the target detection box converges.

[0150] In this embodiment, by counting the first association times of the target detection frame, the convergence of the target detection frame associated with the MCDO observation target can be quickly determined, so as to quickly determine whether the corresponding target detection frame is stationary. The convergence condition of the covariance matrix is ​​preset, and based on the second association times and the covariance matrix of the target detection frame, it is possible to more accurately determine whether convergence has occurred, effectively reducing the possibility of misjudgment.

[0151] Optionally, based on the number of associations with the stationary radar observation target, the convergence of the corresponding target detection frame can also be judged. Specifically, the above step S205 "judging whether the updated target detection frame is in a converged state" can also include step B6.

[0152] Step B6, determining the third association number of the updated target detection frame; the third association number is the number of times the updated target detection frame is associated with the stationary radar observation target; when the third association number is greater than the third threshold, determining that the state of the updated target detection frame has converged.

[0153] In this embodiment, similar to the above-mentioned process of judging the convergence of the target detection frame based on the first association number, after determining the third association number of the target detection frame associated with the stationary radar observation target, it can be judged whether the third association number is greater than the third threshold. If the third association number is greater than the third threshold, it can be determined that the updated target detection frame state converges.

[0154] Among them, the first threshold, the second threshold, and the third threshold may be the same or different, and the specific value may be determined based on actual conditions.

[0155] Step S206: When the state of the updated target detection frame converges, determine whether the updated target detection frame is stationary.

[0156] For details, please see Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0157] In some optional implementations, the above step S206 "determining whether the updated target detection frame is stationary when the state of the updated target detection frame converges" includes the following steps C1.

[0158] Step C1, when the state of the updated target detection frame converges, if the relative speed of the updated target detection frame is less than the current speed threshold, it is determined that the updated target detection frame is stationary.

[0159] In this embodiment, if the observed target is stationary, the relative speed between it and itself should be the negative value of its own speed; for example, if the vehicle's own speed is 30m / s, the relative speed between it and the stationary target should be -30m / s. When the target detection frame state converges, the smaller its relative speed is, the closer it is to the negative value of its own speed, and the more likely the target detection frame is stationary.

[0160] Specifically, a corresponding speed threshold can be set based on its own speed, and the speed threshold can be slightly larger than the negative value of its own speed; if the relative speed of the target detection frame is less than the current speed threshold, it can be considered that the relative speed of the target detection frame is basically the same as the negative value of its own speed, and it can be simply and quickly determined that the target detection frame is stationary.

[0161] For example, if it is determined based on steps B1 to B2 that the target detection frame associated with the MCDO observation target converges, it may be further determined based on step C1 whether the target detection frame associated with the MCDO observation target is stationary.

[0162] Alternatively, the above step S206 "determining whether the updated target detection frame is stationary when the state of the updated target detection frame converges" may also include the following steps C2 to C3.

[0163] Step C2, when the state of the updated target detection frame converges, the negative value of the own speed is used as a variable and the relative speed of the updated target detection frame is used as the expectation to determine the normal distribution cumulative probability corresponding to the own speed.

[0164] In this embodiment, for the target detection frame whose state is converged, the relative speed of the target detection frame can be determined, and the own speed can be determined, and the own speed can be, for example, the speed of the autonomous driving vehicle. In addition, the probability density function of the normal distribution cumulative probability is constructed with the negative value of the own speed as a variable and the relative speed of the updated target detection frame as the expectation, so that the normal distribution cumulative probability corresponding to the own speed can be determined.

[0165] Optionally, the normal distribution cumulative probability F(x; μ, σ) is:

[0166]

[0167] Wherein, x represents the negative value of the own speed, Δv represents the preset speed difference, μ represents the relative speed expectation, and σ represents the relative speed standard deviation.

[0168] In this embodiment, a speed difference Δv is preset, and the speed difference Δv can be adjusted dynamically, which can be determined based on the actual situation. After detecting the own speed v, the negative value of the own speed v can be used as the variable x, that is, x=-v; and after determining the relative speed speed′ of the target detection frame, the relative speed speed′ can be used as the expected μ, and the relative speed standard deviation σ can be calculated based on the relative speed observation of multiple frames. It can be understood that the variance σ of the relative speed 2 , which is also the variance P in the covariance matrix ss .

[0169] Step C3, when the normal distribution cumulative probability is greater than a preset probability value, determining that the target in the updated target detection frame is stationary.

[0170] In this embodiment, a probability value for determining whether the target is stationary is preset, that is, a preset probability value, which can be specifically determined based on the relative speed standard deviation σ. If the normal distribution cumulative F(x; μ, σ) corresponding to the negative value x of the own speed is greater than the preset probability value (for example, 0.6 to 0.8), it can be explained that x is close to the relative speed μ, so at this time it can be determined that the target detection frame is stationary.

[0171] Judging whether a target is stationary is based on the cumulative probability of normal distribution. This can improve the detection accuracy of stationary targets and prevent some moving targets from being judged as stationary, thereby causing abnormal deceleration of the autonomous driving vehicle.

[0172] Optionally, for a radar observation target, it may be simply determined whether the associated target detection frame is stationary. Specifically, the above step of "determining whether the updated target detection frame is stationary when the state of the updated target detection frame converges" may include step C4.

[0173] Step C4, when the third association number of the updated target detection frame and the stationary radar observation target is greater than the third threshold, it is determined that the updated target detection frame is stationary.

[0174] In this embodiment, if a target detection frame is associated with a stationary radar observation target, and the third number of associations with the stationary radar observation target is greater than the third threshold, since the radar can generally detect stationary targets more accurately, when the target detection frame state converges, it can be directly determined that the target detection frame is stationary.

[0175] Figure 4 A detailed flow chart of the stationary target detection method is shown, combining a camera and a radar to detect stationary targets. Figure 4 As shown, the method includes the following steps.

[0176] Step S401, initial target detection frame.

[0177] For example, an initial target detection frame is created for the observed target captured by the camera, and a Kalman filter state prediction is performed to obtain an updated target detection frame.

[0178] Step S402: extracting the camera observation target.

[0179] For example, a current frame image captured by a camera is acquired, and camera observation targets in the current frame image are identified, specifically including MCDO observation targets and non-MCDO observation targets.

[0180] Step S403: the first round of association and update of MCDO observation targets.

[0181] Step S404: non-MCDO observation target association and update.

[0182] Step S405: creating target detection frames for the remaining camera observation targets.

[0183] Step S406: first round of association and update of unassociated MCDO observation targets.

[0184] Step S407, deleting the invalid target detection frame.

[0185] The processes of the above steps S403 to S407 may be specifically referred to the relevant descriptions of the above steps A1 to A6, which will not be repeated here.

[0186] Step S408, determining whether the first association number N1 is greater than a first threshold Th1, if N1>Th1, it indicates that the state of the target detection frame converges, and executing the subsequent step S409.

[0187] After step S403, if the MCDO observation target association is successful, step S408 may be executed.

[0188] In step S409, if the relative speed of the target detection frame is less than the current speed threshold, the target detection frame is stationary. Then, the subsequent step S415 is executed.

[0189] For details, please refer to the relevant description of step C1, which will not be repeated here.

[0190] Step S410, determining whether the second association number N2 is greater than a second threshold Th2, if N2>Th2, then continuing to execute the subsequent step S411.

[0191] Step S411, determine whether the covariance matrix P meets the convergence condition. If the covariance matrix P meets the convergence condition, it means that the state of the target detection frame converges, and the subsequent step S412 is executed.

[0192] Step S412, determining the normal distribution cumulative probability corresponding to the own speed, if the normal distribution cumulative probability is greater than the preset probability value, determining that the target in the target detection frame is stationary. Then, executing the subsequent step S415.

[0193] For details, please refer to the relevant descriptions of step C2 to step C3, which will not be repeated here.

[0194] Step S413, extracting stationary radar observation targets.

[0195] Step S414, determining whether the third association number N3 is greater than a third threshold Th3, if N3>Th3, directly determining that the target detection frame is stationary, and executing the subsequent step S415.

[0196] Step S415: publish a stationary target detection frame.

[0197] For example, a stationary target detection frame may be directed downstream to perform planning control based on the stationary target detection frame.

[0198] The method for detecting stationary targets provided by an embodiment of the present invention uses a camera to create a target detection frame, and combines the camera and radar to update the target detection frame to determine whether the target is stationary. It has a high accuracy rate for detecting stationary targets and can effectively avoid the problem of missed detection of stationary vehicle targets caused by missed detection of long-distance cameras and missed detection of radar tracks.

[0199] In this embodiment, a detection device for a stationary target is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0200] This embodiment provides a stationary target detection device, such as Figure 5 As shown, including:

[0201] The target recognition module 501 is used to obtain the current frame image captured by the camera and recognize the camera observation target in the current frame image;

[0202] An association update module 502 is used to associate the camera observation target with the current target detection frame, and perform state prediction update on the associated target detection frame according to the relative motion parameters of the camera observation target; the target detection frame includes a detection frame created based on the observed historical target;

[0203] A convergence judgment module 503 is used to judge whether the updated target detection frame is in a converged state;

[0204] The detection module 504 is used to determine whether the updated target detection frame is stationary when the state of the updated target detection frame converges.

[0205] In some optional implementations, the association updating module 502 associates the camera observation target with the current target detection frame, including:

[0206] Associating a first camera observation target with a current target detection frame; the first camera observation target is a camera observation target corresponding to the most critical moving object;

[0207] Afterwards, associating the second camera observation target with the target detection frame that is not currently associated with the first camera observation target; the second camera observation target is a camera observation target other than the first camera observation target;

[0208] A new object detection box is created for the second camera observation object that cannot be associated with the object detection box.

[0209] In some optional implementations, the association updating module 502 associates the camera observation target with the current target detection frame, and further includes:

[0210] In a case where the first camera observation target cannot be associated with a target detection frame, after creating a new target detection frame for the second camera observation target that cannot be associated with a target detection frame, re-associating the first camera observation target with a target detection frame that is not currently associated with the camera observation target;

[0211] In a case where the first camera observation target cannot be associated with the target detection frame again, a new target detection frame is created for the first camera observation target.

[0212] In some optional implementations, the convergence determination module 503 determines whether the updated target detection frame is in a converged state, including:

[0213] Determine a first association number of the updated target detection frame; the first association number is the number of times the updated target detection frame is associated with the camera observation target corresponding to the most critical moving object;

[0214] When the first association number is greater than a first threshold, determining that the updated target detection frame state converges;

[0215] and / or,

[0216] Determine a second association number of the updated target detection frame; the second association number is the number of times the updated target detection frame is associated with the camera observation target;

[0217] When the second association number is greater than a second threshold, determining a covariance matrix between a relative speed and a relative depth corresponding to the updated target detection frame;

[0218] When the covariance matrix satisfies a convergence condition, it is determined that the updated target detection frame state converges.

[0219] In some optional implementations, the covariance matrix is:

[0220]

[0221] Where depth represents the relative depth observation, speed represents the relative speed observation, and P(depth, speed) represents the covariance matrix between relative speed and relative depth. dd represents the variance of relative depth observations, P ss represents the variance of the relative velocity observation, P ds represents the covariance between the relative depth observation and the relative velocity observation, P sd represents the covariance between the relative velocity observation and the relative depth observation;

[0222] The convergence conditions include:

[0223]

[0224] Among them, depth′ is the relative depth of the target detection box, and k1 and k2 are both preset threshold parameters.

[0225] In some optional implementations, when the state of the updated target detection frame converges, the detection module 504 determines whether the updated target detection frame is stationary, including:

[0226] When the state of the updated target detection frame converges, if the relative speed of the updated target detection frame is less than the current speed threshold, determining that the updated target detection frame is stationary;

[0227] or,

[0228] When the state of the updated target detection frame converges, the negative value of the own speed is used as a variable and the relative speed of the updated target detection frame is used as an expectation, and the normal distribution cumulative probability corresponding to the own speed is determined;

[0229] When the normal distribution cumulative probability is greater than a preset probability value, it is determined that the target in the updated target detection frame is stationary.

[0230] In some optional implementations, the normal distribution cumulative probability is:

[0231]

[0232] Wherein, x represents the negative value of the own speed, Δv represents the preset speed difference, μ represents the relative speed expectation, and σ represents the relative speed standard deviation.

[0233] In some optional implementations, the target recognition module 501 is further used to determine the radar observation target currently recognized by the radar, and filter out the stationary radar observation target;

[0234] The association updating module 502 is further used to associate the stationary radar observation target with the current target detection frame, and perform state prediction update on the associated target detection frame according to the relative motion parameters of the stationary radar observation target.

[0235] In some optional implementations, the convergence determination module 503 determines whether the updated target detection frame is in a converged state, including:

[0236] Determine a third association number of the updated target detection frame; the third association number is the number of times the updated target detection frame is associated with the stationary radar observation target; when the third association number is greater than a third threshold, determine that the state of the updated target detection frame converges;

[0237] When the state of the updated target detection frame converges, the detection module 504 determines whether the updated target detection frame is stationary, including:

[0238] When a third association number of the updated target detection frame and the stationary radar observation target is greater than a third threshold, it is determined that the updated target detection frame is stationary.

[0239] In some optional implementations, the association updating module 502 is further configured to:

[0240] Delete the target detection frame that meets the failure conditions;

[0241] Among them, the failure conditions include: the time period during which the target detection frame is not associated exceeds a first preset time period; or the target type of the target detection frame is inconsistent with the target type of the associated observation target, and the inconsistency lasts for more than a second preset time period.

[0242] 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.

[0243] The detection device for stationary targets in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, including a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0244] An embodiment of the present invention further provides a vehicle, which includes a vehicle controller. The vehicle controller can implement the stationary target detection method provided by any of the above embodiments.

[0245] The embodiment of the present invention also provides a computer device having the above Figure 5 The detection device of the stationary target shown. For example, the computer device can be a vehicle controller.

[0246] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, 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. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard 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 the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with 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 6 A processor 10 is taken as an example.

[0247] 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 a dedicated 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.

[0248] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0249] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to 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 optional embodiments, the memory 20 may optionally include a memory remotely arranged 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.

[0250] 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.

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

[0252] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method 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 hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. 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.

[0253] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0254] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for detecting a stationary target, characterized in that: The method comprises: Acquire a current frame image captured by a camera, and identify a camera observation target in the current frame image; Associating the camera-observed target with a current target detection frame, and performing state prediction update on the associated target detection frame according to the relative motion parameters of the camera-observed target; the target detection frame includes a detection frame created based on the observed historical target; Determine whether the updated target detection frame is in a converged state; When the state of the updated target detection frame converges, it is determined whether the updated target detection frame is stationary.

2. The method according to claim 1, characterized in that The associating the camera observation target with the current target detection frame includes: Associating a first camera observation target with a current target detection frame; the first camera observation target is a camera observation target corresponding to the most critical moving object; Afterwards, associating the second camera observation target with the target detection frame that is not currently associated with the first camera observation target; the second camera observation target is a camera observation target other than the first camera observation target; A new object detection box is created for the second camera observation object that cannot be associated with the object detection box.

3. The method according to claim 2, characterized in that The associating the camera observation target with the current target detection frame also includes: In a case where the first camera observation target cannot be associated with a target detection frame, after creating a new target detection frame for the second camera observation target that cannot be associated with a target detection frame, re-associating the first camera observation target with a target detection frame that is not currently associated with the camera observation target; In a case where the first camera observation target cannot be associated with the target detection frame again, a new target detection frame is created for the first camera observation target.

4. The method according to claim 1, characterized in that The determining whether the updated target detection frame is in a converged state includes: Determine a first association number of the updated target detection frame; the first association number is the number of times the updated target detection frame is associated with the camera observation target corresponding to the most critical moving object; When the first association number is greater than a first threshold, determining that the updated target detection frame state converges; and / or, Determine a second association number of the updated target detection frame; the second association number is the number of times the updated target detection frame is associated with the camera observation target; When the second association number is greater than a second threshold, determining a covariance matrix between a relative speed and a relative depth corresponding to the updated target detection frame; When the covariance matrix satisfies a convergence condition, it is determined that the updated target detection frame state converges.

5. The method according to claim 4, characterized in that The covariance matrix is: Where depth represents the relative depth observation, speed represents the relative speed observation, and P(depth, speed) represents the covariance matrix between relative speed and relative depth. dd represents the variance of relative depth observations, P ss represents the variance of the relative velocity observation, P ds represents the covariance between the relative depth observation and the relative velocity observation, P sd represents the covariance between the relative velocity observation and the relative depth observation; The convergence conditions include: Among them, depth′ is the relative depth of the target detection box, and k1 and k2 are both preset threshold parameters.

6. The method according to claim 1, characterized in that When the state of the updated target detection frame converges, determining whether the updated target detection frame is stationary includes: When the state of the updated target detection frame converges, if the relative speed of the updated target detection frame is less than the current speed threshold, determining that the updated target detection frame is stationary; or, When the state of the updated target detection frame converges, the negative value of the own speed is used as a variable and the relative speed of the updated target detection frame is used as an expectation, and the normal distribution cumulative probability corresponding to the own speed is determined; When the normal distribution cumulative probability is greater than a preset probability value, it is determined that the target in the updated target detection frame is stationary.

7. The method according to claim 6, characterized in that The normal distribution cumulative probability is: Wherein, x represents the negative value of the own speed, Δv represents the preset speed difference, μ represents the relative speed expectation, and σ represents the relative speed standard deviation.

8. The method according to claim 1, characterized in that: Also includes: Determine the radar observation targets currently identified by the radar, and screen out the stationary radar observation targets; The stationary radar observation target is associated with the current target detection frame, and the state prediction and update of the associated target detection frame are performed according to the relative motion parameters of the stationary radar observation target.

9. The method according to claim 8, characterized in that The determining whether the updated target detection frame is in a converged state includes: Determine a third association number of the updated target detection frame; the third association number is the number of times the updated target detection frame is associated with the stationary radar observation target; when the third association number is greater than a third threshold, determine that the state of the updated target detection frame converges; When the state of the updated target detection frame converges, determining whether the updated target detection frame is stationary includes: When a third association number of the updated target detection frame and the stationary radar observation target is greater than a third threshold, it is determined that the updated target detection frame is stationary.

10. The method according to claim 1, characterized in that Also includes: Delete the target detection frame that meets the failure conditions; Among them, the failure conditions include: the time period during which the target detection frame is not associated exceeds a first preset time period; or the target type of the target detection frame is inconsistent with the target type of the associated observation target, and the inconsistency lasts for more than a second preset time period.

11. A stationary target detection device, characterized in that: The device comprises: The target recognition module is used to obtain the current frame image captured by the camera and identify the camera observation target in the current frame image; An association update module, used to associate the camera observation target with the current target detection frame, and perform state prediction update on the associated target detection frame according to the relative motion parameters of the camera observation target; the target detection frame includes a detection frame created based on the observed historical target; A convergence judgment module is used to judge whether the updated target detection frame is in a converged state; The detection module is used to determine whether the updated target detection frame is stationary when the state of the updated target detection frame converges.

12. 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 stationary target detection method according to any one of claims 1 to 10 by executing the computer instructions.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the stationary target detection method according to any one of claims 1 to 10.

14. A vehicle, characterized in that: The vehicle comprises a vehicle controller, and the vehicle controller is used to execute the stationary target detection method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Image detection method, device and computer readable storage medium

    CN108376235A

  • Target tracking method and device, electronic equipment and computer readable storage medium

    CN111640140A

  • Vehicle accident detection method and device, and electronic equipment

    CN113792586A

  • Vehicle illegal parking identification method and related equipment

    CN114724093A

  • State determination method and device, storage medium and electronic device

    CN114842376A