A method for constructing traffic lights for high-precision maps

By combining SLAM technology and light-sensing recognition, RGB and HSV color spaces are used to identify traffic light types and states, which solves the problem of insufficient traffic light information in high-precision maps and enables the construction of more accurate traffic light models to meet the needs of autonomous driving.

CN115752441BActive Publication Date: 2024-09-13CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211490521.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-25
Publication Date
2024-09-13
Estimated Expiration
2042-11-25

AI Technical Summary

Technical Problem

In existing intelligent driving technology, the construction information of traffic lights in high-precision maps is insufficient, and the type and status of traffic lights cannot be effectively identified, which affects the accuracy of autonomous driving.

Method used

Combined with SLAM technology, using dual judgments of light-sensitive recognition and RGB and HSV color spaces, we design and construct solutions for traditional circles, arrow-shaped and traffic lights with countdowns. Through calibration, light-sensitive recognition, shape classification and countdown data collection, we build a complete traffic light model.

Benefits of technology

It achieves comprehensive coverage of traffic light information in high-precision maps, improves the recognition accuracy of traffic light models and the accuracy of data, and meets the needs of autonomous driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115752441B
    Figure CN115752441B
Patent Text Reader

Abstract

The present invention proposes a method for constructing traffic lights for high-precision maps, which determines the type of traffic lights by performing light perception recognition, and uses RGB color space and HSV color space to perform dual judgment on the color, so that the recognition accuracy is higher. For traditional circular traffic lights, a solution of drawing patterns at fixed points in the center of the circle is adopted, which can more accurately construct the model of traffic lights. For arrow-type traffic lights, a contour point drawing solution is adopted to more accurately solve the problem of constructing new traffic light models. For traffic lights with countdowns, the countdown data is obtained and synchronized to the vehicle, which ensures the accurate characterization of the data and directly avoids the occurrence of data errors. The present invention designs solutions for three types of traffic lights, so that the constructed high-precision map covers more comprehensive traffic light information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent driving and map construction, and specifically relates to the technology of constructing traffic lights in high-precision maps. Background Art

[0002] In the era of smart travel, smart driving technology is widely recognized by the public. As an important part of strategic emerging industries, smart driving is the first wonderful chapter in the process from the Internet era to the artificial intelligence era, and it is also one of the strategic commanding heights of the new round of economic and technological development in the world. The comprehensive development of smart driving technology is of great significance to promoting national technology, economy, society, life, safety and comprehensive national strength, and also provides great convenience for the majority of car owners.

[0003] However, today's intelligent driving technology is not perfect. Intelligent driving technology mainly relies on the information returned by the sensors on the vehicle side, and the vehicle uses this information to help judge the surrounding and road information of the vehicle, thereby assisting the driver in driving. Combined with the development of the current era, autonomous driving will gradually become the mainstream mode of travel and become the technology that people rely on for travel and driving.

[0004] Traffic lights are the most important and frequently appearing elements on driving roads, and they also have a significant impact on autonomous driving. With the gradual improvement of intelligent driving technology, the accuracy requirements for the construction of high-precision maps for autonomous driving will gradually increase. The elements of high-precision maps are required to be more comprehensive and accurate. Among the many elements of high-precision maps, traffic lights appear very frequently, and traffic light elements are also extremely important for autonomous driving. Therefore, it is extremely important to build complete and accurate traffic light information in high-precision maps to meet the needs of autonomous driving to the greatest extent.

[0005] The current traditional traffic light recognition and construction technology relies on the annotation recognition of the perception end, using the BoundingBox to define the approximate shape of the red light and annotate the category. Although this traditional method can build a model of the red light, the constructed model contains less information. Intelligent driving technology can only know from the map that there is a traffic light on this road section. The type of red light and the current red light situation are not available. If you want to better build a high-precision map to serve autonomous driving, you need to include as comprehensive red light information as possible. Summary of the invention

[0006] In view of the problems and needs of the existing technology, the present invention proposes a traffic light construction method for high-precision maps, which is combined with SLAM technology (simultaneous positioning and mapping technology) to construct a traffic light model that contains more comprehensive red light information to meet the needs of autonomous driving.

[0007] The technical solution of the present invention is as follows:

[0008] To achieve the above objectives, the present invention proposes a method for constructing a traffic light map with high precision, which comprises the following steps:

[0009] S1: Calibrate the traffic light position:

[0010] The aerial elements of the data collection section are calibrated and identified to determine the location of the aerial elements and mark the traffic light type. The traffic light type here refers to a unified category of traffic lights.

[0011] S2: Perform light recognition to determine the type of traffic light

[0012] S21: Select to collect road section data n times under set lighting conditions, and ensure that the collected data includes red light information and green light information. The set lighting conditions are preferably during a clear day or night with good lighting.

[0013] S22: Obtain the shape of the current light through light perception recognition, and determine the type of the traffic light according to the shape;

[0014] S3: Classify traffic lights according to their types

[0015] S31: Circular traffic light.

[0016] S311: Determine the center and radius of the circle;

[0017] S312: Determine the horizontal position of the traffic light;

[0018] S313: Determine the position of the yellow light.

[0019] S32: Arrow-shaped traffic light

[0020] S321: Corner point marking;

[0021] S322: Image drawing.

[0022] S4: For a traffic light with a countdown, obtain countdown data.

[0023] S5: Information integration to build a complete traffic light model

[0024] The information obtained from S1 to S4 is integrated to construct a complete data set with the location, label, type and countdown data of the traffic lights.

[0025] By adopting the above technical solution, the advantages of the present invention are as follows:

[0026] The present invention designs solutions for three types of traffic lights, so that the constructed high-precision map covers more comprehensive traffic light information.

[0027] The present invention proposes to first perform light perception recognition to determine the type of traffic lights, and use RGB color space and HSV color space to perform dual judgment on the color, so that the recognition accuracy is higher.

[0028] The present invention aims at the traditional circular traffic light and adopts a solution of drawing patterns at a fixed point at the center of the circle, so that the model of the traffic light can be constructed more accurately.

[0029] The present invention adopts a contour point drawing scheme for arrow-shaped traffic lights, which more accurately solves the problem of constructing a new type of traffic light model.

[0030] The present invention uses the method of obtaining countdown data for traffic lights with countdown to synchronize the data to the vehicle, thus ensuring the accuracy of the data and directly avoiding the occurrence of data errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flowchart of the traffic light construction method for high-precision maps. DETAILED DESCRIPTION

[0032] The following will further describe the method for constructing traffic lights for high-precision maps in a clearer and more complete manner in combination with the accompanying drawings and embodiments.

[0033] First, the construction of traffic lights for high-precision maps in this invention is based on the following research and thinking:

[0034] There are currently three more common types of traffic lights:

[0035] 1. Traditional round traffic lights

[0036] 2. Arrow-shaped traffic lights

[0037] 3. Traffic lights with countdown

[0038] These three types of traffic lights are the most common types of traffic lights on current driving roads. Therefore, the present invention mainly designs solutions for these three types of traffic lights so that the constructed high-precision map covers more comprehensive traffic light information. The present invention provides different map construction solutions according to the types of traffic lights.

[0039] Traditional traffic lights and arrow-shaped traffic lights have one thing in common, which is color. Although the display shapes of traffic lights are different, they still use the three colors of red, yellow and green to express related information. Therefore, when designing and constructing solutions separately, there is a common processing solution for traditional traffic lights and arrow-shaped traffic lights - the extraction of luminosity.

[0040] The values ​​of red, yellow and green are different when recognized by the light sensor. The traditional light extraction and recognition uses the RGB color space, which is based on the three basic colors of R (red), G (green) and B (blue), and is superimposed to varying degrees to produce rich and wide colors. This mode can identify more than 16 million different colors. However, the three RGB components are highly correlated. When one of the components changes slightly, the corresponding color will change, which requires a high degree of recognition accuracy.

[0041] Therefore, the present invention introduces a new space: HSV color space, which is used for color recognition. In this space, the parameters of color are: hue (H), saturation (S), and lightness (V). For hue, its value range is 0° to 360°, starting from red and counting counterclockwise, red is 0°, green is 120°, and yellow as a complementary color is 60°. In terms of saturation, each color can be regarded as a mixture of a certain spectral color and white. The higher the saturation value, the more saturated the color, and the value range is 0% to 100%. Lightness represents the brightness of the color, usually black has a value of 0% and white has a value of 100%.

[0042] For the recognition of traffic lights, the present invention utilizes the HSV color space to accurately recognize and extract the core of each red light and green light, and is not limited to the determination of the BoundingBox position.

[0043] In addition, whether it is a traditional circular or arrow-shaped traffic light, by extracting the color, the light pattern at the time of current collection is obtained to confirm the light color. Since the yellow light is too short to be collected, generally only the red and green colors are collected. Generally, the three lights of the traffic light are evenly distributed and in the same straight line, and the distance between the geometric centers of the graphics of every two lights is consistent. After determining the positions of the red and green lights, the position of the yellow light can be accurately calculated.

[0044] Furthermore, for traditional circular traffic lights, a solution to determine the center and radius is adopted. Since the extraction of nighttime light intensity will produce a halo, which will cause a large error in the extraction of the circular radius, data should be collected during the day when the lighting is relatively good. After identifying the light intensity graph, the center and radius of the circle are confirmed, and the red and green lights are used to determine the straight line. The center point of the straight line connecting the red and green lights is found, and the center of the yellow light can be obtained. The radius of the yellow light is consistent with that of the traffic light. If the difference between the center of the traffic light is much smaller than the radius, it can be determined that there is only one display light for this type of traffic light, and the traffic light conversion is achieved by changing the color.

[0045] For arrow-shaped traffic lights, it can be determined during light recognition that the shape is quite different from a circle. For this type of traffic light, the corner points of the shape are extracted, as many corner points as possible are extracted from the arrow, and adjacent corner points are connected by straight lines to obtain the shape.

[0046] Nowadays, many traffic lights contain countdown display boards, which can display the remaining seconds of the remaining red or green lights. The numbers are constantly changing. If image recognition is used for extraction, it is too difficult, and it is also too difficult to extract the collected data multiple times. Therefore, only the BoundingBox method is used to determine the position and size of the countdown board. For the extraction of numbers, it can be obtained in the same way as many current buses. Currently, many buses are equipped with traffic light time synchronization functions, and they are displayed on the rear display screen, so that the following vehicles can use this to see the relevant information of the traffic lights in front when the bus's line of sight is blocked. The acquisition of this information is subject to distance restrictions, and data can be obtained when the bus is close to the traffic light at a certain distance. Therefore, the same method can also be used when building a map. When the vehicle is close to the traffic light to a certain distance, the synchronized traffic light countdown data is automatically obtained and provided to the vehicle for intelligent driving. The data obtained in this way is also extremely accurate and reliable.

[0047] Based on the above research, the present invention proposes a better method for constructing traffic lights for high-precision maps.

[0048] See also Figure 1 , the operation steps of a specific embodiment are as follows:

[0049] S1: Calibrate traffic lights using traditional calibration technology

[0050] The perception end first uses the traditional calibration method for the data collection section, uniformly calibrates and identifies the aerial elements of the section, and uses the BoundingBox (the bounding detection box of the target data) to determine the position of the aerial elements. When using the BoundingBox for calibration, the image window is generally represented by a four-dimensional vector (x, y, w, h), and the four values ​​represent the center point coordinates and width and height of the window respectively. For the calibration image, the red box P is generally used to represent the original Proposal, and the green box G represents the target Ground Truth. The purpose is to find a relationship so that the input original window P is mapped to obtain a regression window G^ that is closer to the real window G.

[0051] During calibration, the traffic light type is specially marked (ie, a specific calibration value is assigned to the traffic light type, and when the data is subsequently filtered, this calibration value can be directly used to obtain all traffic light category data), and the next processing continues.

[0052] S2: Perform light recognition to determine the type of traffic light

[0053] S21: Select to collect road section data multiple times under set lighting conditions (on a clear day with good lighting and at night) to ensure that the collected data includes red light information and green light information.

[0054] The color is double judged using RGB color space and HSV color space. In RGB color space, the value of red is required to be (225, 0, 0): the value of green is required to be (0, 225, 0): in HSV color space, the value of red is required to be hmin: 0 or 156, hmax: 10 or 180, smin: 43, smax: 255, vmin: 46, vmax: 255, the value of green is required to be: hmin: 35, hmax: 77, smin: 43, smax: 255, vmin: 46, vmax: 255. When judging, the HSV value setting allows the error fluctuation to be 3 up and down. Only when the values ​​of the two color spaces are within the specified range can the current color be identified and determined to be red or green.

[0055] S22: Through light recognition, the approximate shape of the current light can be obtained, and the type of traffic light can be determined based on this shape. The brightness recognition result of a traditional round traffic light appears to be quasi-circular, which can be better recognized and judged.

[0056] S3: Classify and process traffic lights according to their types.

[0057] S31: For traditional circular traffic lights, including:

[0058] S311: Determine the center and radius of the circle

[0059] Since the light recognition data obtained during the day when the light perception is good does not contain halos, the image data is more accurate at this time. Under this condition, the center and radius of the collected image are determined. Specifically, the acquired image is annotated with point clouds, and the annotated points are classified into edge points and internal points. If the distance from a certain internal point to all edge points is consistent, this internal point is determined as the center of the circle, and the consistent distance is the radius of the circle. The method for determining the center radius of the red and green lights is the same (the radius must be consistent).

[0060] When the distance between the centers of the traffic lights is smaller than the radius, it is determined that the current situation is that there is only one display light for the traffic light, and the traffic light is changed by changing the color.

[0061] S312: Determine the horizontal position of the traffic light

[0062] After determining the center of the red and green lights above, connect the two centers to construct a straight line, which is the horizontal position of the current traffic light.

[0063] S313: Determine the location of the yellow light

[0064] The midpoint of the line connecting the centers of the traffic lights is determined as the center of the yellow light. It is determined whether the distance from this position to the center of the traffic light is greater than the diameter length. The yellow light information can be constructed only when this condition is met, otherwise it is rejected.

[0065] S32: For arrow-shaped traffic lights, including:

[0066] S321: Corner point annotation

[0067] The edge points of the acquired image are marked. The image points at the inflection points of the image must be marked with L. The remaining points can be marked at a certain distance to complete the image marking at one time.

[0068] S322: Image drawing

[0069] Connect the marked points, only connect adjacent points, and use straight lines to draw the image.

[0070] S4: Get countdown data

[0071] When the vehicle is 500m away from the traffic light, the vehicle starts to obtain the countdown information of the traffic light and synchronizes it to the vehicle for intelligent driving.

[0072] S5: Information integration to build a complete traffic light model

[0073] Finally, the information obtained from S1 to S4 is integrated, and the location, label, type and countdown data of the traffic light are constructed together into a complete data set, that is, a complete traffic light model is obtained.

Claims

1. A method for constructing traffic lights of a high-precision map, characterized in that: Includes steps: S1: Calibrate the traffic light position: Calibrate and identify the aerial elements of the data collection section, determine the location of the aerial elements, and mark the traffic light type; S2: Perform light recognition to determine the type of traffic light S21: Selecting to collect road section data n times under set lighting conditions, ensuring that the collected data includes red light information and green light information; S22: Obtain the shape of the current light through light perception recognition, and determine the type of the traffic light according to the shape; S3: Process traffic lights according to their categories S31: Circular traffic light: S311: Determine the center and radius of the circle: Annotate the acquired image with point cloud, and classify the annotated points into edge points and internal points. If the distance from an internal point to all edge points is consistent, the internal point is determined to be the center of the circle, and the consistent distance is the radius of the circle. When the distance from the center of the traffic light circle is less than the radius, it is determined that the current situation is that there is only one traffic light display light for this traffic light, and the traffic light is changed by changing the color; S312: Determine the horizontal position of the traffic light: connect the two circle centers to construct a straight line, which is the horizontal position of the current traffic light; S313: Determine the position of the yellow light: determine the center of the yellow light at the midpoint of the line connecting the centers of the traffic lights, and determine whether the distance from this position to the center of the traffic light is greater than the diameter length. If this condition is met, the yellow light information is constructed, otherwise it is not constructed; S32: Arrow-shaped traffic light S321: Corner point marking: mark the edge points of the acquired image, mark the image points at the inflection points of the image with L, and mark the remaining points at a certain distance, completing the image marking at one time; S322: Image drawing: Connect the marked adjacent points and use straight lines to draw the image; S4: For a traffic light with a countdown, obtain countdown data; S5: Information integration to build a complete traffic light model The information obtained from S1 to S4 is integrated to construct a complete data set with the location, type mark, category and countdown data of the traffic lights.

2. The method for constructing a traffic light of a high-precision map according to claim 1, characterized in that: The S1 calibrates the traffic light position by using the BoundingBox to calibrate the position of the aerial element; During calibration, the image window is represented by a four-dimensional vector (x, y, w, h), where the four values ​​represent the center coordinates and width and height of the window respectively. The calibration image uses a red box P to represent the original Proposal and a green box G to represent the target GroundTruth, so that the input original window P is mapped to a regression window Ĝ that is closer to the real window G.

3. The method for constructing a traffic light of a high-precision map according to claim 1, characterized in that: In S21, the color is double-judged using the RGB color space and the HSV color space, and when the values ​​in the two color spaces are within the set range, it is determined to be red or green.

4. The method for constructing a traffic light of a high-precision map according to claim 3, characterized in that: In S21, in the RGB color space, the numerical value of red is required to be (225, 0, 0), and the numerical value of green is required to be (0, 225, 0): in the HSV color space, the numerical value of red is required to be hmin: 0 or 156, hmax: 10 or 180, smin: 43, smax: 255, vmin: 46, vmax: 255, and the numerical value of green is required to be: hmin: 35, hmax: 77, smin: 43, smax: 255, vmin: 46, vmax: 255.