A method for accurately detecting traffic signs or road markings

By merging images and setting key points for guidance arrows, combined with deep convolutional networks and non-maximum suppression technology, the problems of occlusion, illumination changes and standard differences in the existing technology are solved, and the robustness of guidance arrow detection is improved. and accuracy.

CN112989900BActive Publication Date: 2024-09-24XIAOMI EV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911376005.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-12-13
Filing Date
2019-12-27
Publication Date
2024-09-24
Estimated Expiration
2039-12-27

AI Technical Summary

Technical Problem

Existing template matching methods are difficult to robustly handle problems such as occlusion, illumination changes, weather changes, actual guide arrow size changes, and different demarcation standards in different countries and regions, resulting in poor guidance arrow detection results in the field of autonomous driving.

Method used

By overlaying and merging guide arrow images, key points are set, and a deep convolutional network is used to generate key point score maps and feature maps, combined with non-maximum suppression for detection, and deep learning is optimized to handle lighting and weather changes, using labels Identify key points to handle size changes and standard differences.

Benefits of technology

It achieves robust processing of occlusion, size changes and different standards, improves the accuracy and computational efficiency of guidance arrow detection, and can effectively handle lighting and weather changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112989900B_ABST
    Figure CN112989900B_ABST
Patent Text Reader

Abstract

The invention discloses a method for accurately detecting traffic signs or road markings, comprising: superimposing and merging images of traffic signs or road markings to form new synthesized signs or road markings; setting key points on the synthesized signs or road markings; detecting the key points, and identifying the traffic information indicated or prompted by the traffic signs or road markings corresponding to the key points.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of image detection, and in particular to a method for accurately detecting traffic signs or markings. Background Art

[0002] Guide arrows are an important type of traffic sign painted on the road to indicate how to drive on complex roads. For many fields, including autonomous driving, guide arrows are important information to guide intelligent vehicles or autonomous vehicles to use the road correctly. Therefore, guide arrows are widely used in multiple modules in the field of autonomous driving, including high-precision map construction, high-precision positioning and driving decision-making.

[0003] The existing template matching method builds a template for each arrow and matches the image to be detected with each template. If the matching value exceeds the threshold, the match is considered successful. The disadvantage of this technology is that it cannot robustly handle issues such as occlusion, changes in lighting, changes in weather, changes in the size of the actual guide arrows, and different marking standards in different countries and regions. Summary of the invention

[0004] In order to solve the defects of current technology that cannot robustly handle occlusion, illumination changes, weather changes, actual guide arrow size changes and different marking standards in different countries and regions, the present invention provides a method for accurately detecting traffic signs or markings.

[0005] According to one aspect of the present invention, a method for accurately detecting traffic signs or road markings is provided, the method comprising the following steps:

[0006] The images of traffic signs or road markings are superimposed and merged to form new synthesized signs or road markings; key points are set on the synthesized signs or road markings; the key points are detected, and the traffic information indicated or prompted by the traffic signs or road markings corresponding to the key points is identified.

[0007] Preferably, the traffic sign or marking is a directional arrow.

[0008] Preferably, the key points are identified by numbers.

[0009] Preferably, the identifying the key points by numbers includes: identifying the key points by Arabic numerals, English letters, or Chinese characters.

[0010] Preferably, the identifying the key points by numbers includes: numbering in a counterclockwise or clockwise or top-down order.

[0011] Preferably, the step of detecting the key points is implemented by a deep convolutional network.

[0012] Preferably, the deep convolutional network generates a key point score map and a key point feature map through two convolution branches respectively, the score map is used to measure the possibility of the existence of the key point at the detected position point, and the feature map is used to describe whether the key point corresponds to the same traffic sign or marking.

[0013] Preferably, the score map filters the detection results of the key points by means of non-maximum suppression.

[0014] Preferably, the step of detecting the key points comprises: optimizing the effect of deep learning by annotating images of real traffic scenes containing the traffic signs or markings.

[0015] Compared with the prior art, the beneficial effects of the present invention include:

[0016] By merging guide arrows, storage can be reduced and calculations can be accelerated. By representing guide arrows with key points, problems such as occlusion, changes in the size of actual guide arrows, and different marking standards in different countries and regions can be handled. Through supervised learning with a large amount of labeled data, deep models can handle problems such as changes in lighting and weather. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above summary and the following detailed description will be better understood by reading in conjunction with the accompanying drawings. For ease of illustration, certain embodiments of the present disclosure are shown in the accompanying drawings. However, it should be understood that the present invention is not limited to the precise arrangements and tools shown. The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate implementations of systems and devices in accordance with the present invention and are used together with this description to illustrate the advantages and principles of the present invention.

[0018] in,

[0019] Figure 1 The present invention is a flow chart of a method for accurately detecting traffic signs or road markings.

[0020] Figure 2 It is a structural schematic diagram of the guide arrow of the present invention.

[0021] Figure 3 It is a structural schematic diagram of the combined arrows of the present invention.

[0022] Figure 4 It is a schematic diagram of the detection process of the deep convolutional network of the present invention.

[0023] Figure 5 It is another detection flow diagram of the deep convolutional network of the present invention. DETAILED DESCRIPTION

[0024] Before describing in detail at least one embodiment of the present invention, it is to be understood that the present invention is not limited to the application of the details of its construction and the arrangement of components set forth in the following description or shown in the accompanying drawings. The accompanying drawings and written description are provided to guide those skilled in the art to make and use the present invention for which patent protection is sought. The present invention is applicable to other embodiments and can be implemented and executed in various ways. Those skilled in the art will understand that for the sake of clarity and ease of understanding, not all features of a commercial embodiment are shown. Those skilled in the art will also understand that the development of actual commercial embodiments incorporating aspects of the present invention will require many implementation-specific decisions to achieve the ultimate goal of the developer's commercial embodiment. Although these efforts will be complex and time-consuming, they are routine tasks for those skilled in the art who benefit from the present disclosure.

[0025] In addition, it is to be understood that the terms and terminology used herein are for ease of description and should not be considered as limiting. For example, the use of singular terms, such as "one", "a", "an", is not intended to limit the number of items. In addition, the use of non-restrictive relational terms such as "top", "bottom", "left", "right", "up", "down", "downward", "upward", "side" and the like is used in this description with specific reference to the accompanying drawings for clarity, and is not intended to limit the scope of the present invention or the appended claims. In addition, it should be understood that any of the features of the present invention can be used alone or in combination with other features. By reading the drawings and detailed description, those skilled in the art will clearly know other systems, methods, features and advantages of the present invention. It is expected that all such other systems, methods, features and advantages are included in this description, included in the scope of the present invention, and protected by the appended claims.

[0026] Combination Figures 1 to 4 As shown, it schematically shows an implementation of a method for accurately detecting traffic signs or road markings according to the present invention, and the specific steps are as follows:

[0027] Step S101: Merge guide arrows

[0028] like Figure 2 As shown, the guide arrows are divided into twelve types, including: indicating going straight, indicating that the road ahead can go straight or turn right, indicating that the road ahead can go straight or turn left, indicating that the road ahead can go straight or turn left or turn right, indicating that the road ahead can only turn left or right, indicating that the road ahead can turn left or turn around, indicating that the road ahead can turn around, indicating that the road ahead can go straight or turn around, indicating that the road ahead can turn left, indicating that the road ahead can turn right, indicating that the road ahead has a left bend or needs to merge left, and indicating that the road ahead has a right bend or needs to merge right.

[0029] The twelve guide arrows are combined into a composite arrow by superposition and merging, wherein the composite arrow combines the repeated parts of the twelve guide arrows, such as Figure 3 shown.

[0030] Step S102: Setting the key points of the composite arrow

[0031] like Figure 3 As shown, the composite arrow includes twenty-six key points, which are numbered 1 to 26. Correspondingly, the twelve guide arrows respectively include a number of key points, wherein the common parts use the same key point number; the same instructions use the same key point number. In particular, the key point numbers used by the two guide arrows indicating that the road ahead has a left turn or needs to merge to the left and the guide arrows indicating that the road ahead has a right turn or needs to merge to the right are the same as the key point numbers indicating straight ahead, and the above different guide arrows can be distinguished by the projection position of point 1 on the line connecting points 11 and 12.

[0032] Step S103: Detect key points and identify guide arrows

[0033] Based on the deep convolutional network, the key points are detected, represented and classified, and finally the guide arrow is detected. The specific process is as follows: Figure 4 shown.

[0034] The monocular image is acquired through a monocular camera, and the deep features are extracted through a deep convolutional network. Then, the key point score map and the key point feature map are generated through two convolution branches. Among them, the key point score map is used to measure the possibility of the existence of the corresponding key point at each position. The high or low score indicates the size of the possibility, and the key point detection results are generated through screening. Among them, the key point score map needs to further screen the key point detection results through non-maximum suppression to avoid repeated detection of the same key point.

[0035] The key point feature map is used to describe each key point. The key points belonging to the same arrow have similar features, while the key points of different arrows have different features. The association between the key points and the guide arrows is established, thereby realizing the detection of guide arrows. Specifically, according to the key point feature map, these key points are clustered in the feature space, and the key points of the same guide arrow can be clustered together, thereby realizing the detection and classification of the wire arrows, that is, outputting the position and category of the guide arrows.

[0036] Finally, the key points selected by the key point score map are clustered according to different features by the key point feature map to form guiding arrows.

[0037] In some embodiments, deep learning can be performed by annotating tens of thousands or hundreds of thousands of actual scene images containing real directional arrows.

[0038] In some embodiments, the learning of network parameters can be achieved through a GPU cluster.

[0039] In some embodiments, a top-down detection method may be used. Compared with the above bottom-up detection method of merging key points into guide arrows, the top-down detection method first detects guide arrows using a rectangular frame, and then performs key point detection on the guide arrows in the rectangular frame.

[0040] Based on the above implementation, another implementation of a method for accurately detecting traffic signs or road markings is shown according to the present invention. The specific steps are as follows:

[0041] Step S201: Setting the key points of the guide arrow

[0042] The directional arrows are divided into twelve types, including: indicating going straight, indicating that the road ahead can go straight or turn right, indicating that the road ahead can go straight or turn left, indicating that the road ahead can go straight, turn left or turn right, indicating that the road ahead can only turn left or right, indicating that the road ahead can turn left or turn around, indicating that the road ahead can turn around, indicating that the road ahead can go straight or turn around, indicating that the road ahead can turn left, indicating that the road ahead can turn right, indicating that the road ahead has a left bend or needs to merge left, and indicating that the road ahead has a right bend or needs to merge right.

[0043] according to Figure 2 As shown in the figure, set key point numbers on the twelve guide arrows. For details, refer to Figure 2 As shown, each guide arrow includes key points, and the common parts use the same key point labels. In particular, the key point labels used by the two guide arrows indicating that the road ahead has a left curve or needs to merge to the left and the guide arrow indicating that the road ahead has a right curve or needs to merge to the right are the same as the key point labels indicating straight ahead.

[0044] In some embodiments, the guide arrows may be other sizes or shapes.

[0045] In some embodiments, the key point labels can be represented by other characters, such as using a, b, c, d instead of 1, 2, 3, 4, or using one, two, three, four instead of 1, 2, 3, 4.

[0046] In some embodiments, the order of the key point numbers may be other orders or follow other logics, for example, the order of the key point numbers is counterclockwise.

[0047] In some embodiments, the number of categories of guide arrows may be other numbers, such as dividing the guide arrows into any type of guide arrows between two and twelve or more guide arrows.

[0048] Step S202: Merge guide arrows

[0049] The twelve directional arrows mentioned above are Figure 3As shown in FIG. 1 , the arrows are combined into a composite arrow by superposition and merging, wherein the composite arrow combines the repeated parts of the twelve guide arrows according to the key points. Figure 3 As shown, the composite arrow contains twenty-six key points, which are numbered 1 to 26 respectively.

[0050] In some embodiments, the composite arrow may be one of the guide arrows, or a combination of several guide arrows superimposed and merged.

[0051] In some embodiments, the composite arrow may be formed by superimposing and merging two to twelve directional arrows, or by superimposing and merging more directional arrows.

[0052] Step S203: Detect key points and identify guide arrows

[0053] Based on the deep convolutional network, the key points are detected, represented and classified, and finally the guide arrow is detected.

[0054] Based on the above implementation, combined with Figure 5 According to the present invention, another method for accurately detecting traffic signs or road markings is shown. The specific steps are as follows:

[0055] Step S301: merge guide arrows, refer to step S101 for details.

[0056] Step S302: Set the key points of the composite arrow, refer to step S102 for details.

[0057] Step S303: Detect key points and identify guide arrows

[0058] On the basis of step S103, two other convolution branches are introduced to generate a center point score map and a center point feature map respectively. The center point is the geometric center of the 2D box of the actual road sign on the road surface. The center point score map is used to measure the possibility of the existence of a corresponding center point at each position. The high or low score indicates the size of the possibility, which is used to filter and generate the detection results of the center point. The center point score map needs to further filter the detection results of the center point by non-maximum suppression.

[0059] By comparing the similarity between the features of the center point and the features of the key point, when the similarity is greater than the preset threshold, the key point is associated with the corresponding center point to form the detection of the guide arrow. Since one guide arrow corresponds to one center point, the center point feature describes the guide arrow as a whole and has stronger distinguishability, thus avoiding errors in calculating the similarity between key points due to weak distinguishability.

[0060] The contents described above are only preferred embodiments of the present invention and are not intended to limit the present invention in any way. Any modifications or equivalent changes made to the above embodiments according to the present invention shall fall within the protection scope of the present invention.

Claims

1. A method for accurately detecting traffic signs or road markings, characterized in that: include: Overlaying and merging images of traffic signs or road markings to form new synthetic signs or road markings; The traffic sign or marking is a directional arrow; Combine multiple directional arrows into a composite arrow by superimposing and merging; Setting key points on the synthesized mark or marking line; wherein the key points are identified by numbers, and the common parts use the same key point numbers; the same indications use the same key point numbers; The key points are detected, and the traffic information indicated or prompted by the traffic signs or markings corresponding to the key points are identified.

2. The method according to claim 1, characterized in that The key points are identified by numbers, including: The key points are identified by Arabic numerals, English letters or Chinese characters.

3. The method according to claim 2, characterized in that The key points are identified by numbers, including: Numbering is done in counter-clockwise or clockwise or top-down order.

4. The method according to claim 1, characterized in that The step of detecting the key points is implemented by a deep convolutional network.

5. The method according to claim 4, characterized in that The deep convolutional network generates a key point score map and a key point feature map through two convolution branches respectively. The score map is used to measure the possibility of the existence of the key point at the detected position point, and the feature map is used to describe whether the key point corresponds to the same traffic sign or marking.

6. The method according to claim 5, characterized in that The score map filters the detection results of the key points by means of non-maximum suppression.

7. The method according to claim 1, characterized in that The step of detecting the key points comprises: The effect of deep learning is optimized by annotating images of real traffic scenes containing the traffic signs or markings.