A ground traffic sign detection method, device and electronic equipment

By generating a reference layer of ground traffic signs and adjusting the rectangular bounding box, the problem of low accuracy in drawing ground traffic signs in the existing technology is solved, automatic detection and accuracy improvement are achieved, and the production efficiency and accuracy of high-precision maps are improved. accuracy.

CN114612879BActive Publication Date: 2024-09-06ZHIDAO NETWORK TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210231993.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-01
Publication Date
2024-09-06
Estimated Expiration
2042-03-01

AI Technical Summary

Technical Problem

The drawing of rectangular bounding boxes for ground traffic signs in existing high-precision maps relies on manual editing, resulting in low accuracy and difficulty in achieving high-precision map production.

Method used

Generate a reference layer of ground traffic signs by obtaining road data, detect target ground traffic signs that are not covered by rectangular bounding boxes, adjust the rectangular bounding box according to the target signs, use clustering processing and lane line data to determine the effective center point, and automatically adjust Rectangular box for improved accuracy.

Benefits of technology

It reduces the workload of manual inspection, avoids missed inspections, significantly improves the accuracy of the ground traffic sign layer in the map, and improves the accuracy of high-precision map production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114612879B
    Figure CN114612879B
Patent Text Reader

Abstract

The present invention discloses a method, device and electronic device for detecting ground traffic signs. The method of the present application includes: obtaining road data including ground traffic signs, generating a reference layer of ground traffic signs according to the road data; adding the reference layer to map data, the map data including a ground traffic sign layer to be adjusted, the ground traffic sign layer to be adjusted including at least one rectangular enclosing box corresponding to the ground traffic sign; detecting the target ground traffic sign in the reference layer, the target ground traffic sign refers to a ground traffic sign that is not covered by the corresponding rectangular enclosing box in the ground traffic sign layer to be adjusted; detecting the rectangular enclosing box to be adjusted in the ground traffic sign layer to be adjusted according to the target ground traffic sign. The technical solution of the present application automatically detects the rectangular enclosing box that needs to be adjusted based on the reference layer, reduces the workload of manual inspection, can avoid missed inspections, and improves the accuracy of the ground traffic sign layer in map making.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of high-precision map technology, and in particular to a ground traffic sign detection method, device and electronic equipment. Background Art

[0002] High-precision maps are the core content of autonomous driving, which provides rich and accurate road information for autonomous driving. Ground traffic signs are the core elements of high-precision maps. Ground traffic signs include arrows, texts and graphics, etc. Ground traffic signs can assist cars in accurate positioning, and then help cars make appropriate plans and decisions.

[0003] At present, the drawing of ground traffic signs in high-precision maps mainly relies on manual editing. Specifically, in the editing tools of high-precision maps, video data is manually viewed to find the lane lines containing ground traffic signs. After confirming the approximate front and rear positions of the ground traffic signs relative to the lane lines, a plug-in is used to draw a rectangular bounding box for each ground traffic sign, and then the type, shape, color and other attributes of the ground traffic signs are edited.

[0004] Since the manual drawing method uses the lane line as a reference to draw the rectangular bounding box of the ground traffic sign at the approximate front and rear positions, the accuracy is low. Summary of the invention

[0005] In view of this, the main purpose of the present invention is to provide a ground traffic sign detection method, device and electronic device for improving the accuracy of the rectangular frame of the ground traffic sign in the map.

[0006] In a first aspect, an embodiment of the present invention provides a ground traffic sign detection method, comprising:

[0007] Acquire road data including ground traffic signs, and generate a reference layer of the ground traffic signs according to the road data;

[0008] Adding the reference layer to map data, wherein the map data includes a ground traffic sign layer to be adjusted, and the ground traffic sign layer to be adjusted includes a rectangular enclosing frame corresponding to at least one ground traffic sign;

[0009] Detecting a target ground traffic sign in the reference layer, wherein the target ground traffic sign refers to a ground traffic sign that is not covered by a corresponding rectangular enclosing frame in the ground traffic sign layer to be adjusted;

[0010] A rectangular bounding box to be adjusted in the ground traffic sign layer to be adjusted is detected according to the target ground traffic sign.

[0011] In some embodiments, after detecting the target ground traffic sign in the ground traffic sign reference layer, the method further includes:

[0012] A rectangular frame adjustment layer is generated according to the target ground traffic sign, and the rectangular frame adjustment layer is used to adjust the rectangular enclosing frame to be adjusted.

[0013] In some embodiments, generating a rectangular frame adjustment layer according to the target ground traffic sign includes:

[0014] Acquire all target pixel points, where the target pixel points refer to the pixel points in the target ground traffic sign that are outside the rectangular enclosing frame of the ground traffic sign;

[0015] Clustering all the target pixels to obtain the center point of each cluster;

[0016] Create a rectangular adjustment layer based on the center point.

[0017] In some embodiments, clustering is performed on all target pixels to obtain the center point of each class, including:

[0018] Grouping the target pixels based on the geographical locations of the target pixels according to the tile model of the map data;

[0019] Cluster the target pixels in each group to obtain the center point of each class.

[0020] In some embodiments, the map data further includes a lane line layer, and after obtaining the center point, further includes:

[0021] Determine whether the center point of each category is a valid center point according to the position of the center point of the lane line layer;

[0022] If it is a valid center point, a rectangular frame adjustment layer is generated based on the valid center point.

[0023] In some embodiments, determining whether the center point of each class is a valid center point according to the position of the center point of the lane line layer includes:

[0024] Obtaining the type of ground traffic sign corresponding to the center point, and detecting whether there is lane line data within the predicted range of each center point from the lane line layer;

[0025] Whether the center point is a valid center point is determined according to the number of single-side lane lines included in the lane line data and the type of ground traffic sign corresponding to the center point.

[0026] In some embodiments, determining whether the center point is a valid center point according to the number of single-side lane lines included in the lane line data and the type of ground traffic sign corresponding to the center point includes:

[0027] When the ground traffic sign corresponding to the center point is an arrow mark, if there are two single-lane lines with the same road mark within a first distance value from the center point, the center point is determined to be a valid center point, and the first distance value refers to the sum of half of the lane width value and a deviation constant, and the deviation constant indicates the degree of deviation of the arrow mark relative to the center lane line;

[0028] When the ground traffic sign corresponding to the center point is a text sign or an image sign, if there are two single-sided lane lines within a second distance value range from the center point, the center point is determined to be a valid center point, and the second distance value refers to the lane width value.

[0029] In some embodiments, obtaining road data including ground traffic signs, and generating a ground traffic sign reference layer according to the road data includes:

[0030] Collecting the road data by using a data acquisition device;

[0031] running a sign detection model to extract ground traffic signs from the road data;

[0032] Calculating the position of the ground traffic sign according to the posture data of the data acquisition device to obtain the position of the ground traffic sign in a standard map coordinate system, where the standard map coordinate system is the coordinate system used by the map data;

[0033] Generate a ground traffic sign reference layer based on the positions of ground traffic signs in the standard coordinate system.

[0034] In some embodiments, the road data includes point cloud data and / or image data.

[0035] In a second aspect, an embodiment of the present invention further provides a ground traffic sign detection device, comprising:

[0036] A reference layer production unit, used to obtain road data including ground traffic signs, and generate a reference layer of the ground traffic signs according to the road data;

[0037] A layer overlay unit, used for adding the reference layer to map data, wherein the map data includes a ground traffic sign layer to be adjusted, and the ground traffic sign layer to be adjusted includes at least one rectangular enclosing frame corresponding to the ground traffic sign;

[0038] A sign detection unit, used to detect a target ground traffic sign in the reference layer, wherein the target ground traffic sign refers to a ground traffic sign that is not covered by a corresponding rectangular enclosing frame in the ground traffic sign layer to be adjusted;

[0039] The rectangular frame detection unit is used to detect the rectangular enclosing frame to be adjusted in the ground traffic sign layer to be adjusted according to the target ground traffic sign.

[0040] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the above-mentioned ground traffic sign detection method.

[0041] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the above-mentioned ground traffic sign detection method is implemented.

[0042] At least one of the above technical solutions adopted by the present invention can achieve the following beneficial effects: the ground traffic sign detection method, device and electronic device of the embodiment of the present application generates a reference layer of ground traffic signs based on road data, superimposes the reference layer with the ground traffic sign layer to be adjusted in the map data, and detects the rectangular enclosing frame to be adjusted based on the target ground traffic signs that are not completely covered by the rectangular enclosing frame based on the covering relationship between the ground traffic signs in the reference layer and the rectangular enclosing frame in the ground traffic sign layer to be adjusted. The embodiment of the present application automatically detects the rectangular enclosing frame that needs to be adjusted based on the covering relationship between the ground traffic signs in the reference layer and the rectangular enclosing frame in the ground traffic sign layer to be adjusted, reduces the workload of manual inspection, and can avoid missed inspections, thereby improving the accuracy of the ground traffic sign layer in map production. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0044] Figure 1 A flow chart of a ground traffic sign detection method according to an embodiment of the present invention is shown;

[0045] Figure 2 A rendering of the overlay layers of a ground traffic sign reference layer, a ground traffic sign layer to be adjusted, and a lane line layer according to an embodiment of the present invention is shown;

[0046] Figure 3 A schematic diagram showing a valid center point and an invalid center point corresponding to an arrow mark according to an embodiment of the present invention is shown;

[0047] Figure 4A schematic diagram of the structure of a ground traffic sign detection device according to an embodiment of the present invention is shown;

[0048] Figure 5 A schematic structural diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0049] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. These embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein.

[0050] The embodiment of the present invention provides a method for detecting ground traffic signs. Figure 1 As shown, a flow chart of a ground traffic sign detection method in an embodiment of the present invention is provided, and the method comprises at least the following steps S110 to S140:

[0051] Step S110, acquiring road data including ground traffic signs, and generating a reference layer of ground traffic signs according to the road data.

[0052] The data type of the road data in this embodiment is related to the data acquisition device, and may include point cloud data or image data, for example. For example, in a roadside scenario, road point cloud data is collected by a roadside laser radar, a roadside millimeter-wave radar, etc. in a roadside unit, and road image data is collected by a roadside camera in a roadside unit. For another example, in a vehicle networking scenario, road point cloud data can be collected by a vehicle-mounted laser radar, a vehicle-mounted millimeter-wave radar, etc., and road image data can be collected by a vehicle-mounted camera.

[0053] The road data of this embodiment also includes posture information of the data acquisition device, and the posture information is used to determine the position of the ground traffic sign in the road data, for example, to determine the latitude and longitude information of the ground traffic sign.

[0054] It should be noted that the road data of this embodiment may also include both point cloud data and image data. At this time, before drawing the reference layer, the point cloud data is voxelized to obtain image data, different types of data are converted to the same type, and the ground traffic signs are uniformly extracted using the sign detection model, and the reference layer is generated for the extracted ground traffic signs according to the positions of the ground traffic signs. The ground traffic signs refer to the driving instructions marked on the ground of the road section, such as signs including arrows, texts, and graphics.

[0055] Step S120: adding a reference layer to map data, wherein the map data includes a ground traffic sign layer to be adjusted, and the ground traffic sign layer to be adjusted includes a rectangular enclosing box corresponding to at least one ground traffic sign.

[0056] The reference layer and map data in this embodiment use a standard map coordinate system, such as the WGS-84 coordinate system (World Geodetic System—1984 Coordinate System, an internationally adopted geocentric coordinate system) or the GCJ-02 coordinate system (Gu0jia-Cehui-Ju-02, National Bureau of Surveying and Mapping No. 02 standard coordinate system).

[0057] The reference layer in this embodiment includes the position of each pixel of the ground traffic sign, for example, the longitude and latitude information of each pixel. According to the position attribute of the reference layer, it can be ensured that the ground traffic signs corresponding to the same geographical location in the reference layer and the ground traffic sign layer to be adjusted can be aligned. For example, when the accuracy of a rectangular enclosing box in the ground traffic sign layer to be adjusted is high, the rectangular enclosing box can completely cover the ground traffic sign in the reference layer, and when the accuracy of a rectangular enclosing box in the ground traffic sign layer to be adjusted is low, the rectangular enclosing box cannot completely cover the ground traffic sign in the reference layer.

[0058] Step S130, detecting a target ground traffic sign in the reference layer, wherein the target ground traffic sign refers to a ground traffic sign in the reference layer that is not covered by a corresponding rectangular enclosing frame in the ground traffic sign layer to be adjusted.

[0059] This embodiment can detect the target ground traffic sign in the reference layer according to the position of each pixel of the ground traffic sign and the position of the rectangular enclosing frame of the ground traffic sign, for example, determine the area range corresponding to the rectangular enclosing frame, if all the pixels of the ground traffic sign are within the area range, then the rectangular enclosing frame of the ground traffic sign does not need to be adjusted. If not all the pixels of the ground traffic sign are within the area range, then the rectangular enclosing frame of the ground traffic sign needs to be adjusted, and the ground traffic sign is determined to be the target ground traffic sign.

[0060] It can be understood that the target ground traffic sign in this embodiment refers to the ground traffic sign that is not completely covered by the rectangular bounding box. Figure 2 As shown, Figure 2 The layer where the arrow sign is located is the reference layer, the layer where the rectangular bounding box is located is the ground traffic sign layer to be adjusted, and the layer where the lines are located is the lane line layer. Figure 2The tails of the two arrow signs in are both outside the rectangular enclosing frame, so the two arrow signs are the target ground traffic signs of this embodiment, and the corresponding rectangular enclosing frames are all rectangular enclosing frames to be adjusted.

[0061] Step S140: detecting a rectangular bounding box to be adjusted in the ground traffic sign layer to be adjusted according to the target ground traffic sign.

[0062] This embodiment can determine the rectangular enclosing frame to be adjusted according to the target ground traffic sign, for example, generate a layer of the rectangular enclosing frame to be adjusted, or generate a notification message of the rectangular enclosing frame to be adjusted, as a basis for adjusting the rectangular enclosing frame in the ground traffic sign layer to be adjusted.

[0063] visible, Figure 1 The method shown generates a reference layer of ground traffic signs based on road data, superimposes the reference layer with the ground traffic sign layer to be adjusted in the map data, and determines the rectangular enclosing frame to be adjusted based on the target ground traffic signs that are not completely covered by the rectangular enclosing frame based on the covering relationship between the ground traffic signs in the reference layer and the rectangular enclosing frame in the ground traffic sign layer to be adjusted. This embodiment automatically detects the rectangular enclosing frame that needs to be adjusted based on the covering relationship between the ground traffic signs in the reference layer and the rectangular enclosing frame in the ground traffic sign layer to be adjusted, reduces the workload of manual inspection, and can avoid missed inspections, thereby improving the accuracy of the ground traffic sign layer in map making.

[0064] In some embodiments, obtaining road data including ground traffic signs, and generating a ground traffic sign reference layer according to the road data includes:

[0065] The road data is collected by data collection equipment, for example, image road data is collected by roadside cameras or vehicle-mounted cameras, and point cloud road data is collected by roadside radars or vehicle-mounted radars. Based on the calibration data of the roadside camera or roadside radar, the posture data of the roadside camera or roadside radar can be obtained; or based on the trajectory information of the vehicle-mounted camera or vehicle-mounted radar, the posture data of the vehicle-mounted camera or vehicle-mounted radar can be obtained, and the posture data can determine the geographical location of the ground traffic signs in the road data in the real world.

[0066] After obtaining the road data, the pre-built sign detection model is run to extract ground traffic signs from the road data. The sign detection model in this embodiment is a deep neural network model. The deep neural network model used for sign extraction needs to be pre-trained, and the sample data includes as many ground traffic signs as possible to improve the detection accuracy.

[0067] In order to improve the efficiency of model detection, this embodiment uniformly processes road data into image road data. For example, when the road data includes point cloud data, the three-dimensional point cloud data is converted into two-dimensional image data, and then input into the sign detection model to extract ground traffic signs and obtain the pixel position of the ground traffic signs in the image.

[0068] After detecting the ground traffic signs in the road data, the positions of the ground traffic signs are solved according to the posture data of the data acquisition device to obtain the positions of the ground traffic signs in the standard map coordinate system, which is the coordinate system used by the map data. A ground traffic sign reference layer is generated according to the positions of the ground traffic signs in the standard coordinate system.

[0069] Taking the vehicle-mounted camera as an example, the RTK (Real-Time Kinematic) trajectory with timestamp matching is determined based on the timestamp information of the image road data. Based on the internal and external parameters of the vehicle-mounted camera and the geographical location of the vehicle-mounted camera in the standard map coordinate system in the RTK trajectory, the target position of the road data can be solved through SLAM (Simultaneous Localization and Mapping) technology to obtain the position of each pixel point of the ground traffic sign in the standard map coordinate system.

[0070] In some embodiments, after detecting the target ground traffic sign in the ground traffic sign reference layer, the method further includes:

[0071] A rectangular frame adjustment layer is generated according to the target ground traffic sign, and the rectangular frame adjustment layer is used to adjust the rectangular enclosing frame to be adjusted.

[0072] Here, the rectangular frame adjustment layer includes the position of the rectangular frame to be adjusted and the position of the ground traffic sign corresponding to the rectangular frame to be adjusted, for example, the pixel position of the ground traffic sign outside the rectangular frame.

[0073] In this embodiment, the rectangular frame adjustment layer is generated by the following steps:

[0074] All target pixel points are obtained, wherein the target pixel points refer to the pixel points in the target ground traffic sign that are outside the rectangular bounding box of the ground traffic sign; all target pixel points are clustered to obtain the class center points; and a rectangular frame adjustment layer is generated according to the class center points.

[0075] In practical applications, the number of target pixels in the entire layer may be extremely large. In order to improve clustering accuracy and efficiency, the target pixels can be grouped. For example, they can be grouped based on the distribution of pixels, or based on the tile model of map data, the target pixels can be grouped according to their geographical locations, and the target pixels in each group can be clustered separately to obtain the center point of each class.

[0076] Since the number of ground traffic signs in each group is unknown before clustering, based on this situation, this embodiment can perform hierarchical clustering on the target pixels in each group based on a hierarchical clustering algorithm to obtain accurate classification results. Hierarchical clustering can also detect data at different granularity levels to discover the relationship between classes for subsequent processing.

[0077] Among them, the tile model is a multi-resolution hierarchical model. Under a unified spatial reference, it is stored and displayed at different resolutions according to user needs, forming a pyramid structure with resolutions from coarse to fine and data volume from small to large. Tiles of different levels represent different levels of map zoom. Storing target pixels through different tiles can improve clustering accuracy when the map spans multiple tiles and combined with hierarchical clustering. Of course, in practical applications, other grouping or clustering algorithms can also be used, and technicians in this field can flexibly choose as long as the required accuracy is achieved.

[0078] In order to avoid the influence of invalid center points, this embodiment also combines the lane line layer in the map data to determine whether the center point of each class is valid.

[0079] Specifically, after obtaining the center point of each category, it is determined whether the center point is a valid center point according to the position of the center point of each category in the lane line layer; if it is a valid center point, a rectangular frame adjustment layer is generated according to the valid center point.

[0080] The judgment method includes: obtaining the type of ground traffic sign corresponding to the center point, and detecting whether there is lane line data within the predicted range of each center point from the lane line layer, where the lane line data includes the road markings of the lane line and the number of lane lines. According to the number of single-side lane lines included in the lane line data and the type of ground traffic sign corresponding to the center point, it is determined whether the center point is a valid center point.

[0081] For example, when the ground traffic sign corresponding to the center point is an arrow sign, if there are two single-sided lane lines with the same road sign within the first distance value range from the center point, the center point can be determined as a valid center point, wherein the first distance value refers to the sum of half of the lane width value and the deviation constant, and the deviation constant indicates the degree of deviation of the arrow sign relative to the center lane line. In this embodiment, the lane width value and the deviation constant can be set based on actual road data. Regarding the setting method of the deviation constant, the arrow sign can be divided into a left-turn arrow sign, a straight-ahead arrow sign, and a right-turn arrow sign, wherein the straight-ahead arrow sign is on the center lane line, while the arrow signs of the left-turn arrow sign and the right-turn arrow sign are deviated from the center lane line. Because this embodiment can calculate the distance between the left-turn arrow sign / right-turn arrow sign and the center line of the lane, the deviation constant is set based on the distance value.

[0082] For example, in actual applications, when detecting lane lines within the range near the center point corresponding to the arrow sign, there are Figure 3 Three cases are shown:

[0083] In the first case, the distance between the center point and the lane lines on both sides is less than l / 2+const. At this time, according to the above embodiment, it can be detected that there are two single-side lane lines with the same road_ID within the range of l / 2+const of the center point, and the center point is the valid center point. l is the lane width value, and const is the deviation constant.

[0084] In the second case, the center point is between two lanes with the same road_ID, but is farther away from one of the lanes, for example, the distance between the center point and the other lane is greater than l / 2+const. In this case, only one lane can be detected in the area with the center point as the center and the radius of l / 2+const, indicating that the center point is an invalid center point.

[0085] In the third case, the center point is outside two lanes with the same road_ID, and the distance from one of the lanes is far, greater than l. At this time, only one lane can be detected in the area with a radius of l / 2+const and the center point as the center, indicating that the center point is an invalid center point.

[0086] For another example, when the ground traffic sign corresponding to the center point is a text sign or a graphic sign, if there are two single-lane lines within a second distance value range from the center point, the center point is determined to be a valid center point.

[0087] For example, for ground traffic signs such as text signs or graphic signs, they are generally composed of multiple Chinese characters, numbers, letters, etc. For example, a name sign like "Chenglinzhuang" is composed of three Chinese characters, and a speed sign like "80" is composed of two numbers. For the center point corresponding to such a ground traffic sign, the positional relationship between the center point and the lane line includes the first and second cases mentioned above, that is, if the center point is between two single-sided lane lines with the same road_ID, then the center point is a valid center point. Invalid center points include the center point in the third case, that is, if the center point is outside two single-sided lane lines with the same road_ID, then the center point is a valid center point.

[0088] To facilitate the understanding of the above embodiment, the embodiment of the present application first generates an overlay layer of the ground traffic sign layer, such as Figure 2 As shown, a reference layer of ground traffic signs generated based on road data is added to the map data, and the map data includes a layer of ground traffic signs to be adjusted and a layer of lane lines, so as to obtain multi-layer data after the three layers are superimposed. All ground traffic signs in the reference layer are traversed, and for each ground traffic sign, the pixels in the corresponding rectangular bounding box of the ground traffic sign are saved into a pixel set, and the target pixels that do not belong to the pixel set are grouped and saved according to the tile model, and the target pixels in each group are hierarchically clustered to obtain the center point of each category in each group, and the valid center point is determined according to the type of ground traffic sign corresponding to the center point and the number of single-side lane lines corresponding to the center point, and the invalid center point is excluded, and a rectangular frame adjustment layer is generated using the valid center point, and the rectangular bounding box is adjusted based on the rectangular frame adjustment layer.

[0089] To sum up the above, the ground traffic sign detection method of the embodiment of the present application can automatically detect the rectangular bounding box with poor accuracy in the ground traffic sign layer to be adjusted, reduce the workload of manual inspection, and output the rectangular frame adjustment layer to assist in the adjustment of the rectangular bounding box, thereby improving the accuracy of the ground traffic layer in map production.

[0090] The embodiment of the present invention further provides a ground traffic sign detection device, which is of the same technical concept as the ground traffic sign detection method in the aforementioned embodiment.

[0091] like Figure 4 As shown, a schematic diagram of the structure of a ground traffic sign detection device in an embodiment of the present invention is provided, and the device 400 at least includes the following:

[0092] The reference layer production unit 410 is used to obtain road data including ground traffic signs, and generate a reference layer of the ground traffic signs according to the road data;

[0093] A layer overlay unit 420, configured to add the reference layer to map data, wherein the map data includes a ground traffic sign layer to be adjusted, and the ground traffic sign layer to be adjusted includes a rectangular enclosing frame corresponding to at least one ground traffic sign;

[0094] A sign detection unit 430 is used to detect a target ground traffic sign in the reference layer, where the target ground traffic sign refers to a ground traffic sign that is not covered by a corresponding rectangular bounding box in the ground traffic sign layer to be adjusted;

[0095] The rectangular frame detection unit 440 is used to detect the rectangular bounding frame to be adjusted in the ground traffic sign layer to be adjusted according to the target ground traffic sign.

[0096] In some embodiments, the apparatus 400 further includes a rectangular frame generating unit, configured to generate a rectangular frame adjustment layer according to the target ground traffic sign, wherein the rectangular frame adjustment layer is used to adjust the rectangular enclosing frame to be adjusted.

[0097] In some embodiments, a rectangular frame generation unit is used to obtain all target pixel points, where the target pixel points refer to the pixel points in the target ground traffic sign that are outside the rectangular enclosing frame of the ground traffic sign; cluster all the target pixel points to obtain the center point of each cluster; and generate a rectangular frame adjustment layer based on the center point.

[0098] In some embodiments, the rectangular frame generating unit is further used to group the target pixel points based on the geographical locations of the target pixel points according to the tile model of the map data; cluster the target pixel points in each group to obtain the center point of each group.

[0099] In some embodiments, the map data also includes a lane line layer and a rectangular frame generation unit, which is also used to determine whether the center point is a valid center point based on the position of each type of center point in the lane line layer after obtaining the center point; if it is a valid center point, generate a rectangular frame adjustment layer based on the valid center point.

[0100] In some embodiments, the rectangular frame generation unit is specifically used to obtain the type of ground traffic sign corresponding to the center point, and to detect whether there is lane line data within the predicted range of each center point from the lane line layer; based on the number of single-side lane lines included in the lane line data and the type of ground traffic sign corresponding to the center point, determine whether the center point is a valid center point.

[0101] In some embodiments, the rectangular frame generation unit is also specifically used to determine that the center point is a valid center point when the ground traffic sign corresponding to the center point is an arrow sign and if there are two single-sided lane lines with the same road sign within a first distance value range from the center point, the center point is determined to be a valid center point, and the first distance value refers to the sum of half of the lane width value and a deviation constant, and the deviation constant indicates the degree of deviation of the arrow sign relative to the center lane line; when the ground traffic sign corresponding to the center point is a text sign or an image sign, if there are two single-sided lane lines within a second distance value range from the center point, the center point is determined to be a valid center point, and the second distance value refers to the lane width value.

[0102] In some embodiments, the reference layer production unit 410 is used to collect the road data through a data acquisition device; run a sign detection model to extract ground traffic signs from the road data; calculate the position of the ground traffic signs according to the posture data of the data acquisition device to obtain the position of the ground traffic signs in a standard map coordinate system, where the standard map coordinate system is the coordinate system used by the map data; and generate a ground traffic sign reference layer according to the position of the ground traffic signs in the standard coordinate system.

[0103] It can be understood that the above-mentioned ground traffic sign detection device can implement each step of the ground traffic sign detection method provided in the aforementioned embodiment, and the relevant explanations about the ground traffic sign detection method are applicable to the ground traffic sign detection device and will not be repeated here.

[0104] It should be noted that:

[0105] Figure 5 FIG. 1 shows a schematic diagram of an electronic device according to an embodiment of the present invention. Figure 5 At the hardware level, the electronic device includes a processor and a memory, and optionally also includes an internal bus and a network interface. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0106] The processor, interface module, communication module and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0107] The memory is used to store computer executable instructions. The memory provides computer executable instructions to the processor through an internal bus.

[0108] The processor executes the computer executable instructions stored in the memory and is specifically used to implement the following operations:

[0109] Acquire road data including ground traffic signs, and generate a reference layer of the ground traffic signs according to the road data;

[0110] Adding the reference layer to map data, wherein the map data includes a ground traffic sign layer to be adjusted, and the ground traffic sign layer to be adjusted includes a rectangular enclosing frame corresponding to at least one ground traffic sign;

[0111] Detecting a target ground traffic sign in the reference layer, wherein the target ground traffic sign refers to a ground traffic sign that is not covered by a corresponding rectangular enclosing frame in the ground traffic sign layer to be adjusted;

[0112] A rectangular bounding box to be adjusted in the ground traffic sign layer to be adjusted is determined according to the target ground traffic sign.

[0113] As described above, the present invention Figure 1 The functions performed by the ground traffic sign detection method disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or by instructions in the form of software.

[0114] An embodiment of the present invention further proposes a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by a processor, the above-mentioned ground traffic sign detection method is implemented.

[0115] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0116] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0118] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0119] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0120] Computer-readable media include permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. As defined in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0121] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0122] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the present invention, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information.

[0123] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A ground traffic sign detection method, characterized in that: The method comprises: Acquire road data including ground traffic signs, and generate a reference layer of the ground traffic signs according to the road data; Adding the reference layer to map data, wherein the map data includes a ground traffic sign layer to be adjusted, and the ground traffic sign layer to be adjusted includes a rectangular enclosing frame corresponding to at least one ground traffic sign; Detecting a target ground traffic sign in the reference layer, wherein the target ground traffic sign refers to a ground traffic sign that is not covered by a corresponding rectangular enclosing frame in the ground traffic sign layer to be adjusted; A rectangular bounding box to be adjusted in the ground traffic sign layer to be adjusted is detected according to the target ground traffic sign.

2. The method according to claim 1, characterized in that After detecting the target ground traffic sign in the ground traffic sign reference layer, the following steps are also included: A rectangular frame adjustment layer is generated according to the target ground traffic sign, and the rectangular frame adjustment layer is used to adjust the rectangular enclosing frame to be adjusted.

3. The method according to claim 2, characterized in that According to the target ground traffic sign, a rectangular frame adjustment layer is generated, including: Acquire all target pixel points, where the target pixel points refer to the pixel points in the target ground traffic sign that are outside the rectangular enclosing frame of the ground traffic sign; Performing clustering processing on all the target pixel points to obtain the center point of each class; Create a rectangular adjustment layer based on the center point.

4. The method according to claim 3, characterized in that All the target pixels are clustered to obtain the center point of each class, including: Grouping the target pixels based on the geographical locations of the target pixels according to the tile model of the map data; Cluster the target pixels in each group to obtain the center point of each class.

5. The method according to claim 3, characterized in that: The map data also includes a lane line layer, and after obtaining the center point, it also includes: Determine whether the center point of each category is a valid center point according to the position of the center point of the lane line layer; If it is a valid center point, a rectangular frame adjustment layer is generated based on the valid center point.

6. The method according to claim 5, characterized in that Determining whether the center point of each class is a valid center point according to the position of the center point of the lane line layer includes: Obtaining the type of ground traffic sign corresponding to the center point, and detecting whether there is lane line data within the predicted range of each center point from the lane line layer; Whether the center point is a valid center point is determined according to the number of single-side lane lines included in the lane line data and the type of ground traffic signs corresponding to the center point.

7. The method according to claim 6, characterized in that Determining whether the center point is a valid center point according to the number of single-side lane lines included in the lane line data and the type of ground traffic sign corresponding to the center point includes: When the ground traffic sign corresponding to the center point is an arrow mark, if there are two single-side lane lines with the same road mark within a first distance value from the center point, the center point is determined to be a valid center point, where the first distance value refers to the sum of half of the lane width value and a deviation constant, and the deviation constant indicates the degree of deviation of the arrow mark relative to the center lane line; When the ground traffic sign corresponding to the center point is a text sign or an image sign, if there are two single-sided lane lines within a second distance value range from the center point, the center point is determined to be a valid center point, and the second distance value refers to the lane width value.

8. The method according to claim 1, characterized in that Acquiring road data including ground traffic signs, and generating a ground traffic sign reference layer according to the road data, including: Collecting the road data by using a data acquisition device; running a sign detection model to extract ground traffic signs from the road data; Calculating the position of the ground traffic sign according to the posture data of the data acquisition device to obtain the position of the ground traffic sign in a standard map coordinate system, where the standard map coordinate system is the coordinate system used by the map data; Generate a ground traffic sign reference layer based on the positions of ground traffic signs in the standard coordinate system.

9. A ground traffic sign detection device, characterized in that: include: A reference layer production unit, used to obtain road data including ground traffic signs, and generate a reference layer of the ground traffic signs according to the road data; A layer overlay unit, used for adding the reference layer to map data, wherein the map data includes a ground traffic sign layer to be adjusted, and the ground traffic sign layer to be adjusted includes at least one rectangular enclosing frame corresponding to the ground traffic sign; A sign detection unit, used to detect a target ground traffic sign in the reference layer, wherein the target ground traffic sign refers to a ground traffic sign that is not covered by a corresponding rectangular enclosing frame in the ground traffic sign layer to be adjusted; The rectangular frame detection unit is used to detect the rectangular enclosing frame to be adjusted in the ground traffic sign layer to be adjusted according to the target ground traffic sign.

10. An electronic device, characterized in that: include: processor; as well as A memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the ground traffic sign detection method according to any one of claims 1 to 8.