Speed ​​bump identification method, device, storage medium and vehicle

By predicting and matching the recognition results of speed bumps, the problem of inaccurate recognition of speed bumps while the vehicle is driving is solved, and the accuracy of the recognition and user experience are improved.

CN118155166BActive Publication Date: 2024-10-01XIAOMI EV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410224672.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-28
Publication Date
2024-10-01
Estimated Expiration
2044-02-28

AI Technical Summary

Technical Problem

The recognition of speed bumps due to high speed and bumps while the vehicle is driving is not accurate enough, affecting the user's driving experience.

Method used

By obtaining the original speed bump recognition results, predict the speed bump recognition results at the next moment, and match in three-dimensional and two-dimensional spaces according to the preset matching conditions to determine the target speed bump matching pair, thereby improving the accuracy of speed bump recognition.

Benefits of technology

It achieves matching based on the recognition results of speed bumps at different times, obtains more accurate target speed bump recognition results, and improves the vehicle's adjustment stability and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118155166B_ABST
    Figure CN118155166B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a speed bump identification method, device, storage medium and vehicle, and relates to the field of image processing technology. The speed bump identification method comprises: obtaining an original speed bump identification result corresponding to a target image, and determining a predicted speed bump identification result corresponding to the next moment according to the original speed bump identification result, and then matching a first speed bump in the original speed bump identification result with a second speed bump in the predicted speed bump identification result according to a preset matching condition to obtain a target speed bump matching pair, and finally determining the first speed bump in the target speed bump matching pair as the target speed bump identification result. Thus, a more accurate target speed bump identification result can be obtained by matching according to the speed bump identification results at different moments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and in particular to a speed bump recognition method, device, storage medium and vehicle. Background Art

[0002] In the related art, since the vehicle travels at a high speed and may experience bumps, the identified speed bumps may not be accurate enough, thus affecting the user's driving experience. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a speed bump identification method, device, storage medium and vehicle, which obtain a predicted speed bump identification result corresponding to the next moment according to the original speed bump identification result, and match the first speed bump in the original speed bump identification result and the second speed bump in the predicted speed bump identification result according to the preset matching conditions to obtain a target speed bump matching pair, and then determine the first speed bump in the target speed bump matching pair as the target speed bump identification result, so that a more accurate target speed bump identification result can be obtained by matching according to the speed bump identification results at different moments.

[0004] According to a first aspect of an embodiment of the present disclosure, a speed bump identification method is provided, comprising:

[0005] Obtain the original speed bump recognition result corresponding to the target image;

[0006] Determine, according to the original speed bump identification result, a predicted speed bump identification result corresponding to the next moment, wherein the original speed bump identification result includes at least one first speed bump, and the predicted speed bump identification result includes at least one second speed bump;

[0007] According to a preset matching condition, matching the first speed bump in the original speed bump recognition result with the second speed bump in the predicted speed bump recognition result to obtain a target speed bump matching pair;

[0008] The first speed bump in the target speed bump matching pair is determined as a target speed bump identification result.

[0009] Optionally, the preset matching condition includes a first matching condition and a second matching condition;

[0010] The matching of the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result according to the preset matching condition to obtain a target speed bump matching pair includes:

[0011] According to the first matching condition, matching the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result in three-dimensional space to obtain a first matching pair;

[0012] determining, according to the first matching pair, a first unpaired speed bump in the original speed bump identification result and a second unpaired speed bump in the predicted speed bump identification result;

[0013] According to the second matching condition, matching the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result in two-dimensional space to obtain a second matching pair;

[0014] The target speed bump matching pair is obtained according to the first matching pair and the second matching pair.

[0015] Optionally, matching the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result in three-dimensional space according to the first matching condition to obtain a first matching pair includes:

[0016] In a three-dimensional space, for any first speed bump in the original speed bump recognition result, according to the first matching condition, the first speed bump is matched with the second speed bump in the predicted speed bump recognition result, to obtain a first matching result corresponding to the first speed bump;

[0017] The first matching pair is determined according to the first matching results corresponding to all the first speed bumps in the original speed bump recognition results.

[0018] Optionally, for any first speed bump in the original speed bump recognition result, matching the first speed bump with a second speed bump in the predicted speed bump recognition result according to the first matching condition to obtain a first matching result corresponding to the first speed bump includes:

[0019] For any first speed bump in the original speed bump identification result, if there is a first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification result, determine a matching pair consisting of the first target speed bump and the first speed bump as a first matching result corresponding to the first speed bump;

[0020] For any first speed bump in the original speed bump identification result, if there is no first target speed bump satisfying the first matching condition in the second speed bump in the predicted speed bump identification result, it is determined that the first matching result corresponding to the first speed bump is an empty set.

[0021] Optionally, the method further comprises:

[0022] For any second speed bump in the predicted speed bump identification result, determining a first straight-line distance and a first intersection-and-joint ratio between the second speed bump and any first speed bump;

[0023] When the first straight-line distance is less than a first preset distance threshold and the first intersection-and-joint ratio is greater than a first preset intersection-and-joint ratio threshold, it is determined that there is a first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification result, and the second speed bump is determined as the first target speed bump.

[0024] Optionally, matching the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result in a two-dimensional space to obtain a second matching pair according to the second matching condition includes:

[0025] In a two-dimensional space, for any first unpaired speed bump in the original speed bump recognition result, according to the second matching condition, the first unpaired speed bump is matched with a second unpaired speed bump in the predicted speed bump recognition result, to obtain a second matching result corresponding to the first unpaired speed bump;

[0026] The second matching pair is determined according to the second matching results corresponding to all the first unpaired speed bumps in the original speed bump recognition results.

[0027] Optionally, for any first unpaired speed bump in the original speed bump recognition result, matching the first unpaired speed bump with a second unpaired speed bump in the predicted speed bump recognition result according to the second matching condition to obtain a second matching result corresponding to the first unpaired speed bump includes:

[0028] For any first unpaired speed bump in the original speed bump identification result, if there is a second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification result, determine a matching pair consisting of the second target speed bump and the first unpaired speed bump as the second matching result;

[0029] For any first unpaired speed bump in the original speed bump identification result, if there is no second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification result, it is determined that the second matching result is an empty set.

[0030] Optionally, the method further comprises:

[0031] For any second unpaired speed bump in the predicted speed bump identification result, determining an included angle, a second straight-line distance, and a second intersection-and-combination ratio between the second unpaired speed bump and any first unpaired speed bump;

[0032] When the angle is less than a preset angle threshold, and the second straight-line distance is less than a second preset distance threshold, and the second intersection-and-joint ratio is greater than a second preset intersection-and-joint ratio threshold, it is determined that there is a second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification result, and the second unpaired speed bump is determined as the second target speed bump.

[0033] Optionally, obtaining an original speed bump recognition result corresponding to the target image includes:

[0034] Acquire the target image, where the target image is a road image;

[0035] The target image is processed by a target recognition model to obtain an initial speed bump recognition result and an offset value, wherein the target recognition model is obtained by training a basic model with multiple sample images carrying annotated labels, and the annotated label of each sample image includes sub-offset values ​​and actual speed bump blocks corresponding to multiple image blocks constituting the sample image;

[0036] The original speed bump recognition result is obtained according to the initial speed bump recognition result and the offset value.

[0037] According to a second aspect of an embodiment of the present disclosure, there is provided a speed bump identification device, comprising:

[0038] An acquisition module is configured to acquire an original speed bump recognition result corresponding to the target image;

[0039] A first determination module is configured to determine a predicted speed bump identification result corresponding to a next moment according to the original speed bump identification result, wherein the original speed bump identification result includes at least one first speed bump, and the predicted speed bump identification result includes at least one second speed bump;

[0040] a matching module configured to match the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result according to a preset matching condition to obtain a target speed bump matching pair;

[0041] The second determination module is configured to determine the first speed bump in the target speed bump matching pair as the target speed bump identification result.

[0042] According to a third aspect of an embodiment of the present disclosure, there is provided a speed bump identification device, comprising:

[0043] processor;

[0044] a memory for storing processor-executable instructions;

[0045] The processor is configured to implement the steps of the speed bump identification method provided in the first aspect of the present disclosure when executing.

[0046] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the speed bump identification method provided in the first aspect of the present disclosure are implemented.

[0047] According to a fifth aspect of an embodiment of the present disclosure, a vehicle is provided, comprising the speed bump identification device provided by the third aspect of the present disclosure.

[0048] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0049] Based on the original speed bump recognition result, the predicted speed bump recognition result corresponding to the next moment is obtained, and according to the preset matching conditions, the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result are matched to obtain a target speed bump matching pair, and then the first speed bump in the target speed bump matching pair is determined as the target speed bump recognition result, so that a more accurate target speed bump recognition result can be obtained by matching according to the speed bump recognition results at different moments.

[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0052] Figure 1 The figure is a flow chart of a speed bump identification method according to an exemplary embodiment.

[0053] Figure 2 The invention is a flowchart showing a method for determining a target speed bump matching pair according to an exemplary embodiment.

[0054] Figure 3 The figure is a flow chart of another speed bump identification method according to an exemplary embodiment.

[0055] Figure 4 The figure is a block diagram of a speed bump identification device according to an exemplary embodiment.

[0056] Figure 5is a block diagram of a vehicle according to an exemplary embodiment. DETAILED DESCRIPTION

[0057] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0058] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.

[0059] Figure 1 is a flow chart of a speed bump identification method according to an exemplary embodiment. Figure 1 As shown, the following steps may be included.

[0060] In step S101, the original speed bump recognition result corresponding to the target image is obtained.

[0061] In this embodiment, the original speed bump recognition result obtained after speed bump recognition of the target image can be obtained, so that the original speed bump recognition result can be further processed on the basis of the original speed bump recognition result to obtain a more accurate speed bump recognition result. The original speed bump recognition result can be obtained by processing the target image with a pre-trained speed bump recognition model based on deep learning, or by processing the target image with other image recognition methods.

[0062] In step S102, a predicted speed bump identification result corresponding to the next moment is determined according to the original speed bump identification result, wherein the original speed bump identification result includes at least one first speed bump, and the predicted speed bump identification result includes at least one second speed bump.

[0063] In this embodiment, the speed bump can be further predicted based on the original speed bump recognition result, so as to obtain the predicted speed bump recognition result corresponding to the next moment. For example, the original speed bump recognition result can be predicted by a Kalman filter. The target image can be an image acquired at the moment corresponding to the current detection cycle, and the next moment can be the moment corresponding to the next detection cycle of acquiring the image.

[0064] In step S103, according to a preset matching condition, the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result are matched to obtain a target speed bump matching pair.

[0065] In this embodiment, the preset matching condition is used to match the first speed bump and the second speed bump corresponding to the same speed bump. Based on the preset matching condition, the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result can be matched, so as to match the first speed bump and the second speed bump that belong to the same speed bump in the original speed bump recognition result and the predicted speed bump recognition result, and obtain a target speed bump matching pair. That is, each matching pair in the target speed bump matching pair includes a first speed bump and a second speed bump.

[0066] In step S104, the first speed bump in the target speed bump matching pair is determined as the target speed bump identification result.

[0067] In this embodiment, the first speed bump in the target speed bump matching pair can be determined as the target speed bump recognition result. Thus, the first speed bump that is not matched to the second speed bump in the original speed bump recognition result can be deleted, and only the first speed bump that is matched to the second speed bump in the original speed bump recognition result is retained, so that the stability of speed bump recognition can be ensured through image recognition results at different times, and the accuracy of the recognized speed bump results can be improved, so that the vehicle can be adjusted more accurately, such as adjusting the vehicle's air suspension system and torque, etc., so as to improve the user's driving experience.

[0068] Figure 2 is a flow chart showing a method for determining a target speed bump matching pair according to an exemplary embodiment. Figure 2 As shown, in a possible implementation manner, the preset matching condition includes a first matching condition and a second matching condition. According to the preset matching condition, matching the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result to obtain a target speed bump matching pair may include the following steps:

[0069] In step S201, according to a first matching condition, a first speed bump in the original speed bump recognition result and a second speed bump in the predicted speed bump recognition result are matched in three-dimensional space to obtain a first matching pair.

[0070] In this embodiment, the original speed bump recognition result and the predicted speed bump recognition result can be converted from the image coordinate system to the world coordinate system, and then converted to the vehicle coordinate system in three-dimensional space, so as to obtain the original speed bump recognition result and the predicted speed bump recognition result in the vehicle coordinate system. In order to match the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result in three-dimensional space, a first matching pair can be obtained. Specifically, the Hungarian algorithm can be used for matching. Each matching pair in the first matching pair includes a first speed bump and a second speed bump.

[0071] In step S202, according to the first matching pair, a first unpaired speed bump in the original speed bump recognition result and a second unpaired speed bump in the predicted speed bump recognition result are determined.

[0072] In this embodiment, the first speed bump that is not matched in the original speed bump identification result and the second speed bump that is not matched in the predicted speed bump identification result can be determined based on the first speed bump and the second speed bump included in the first matching pair, and the first speed bump that is not matched in the original speed bump identification result is determined as the first unpaired speed bump, and the second speed bump that is not matched in the predicted speed bump identification result is determined as the second unpaired speed bump.

[0073] In step S203, according to the second matching condition, the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result are matched in two-dimensional space to obtain a second matching pair.

[0074] In this embodiment, the original speed bump recognition result and the predicted speed bump recognition result corresponding to the image coordinate system in the two-dimensional space can be determined. Then, the first unpaired speed bump and the second unpaired speed bump corresponding to the image coordinate system in the two-dimensional space are obtained, so as to match the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result in the two-dimensional space to obtain a second matching pair. Each matching pair in the second matching pair includes a first unpaired speed bump and a second unpaired speed bump.

[0075] In step S204, a target speed bump matching pair is obtained according to the first matching pair and the second matching pair.

[0076] In this embodiment, the first matching pair and the second matching pair may be combined to obtain a target speed bump matching pair, that is, the target speed bump matching pair includes the first matching pair and the second matching pair.

[0077] In a possible implementation, after obtaining the target speed bump recognition result, the target speed bump recognition result at the current moment may be used as the original speed bump recognition result at the next moment, thereby continuously tracking the speed bump.

[0078] In a possible implementation, according to the first matching condition, matching the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result in three-dimensional space to obtain a first matching pair may include:

[0079] In three-dimensional space, for any first speed bump in the original speed bump recognition results, according to the first matching condition, the first speed bump is matched with the second speed bump in the predicted speed bump recognition results respectively to obtain a first matching result corresponding to the first speed bump; based on the first matching results corresponding to all first speed bumps in the original speed bump recognition results, a first matching pair is determined.

[0080] In this embodiment, in the vehicle coordinate system in the three-dimensional space, the first speed bump in the original speed bump recognition result can be matched one by one with the second speed bump in the predicted speed bump recognition result. Specifically, for any first speed bump in the original speed bump recognition result, according to the first matching condition, the first speed bump is matched one by one with all the second speed bumps in the predicted speed bump recognition result to obtain the first matching result corresponding to the first speed bump. In the matching process, if the second speed bump corresponding to the first speed bump is matched, the matching can be stopped, the first speed bump and the second speed bump obtained by matching can be formed into a matching pair, and the matching pair is determined as the first matching result corresponding to the first speed bump. If the second speed bump corresponding to the first speed bump is not matched in the predicted speed bump recognition result, the first matching result corresponding to the first speed bump is empty, and the first speed bump does not constitute a matching pair. Finally, all matching pairs can be formed into a first matching pair.

[0081] In a possible implementation, for any first speed bump in the original speed bump recognition result, matching the first speed bump with the second speed bump in the predicted speed bump recognition result according to the first matching condition to obtain a first matching result corresponding to the first speed bump may include:

[0082] For any first speed bump in the original speed bump identification results, if there is a first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification results, the matching pair consisting of the first target speed bump and the first speed bump is determined as the first matching result corresponding to the first speed bump; for any first speed bump in the original speed bump identification results, if there is no first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification results, the first matching result corresponding to the first speed bump is determined to be an empty set.

[0083] In this embodiment, the first speed bump and the second speed bump in the predicted speed bump identification result are respectively judged for the first matching condition. If there is a first target speed bump that satisfies the first matching condition in the second speed bump in the predicted speed bump identification result, it can be considered that the first target speed bump and the first speed bump correspond to the same speed bump, and the matching pair consisting of the first target speed bump and the first speed bump can be determined as the first matching result corresponding to the first speed bump. If there is no first target speed bump that satisfies the first matching condition in the second speed bump in the predicted speed bump identification result, it can be considered that the first speed bump is an unstable speed bump identified, and the first matching result corresponding to the first speed bump is determined to be an empty set. If no match is found later, the first speed bump can be deleted.

[0084] In a possible implementation manner, a method for determining whether a first target speed bump that meets a first matching condition exists in a second speed bump in a predicted speed bump recognition result may be:

[0085] For any second speed bump in the predicted speed bump identification result, determine the first straight-line distance and the first intersection-and-joint ratio between the second speed bump and any first speed bump; when the first straight-line distance is less than the first preset distance threshold and the first intersection-and-joint ratio is greater than the first preset intersection-and-joint ratio threshold, determine that there is a first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification result, and determine the second speed bump as the first target speed bump.

[0086] In this embodiment, the minimum circumscribed rectangle of any second speed bump can be determined, and the minimum circumscribed rectangle of any first speed bump can be determined. The first straight-line distance and the first intersection-and-combination ratio between the second speed bump and the first speed bump can be determined by the minimum circumscribed rectangle of any second speed bump and the minimum circumscribed rectangle of any first speed bump. In the same vehicle coordinate system, the distance between the two circumscribed rectangles can be determined by calculating the distance between the diagonals corresponding to the two minimum circumscribed rectangles, so that the first straight-line distance between the second speed bump and the first speed bump can be calculated. The corresponding diagonals are the diagonals with the same orientation of the minimum circumscribed rectangles, for example, the diagonals from the lower left corner to the upper right corner, or the diagonals from the upper left corner to the lower right corner. In addition, the intersection-and-combination ratio of the two minimum circumscribed rectangles corresponding to the second speed bump and the first speed bump can be directly calculated in the same vehicle coordinate system, so as to obtain the first intersection-and-combination ratio between the second speed bump and the first speed bump. In the same vehicle coordinate system, the intersection-and-combination ratio between the two line segments can be obtained by calculating the projection of the diagonals corresponding to the two minimum circumscribed rectangles on the X-axis. When the first straight-line distance is less than the first preset distance threshold and the first intersection-and-joint ratio is greater than the first preset intersection-and-joint ratio threshold, it is determined that there is a first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification result, and a second speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification result is determined as the first target speed bump.

[0087] In a possible implementation, according to the second matching condition, matching the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result in two-dimensional space to obtain a second matching pair may include:

[0088] In two-dimensional space, for any first unpaired speed bump in the original speed bump recognition result, according to the second matching condition, the first unpaired speed bump is matched with the second unpaired speed bump in the predicted speed bump recognition result, and a second matching result corresponding to the first unpaired speed bump is obtained; and a second matching pair is determined according to the second matching results corresponding to all first unpaired speed bumps in the original speed bump recognition result.

[0089] In this embodiment, in the image coordinate system in the two-dimensional space, the first unpaired speed bump in the original speed bump recognition result can be matched one by one with the second unpaired speed bump in the predicted speed bump recognition result. Specifically, for any first unpaired speed bump in the original speed bump recognition result, according to the second matching condition, the first unpaired speed bump is matched one by one with all the second unpaired speed bumps in the predicted speed bump recognition result, so as to obtain the second matching result corresponding to the first unpaired speed bump. In the matching process, if the second unpaired speed bump corresponding to the first unpaired speed bump is matched, the matching can be stopped, the first unpaired speed bump and the second unpaired speed bump obtained by matching can be formed into a matching pair, and the matching pair is determined as the second matching result corresponding to the first unpaired speed bump. If the second unpaired speed bump corresponding to the first unpaired speed bump is not matched in the predicted speed bump recognition result, the second matching result corresponding to the first unpaired speed bump is empty, and the first unpaired speed bump does not constitute a matching pair. Finally, all matching pairs can be formed into a second matching pair.

[0090] In a possible implementation, for any first unpaired speed bump in the original speed bump recognition result, matching the first unpaired speed bump with the second unpaired speed bump in the predicted speed bump recognition result according to the second matching condition to obtain a second matching result corresponding to the first unpaired speed bump may include:

[0091] For any first unpaired speed bump in the original speed bump identification results, if there is a second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification results, the matching pair consisting of the second target speed bump and the first unpaired speed bump is determined as the second matching result; for any first unpaired speed bump in the original speed bump identification results, if there is no second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification results, the second matching result is determined to be an empty set.

[0092] In this embodiment, the second matching condition is judged for the first unpaired speed bump and the second unpaired speed bump in the predicted speed bump identification result. If there is a second target speed bump that satisfies the second matching condition in the second unpaired speed bump in the predicted speed bump identification result, it can be considered that the second target speed bump corresponds to the same speed bump as the first unpaired speed bump, and the matching pair formed by the second target speed bump and the first unpaired speed bump can be determined as the second matching result corresponding to the first unpaired speed bump. If there is no second target speed bump that satisfies the second matching condition in the second unpaired speed bump in the predicted speed bump identification result, it can be considered that the first unpaired speed bump is an identified unstable speed bump, and the second matching result corresponding to the first unpaired speed bump is determined to be an empty set, and the first unpaired speed bump can be deleted later.

[0093] In a possible implementation manner, a method for determining whether a target speed bump that meets the second matching condition exists in the second unpaired speed bump in the predicted speed bump identification result may be:

[0094] For any second unpaired speed bump in the predicted speed bump identification result, determine the included angle, the second straight-line distance and the second intersection-and-combination ratio between the second unpaired speed bump and any first unpaired speed bump; when the included angle is less than a preset included angle threshold, the second straight-line distance is less than a second preset distance threshold and the second intersection-and-combination ratio is greater than the second preset intersection-and-combination ratio threshold, determine that there is a second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification result, and determine the second unpaired speed bump as the second target speed bump.

[0095] In this embodiment, the minimum circumscribed rectangle of any second unpaired speed bump can be determined, and the minimum circumscribed rectangle of any first unpaired speed bump can be determined. The angle, the second straight-line distance, and the second intersection-and-combination ratio between the second unpaired speed bump and the first unpaired speed bump can be determined by the minimum circumscribed rectangle of any second unpaired speed bump and the minimum circumscribed rectangle of any first unpaired speed bump. In the same vehicle coordinate system, the distance between the two circumscribed rectangles can be determined by calculating the distance between the diagonals corresponding to the two minimum circumscribed rectangles, so that the second straight-line distance between the second unpaired speed bump and the first unpaired speed bump can be calculated; the angle between the two circumscribed rectangles can be determined by calculating the angle between the diagonals corresponding to the two minimum circumscribed rectangles, so that the angle between the second unpaired speed bump and the first unpaired speed bump can be calculated; the corresponding diagonals are diagonals with the same orientation of the minimum circumscribed rectangles, for example, diagonals from the lower left corner to the upper right corner, or diagonals from the upper left corner to the lower right corner. In addition, the intersection and union ratio of the two minimum circumscribed rectangles corresponding to the second unpaired speed bump and the first unpaired speed bump can be directly calculated in the same vehicle coordinate system, so as to obtain the second intersection and union ratio between the second unpaired speed bump and the first unpaired speed bump. Among them, the intersection and union ratio between the two line segments can be obtained by calculating the projection of the diagonals corresponding to the two minimum circumscribed rectangles on the X-axis. When the angle is less than the preset angle threshold, the second straight line distance is less than the second preset distance threshold, and the second intersection and union ratio is greater than the second preset intersection and union ratio threshold, it is determined that there is a second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification result, and a second unpaired speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification result is determined as the second target speed bump.

[0096] In a possible implementation, a method for obtaining an original speed bump recognition result corresponding to a target image may be: obtaining a target image, which is a road image; processing the target image through a target recognition model to obtain an initial speed bump recognition result and an offset value, wherein the target recognition model is obtained by training a basic model with multiple sample images carrying annotated labels, and the annotated labels of each sample image include sub-offset values ​​and actual speed bump blocks corresponding to multiple image blocks constituting the sample image; and obtaining a target speed bump recognition result based on the initial speed bump recognition result and the offset value.

[0097] In this embodiment, a target image can be obtained, and the target image can be a road image collected by a sensor. The sensor can be set on a vehicle, or the sensor can be set on a drone, or the sensor can be set on a roadside fixed device. In order to collect road images in real time through the sensor, the target image can be obtained, so as to identify the speed bump on the target image.

[0098] The target recognition model can be obtained by training the basic model in advance through a plurality of sample images with annotated labels, and the target image can be recognized by the target recognition model, so as to recognize the speed bump in the target image as the target, and obtain the initial speed bump recognition result and the offset value. The initial speed bump recognition result can be the probability that each pixel in the target image is a pixel constituting the actual speed bump, and then the pixels included in the predicted speed bump can be determined by the probability. The offset value represents the difference between the position of the actual speed bump and the position of the predicted speed bump corresponding to the initial speed bump recognition result, and can be used to correct the initial speed bump recognition result so as to obtain a more accurate speed bump recognition result. Each sample image can be divided into a plurality of image blocks, and each image block obtained by the division can be recognized, and according to the actual speed bump of the sample image, the sub-offset value corresponding to each image block and the actual speed bump block corresponding to the image block can be obtained. The actual speed bump block is the part of the actual speed bump in the image block, that is, the actual speed bump blocks corresponding to the plurality of image blocks can constitute the actual speed bump corresponding to the sample image.

[0099] The predicted speed bump can be determined based on the initial speed bump recognition result, and the predicted speed bump can be corrected based on the offset value to obtain a more accurate target speed bump recognition result.

[0100] In this embodiment, the target image is processed by training a target recognition model with multiple sample images carrying annotation labels including sub-offset values ​​corresponding to multiple image blocks constituting the sample image and actual speed bump blocks. The initial speed bump recognition result and the offset value can be identified, and the initial speed bump recognition result can be corrected by the offset value, so as to obtain a more accurate speed bump recognition result and improve the recognition effect of the speed bump.

[0101] In a possible implementation, the target recognition model can be trained by the following steps:

[0102] Acquire multiple sample images with annotated labels; perform multiple rounds of iterative training on the basic model based on the multiple sample images with annotated labels; after each round of iterative training, obtain the predicted speed bump recognition result and predicted offset value output by the current round of iterative training; obtain the offset value loss and speed bump loss corresponding to the current round of iterative training based on the predicted speed bump recognition result and predicted offset value output by the current round of iterative training and the annotated labels of the sample images in the current round of iterative training; optimize the basic model based on the offset value loss and speed bump loss corresponding to the current round of iterative training; stop training when the basic model meets the preset conditions to obtain the target recognition model.

[0103] In this embodiment, the sample images may be labeled first so as to obtain a plurality of sample images carrying the labeled labels, wherein the sample images carrying the labeled labels may be obtained by re-labeling the pre-labeled sample images. The predicted speed bump recognition result may be the probability that each pixel in the predicted sample image is a pixel constituting the actual speed bump, and the predicted offset value is the difference between the predicted position of the actual speed bump and the predicted position of the speed bump corresponding to the predicted speed bump recognition result. The speed bump loss may be determined based on the predicted speed bump recognition result and the actual speed bump blocks corresponding to the multiple image blocks constituting the sample images in the labeled labels; and the offset value loss may be obtained based on the predicted offset value and the sub-offset value corresponding to the multiple image blocks constituting the sample images in the labeled labels. Specifically, the calculation methods of the offset value loss and the speed bump loss may both be obtained by distance calculation.

[0104] After each round of iterative training is completed and the offset loss and speed bump loss corresponding to the iterative training are obtained, the parameters in the basic model can be optimized by calculation methods such as the gradient descent method to obtain the optimized basic model. In the next round of iterative training, the model optimized in this round of iteration is trained. In the process of multiple rounds of iterative training of the basic model, the data of the iterative training can be counted. For example, the preset condition can be that the basic model converges, or the number of training rounds reaches a preset number of rounds. For example, the preset number of rounds can be 400. When the basic model converges or the number of training rounds reaches the preset number of rounds, the training can be stopped, and the trained basic model can be determined as the target recognition model.

[0105] In a possible implementation, the method for obtaining multiple sample images carrying annotated labels may include the following steps: obtaining multiple sample images after pre-annotating actual speed bumps; for any sample image among the multiple sample images after pre-annotating actual speed bumps, segmenting the sample image to obtain multiple image blocks constituting the sample image; determining a sub-offset value and an actual speed bump block corresponding to each image block constituting the sample image; re-annotating the sample image according to the sub-offset value and the actual speed bump block corresponding to each image block constituting the sample image; and determining the multiple sample images after the re-annotation as multiple sample images carrying annotated labels.

[0106] In this embodiment, a plurality of sample images after pre-labeling of actual speed bumps may be acquired in advance. The pre-labeling of the sample images may be completed by manual labeling, or may be completed based on manual and computer cooperation. Then, for each pre-labeled sample image, the sample image may be segmented to obtain a plurality of image blocks constituting the sample image. Then, for each image block, the sub-offset value and the actual speed bump block of the image block may be determined. After obtaining the sub-offset value and the actual speed bump block corresponding to each image block, the sub-offset value and the actual speed bump block corresponding to the image block may be determined as the label of the image block, and the image block may be re-labeled to obtain a sample image carrying the labeled label.

[0107] In a possible implementation, a method for obtaining a plurality of sample images pre-labeled for actual speed bumps may be:

[0108] Acquire multiple original sample images, where the original sample images are images acquired by the vehicle including actual speed bumps; for any original sample image, pre-label the original sample image according to the position of the actual speed bump in the original sample image, and obtain a sample image corresponding to the original sample image after pre-labeling the actual speed bump; determine the multiple original sample images after pre-labeling as multiple sample images after pre-labeling the actual speed bump.

[0109] In this embodiment, multiple original sample images with known actual speed bump locations can be obtained. The actual speed bump locations can be input manually. After obtaining the actual speed bump locations, the original sample images can be pre-labeled according to the actual speed bump locations, so as to obtain multiple sample images with pre-labeled actual speed bumps.

[0110] In a possible implementation manner, a method for determining the sub-offset value and the actual speed bump block corresponding to each image block constituting the sample image may be:

[0111] According to the position of the actual speed bump in the pre-marked sample image, the corresponding target pixel point in each image block constituting the sample image is determined, and the target pixel point is the pixel point constituting the actual speed bump; according to the pixel coordinates and number of the corresponding target pixel points in each image block, the sub-offset value and the actual speed bump block corresponding to each image block constituting the sample image are determined.

[0112] In this embodiment, the method for determining the sub-offset value of each image block may be: determining the number of pixels and pixel coordinates of the target pixel points corresponding to the pre-marked actual speed bump in the image block, and then determining the sub-offset value corresponding to the image block through the number of pixels and pixel coordinates of the target pixel points corresponding to the image block. Specifically, the cumulative sum of the coordinates of the target pixels corresponding to the pixel block may be determined based on the pixel coordinates of the target pixel points corresponding to the image block, and the value corresponding to each coordinate axis in the cumulative sum of the coordinates may be divided by the number of pixels to obtain the sub-offset value corresponding to the image block. The actual speed bump block corresponding to the image block may be the portion of the image block corresponding to the pre-marked actual speed bump.

[0113] In a possible implementation, the initial speed bump recognition result may include a probability that each pixel in the target image is a pixel constituting an actual speed bump;

[0114] According to the initial speed bump recognition result and the offset value, the target speed bump recognition result is obtained, which may include:

[0115] According to the preset probability threshold, the initial speed bump recognition result is binarized to obtain a mask image; the mask image is subjected to edge detection for the speed bump to obtain the speed bump contour; the speed bump contour is corrected by the offset value to obtain the target contour; and the target speed bump recognition result is obtained according to the target contour.

[0116] In this embodiment, the initial speed bump recognition result can be divided according to a preset probability threshold so as to binarize the initial speed bump recognition result. The preset probability threshold can be set according to the actual situation. For example, the preset probability threshold can be 80%, that is, for the probability corresponding to each pixel in the initial speed bump recognition result, if it is greater than or equal to the preset probability threshold, the value of the pixel is set to 1, and if it is less than the preset probability threshold, the value of the pixel is set to 0, thereby obtaining a mask image. The portion where the pixel value is 1 is a speed bump. For the speed bump in the mask image, edge detection is performed on the speed bump, and the edge detection can be performed by the Sobel operator to obtain the speed bump contour. After obtaining the speed bump contour, the speed bump contour can be corrected according to the offset value. That is, the speed bump contour can be moved as a whole according to the value corresponding to each coordinate axis in the offset value to obtain the target contour; or, the coordinates of each pixel corresponding to the speed bump contour are offset respectively to obtain new pixel coordinates, and then the new pixel is determined, and the speed bump contour corresponding to the new pixel is determined as the target contour. Specifically, based on the offset value, the least square method can be used to perform edge regression on the speed bump contour to obtain the target contour. The target contour is the contour in the target image. Based on the position of the target contour in the target image, that is, the coordinates of the target contour in the coordinate system of the target image, it can be converted to the vehicle coordinates in the vehicle coordinate system, and then the position of the identified speed bump relative to the vehicle, including the size, length, height of the speed bump, and the distance between the speed bump and the vehicle, etc., is obtained, thereby obtaining the target speed bump recognition result, and the target speed bump recognition result can also include the target contour. In order to adjust the vehicle according to the target speed bump recognition result, for example, adjust the parameters such as the air suspension system and torque of the vehicle. Through this method, the slender speed bump can be better identified, and the contour of the curved and deformed speed bump can be more closely identified, thereby breaking the recognition method of using a rectangular rotating frame for speed bump matching and obtaining a better speed bump recognition effect.

[0117] In a possible implementation manner, before correcting the speed bump contour by using the offset value to obtain the target contour, the method further includes: determining the number of pixels included in each speed bump contour;

[0118] The speed bump contours with the number of pixels greater than or equal to the preset pixel threshold are determined as candidate contours.

[0119] In this embodiment, in order to improve the recognition accuracy of speed bumps, for each speed bump contour, the number of pixels included in each speed bump contour is determined, and the speed bump contours with a pixel number greater than or equal to a preset pixel threshold are determined as candidate contours.

[0120] After obtaining the candidate contour, the speed bump contour is corrected by using the offset value to obtain the target contour, including: correcting the candidate contour by using the offset value to obtain the target contour.

[0121] In this embodiment, the target contour is obtained by correcting the candidate contour by the offset value, and the misidentified speed bumps with a small number of pixels can be deleted from the speed bump contour, so that the obtained target contour is more accurate. Among them, the preset pixel threshold can be set according to the actual situation.

[0122] Figure 3 is a flow chart showing another method for identifying a speed bump according to an exemplary embodiment. Figure 3 As shown, the following steps are included:

[0123] In step S301, an original speed bump recognition result is obtained, wherein the original speed bump recognition model can be obtained by processing the target image with a pre-trained speed bump recognition model based on deep learning, or by processing the target image with other image recognition methods.

[0124] In step S302, the Kalman filter predicts and obtains a predicted speed bump recognition result. The original speed bump recognition result is predicted by the Kalman filter to obtain a predicted speed bump recognition result.

[0125] In step S303, a first matching pair is obtained by using a first matching condition. The first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result are matched in three-dimensional space to obtain a first matching pair.

[0126] In step S304, it is determined whether the matching is completed. If the first speed bumps in the original speed bump recognition results are all matched, or the second speed bumps in the predicted speed bump recognition results are all matched, it is determined that the matching is completed, and step S309 is executed. If the matching is not completed, steps S305, S306 and S307 are executed.

[0127] In step S305, the remaining speed bumps are matched and the angles are calculated. The first speed bump that is not matched in the original speed bump recognition result and the second speed bump that is not matched in the predicted speed bump recognition result can be determined based on the first speed bump and the second speed bump that is not matched in the predicted speed bump recognition result, and the first speed bump that is not matched in the original speed bump recognition result is determined as the first unmatched speed bump, and the second speed bump that is not matched in the predicted speed bump recognition result is determined as the second unmatched speed bump, which is the remaining speed bump. The first unmatched speed bump in the original speed bump recognition result and the second unmatched speed bump in the predicted speed bump recognition result can be matched in two-dimensional space, and the angle of each matching combination in the matching process can be calculated.

[0128] In step S306, the remaining speed bumps are matched and a second intersection-and-union ratio is calculated. The first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result can be matched in a two-dimensional space, and the second intersection-and-union ratio of each matching combination in the matching process is calculated.

[0129] In step S307, the remaining speed bumps are matched and the second straight-line distance is calculated. The first unmatched speed bump in the original speed bump recognition result and the second unmatched speed bump in the predicted speed bump recognition result can be matched in two-dimensional space, and the second straight-line distance of each matching combination in the matching process is calculated.

[0130] In step S308, a second matching pair is obtained by the second matching condition. According to the second matching condition, the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result are matched in two-dimensional space to obtain a second matching pair.

[0131] In step S309, the final target speed bump recognition result is determined. The final target speed bump recognition result may be obtained based on the first matching pair, or the first matching pair and the second matching pair.

[0132] In step S310, the target vehicle is controlled and adjusted. The position of the speed bump can be determined according to the target speed bump identification result, and then the target vehicle is adjusted by the speed bump position control. Specifically, the air suspension system of the vehicle and the vehicle torque can be adjusted.

[0133] Figure 4 is a block diagram of a speed bump identification device according to an exemplary embodiment. Figure 4 The speed bump identification device 400 includes an acquisition module 401 , a first determination module 402 , a matching module 403 and a second determination module 404 .

[0134] The acquisition module 401 is configured to acquire the original speed bump recognition result corresponding to the target image;

[0135] The first determination module 402 is configured to determine a predicted speed bump identification result corresponding to a next moment according to the original speed bump identification result, wherein the original speed bump identification result includes at least one first speed bump, and the predicted speed bump identification result includes at least one second speed bump;

[0136] The matching module 403 is configured to match the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result according to a preset matching condition to obtain a target speed bump matching pair;

[0137] The second determination module 404 is configured to determine the first speed bump in the target speed bump matching pair as the target speed bump identification result.

[0138] Optionally, the preset matching condition includes a first matching condition and a second matching condition;

[0139] The matching module 403 includes:

[0140] A first matching submodule is configured to match the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result in three-dimensional space according to the first matching condition to obtain a first matching pair;

[0141] a determination submodule configured to determine, based on the first matching pair, a first unpaired speed bump in the original speed bump identification result and a second unpaired speed bump in the predicted speed bump identification result;

[0142] A second matching submodule is configured to match the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result in a two-dimensional space according to the second matching condition to obtain a second matching pair;

[0143] The first obtaining submodule is configured to obtain the target speed bump matching pair according to the first matching pair and the second matching pair.

[0144] Optionally, the first matching submodule includes:

[0145] A first matching unit is configured to match any first speed bump in the original speed bump recognition result with a second speed bump in the predicted speed bump recognition result according to the first matching condition, to obtain a first matching result corresponding to the first speed bump;

[0146] The first determining unit is configured to determine the first matching pair according to the first matching results corresponding to all the first speed bumps in the original speed bump recognition results.

[0147] Optionally, the first matching unit includes:

[0148] The first determining subunit is configured to, for any first speed bump in the original speed bump identification result, determine a matching pair consisting of the first target speed bump and the first speed bump as a first matching result corresponding to the first speed bump if there is a first target speed bump that satisfies the first matching condition in the second speed bump in the predicted speed bump identification result;

[0149] The second determination subunit is configured to determine that, for any first speed bump in the original speed bump identification result, if there is no first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification result, the first matching result corresponding to the first speed bump is an empty set.

[0150] Optionally, the speed bump identification device 400 further includes:

[0151] A third determination module is configured to determine, for any second speed bump in the predicted speed bump identification result, a first straight-line distance and a first intersection-and-joint ratio between the second speed bump and any first speed bump;

[0152] The fourth determination module is configured to determine that there is a first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification result, and determine the second speed bump as the first target speed bump when the first straight-line distance is less than a first preset distance threshold and the first intersection-and-joint ratio is greater than a first preset intersection-and-joint ratio threshold.

[0153] Optionally, the second matching submodule includes:

[0154] The second matching unit is configured to match any first unpaired speed bump in the original speed bump recognition result with a second unpaired speed bump in the predicted speed bump recognition result according to the second matching condition, to obtain a second matching result corresponding to the first unpaired speed bump;

[0155] The second determining unit is configured to determine the second matching pair according to the second matching results corresponding to all the first unpaired speed bumps in the original speed bump recognition results.

[0156] Optionally, the second matching unit includes:

[0157] a third determining subunit configured to, for any first unpaired speed bump in the original speed bump identification result, determine a matching pair consisting of the second target speed bump and the first unpaired speed bump as the second matching result when there is a second target speed bump that satisfies the second matching condition in the second unpaired speed bump in the predicted speed bump identification result;

[0158] The fourth determination subunit is configured to determine that the second matching result is an empty set for any first unpaired speed bump in the original speed bump identification result, if there is no second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification result.

[0159] Optionally, the speed bump identification device 400 further includes:

[0160] A fifth determination module is configured to determine, for any second unpaired speed bump in the predicted speed bump identification result, an angle, a second straight-line distance, and a second intersection-and-combination ratio between the second unpaired speed bump and any first unpaired speed bump;

[0161] The sixth determination module is configured to determine that there is a second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification result when the angle is less than a preset angle threshold, the second straight-line distance is less than a second preset distance threshold, and the second intersection-and-joint ratio is greater than a second preset intersection-and-joint ratio threshold, and determine the second unpaired speed bump as the second target speed bump.

[0162] Optionally, the acquisition module 401 includes:

[0163] An acquisition submodule is configured to acquire the target image, where the target image is a road image;

[0164] A second acquisition submodule is configured to process the target image through a target recognition model to obtain an initial speed bump recognition result and an offset value, wherein the target recognition model is obtained by training a basic model with a plurality of sample images carrying annotated labels, and the annotated label of each sample image includes a sub-offset value corresponding to a plurality of image blocks constituting the sample image and an actual speed bump block;

[0165] The third obtaining submodule is configured to obtain the original speed bump recognition result according to the initial speed bump recognition result and the offset value.

[0166] Regarding the speed bump identification device 400 in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0167] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the speed bump identification method provided by the present disclosure are implemented.

[0168] The present disclosure also provides another speed bump identification device, including a processor;

[0169] a memory for storing processor-executable instructions;

[0170] Among them, the processor is configured to implement the steps of the speed bump identification method provided by the present disclosure when executed.

[0171] The present disclosure also provides a vehicle, comprising the speed bump identification device provided by the present disclosure.

[0172] Figure 5 5 is a block diagram of a vehicle according to an exemplary embodiment. For example, vehicle 500 may be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicles. Vehicle 500 may be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.

[0173] Reference Figure 5 , the vehicle 500 may include various subsystems, for example, an infotainment system 510, a perception system 520, a decision control system 530, a drive system 540, and a computing platform 550. The vehicle 500 may also include more or fewer subsystems, and each subsystem may include multiple components. In addition, each subsystem and each component of the vehicle 500 may be interconnected by wire or wireless means.

[0174] In some embodiments, the infotainment system 510 may include a communication system, an entertainment system, and a navigation system, among others.

[0175] The perception system 520 may include several sensors for sensing information about the environment around the vehicle 500. For example, the perception system 520 may include a global positioning system (the global positioning system may be a GPS system, or a Beidou system or other positioning systems), an inertial measurement unit (IMU), a laser radar, a millimeter wave radar, an ultrasonic radar, and a camera.

[0176] The decision control system 530 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.

[0177] The drive system 540 may include components that provide powered motion for the vehicle 500. In one embodiment, the drive system 540 may include an engine, an energy source, a transmission system, and wheels. The engine may be an internal combustion engine, an electric motor, an air compression engine, or a combination of one or more thereof. The engine is capable of converting energy provided by the energy source into mechanical energy.

[0178] Some or all functions of the vehicle 500 are controlled by a computing platform 550. The computing platform 550 may include at least one processor 551 and a memory 552, and the processor 551 may execute instructions 553 stored in the memory 552.

[0179] The processor 551 may be any conventional processor, such as a commercially available CPU. The processor may also include a graphics processor (Graphic Process Unit, GPU), a field programmable gate array (Field Programmable Gate Array, FPGA), a system on chip (System on Chip, SOC), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or a combination thereof.

[0180] The memory 552 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0181] In addition to instructions 553 , memory 552 may also store data, such as road maps, route information, vehicle location, direction, speed, etc. The data stored in memory 552 may be used by computing platform 550 .

[0182] In the embodiment of the present disclosure, the processor 551 may execute the instruction 553 to complete all or part of the steps of the above-mentioned speed bump identification method.

[0183] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above speed bump identification method when executed by the programmable device.

[0184] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0185] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A speed bump identification method, characterized in that: include: Obtain the original speed bump recognition result corresponding to the target image; determining a predicted speed bump identification result corresponding to a next moment based on the original speed bump identification result, wherein the original speed bump identification result includes at least one first speed bump, and the predicted speed bump identification result includes at least one second speed bump; According to a preset matching condition, matching is performed on the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result to obtain a target speed bump matching pair; determining the first speed bump in the target speed bump matching pair as a target speed bump identification result; Wherein, the preset matching condition includes a first matching condition and a second matching condition; The matching of the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result according to a preset matching condition to obtain a target speed bump matching pair includes: According to the first matching condition, matching the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result in three-dimensional space to obtain a first matching pair; determining, based on the first matching pair, a first unpaired speed bump in the original speed bump identification result and a second unpaired speed bump in the predicted speed bump identification result; According to the second matching condition, matching the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result in a two-dimensional space to obtain a second matching pair; The target speed bump matching pair is obtained according to the first matching pair and the second matching pair.

2. The speed bump identification method according to claim 1, characterized in that: According to the first matching condition, matching the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result in three-dimensional space to obtain a first matching pair includes: In three-dimensional space, for any first speed bump in the original speed bump recognition result, matching the first speed bump with a second speed bump in the predicted speed bump recognition result according to the first matching condition to obtain a first matching result corresponding to the first speed bump; The first matching pair is determined according to the first matching results corresponding to all first speed bumps in the original speed bump recognition results.

3. The speed bump identification method according to claim 2, characterized in that: For any first speed bump in the original speed bump identification result, matching the first speed bump with the second speed bump in the predicted speed bump identification result according to the first matching condition to obtain a first matching result corresponding to the first speed bump includes: For any first speed bump in the original speed bump identification result, if a first target speed bump that meets the first matching condition exists among the second speed bumps in the predicted speed bump identification result, determining a matching pair consisting of the first target speed bump and the first speed bump as a first matching result corresponding to the first speed bump; For any first speed bump in the original speed bump identification result, if there is no first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification result, it is determined that the first matching result corresponding to the first speed bump is an empty set.

4. The speed bump identification method according to claim 3, characterized in that: The method further comprises: For any second speed bump in the predicted speed bump identification result, determining a first straight-line distance and a first intersection-to-combination ratio between the second speed bump and the any first speed bump; When the first straight-line distance is less than a first preset distance threshold and the first intersection-and-annealing ratio is greater than a first preset intersection-and-annealing ratio threshold, it is determined that there is a first target speed bump that meets the first matching condition in the second speed bump in the predicted speed bump identification result, and the second speed bump is determined as the first target speed bump.

5. The speed bump identification method according to claim 1, characterized in that: According to the second matching condition, matching the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result in a two-dimensional space to obtain a second matching pair includes: In a two-dimensional space, for any first unpaired speed bump in the original speed bump recognition result, matching the first unpaired speed bump with a second unpaired speed bump in the predicted speed bump recognition result according to the second matching condition, to obtain a second matching result corresponding to the first unpaired speed bump; The second matching pair is determined according to the second matching results corresponding to all first unpaired speed bumps in the original speed bump identification results.

6. The speed bump identification method according to claim 5, characterized in that: For any first unpaired speed bump in the original speed bump identification result, matching the first unpaired speed bump with a second unpaired speed bump in the predicted speed bump identification result according to the second matching condition to obtain a second matching result corresponding to the first unpaired speed bump includes: For any first unpaired speed bump in the original speed bump identification result, if there is a second target speed bump that meets the second matching condition among the second unpaired speed bumps in the predicted speed bump identification result, determining a matching pair consisting of the second target speed bump and the first unpaired speed bump as the second matching result; For any first unpaired speed bump in the original speed bump identification result, if there is no second target speed bump meeting the second matching condition in the second unpaired speed bump in the predicted speed bump identification result, the second matching result is determined to be an empty set.

7. The speed bump identification method according to claim 6, characterized in that: The method further comprises: For any second unpaired speed bump in the predicted speed bump identification result, determining an included angle, a second straight-line distance, and a second intersection-to-combination ratio between the second unpaired speed bump and any first unpaired speed bump; When the angle is less than a preset angle threshold, the second straight-line distance is less than a second preset distance threshold, and the second intersection-and-annealing ratio is greater than a second preset intersection-and-annealing ratio threshold, it is determined that there is a second target speed bump that meets the second matching condition in the second unpaired speed bump in the predicted speed bump identification result, and the second unpaired speed bump is determined as the second target speed bump.

8. The speed bump identification method according to any one of claims 1 to 7, characterized in that: The obtaining of the original speed bump recognition result corresponding to the target image includes: Acquire the target image, where the target image is a road image; The target image is processed using a target recognition model to obtain an initial speed bump recognition result and an offset value. The target recognition model is obtained by training a basic model using multiple sample images with annotated labels. The annotated label of each sample image includes sub-offset values ​​corresponding to multiple image blocks constituting the sample image and the actual speed bump block. The original speed bump recognition result is obtained according to the initial speed bump recognition result and the offset value.

9. A speed bump identification device, characterized in that: include: an acquisition module configured to acquire an original speed bump recognition result corresponding to the target image; a first determining module configured to determine a predicted speed bump identification result corresponding to a next moment based on the original speed bump identification result, the original speed bump identification result including at least one first speed bump, and the predicted speed bump identification result including at least one second speed bump; a matching module configured to match the first speed bump in the original speed bump recognition result with the second speed bump in the predicted speed bump recognition result according to a preset matching condition to obtain a target speed bump matching pair; a second determination module configured to determine the first speed bump in the target speed bump matching pair as a target speed bump identification result; Optionally, the preset matching condition includes a first matching condition and a second matching condition; The matching module includes: a first matching submodule configured to match the first speed bump in the original speed bump recognition result and the second speed bump in the predicted speed bump recognition result in three-dimensional space according to the first matching condition to obtain a first matching pair; a determination submodule configured to determine, based on the first matching pair, a first unpaired speed bump in the original speed bump identification result and a second unpaired speed bump in the predicted speed bump identification result; a second matching submodule configured to match the first unpaired speed bump in the original speed bump recognition result and the second unpaired speed bump in the predicted speed bump recognition result in a two-dimensional space according to the second matching condition to obtain a second matching pair; The first obtaining submodule is configured to obtain the target speed bump matching pair according to the first matching pair and the second matching pair.

10. A speed bump identification device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of the speed bump identification method according to any one of claims 1 to 8 when executing.

11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the speed bump identification method according to any one of claims 1 to 8 are implemented.

12. A vehicle, characterized in that: The invention comprises the speed bump identification device according to claim 10.