WO2020232648A1 - Lane line detection method, electronic device and storage medium - Google Patents

Lane line detection method, electronic device and storage medium Download PDF

Info

Publication number
WO2020232648A1
WO2020232648A1 PCT/CN2019/087874 CN2019087874W WO2020232648A1 WO 2020232648 A1 WO2020232648 A1 WO 2020232648A1 CN 2019087874 W CN2019087874 W CN 2019087874W WO 2020232648 A1 WO2020232648 A1 WO 2020232648A1
Authority
WO
WIPO (PCT)
Prior art keywords
lane line
observation
precision map
matching
feature point
Prior art date
Application number
PCT/CN2019/087874
Other languages
French (fr)
Chinese (zh)
Inventor
唐蔚博
许睿
吴显亮
陈竞
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980012354.9A priority Critical patent/CN111742326A/en
Priority to PCT/CN2019/087874 priority patent/WO2020232648A1/en
Publication of WO2020232648A1 publication Critical patent/WO2020232648A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/588Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00

Definitions

  • the embodiments of the present invention relate to the technical field of intelligent driving, and in particular to a detection method of lane lines, electronic equipment and storage media.
  • the current lane line inspection method is the online observer, that is, the visual navigation system is used to find the position of the lane line in the road image from the captured road image, and then the lane line inspection is realized.
  • the method of online observation of the lane line is affected by the accuracy of the visual sensor.
  • the lane line is more accurate in the close range. The farther the lane line is from the vehicle, the lower the accuracy and the less reliable it is. At the same time, if there are vehicles or obstacles in the field of view of the camera sensor, the detection result of the lane line is not accurate.
  • the embodiment of the present invention provides a lane line detection method, electronic equipment and storage medium to realize accurate detection of the lane line.
  • an embodiment of the present application provides a method for detecting lane lines, including:
  • observation lane line is a lane line obtained through observation by a sensor mounted on the vehicle;
  • the detection lane line is determined.
  • an electronic device including:
  • Memory used to store computer programs
  • the processor is used to execute the computer program, specifically to execute:
  • observation lane line is a lane line obtained through observation by a sensor mounted on the vehicle;
  • the detected lane line is determined by the observation lane line and the high-precision map lane line.
  • an embodiment of the present application provides a vehicle including: a vehicle body and the electronic device according to any one of the second aspects installed on the vehicle body.
  • an embodiment of the present application provides a vehicle including: a vehicle body and the electronic device of any one of the second aspect installed on the vehicle body.
  • an embodiment of the present application provides a computer storage medium in which a computer program is stored, and the computer program implements the lane line detection method described in any one of the first aspect when the computer program is executed.
  • the lane line detection method, electronic equipment, and storage medium obtained the observation lane line observed online, and the observation lane line is the lane line obtained through the observation of the sensor mounted on the vehicle; Matching the observation lane line and the high-precision map lane line within a local range of, to obtain a matching result; and determining the detection lane line according to the matching result. In this way, it is judged whether there are positioning offset, outdated and other problems with the lane line of the HD map through the more reliable observation lane line nearby. If the reliability of the lane line of the HD map is high, use the remote HD map lane line to repair the observation.
  • the vehicle can plan the state of intelligent driving of the vehicle, such as lane change, deceleration or parking Realize accurate guidance to intelligent driving, thereby improving the safety of intelligent driving.
  • FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of this application
  • FIG. 2 is a flowchart of a method for detecting lane lines provided by an embodiment of the application
  • FIG. 3 is a flowchart of a method for detecting lane lines according to an embodiment of the application
  • FIG. 4 is a schematic diagram of an electronic device provided by an embodiment of this application.
  • FIG. 5 is a schematic structural diagram of a vehicle provided by an embodiment of the application.
  • Fig. 6 is a schematic diagram of the structure of a vehicle provided by an embodiment of the application.
  • the method of the embodiment of the present invention is applicable to technical fields such as computer vision and intelligent driving, and can realize the detection of lane lines, thereby improving the safety of intelligent driving.
  • intelligent driving includes automatic driving and assisted driving.
  • the vehicle needs to obtain a local lane line map, which is used to plan and formulate a vehicle driving plan and predict the trend of other vehicles.
  • a local lane line map which is used to plan and formulate a vehicle driving plan and predict the trend of other vehicles.
  • Online Measurement the real-time construction of fused local information using on-board sensors.
  • the lane line data detected by the vehicle-mounted sensor is projected, segmented or merged to obtain the online observation lane line and recorded as the observation lane line.
  • Projection refers to transforming the coordinates of the lane line on the sensor to a bird view map through geometric calculation.
  • Segmentation refers to clustering the lane line points on the bird's-eye view, and assigning each lane line point a label (Label) corresponding to the lane line.
  • Fusion refers to the data association of the labeled bird's-eye view of multiple frames, merging the lane lines of multiple frames in time sequence, and optimizing the curve parameters of the lane lines.
  • the vehicle can also obtain its own current absolute position, and read the pre-manually collected, modeled, and labeled high-precision map (HD Map) around the vehicle from the database according to the absolute position.
  • HD Map high-precision map
  • the lane lines marked on the high-precision map can also be used to plan and formulate vehicle driving plans and predict the trend of other vehicles.
  • HD map lane lines When using HD map lane lines alone in intelligent driving, there are the following problems: the accuracy of HD map is affected by vehicle positioning, and vehicle positioning is offset, and the reliability of the entire HD map lane line will be greatly reduced; High-precision maps are time-sensitive. After road construction and diversion, if the high-precision maps cannot be updated in time, the reliability of the lane lines of the high-precision maps will be greatly reduced.
  • the lane line detection method uses the fusion of the high-precision map lane line and the observation lane line, and judges whether the high-precision map lane line has a location based on the nearby (ie, the area close to the vehicle) more reliable observation lane line. For problems such as offset and obsolescence, if the reliability of the high-precision map lane line is high, the high-precision map lane line in the distance (that is, the area away from the vehicle) is used to repair the problem of low accuracy and obscuration of the observed lane line.
  • FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of this application.
  • the application scenario of an embodiment of this application includes but is not limited to that shown in FIG. 1.
  • the smart driving vehicle is equipped with sensors such as monocular or binocular cameras.
  • the sensor can collect the surrounding environment, for example, collecting environmental images, which include road images.
  • the vehicle can recognize the lane line according to the collected environmental images, obtain the observation lane line for online observation, and match the observation lane line with the high-precision map lane line within a preset local range to determine the final detection lane line.
  • Judge whether the HD map lane line has positioning offset and outdated problems through the more credible observation lane line nearby.
  • the vehicle plans the state of intelligent driving of the vehicle according to the high-precision detected lane line, such as changing lanes, decelerating or stopping, etc., which can realize accurate guidance for intelligent driving, thereby improving the safety of intelligent driving.
  • FIG. 2 is a flowchart of a method for detecting lane lines according to an embodiment of the application. As shown in FIG. 2, the method of the embodiment of the application includes:
  • observation lane line is a lane line obtained through observation by a sensor mounted on a vehicle.
  • the execution subject of the embodiments of the present application is a device with a lane line detection function, such as a lane line detection device, hereinafter referred to as a detection device.
  • the detection device can be integrated in any electronic device as a part of the electronic device.
  • the detection device may also be a separate electronic device.
  • the electronic device may be a vehicle-mounted device, for example, an advanced driving assistance device.
  • the senor may specifically be a three-dimensional detection device and a vision sensor, etc. or a combination thereof.
  • the vision sensor may be an imaging device.
  • the point cloud sensor includes lidar and Time Of Flight (TOF) ranging detection.
  • TOF Time Of Flight
  • the embodiment of the present application takes the sensor as an imaging device as an example, such as a monocular camera or a multi-lens camera, where the multi-lens camera includes two or more cameras.
  • observation lane line is only a naming of the lane line obtained through the observation of the sensor mounted on the vehicle. It is optional and can also be named according to actual needs.
  • the electronic device in the embodiment of the application is in communication connection with the sensor.
  • the above S101 may be that the electronic device obtains the lane line observed online from the sensor. Specifically, the sensor collects environmental data around the vehicle in real time, such as collecting road images around the vehicle. At the same time, the sensor processes the collected road images to identify lane lines in the road images as observation lane lines. Then, the sensor sends the observation lane line to the electronic device.
  • the above S101 may be that the electronic device acquires environmental data around the vehicle, such as a road image, through the sensor mounted on the vehicle, and then the electronic device performs lanes on the road image. Line detection to obtain the observation lane line. Specifically, the sensor sends the real-time collected road image around the vehicle to the electronic device, and the electronic device processes the road image around the vehicle sent by the sensor to obtain the observation lane line for online observation.
  • the above-mentioned observation lane line may be recognized and obtained according to an existing image recognition method, for example, the environmental data collected by the sensor (such as a road image) is input into a trained neural network, and the neural network outputs the observation lane line.
  • the observation lane line is matched with the HD map lane line to obtain the matching result. Specifically, the observation lane line and the HD map lane line are performed within a preset local range. Match, get the matching result.
  • the high-precision map lane lines are obtained from the high-precision map.
  • the aforementioned preset local range can be any range obtained from the observation lane line according to actual needs.
  • the above-mentioned preset local range may be a local range close to the vehicle. Since the accuracy of the observation lane line in the local range close to the vehicle is high, in this way, a more accurate observation lane line is used to determine whether the high-precision map lane line is The existence of positioning offset and outdated problems can improve the accurate judgment of the reliability of the lane line of the high-precision map.
  • the detection lane line is determined by the observation lane line and the high-precision map lane line.
  • the observed lane line or the high-precision map lane line is used as the detected lane line according to the matching result obtained in the foregoing steps.
  • the HD map lane line can be used as the detection lane line. If the matching result of the observation lane line and the high-precision map lane line is less than the third preset value, it means that the high-precision map lane line is unreliable, and the observation lane line is used as the detection lane line for driving guidance.
  • the first preset value is greater than the third preset value, and both the first preset value and the third preset value are set according to actual needs, which is not limited in this embodiment.
  • the foregoing S103 may include: according to the matching result, determining a detection lane line through the observation lane line and the high-precision map lane line.
  • the second preset value is set according to actual needs, which is not limited in this embodiment.
  • another method may be used to determine the detected lane line based on the matching result through the observation lane line and the high-precision map lane line.
  • the electronic device is communicatively connected with the intelligent driving system, and the electronic device can send the determined detection lane line to the intelligent driving system, so that the intelligent driving system can perform intelligent driving control of the vehicle according to the detected lane line.
  • the lane line detection method obtaineds the observation lane line observed online, and the observation lane line is the lane line obtained through the observation of the sensor mounted on the vehicle; within a preset local range, The observation lane line and the high-precision map lane line are matched to obtain a matching result; and the detection lane line is determined according to the matching result. In this way, it is judged whether there are positioning offset, outdated and other problems with the lane line of the HD map through the more reliable observation lane line nearby. If the reliability of the lane line of the HD map is high, use the remote HD map lane line to repair the observation. The problem of low accuracy of lane lines and obscured lane lines will eventually obtain high-precision and high-reliability detection lane lines. Based on the high-precision detection lane lines, the vehicle can plan the state of intelligent driving of the vehicle, such as changing lanes, decelerating or parking, etc. Realize accurate guidance to intelligent driving, thereby improving the safety of intelligent driving.
  • FIG. 3 is a flowchart of a method for detecting lane lines according to an embodiment of the application.
  • the method of the embodiment of the application includes:
  • S201 Acquire at least one high-precision map lane line from the high-precision map according to the position information of the vehicle.
  • the electronic device obtains the current position information of the vehicle from the positioning module of the vehicle, and obtains at least one high-definition map lane line near the vehicle from the high-definition map according to the position information of the vehicle.
  • S202 Match the observation lane line with the at least one high-precision map lane line within a preset local range.
  • the observation lane line is matched with at least one high-precision map lane line, and the matching process includes but is not limited to the following methods.
  • the foregoing S202 may include:
  • Step A1 from the at least one high-precision map lane line, obtain at least one high-precision map lane line closest to the observation lane line.
  • Step A2 within the preset local area, match each HD map lane line of the observation lane line with at least one HD map lane line closest to the observation lane line.
  • At least one high-precision map lane line closest to the observation lane line is obtained.
  • matching each of the high-precision map lane lines of the observation lane line and at least one high-precision map lane line closest to the observation lane line is obtained.
  • the matching degree between each of the K HD map lane lines and the observation lane line can be determined.
  • a high-precision map lane line is selected from K high-precision map lane lines, merged with the observation lane line, and the detection lane line is determined.
  • observation lane line and the characteristic points on the high-precision map lane line are all collected along the direction of the lane line at a preset collection interval, for example, at equal intervals.
  • the foregoing S202 may include:
  • Step B1 for each high-precision map lane line, acquire multiple feature points on the observation lane line and multiple feature points on the high-precision map lane line within the preset local range.
  • Step B2 Determine the degree of matching between each feature point on the observation lane line and each feature point on the high-precision map lane line.
  • Step B3 According to the degree of matching between each feature point on the observation lane line and each feature point on the high-precision map lane line, determine one of the observation lane line and the high-precision map lane line The degree of match between.
  • both the input high-precision map lane line and the observation lane line can be regarded as a collection of points in the local space. These points are too dense, and the computational cost for matching is too large.
  • the curve is fitted to the point set of the observation lane line and each high-precision map lane line, and then sampling is performed according to the traveling direction of the lane line on the fitting curve of the observation lane line and the high-precision map lane line, such as sampling at equal intervals, to get The feature point set of the observed lane line and the feature point set of each high-precision map lane line are used for subsequent matching operations.
  • a high-precision map lane line c Take a high-precision map lane line c as an example to obtain multiple feature points of the high-precision map lane line c and multiple feature points of the observation lane line a.
  • the feature points of the high-precision map lane line c and the observation lane line The feature points of a correspond one to one.
  • the matching degree between the observation lane line a and the high-precision map lane line c is determined.
  • the sum of the matching degree between each feature point on the observation lane line a and each feature point on the high-precision map lane line c is determined as the difference between the observation lane line a and the high-precision map lane line c suitability.
  • one of the at least one high-precision map lane line is selected as a target high-precision map lane line.
  • the degree of matching between the observation lane line and at least one HD map lane line can be determined.
  • at least one HD map lane line can be selected according to the degree of matching between the observation lane line and at least one HD map lane line
  • a target high-precision map lane line for example, a high-precision map lane line whose matching degree meets a preset matching degree is determined as the target high-precision map lane line, wherein the preset matching degree is determined according to actual needs. There is no restriction on this.
  • the high-precision map lane line with the highest matching degree with the observation lane line among at least one high-precision map lane line is taken as the target high-precision map lane line.
  • the observation lane line and the target high-precision map lane line are merged into one lane line as the detection lane line.
  • fusing the observation lane line with the target high-precision map lane line in S204 may include:
  • Step C Combine the feature points on the observation lane line with the feature points on the target high-precision map lane line.
  • the feature points of the observation lane line and the feature points of the target HD map lane line are merged one by one into one feature point.
  • the observation lane line includes feature point 1 and feature point 2
  • the target HD map lane line includes Feature point 3 and feature point 4, where along the lane line direction, feature point 1 corresponds to feature point 3, and feature point 2 corresponds to feature point 4.
  • feature point 1 and feature point 3 can be combined into one feature point,
  • the average of the location information of feature point 1 and feature point 2 is used as the location information of the combined feature point
  • feature point 2 and feature point 4 are combined into one feature point, for example, the positions of feature point 2 and feature point 4
  • the average value of the information is used as the position information of the combined feature points, and the combined feature points form a new lane line as the detected lane line.
  • step C includes:
  • Step C1 according to the weight of the feature points on the observation lane line and the weight of the feature points on the target HD map lane line, compare the feature points on the observation lane line to the target HD map lane line The feature points on the above are merged.
  • the weights of the feature points of the observed lane line are different from the weights of the feature points of the target high-precision map. In this way, the weight of the feature points on the observed lane line and the target high-precision map The weights of the feature points on the lane line are combined with the feature points on the observation lane line and the target high-precision map lane line.
  • the weight of each feature point mentioned above should be set according to actual needs.
  • the weight of the feature point on the observation lane line is greater than the weight of the feature point on the target high-precision map lane line; and/or, in the preset In a range outside the local range, the weight of the feature points on the observation lane line is less than the weight of the feature points on the target high-precision map lane line.
  • the weight of the feature points on the observation lane line is greater than the features on the target high-precision map lane line
  • the weight of the points can improve the accuracy of the merged detection lane line within the range of the near car.
  • the HD map lane line In the range outside the preset local range (that is, within the range of the distant vehicle), the HD map lane line has high accuracy. Therefore, in the range of the distant vehicle, the weight of the feature points on the observation lane line is smaller than the target HD map.
  • the weight of the feature points on the lane line can improve the accuracy of the merged detection lane line in the range of the far vehicle, thereby improving the accuracy and reliability of the detection lane line.
  • the method of the embodiment of the present application further includes:
  • the credibility of the above-mentioned target high-precision map lane lines is also evaluated.
  • the observation lane line can be considered to be more accurate, so the position deviation between the observation lane line and the target HD map lane line can be used to measure the credibility of the HD map.
  • the position deviation between the observation lane line and the target HD map lane line can be determined according to the location information of each feature point of the observation lane line and the location information of each feature point of the target HD map lane line. For example, the sum of the difference between the location information of each feature point of the observed lane line and the location information of each feature point of the target high-precision map lane line is taken as the difference between the observed lane line and the target high-precision map lane line The degree of position deviation.
  • step S204 is executed to change the observation lane line to the target High-precision map lane lines are merged into a detection lane line.
  • the foregoing S2002 includes:
  • Step D Determine the position deviation between the observed lane line and the target high-precision map lane line according to the degree of matching between the feature points of the observation lane line and the target high-precision map lane line degree.
  • the sum of the matching degrees between the characteristic points of the observed lane line and the target high-precision map lane line may be used to determine the positional deviation between the observed lane line and the target high-precision map lane line.
  • At least one high-precision map lane line is obtained from the high-precision map according to the position information of the vehicle, and within a preset local range, the observation lane line is compared with The at least one high-precision map lane line is matched, and one of the at least one high-precision map lane line is selected as the target high-precision map according to the degree of matching between the observation lane line and the at least one high-precision map lane line
  • the lane line is to merge the observation lane line and the target high-precision map lane line to determine the detection lane line.
  • the most reliable target HD map lane line is selected from at least one HD map lane line through the more reliable nearby observation lane line, and then the target HD map lane line is used to repair the low accuracy observation lane Finally, a high-precision and high-reliability detection lane line is obtained.
  • the vehicle plans the intelligent driving state of the vehicle according to the high-precision detection lane line, which can realize accurate guidance for intelligent driving, thereby improving the safety of intelligent driving.
  • FIG. 4 is a schematic diagram of an electronic device provided by an embodiment of the application.
  • the electronic device 200 of the embodiment of the application is installed on a vehicle, and the electronic device 200 includes at least one memory 210 and At least one processor 220.
  • the memory 210 is used to store a computer program; the processor 220 is used to execute the computer program.
  • the processor 220 when executing the computer program, acquires the observation lane line observed online, the observation lane line is the lane line obtained through the observation of the sensor 230 mounted on the vehicle; within a preset local range, The observation lane line is matched with the high-precision map lane line to obtain a matching result; and the detection lane line is determined according to the matching result.
  • the above-mentioned sensor 230 may be arranged on the electronic device 200 or on a vehicle, and the sensor 230 is in communication connection with the electronic device 200.
  • the electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
  • the processor 220 is specifically configured to determine a detection lane line according to the matching result, through the observation lane line and the high-precision map lane line.
  • the processor 200 is specifically configured to obtain a road image of the surrounding environment of the vehicle through the sensor 230 mounted on the vehicle; and perform lane line detection on the road image To obtain the observation lane line.
  • the preset local range is a local range close to the vehicle.
  • the processor 220 before the processor 220 matches the observation lane line with the high-precision map lane line, the processor 220 is further configured to: according to the position information of the vehicle, from the high Acquiring at least one high-precision map lane line on the fine map; the matching the observation lane line and the high-precision map lane line within a preset local range includes: matching the The observation lane line is matched with the at least one high-precision map lane line.
  • the processor 220 is specifically configured to obtain at least one HD map lane line that is closest to the observation lane line from the at least one HD map lane line; In a preset local area, matching each of the high-precision map lane lines among the observation lane line and at least one high-definition map lane line closest to the observation lane line.
  • the processor 220 is specifically configured to acquire multiple feature points on the observation lane line within the preset local range for each high-precision map lane line and Multiple feature points on the lane line of the high-precision map; determine the degree of matching between each feature point on the observation lane line and each feature point on the lane line of the high-precision map; according to the observation The degree of matching between each feature point on the lane line and each feature point on the lane line of the high-precision map determines the degree of matching between the observed lane line and the lane line of the high-precision map.
  • the processor 220 is specifically configured to compare the matching degree between each feature point on the observation lane line and each feature point on the high-precision map lane line And are determined as the degree of matching between the observation lane line and the high-precision map lane line.
  • the processor 220 is specifically configured to select from the at least one HD map lane line according to the degree of matching between the observation lane line and the at least one HD map lane line One is used as a target high-precision map lane line; the observation lane line is merged with the target high-precision map lane line to determine the detection lane line.
  • the processor 220 is further configured to determine the degree of position deviation between the observation lane line and the target high-precision map lane line; when the position deviation degree is less than or equal to the preset position value, the observation lane line Fusion with the target high-precision map lane line.
  • the processor 220 is specifically configured to determine the observation lane according to the matching degree between the feature points of the observation lane line and the target high-precision map lane line. The degree of position deviation between the line and the target high-precision map lane line.
  • the processor 220 is specifically configured to merge the feature points on the observation lane line with the feature points on the target high-precision map lane line.
  • the processor 220 is specifically configured to combine the observed weights of the feature points on the lane lines and the weights of the feature points on the target high-precision map The feature points on the lane line are merged with the feature points on the lane line of the target high-precision map.
  • the weight of the feature point on the observation lane line is greater than the weight of the feature point on the target high-precision map lane line; and/or, In a range outside the preset local range, the weight of the feature point on the observation lane line is less than the weight of the feature point on the target high-precision map lane line.
  • observation lane line and the feature points on the high-precision map lane line are all collected along the direction of the lane line according to a preset collection interval.
  • the electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 5 is a schematic structural diagram of a vehicle provided by an embodiment of the application.
  • a vehicle 50 of this embodiment includes a body 51 and an electronic device 52 installed on the body 51.
  • the electronic device 52 may be the electronic device shown in FIG. 4, and the electronic device 52 is used for lane line detection.
  • the electronic device 52 is installed on the roof of the vehicle body 51, and the sensor is installed on the vehicle body to collect environmental data around the vehicle, such as road images.
  • the electronic device 52 is installed on the front windshield of the vehicle body 51, or the electronic device 52 is installed on the rear windshield of the vehicle body 51.
  • the electronic device 52 is installed on the front of the vehicle body 51, or the electronic device 52 is installed on the rear of the vehicle body 51.
  • the embodiment of the present application does not limit the installation position of the electronic device 52 on the body 51, which is specifically determined according to actual needs.
  • the vehicle of the embodiment of the present application may be used to implement the technical solution of the above-mentioned embodiment of the lane line detection method, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 6 is a schematic structural diagram of a vehicle provided by an embodiment of the application. As shown in FIG. 6, the vehicle 60 of this embodiment includes a vehicle body 61 and an electronic device 62 installed on the vehicle body 61.
  • the electronic device 62 may be the electronic device shown in FIG. 4, and the electronic device 62 is used for lane line detection.
  • the vehicle 60 in this embodiment may be a ship, automobile, bus, railway vehicle, aircraft, railway locomotive, scooter, bicycle, etc.
  • the electronic device 62 can be installed on the front, rear, or middle of the vehicle body 61, etc.
  • the embodiment of the present application does not limit the installation position of the electronic device 62 on the vehicle body 61, and is specifically determined according to actual needs.
  • the vehicles in the embodiments of the present application can be used to implement the technical solutions of the above-mentioned embodiment of the lane line detection method, and the implementation principles and technical effects are similar, and will not be repeated here.
  • the embodiment of the present application also provides a computer storage medium for storing the computer software instructions for the lane line detection above
  • the computer can execute various possible lane line detection methods in the foregoing method embodiments.
  • the processes or functions described in the embodiments of the present application can be generated in whole or in part.
  • the computer instructions may be stored in a computer storage medium, or transmitted from one computer storage medium to another computer storage medium, and the transmission may be transmitted to another by wireless (such as cellular communication, infrared, short-range wireless, microwave, etc.) Website site, computer, server or data center for transmission.
  • the computer storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, an SSD).
  • the embodiment of the present invention also provides a computer storage medium, the computer storage medium stores program instructions, and the program execution may include part or all of the steps of the lane line detection method in the foregoing embodiments.
  • a person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware.
  • the foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes Medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Traffic Control Systems (AREA)

Abstract

Provided in the embodiments of the present invention are a lane line detection method, an electronic device and a storage medium. The method comprises: acquiring an observed lane line observed online, wherein the observed lane line is a lane line observed and acquired by a sensor carried on a vehicle; matching, within a preset local range, the observed lane line and a high-definition map lane line; and determining a detected lane line according to a matching result. Thus, the reliability of a high-definition map lane line is determined by means of a relatively reliable nearby observed lane line, the problem of the observed lane line having low precision and being blocked is fixed by means of the far high-definition map lane line, and a highly precise and highly reliable detected lane line is finally obtained.

Description

车道线的检测方法、电子设备与存储介质Lane line detection method, electronic equipment and storage medium 技术领域Technical field
本发明实施例涉及智能驾驶技术领域,尤其涉及一种车道线的检测方法、电子设备与存储介质。The embodiments of the present invention relate to the technical field of intelligent driving, and in particular to a detection method of lane lines, electronic equipment and storage media.
背景技术Background technique
随着智能驾驶的发展,在道路行驶中,为了提高智能驾驶的安全性,则需要对道路上的车道线进行检查。目前车道线的检查方法为在线观测方,即利用视觉导航系统,从已拍摄的道路图像中找出车道线在道路图像中的位置,进而实现车道线的检查。With the development of smart driving, in order to improve the safety of smart driving, it is necessary to check the lane lines on the road. The current lane line inspection method is the online observer, that is, the visual navigation system is used to find the position of the lane line in the road image from the captured road image, and then the lane line inspection is realized.
但是,在线观测车道线的方法,受视觉传感器精度影响,车道线在近处较为精准,离自车越远的车道线准确度越低,越不可信。同时,如果相机传感器的视野范围内存在车辆、障碍物等遮挡时,车道线的检测结果不准确。However, the method of online observation of the lane line is affected by the accuracy of the visual sensor. The lane line is more accurate in the close range. The farther the lane line is from the vehicle, the lower the accuracy and the less reliable it is. At the same time, if there are vehicles or obstacles in the field of view of the camera sensor, the detection result of the lane line is not accurate.
发明内容Summary of the invention
本发明实施例提供一种车道线的检测方法、电子设备与存储介质,实现对车道线的准确检测。The embodiment of the present invention provides a lane line detection method, electronic equipment and storage medium to realize accurate detection of the lane line.
第一方面,本申请实施例提供一种车道线的检测方法,包括:In the first aspect, an embodiment of the present application provides a method for detecting lane lines, including:
获取在线观测的观测车道线,所述观测车道线为通过搭载于车辆上的传感器所观测获取的车道线;Acquiring an observation lane line for online observation, where the observation lane line is a lane line obtained through observation by a sensor mounted on the vehicle;
在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,获得匹配结果;Matching the observation lane line and the high-precision map lane line within a preset local area to obtain a matching result;
根据所述匹配结果,确定检测车道线。According to the matching result, the detection lane line is determined.
第二方面,本申请实施例提供一种电子设备,包括:In a second aspect, an embodiment of the present application provides an electronic device, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序,具体用于执行:The processor is used to execute the computer program, specifically to execute:
获取在线观测的观测车道线,所述观测车道线为通过搭载于车辆 上的传感器所观测获取的车道线;Acquiring an observation lane line for online observation, where the observation lane line is a lane line obtained through observation by a sensor mounted on the vehicle;
在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,获得匹配结果;Matching the observation lane line and the high-precision map lane line within a preset local area to obtain a matching result;
根据所述匹配结果,通过所述观测车道线和所述高精地图车道线确定检测车道线。According to the matching result, the detected lane line is determined by the observation lane line and the high-precision map lane line.
第三方面,本申请实施例提供一种车辆,包括:车身和安装在所述车身上的第二方面任一项所述的电子设备。In a third aspect, an embodiment of the present application provides a vehicle including: a vehicle body and the electronic device according to any one of the second aspects installed on the vehicle body.
第四方面,本申请实施例提供一种交通工具,包括:交通工具本体和安装在所述交通工具本体上的第二方面任一项所述的电子设备。In a fourth aspect, an embodiment of the present application provides a vehicle including: a vehicle body and the electronic device of any one of the second aspect installed on the vehicle body.
第五方面,本申请实施例提供一种一种计算机存储介质,所述存储介质中存储计算机程序,所述计算机程序在执行时实现如第一方面任一项所述的车道线的检测方法。In a fifth aspect, an embodiment of the present application provides a computer storage medium in which a computer program is stored, and the computer program implements the lane line detection method described in any one of the first aspect when the computer program is executed.
本申请实施例提供的车道线的检测方法、电子设备与存储介质,通过获取在线观测的观测车道线,所述观测车道线为通过搭载于车辆上的传感器所观测获取的车道线;在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,获得匹配结果;根据所述匹配结果,确定检测车道线。这样通过近处较为可信的观测车道线判断高精地图车道线是否存在定位偏移、过时等问题,如果高精地图车道线可靠性较高,再利用远处的高精地图车道线修复观测车道线精度低、被遮挡的问题,最终获得高精度和高可靠性的检测车道线,车辆根据该高精度的检测车道线来规划车辆智能驾驶的状态,例如变道、减速或者停车等,可以实现对智能驾驶的准确指导,进而提高了智能驾驶的安全性。The lane line detection method, electronic equipment, and storage medium provided by the embodiments of the present application obtain the observation lane line observed online, and the observation lane line is the lane line obtained through the observation of the sensor mounted on the vehicle; Matching the observation lane line and the high-precision map lane line within a local range of, to obtain a matching result; and determining the detection lane line according to the matching result. In this way, it is judged whether there are positioning offset, outdated and other problems with the lane line of the HD map through the more reliable observation lane line nearby. If the reliability of the lane line of the HD map is high, use the remote HD map lane line to repair the observation. The problem of low accuracy of lane lines and obscured lane lines will eventually obtain high-precision and high-reliability detection lane lines. Based on the high-precision detection lane lines, the vehicle can plan the state of intelligent driving of the vehicle, such as lane change, deceleration or parking Realize accurate guidance to intelligent driving, thereby improving the safety of intelligent driving.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为本申请实施例涉及的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of this application;
图2为本申请实施例提供的车道线的检测方法的流程图;2 is a flowchart of a method for detecting lane lines provided by an embodiment of the application;
图3为本申请实施例提供的车道线的检测方法的流程图;FIG. 3 is a flowchart of a method for detecting lane lines according to an embodiment of the application;
图4为本申请实施例提供的电子设备的一种示意图;FIG. 4 is a schematic diagram of an electronic device provided by an embodiment of this application;
图5为本申请实施例提供的车辆的结构示意图;FIG. 5 is a schematic structural diagram of a vehicle provided by an embodiment of the application;
图6为本申请实施例提供的交通工具的结构示意图。Fig. 6 is a schematic diagram of the structure of a vehicle provided by an embodiment of the application.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
本发明实施例的方法适用于计算机视觉、智能驾驶等技术领域,可以实现对车道线的检测,进而提高智能驾驶的安全性。其中,智能驾驶包括自动驾驶和辅助驾驶。The method of the embodiment of the present invention is applicable to technical fields such as computer vision and intelligent driving, and can realize the detection of lane lines, thereby improving the safety of intelligent driving. Among them, intelligent driving includes automatic driving and assisted driving.
在进行智能驾驶时,车辆需要获取局部车道线地图,用于规划和制定车辆行驶的计划、预测他车趋势。其中,利用车载传感器实时构建融合的局部信息称为在线观测(Online Measurement)。During intelligent driving, the vehicle needs to obtain a local lane line map, which is used to plan and formulate a vehicle driving plan and predict the trend of other vehicles. Among them, the real-time construction of fused local information using on-board sensors is called Online Measurement.
由车载传感器上检测到的车道线数据,进行投影、分割或融合等操作得到在线观测的车道线记为观测车道线。投影是指将车道线在传感器上的坐标,通过几何计算变换至俯瞰图(Birdview Map)。分割是指对俯瞰图上的车道线点进行聚类,赋予每个车道线点对应车道线的标签(Label)。融合是指对多帧的带有标签的俯瞰图进行数据关联,在时序上将多帧的车道线合并,并优化车道线的曲线参数。The lane line data detected by the vehicle-mounted sensor is projected, segmented or merged to obtain the online observation lane line and recorded as the observation lane line. Projection refers to transforming the coordinates of the lane line on the sensor to a bird view map through geometric calculation. Segmentation refers to clustering the lane line points on the bird's-eye view, and assigning each lane line point a label (Label) corresponding to the lane line. Fusion refers to the data association of the labeled bird's-eye view of multiple frames, merging the lane lines of multiple frames in time sequence, and optimizing the curve parameters of the lane lines.
在进行智能驾驶时,车辆还可以获取自身当前的绝对位置,并根据绝对位置从数据库中读取车辆周围的预先人工采集、建模、标注的高精地图(HD Map)。其中,高精地图中标注的车道线(即高精地图车道线)亦可用于规划和制定车辆行驶的计划、预测他车趋势。During intelligent driving, the vehicle can also obtain its own current absolute position, and read the pre-manually collected, modeled, and labeled high-precision map (HD Map) around the vehicle from the database according to the absolute position. Among them, the lane lines marked on the high-precision map (that is, the lane lines on the high-precision map) can also be used to plan and formulate vehicle driving plans and predict the trend of other vehicles.
在智能驾驶时,单独使用观测车道线,存在如下问题:受传感器精度影响,车道线在近处较为精准,离车辆越远的车道线准确度越低,越不可信;如果传感器的视野范围内存在车辆、障碍物等遮挡,车道线的可视范围会大大降低,造成车辆行驶计划的规划困难。In smart driving, using the observation lane line alone has the following problems: Affected by the accuracy of the sensor, the lane line is more accurate in close proximity, and the lane line farther from the vehicle has lower accuracy and less credibility; if the sensor’s field of view is in memory When vehicles, obstacles, etc. are blocked, the visual range of the lane line will be greatly reduced, causing difficulties in planning the vehicle driving plan.
在智能驾驶时,单独使用高精地图车道线,存在如下问题:高精地图的精度受车辆定位的影响,车辆的定位出现偏移,则整个高精地图车道线的可信度都会大大降低;高精地图具有时效性,在道路施工、改道后,如果高精地图不能及时更新,则高精地图车道线的可信度都会大大降低。When using HD map lane lines alone in intelligent driving, there are the following problems: the accuracy of HD map is affected by vehicle positioning, and vehicle positioning is offset, and the reliability of the entire HD map lane line will be greatly reduced; High-precision maps are time-sensitive. After road construction and diversion, if the high-precision maps cannot be updated in time, the reliability of the lane lines of the high-precision maps will be greatly reduced.
本申请实施例提供的车道线的检测方法,通过融合高精地图车道线和观测车道线,通过近处(即靠近车辆的区域)较为可信的观测车道线判断高精地图车道线是否存在定位偏移、过时等问题,如果高精地图车道线可靠性较高,再利用远处(即远离车辆的区域)的高精地图车道线修复观测车道线精度低、被遮挡的问题。The lane line detection method provided by the embodiments of the application uses the fusion of the high-precision map lane line and the observation lane line, and judges whether the high-precision map lane line has a location based on the nearby (ie, the area close to the vehicle) more reliable observation lane line For problems such as offset and obsolescence, if the reliability of the high-precision map lane line is high, the high-precision map lane line in the distance (that is, the area away from the vehicle) is used to repair the problem of low accuracy and obscuration of the observed lane line.
图1为本申请实施例涉及的一种应用场景示意图,需要说明的是,本申请实施例的应用场景包括但不限于图1所示。如图1所示,智能驾驶车辆上搭载有传感器例如单目或双目摄像头等,智能驾驶车辆在行驶过程中,传感器可以对周围的环境进行采集例如采集环境图像,该环境图像包括道路图像。车辆可以根据采集的环境图像识别车道线,获得在线观测的观测车道线,并在预设的局部范围内,对观测车道线和高精地图车道线进行匹配,确定最终的检测车道线。通过近处较为可信的观测车道线判断高精地图车道线是否存在定位偏移、过时等问题,如果高精地图车道线可靠性较高,再利用远处的高精地图车道线修复观测车道线精度低、被遮挡的问题,最终获得高精度和高可靠性的检测车道线。车辆根据该高精度的检测车道线来规划车辆智能驾驶的状态,例如变道、减速或者停车等,可以实现对智能驾驶的准确指导,进而提高了智能驾驶的安全性。FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of this application. It should be noted that the application scenario of an embodiment of this application includes but is not limited to that shown in FIG. 1. As shown in Fig. 1, the smart driving vehicle is equipped with sensors such as monocular or binocular cameras. During the driving of the smart driving vehicle, the sensor can collect the surrounding environment, for example, collecting environmental images, which include road images. The vehicle can recognize the lane line according to the collected environmental images, obtain the observation lane line for online observation, and match the observation lane line with the high-precision map lane line within a preset local range to determine the final detection lane line. Judge whether the HD map lane line has positioning offset and outdated problems through the more credible observation lane line nearby. If the reliability of the HD map lane line is high, then use the distant HD map lane line to repair the observation lane The problem of low line accuracy and obscuration leads to a high-precision and high-reliability detection lane line. The vehicle plans the state of intelligent driving of the vehicle according to the high-precision detected lane line, such as changing lanes, decelerating or stopping, etc., which can realize accurate guidance for intelligent driving, thereby improving the safety of intelligent driving.
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the present invention will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
图2为本申请实施例提供的车道线的检测方法的流程图,如图2所示,本申请实施例的方法包括:FIG. 2 is a flowchart of a method for detecting lane lines according to an embodiment of the application. As shown in FIG. 2, the method of the embodiment of the application includes:
S101、获取在线观测的观测车道线,所述观测车道线为通过搭载于车辆上的传感器所观测获取的车道线。S101. Obtain an observation lane line observed online, where the observation lane line is a lane line obtained through observation by a sensor mounted on a vehicle.
本申请实施例的执行主体为具有车道线检测功能的装置,例如为车道线检测装置,以下简称检测装置,该检测装置可以集成在任一电子设备中,作为电子设备的一部分。可选的,该检测装置还可以是单独的电子设备。The execution subject of the embodiments of the present application is a device with a lane line detection function, such as a lane line detection device, hereinafter referred to as a detection device. The detection device can be integrated in any electronic device as a part of the electronic device. Optionally, the detection device may also be a separate electronic device.
该电子设备可以为车载设备,例如为高级辅助驾驶设备等。The electronic device may be a vehicle-mounted device, for example, an advanced driving assistance device.
本申请实施例以执行主体为电子设备为例进行说明。The embodiment of the present application is described by taking an example where the execution subject is an electronic device.
可选的,该传感器具体可以是三维检测设备和视觉传感器等或其组合,视觉传感器可以为成像装置,点云传感器包括激光雷达、飞行时间测距法(Time Of Flight,简称TOF)测距检测设备、深度视觉传感器和高分辨率毫米波雷达等。示例性的,本申请实施例以传感器为成像装置为例,例如为单目摄像头或多目摄像头,其中多目摄像头包括两个或两个以上摄像头。Optionally, the sensor may specifically be a three-dimensional detection device and a vision sensor, etc. or a combination thereof. The vision sensor may be an imaging device. The point cloud sensor includes lidar and Time Of Flight (TOF) ranging detection. Equipment, depth vision sensor and high resolution millimeter wave radar, etc. Exemplarily, the embodiment of the present application takes the sensor as an imaging device as an example, such as a monocular camera or a multi-lens camera, where the multi-lens camera includes two or more cameras.
需要说明的是,观测车道线只是对通过搭载于车辆上的传感器所观测获得的车道线的一种命名而已,可选的,还可以根据实际需要有其他的命名。It should be noted that the observation lane line is only a naming of the lane line obtained through the observation of the sensor mounted on the vehicle. It is optional and can also be named according to actual needs.
本申请实施例的电子设备与传感器通信连接。The electronic device in the embodiment of the application is in communication connection with the sensor.
在一种示例中,上述S101可以是,电子设备从该传感器上获得在线观测的车道线。具体是,传感器实时采集车辆周围的环境数据,例如采集车辆周围的道路图像,同时,该传感器对采集的道路图像进行处理,识别出道路图像中的车道线,作为观测车道线。接着,传感器将观测车道线发送给电子设备。In an example, the above S101 may be that the electronic device obtains the lane line observed online from the sensor. Specifically, the sensor collects environmental data around the vehicle in real time, such as collecting road images around the vehicle. At the same time, the sensor processes the collected road images to identify lane lines in the road images as observation lane lines. Then, the sensor sends the observation lane line to the electronic device.
在另一种示例中,上述S101可以是,电子设备通过搭载在所述车辆上的所述传感器,获取所述车辆周围的环境数据,例如道路图像,接着,电子设备对所述道路图像进行车道线检测,获得所述观测车道线。具体的,该传感器将实时采集的车辆周围的道路图像发送给电子设备,该电子设备对传感器发送的车辆周围的道路图像进行处理,获 得在线观测的观测车道线。In another example, the above S101 may be that the electronic device acquires environmental data around the vehicle, such as a road image, through the sensor mounted on the vehicle, and then the electronic device performs lanes on the road image. Line detection to obtain the observation lane line. Specifically, the sensor sends the real-time collected road image around the vehicle to the electronic device, and the electronic device processes the road image around the vehicle sent by the sensor to obtain the observation lane line for online observation.
可选的,上述观测车道线可以是根据已有的图像识别方法识别获得,例如,将传感器采集的环境数据(比如道路图像)输入训练好的神经网络中,该神经网络输出观测车道线。Optionally, the above-mentioned observation lane line may be recognized and obtained according to an existing image recognition method, for example, the environmental data collected by the sensor (such as a road image) is input into a trained neural network, and the neural network outputs the observation lane line.
S102、在预设的局部范围内,对观测车道线和高精地图车道线进行匹配,获得匹配结果。S102. Match the observation lane line and the high-precision map lane line within a preset local area to obtain a matching result.
根据上述步骤,获得观测车道线后,将该观测车道线与高精地图车道线进行匹配,获得匹配结果,具体是,在预设的局部范围内,将观测车道线与高精地图车道线进行匹配,获得匹配结果。According to the above steps, after the observation lane line is obtained, the observation lane line is matched with the HD map lane line to obtain the matching result. Specifically, the observation lane line and the HD map lane line are performed within a preset local range. Match, get the matching result.
其中,高精地图车道线是从高精地图中获得的。Among them, the high-precision map lane lines are obtained from the high-precision map.
上述预设的局部范围可以根据实际需要从观测车道线上获得的任意范围。The aforementioned preset local range can be any range obtained from the observation lane line according to actual needs.
可选的,上述预设的局部范围可以是靠近车辆的局部范围,由于靠近车辆的局部范围的观测车道线的精度较高,这样,使用较精确的观测车道线来判断高精地图车道线是否存在定位偏移、过时等问题,可以提高对高精地图车道线可靠性的准确判断。Optionally, the above-mentioned preset local range may be a local range close to the vehicle. Since the accuracy of the observation lane line in the local range close to the vehicle is high, in this way, a more accurate observation lane line is used to determine whether the high-precision map lane line is The existence of positioning offset and outdated problems can improve the accurate judgment of the reliability of the lane line of the high-precision map.
S103、根据所述匹配结果,确定检测车道线。S103: Determine the detection lane line according to the matching result.
通过所述观测车道线和所述高精地图车道线确定检测车道线。The detection lane line is determined by the observation lane line and the high-precision map lane line.
在一种示例中,根据上述步骤获得的匹配结果,将观测车道线或高精地图车道线作为检测车道线。In an example, the observed lane line or the high-precision map lane line is used as the detected lane line according to the matching result obtained in the foregoing steps.
例如,在预设的局部范围内,若观测车道线与高精地图车道线的匹配结果大于第一预设值,说明该高精地图可靠,这样,可以将该高精地图车道线作为检测车道线。若观测车道线与高精地图车道线的匹配结果小于第三预设值,则说明高精地图车道线不可靠,则将观测车道线作为检测车道线进行驾驶指导。其中,第一预设值大于第三预设值,第一预设值和第三预设值均为根据实际需要设定的,本实施例不做限制。For example, in a preset local area, if the matching result between the observed lane line and the HD map lane line is greater than the first preset value, the HD map is reliable. In this way, the HD map lane line can be used as the detection lane line. If the matching result of the observation lane line and the high-precision map lane line is less than the third preset value, it means that the high-precision map lane line is unreliable, and the observation lane line is used as the detection lane line for driving guidance. Wherein, the first preset value is greater than the third preset value, and both the first preset value and the third preset value are set according to actual needs, which is not limited in this embodiment.
在另一种示例中,上述S103可以包括:根据所述匹配结果,通过所述观测车道线和所述高精地图车道线确定检测车道线。In another example, the foregoing S103 may include: according to the matching result, determining a detection lane line through the observation lane line and the high-precision map lane line.
例如,在预设的局部范围内,若观测车道线与高精地图车道线的 匹配结果大于第二预设值,将观测车道线和高精地图车道线进行融合成一条车道线,将融合后的车道线作为检测车道线。其中,第二预设值是根据实际需要设定的,本实施例不做限制。For example, in a preset local area, if the matching result between the observation lane line and the HD map lane line is greater than the second preset value, the observation lane line and the HD map lane line are merged into a lane line, and the merged The lane line as the detection lane line. Among them, the second preset value is set according to actual needs, which is not limited in this embodiment.
可选的,还可以根据其他的方法,基于所述匹配结果,通过所述观测车道线和所述高精地图车道线确定检测车道线。Optionally, another method may be used to determine the detected lane line based on the matching result through the observation lane line and the high-precision map lane line.
可选的,该电子设备与智能驾驶系统通信连接,电子设备可以将确定的检测车道线发送给智能驾驶系统,以使智能驾驶系统根据检测车道线来对车辆进行智能驾驶控制。Optionally, the electronic device is communicatively connected with the intelligent driving system, and the electronic device can send the determined detection lane line to the intelligent driving system, so that the intelligent driving system can perform intelligent driving control of the vehicle according to the detected lane line.
本申请实施例提供的车道线的检测方法,通过获取在线观测的观测车道线,所述观测车道线为通过搭载于车辆上的传感器所观测获取的车道线;在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,获得匹配结果;根据所述匹配结果,确定检测车道线。这样通过近处较为可信的观测车道线判断高精地图车道线是否存在定位偏移、过时等问题,如果高精地图车道线可靠性较高,再利用远处的高精地图车道线修复观测车道线精度低、被遮挡的问题,最终获得高精度和高可靠性的检测车道线,车辆根据该高精度的检测车道线来规划车辆智能驾驶的状态,例如变道、减速或者停车等,可以实现对智能驾驶的准确指导,进而提高了智能驾驶的安全性。The lane line detection method provided by the embodiment of the present application obtains the observation lane line observed online, and the observation lane line is the lane line obtained through the observation of the sensor mounted on the vehicle; within a preset local range, The observation lane line and the high-precision map lane line are matched to obtain a matching result; and the detection lane line is determined according to the matching result. In this way, it is judged whether there are positioning offset, outdated and other problems with the lane line of the HD map through the more reliable observation lane line nearby. If the reliability of the lane line of the HD map is high, use the remote HD map lane line to repair the observation. The problem of low accuracy of lane lines and obscured lane lines will eventually obtain high-precision and high-reliability detection lane lines. Based on the high-precision detection lane lines, the vehicle can plan the state of intelligent driving of the vehicle, such as changing lanes, decelerating or parking, etc. Realize accurate guidance to intelligent driving, thereby improving the safety of intelligent driving.
图3为本申请实施例提供的车道线的检测方法的流程图,在上述实施例的基础上,本申请实施例的方法包括:FIG. 3 is a flowchart of a method for detecting lane lines according to an embodiment of the application. On the basis of the foregoing embodiment, the method of the embodiment of the application includes:
S201、根据所述车辆的位置信息,从高精地图上获取至少一条高精地图车道线。S201: Acquire at least one high-precision map lane line from the high-precision map according to the position information of the vehicle.
电子设备从车辆的定位模块处获得当前时刻车辆的位置信息,根据车辆的位置信息,从高精地图上获得车辆附近的至少一条高精地图车道线。The electronic device obtains the current position information of the vehicle from the positioning module of the vehicle, and obtains at least one high-definition map lane line near the vehicle from the high-definition map according to the position information of the vehicle.
S202、在预设的局部范围内,对所述观测车道线与所述至少一条高精地图车道线进行匹配。S202: Match the observation lane line with the at least one high-precision map lane line within a preset local range.
在预设的局部范围内,将观测车道线与至少一条高精地图车道线进行匹配,其匹配过程包括但不限于如下方式。In a preset local area, the observation lane line is matched with at least one high-precision map lane line, and the matching process includes but is not limited to the following methods.
在一种可能的实施例中,上述S202可以包括:In a possible embodiment, the foregoing S202 may include:
步骤A1、从所述至少一条高精地图车道线中,获取距离所述观测车道线最近的至少一条高精地图车道线。Step A1, from the at least one high-precision map lane line, obtain at least one high-precision map lane line closest to the observation lane line.
步骤A2、在所述预设的局部范围内,对所述观测车道线与距离所述观测车道线最近的至少一条高精地图车道线中的每条高精地图车道线进行匹配。Step A2, within the preset local area, match each HD map lane line of the observation lane line with at least one HD map lane line closest to the observation lane line.
具体的,从至少一条高精地图车道线中,获取距离观测车道线距离最近的至少一条高精地图车道线。在预设的局部范围内,对所述观测车道线与距离所述观测车道线最近的至少一条高精地图车道线中的每条高精地图车道线进行匹配。Specifically, from at least one high-precision map lane line, at least one high-precision map lane line closest to the observation lane line is obtained. In a preset local area, matching each of the high-precision map lane lines of the observation lane line and at least one high-precision map lane line closest to the observation lane line.
示例性的,选择观测车道线a的特征点的头点,从所有高精地图车道线的特征点中选择与该头点最近的K个点,将这K个点所在的车道线的作为距离观测车道线最近的K条高精地图车道线。接着,从K条高精地图车道线中选择一条高精地图车道线b,令高精地图车道线b和观测车道线a的初始匹配度S=0。取高精地图车道线b的第一个特征点PB和观测车道线a的第一个特征点PA,计算PA和PB的匹配度D,再令S=S+D。沿车道线前进方向选择PA和PB的下一个特征点,重复上述步骤,直至观测车道线a或高精地图车道线b的特征点匹配结束为止,确定此时匹配度S,将此时的匹配度S确定为观测车道线a和高精地图车道线b的匹配度。Exemplarily, select the head point of the feature point of the observation lane line a, select the K points closest to the head point from the feature points of all high-precision map lane lines, and use the lane line where the K points are located as the distance Observe the nearest K high-precision map lane lines. Then, select a high-precision map lane line b from the K high-precision map lane lines, and set the initial matching degree S=0 between the high-precision map lane line b and the observation lane line a. Take the first feature point PB of the high-precision map lane line b and the first feature point PA of the observed lane line a, calculate the matching degree D between PA and PB, and then set S=S+D. Select the next feature point of PA and PB along the direction of the lane line, repeat the above steps, until the feature point matching of the observed lane line a or the high-precision map lane line b is completed, determine the matching degree S at this time, and compare the matching at this time The degree S is determined as the matching degree between the observation lane line a and the high-precision map lane line b.
重复步骤上述,可以确定出K条高精地图车道线中每条高精地图车道线与观测车道线的匹配度。根据匹配度,从K条高精地图车道线中选择一条高精地图车道线,与观测车道线融合,确定检测车道线。By repeating the above steps, the matching degree between each of the K HD map lane lines and the observation lane line can be determined. According to the matching degree, a high-precision map lane line is selected from K high-precision map lane lines, merged with the observation lane line, and the detection lane line is determined.
可选的,所述观测车道线和所述高精地图车道线上的特征点,均是沿着车道线的方向,按照预设的采集间距采集的,例如等间距采集。Optionally, the observation lane line and the characteristic points on the high-precision map lane line are all collected along the direction of the lane line at a preset collection interval, for example, at equal intervals.
在一种可能的实施例中,上述S202可以包括:In a possible embodiment, the foregoing S202 may include:
步骤B1、针对每条高精地图车道线,在所述预设的局部范围内,获取所述观测车道线上的多个特征点和所述高精地图车道线上的多个特征点。Step B1, for each high-precision map lane line, acquire multiple feature points on the observation lane line and multiple feature points on the high-precision map lane line within the preset local range.
步骤B2、确定所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度。Step B2: Determine the degree of matching between each feature point on the observation lane line and each feature point on the high-precision map lane line.
步骤B3、根据所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度,确定所述观测车道线和所述高精地图车道线之间的匹配度。Step B3: According to the degree of matching between each feature point on the observation lane line and each feature point on the high-precision map lane line, determine one of the observation lane line and the high-precision map lane line The degree of match between.
本实施例,输入的高精地图车道线和观测车道线均可以认为是局部空间中点的集合。这些点太过稠密,用于匹配的计算代价太大。首先对观测车道线和每条高精地图车道线的点集拟合曲线,再在观测车道线和高精地图车道线的拟合曲线上按车道线行进方向进行采样,例如等间距采样,得到观测车道线的特征点集合和每条高精地图车道线的特征点集合,用于后续匹配操作。In this embodiment, both the input high-precision map lane line and the observation lane line can be regarded as a collection of points in the local space. These points are too dense, and the computational cost for matching is too large. Firstly, the curve is fitted to the point set of the observation lane line and each high-precision map lane line, and then sampling is performed according to the traveling direction of the lane line on the fitting curve of the observation lane line and the high-precision map lane line, such as sampling at equal intervals, to get The feature point set of the observed lane line and the feature point set of each high-precision map lane line are used for subsequent matching operations.
以一条高精地图车道线c为例,获取该高精地图车道线c的多个特征点和观测车道线a的多个特征点,其中,高精地图车道线c的特征点与观测车道线a的特征点一一对应。确定观测车道线a上的每个特征点和高精地图车道线c上的每个特征点之间的匹配度。再根据观测车道线a上的每个特征点和高精地图车道线c上的每个特征点之间的匹配度,确定观测车道线a和高精地图车道线c之间的匹配度。例如,将观测车道线a上的每个特征点和高精地图车道线c上的每个特征点之间的匹配度之和,确定为观测车道线a和高精地图车道线c之间的匹配度。Take a high-precision map lane line c as an example to obtain multiple feature points of the high-precision map lane line c and multiple feature points of the observation lane line a. Among them, the feature points of the high-precision map lane line c and the observation lane line The feature points of a correspond one to one. Determine the degree of matching between each feature point on the observation lane line a and each feature point on the high-precision map lane line c. Then, according to the matching degree between each feature point on the observation lane line a and each feature point on the high-precision map lane line c, the matching degree between the observation lane line a and the high-precision map lane line c is determined. For example, the sum of the matching degree between each feature point on the observation lane line a and each feature point on the high-precision map lane line c is determined as the difference between the observation lane line a and the high-precision map lane line c suitability.
S203、根据所述观测车道线与所述至少一条高精地图车道线的匹配度,从所述至少一条高精地图车道线中选择一条作为目标高精地图车道线。S203. According to the degree of matching between the observed lane line and the at least one high-precision map lane line, one of the at least one high-precision map lane line is selected as a target high-precision map lane line.
根据上述步骤,可以确定出观测车道线与至少一条高精地图车道线的匹配度,这样,根据观测车道线与至少一条高精地图车道线的匹配度,从至少一条高精地图车道线中选择一条作为目标高精地图车道线,例如,将匹配度满足预设匹配度的高精地图车道线,确定为目标高精地图车道线,其中该预设匹配度根据实际需要确定,本申请实施例对此不做限定。According to the above steps, the degree of matching between the observation lane line and at least one HD map lane line can be determined. In this way, at least one HD map lane line can be selected according to the degree of matching between the observation lane line and at least one HD map lane line A target high-precision map lane line, for example, a high-precision map lane line whose matching degree meets a preset matching degree is determined as the target high-precision map lane line, wherein the preset matching degree is determined according to actual needs. There is no restriction on this.
可选的,将至少一条高精地图车道线中与观测车道线的匹配度最 高的高精地图车道线作为目标高精地图车道线。Optionally, the high-precision map lane line with the highest matching degree with the observation lane line among at least one high-precision map lane line is taken as the target high-precision map lane line.
S204、将所述观测车道线与所述目标高精地图车道线进行融合,确定所述检测车道线。S204. Fusion of the observed lane line and the target high-precision map lane line to determine the detected lane line.
根据上述步骤,获得目标高精地图车道线后,将观测车道线与目标高精地图车道线融合为一条车道线作为检测车道线。According to the above steps, after the target high-precision map lane line is obtained, the observation lane line and the target high-precision map lane line are merged into one lane line as the detection lane line.
在一种可能的实现方式中,上述S204中将所述观测车道线与所述目标高精地图车道线进行融合,可以包括:In a possible implementation manner, fusing the observation lane line with the target high-precision map lane line in S204 may include:
步骤C、将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并。Step C: Combine the feature points on the observation lane line with the feature points on the target high-precision map lane line.
本步骤,将观测车道线的特征点与目标高精地图车道线的特征点一一进行合并成一个特征点,例如,观测车道线包括特征点1和特征点2,目标高精地图车道线包括特征点3和特征点4,其中沿着车道线方向,特征点1与特征点3对应,特征点2与特征点4对应,这样,可以将特征点1和特征点3合并为一个特征点,例如将特征点1和特征点2的位置信息的平均值作为合并后的特征点的位置信息,将特征点2和特征点4合并为一个特征点,例如将特征点2和特征点4的位置信息的平均值作为合并后的特征点的位置信息,合并后的特征点构成一条新的车道线作为检测车道线。In this step, the feature points of the observation lane line and the feature points of the target HD map lane line are merged one by one into one feature point. For example, the observation lane line includes feature point 1 and feature point 2, and the target HD map lane line includes Feature point 3 and feature point 4, where along the lane line direction, feature point 1 corresponds to feature point 3, and feature point 2 corresponds to feature point 4. In this way, feature point 1 and feature point 3 can be combined into one feature point, For example, the average of the location information of feature point 1 and feature point 2 is used as the location information of the combined feature point, and feature point 2 and feature point 4 are combined into one feature point, for example, the positions of feature point 2 and feature point 4 The average value of the information is used as the position information of the combined feature points, and the combined feature points form a new lane line as the detected lane line.
在一种可能的实现方式中,上述步骤C包括:In a possible implementation manner, the above step C includes:
步骤C1、根据所述观测车道线上的特征点的权重和所述目标高精地图车道线上的特征点的权重,将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并。Step C1, according to the weight of the feature points on the observation lane line and the weight of the feature points on the target HD map lane line, compare the feature points on the observation lane line to the target HD map lane line The feature points on the above are merged.
本步骤中,在合并时,观测车道线的特征点的权重和目标高精地图车道线的特征点的权重不同,这样,可以根据观测车道线上的特征点的权重和所述目标高精地图车道线上的特征点的权重,将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并。可选的,上述各特征点的权要根据实际需要进行设定。In this step, when merging, the weights of the feature points of the observed lane line are different from the weights of the feature points of the target high-precision map. In this way, the weight of the feature points on the observed lane line and the target high-precision map The weights of the feature points on the lane line are combined with the feature points on the observation lane line and the target high-precision map lane line. Optionally, the weight of each feature point mentioned above should be set according to actual needs.
可选的,所述预设的局部范围内,所述观测车道线上的特征点的权重大于所述目标高精地图车道线上的特征点的权重;和/或,在所述预设的局部范围外的范围内,所述观测车道线上的特征点的权重小 于所述目标高精地图车道线上的特征点的权重。Optionally, within the preset local area, the weight of the feature point on the observation lane line is greater than the weight of the feature point on the target high-precision map lane line; and/or, in the preset In a range outside the local range, the weight of the feature points on the observation lane line is less than the weight of the feature points on the target high-precision map lane line.
由于观测车道线在预设的局部范围内(即近车范围内)的精度高,因此,在近车范围内,令观测车道线上的特征点的权重大于目标高精地图车道线上的特征点的权重,可以提高合并后的检测车道线在近车范围内的精度。而在预设的局部范围外的范围内(即远车范围内)高精地图车道线的精度高,因此,在远车范围内,令观测车道线上的特征点的权重小于目标高精地图车道线上的特征点的权重,可以提高合并后的检测车道线在远车范围内的精度,进而提高了检测车道线的精度和可靠性。Due to the high accuracy of the observation lane line in the preset local range (that is, the near car range), in the near car range, the weight of the feature points on the observation lane line is greater than the features on the target high-precision map lane line The weight of the points can improve the accuracy of the merged detection lane line within the range of the near car. In the range outside the preset local range (that is, within the range of the distant vehicle), the HD map lane line has high accuracy. Therefore, in the range of the distant vehicle, the weight of the feature points on the observation lane line is smaller than the target HD map. The weight of the feature points on the lane line can improve the accuracy of the merged detection lane line in the range of the far vehicle, thereby improving the accuracy and reliability of the detection lane line.
在一些实施例中,S204之前,本申请实施例的方法还包括:In some embodiments, before S204, the method of the embodiment of the present application further includes:
S2001、确定所述观测车道线与所述目标高精地图车道线之间的位置偏差度。S2001. Determine the degree of position deviation between the observed lane line and the target high-precision map lane line.
S2002、在所述位置偏差度小于或等于位置预设值时,将所述观测车道线与所述目标高精地图车道线进行融合。S2002: When the position deviation is less than or equal to a preset position value, merge the observation lane line with the target high-precision map lane line.
为了进一步提高检测车道线的准确性,在一些实施例中,还对上述获得目标高精地图车道线的可信度进行评估。In order to further improve the accuracy of detecting lane lines, in some embodiments, the credibility of the above-mentioned target high-precision map lane lines is also evaluated.
在近车范围内,可以认为观测车道线较为准确,故可以用观测车道线与所述目标高精地图车道线之间的位置偏差度,来衡量高精地图的可信度。具体的,可以根据观测车道线的每个特征点的位置信息和目标高精地图车道线的每个特征点的位置信息,确定观测车道线与目标高精地图车道线之间的位置偏差度,例如,将观测车道线的每个特征点的位置信息和目标高精地图车道线的每个特征点的位置信息之间的差值之和,作为观测车道线与目标高精地图车道线之间的位置偏差度。Within the range of a close car, the observation lane line can be considered to be more accurate, so the position deviation between the observation lane line and the target HD map lane line can be used to measure the credibility of the HD map. Specifically, the position deviation between the observation lane line and the target HD map lane line can be determined according to the location information of each feature point of the observation lane line and the location information of each feature point of the target HD map lane line. For example, the sum of the difference between the location information of each feature point of the observed lane line and the location information of each feature point of the target high-precision map lane line is taken as the difference between the observed lane line and the target high-precision map lane line The degree of position deviation.
在观测车道线与目标高精地图车道线之间的位置偏差度小于或等于位置预设值时,说明该高精地图车道线可靠,此时再执行上述S204的步骤,将观测车道线与目标高精地图车道线进行融合成一条检测车道线。When the position deviation between the observation lane line and the target HD map lane line is less than or equal to the preset position value, it indicates that the HD map lane line is reliable. At this time, the above step S204 is executed to change the observation lane line to the target High-precision map lane lines are merged into a detection lane line.
在一种可能的实现方式中,上述S2002包括:In a possible implementation manner, the foregoing S2002 includes:
步骤D、根据所述观测车道线的特征点与所述目标高精地图车道 线上特征点之间的匹配度,确定所述观测车道线与所述目标高精地图车道线之间的位置偏差度。Step D: Determine the position deviation between the observed lane line and the target high-precision map lane line according to the degree of matching between the feature points of the observation lane line and the target high-precision map lane line degree.
例如,可以将观测车道线的特征点与所述目标高精地图车道线上特征点之间的匹配度之和,确定观测车道线与目标高精地图车道线之间的位置偏差度。For example, the sum of the matching degrees between the characteristic points of the observed lane line and the target high-precision map lane line may be used to determine the positional deviation between the observed lane line and the target high-precision map lane line.
本申请实施例提供的车道线的检测方法,通过根据所述车辆的位置信息,从高精地图上获取至少一条高精地图车道线,在预设的局部范围内,对所述观测车道线与所述至少一条高精地图车道线进行匹配,根据所述观测车道线与所述至少一条高精地图车道线的匹配度,从所述至少一条高精地图车道线中选择一条作为目标高精地图车道线,将所述观测车道线与所述目标高精地图车道线进行融合,确定所述检测车道线。这样通过近处较为可信的观测车道线从至少一个高精地图车道线中选择一条可信度最高的目标高精地图车道线,再使用该目标高精地图车道线来修复精度低的观测车道线,最终获得高精度和高可靠性的检测车道线,车辆根据该高精度的检测车道线来规划车辆智能驾驶的状态,可以实现对智能驾驶的准确指导,进而提高了智能驾驶的安全性。In the method for detecting lane lines provided by the embodiments of the present application, at least one high-precision map lane line is obtained from the high-precision map according to the position information of the vehicle, and within a preset local range, the observation lane line is compared with The at least one high-precision map lane line is matched, and one of the at least one high-precision map lane line is selected as the target high-precision map according to the degree of matching between the observation lane line and the at least one high-precision map lane line The lane line is to merge the observation lane line and the target high-precision map lane line to determine the detection lane line. In this way, the most reliable target HD map lane line is selected from at least one HD map lane line through the more reliable nearby observation lane line, and then the target HD map lane line is used to repair the low accuracy observation lane Finally, a high-precision and high-reliability detection lane line is obtained. The vehicle plans the intelligent driving state of the vehicle according to the high-precision detection lane line, which can realize accurate guidance for intelligent driving, thereby improving the safety of intelligent driving.
图4为本申请实施例提供的电子设备的一种示意图,如图12所示,本申请实施例的电子设备200,该电子设备200设置在车辆上,该电子设备200包括至少一个存储器210和至少一个处理器220。其中,存储器210,用于存储计算机程序;处理器220,用于执行所述计算机程序。FIG. 4 is a schematic diagram of an electronic device provided by an embodiment of the application. As shown in FIG. 12, the electronic device 200 of the embodiment of the application is installed on a vehicle, and the electronic device 200 includes at least one memory 210 and At least one processor 220. Among them, the memory 210 is used to store a computer program; the processor 220 is used to execute the computer program.
处理器220,在执行计算机程序时,通过获取在线观测的观测车道线,所述观测车道线为通过搭载于车辆上的传感器230所观测获取的车道线;在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,获得匹配结果;根据所述匹配结果,确定检测车道线。The processor 220, when executing the computer program, acquires the observation lane line observed online, the observation lane line is the lane line obtained through the observation of the sensor 230 mounted on the vehicle; within a preset local range, The observation lane line is matched with the high-precision map lane line to obtain a matching result; and the detection lane line is determined according to the matching result.
可选的,上述传感器230可以设置在电子设备200上,也可以设置在车辆上,传感器230与电子设备200通信连接。Optionally, the above-mentioned sensor 230 may be arranged on the electronic device 200 or on a vehicle, and the sensor 230 is in communication connection with the electronic device 200.
本申请实施例的电子设备,可以用于执行上述所示方法实施例的 技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
在一种可能的实现方式中,处理器220,具体用于根据所述匹配结果,通过所述观测车道线和所述高精地图车道线确定检测车道线。In a possible implementation manner, the processor 220 is specifically configured to determine a detection lane line according to the matching result, through the observation lane line and the high-precision map lane line.
在一种可能的实现方式中,所述处理器200,具体用于通过搭载在所述车辆上的所述传感器230,获取所述车辆周围环境的道路图像;对所述道路图像进行车道线检测,获得所述观测车道线。In a possible implementation manner, the processor 200 is specifically configured to obtain a road image of the surrounding environment of the vehicle through the sensor 230 mounted on the vehicle; and perform lane line detection on the road image To obtain the observation lane line.
可选的,所述预设的局部范围为靠近所述车辆的局部范围。Optionally, the preset local range is a local range close to the vehicle.
在一种可能的实现方式中,所述处理器220在对所述观测车道线和高精地图车道线进行匹配之前,所述处理器220还用于:根据所述车辆的位置信息,从高精地图上获取至少一条高精地图车道线;所述在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,包括:在预设的局部范围内,对所述观测车道线与所述至少一条高精地图车道线进行匹配。In a possible implementation manner, before the processor 220 matches the observation lane line with the high-precision map lane line, the processor 220 is further configured to: according to the position information of the vehicle, from the high Acquiring at least one high-precision map lane line on the fine map; the matching the observation lane line and the high-precision map lane line within a preset local range includes: matching the The observation lane line is matched with the at least one high-precision map lane line.
在一种可能的实现方式中,所述处理器220,具体用于从所述至少一条高精地图车道线中,获取距离所述观测车道线最近的至少一条高精地图车道线;在所述预设的局部范围内,对所述观测车道线与距离所述观测车道线最近的至少一条高精地图车道线中的每条高精地图车道线进行匹配。In a possible implementation manner, the processor 220 is specifically configured to obtain at least one HD map lane line that is closest to the observation lane line from the at least one HD map lane line; In a preset local area, matching each of the high-precision map lane lines among the observation lane line and at least one high-definition map lane line closest to the observation lane line.
在一种可能的实现方式中,所述处理器220,具体用于针对每条高精地图车道线,在所述预设的局部范围内,获取所述观测车道线上的多个特征点和所述高精地图车道线上的多个特征点;确定所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度;根据所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度,确定所述观测车道线和所述高精地图车道线之间的匹配度。In a possible implementation manner, the processor 220 is specifically configured to acquire multiple feature points on the observation lane line within the preset local range for each high-precision map lane line and Multiple feature points on the lane line of the high-precision map; determine the degree of matching between each feature point on the observation lane line and each feature point on the lane line of the high-precision map; according to the observation The degree of matching between each feature point on the lane line and each feature point on the lane line of the high-precision map determines the degree of matching between the observed lane line and the lane line of the high-precision map.
在一种可能的实现方式中,所述处理器220,具体用于将所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度之和,确定为所述观测车道线和所述高精地图车道线之间的匹配度。In a possible implementation manner, the processor 220 is specifically configured to compare the matching degree between each feature point on the observation lane line and each feature point on the high-precision map lane line And are determined as the degree of matching between the observation lane line and the high-precision map lane line.
在一种可能的实现方式中,所述处理器220,具体用于根据所述 观测车道线与所述至少一条高精地图车道线的匹配度,从所述至少一条高精地图车道线中选择一条作为目标高精地图车道线;将所述观测车道线与所述目标高精地图车道线进行融合,确定所述检测车道线。In a possible implementation, the processor 220 is specifically configured to select from the at least one HD map lane line according to the degree of matching between the observation lane line and the at least one HD map lane line One is used as a target high-precision map lane line; the observation lane line is merged with the target high-precision map lane line to determine the detection lane line.
在一种可能的实现方式中,所述处理器220在将所述观测车道线与所述目标高精地图车道线进行融合之前,In a possible implementation manner, before the processor 220 merges the observation lane line with the target high-precision map lane line,
处理器220还用于:确定所述观测车道线与所述目标高精地图车道线之间的位置偏差度;在所述位置偏差度小于或等于位置预设值时,将所述观测车道线与所述目标高精地图车道线进行融合。The processor 220 is further configured to determine the degree of position deviation between the observation lane line and the target high-precision map lane line; when the position deviation degree is less than or equal to the preset position value, the observation lane line Fusion with the target high-precision map lane line.
在一种可能的实现方式中,所述处理器220,具体用于根据所述观测车道线的特征点与所述目标高精地图车道线上特征点之间的匹配度,确定所述观测车道线与所述目标高精地图车道线之间的位置偏差度。In a possible implementation manner, the processor 220 is specifically configured to determine the observation lane according to the matching degree between the feature points of the observation lane line and the target high-precision map lane line. The degree of position deviation between the line and the target high-precision map lane line.
在一种可能的实现方式中,所述处理器220,具体用于将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并。In a possible implementation manner, the processor 220 is specifically configured to merge the feature points on the observation lane line with the feature points on the target high-precision map lane line.
在一种可能的实现方式中,所述处理器220,具体用于根据所述观测车道线上的特征点的权重和所述目标高精地图车道线上的特征点的权重,将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并。In a possible implementation manner, the processor 220 is specifically configured to combine the observed weights of the feature points on the lane lines and the weights of the feature points on the target high-precision map The feature points on the lane line are merged with the feature points on the lane line of the target high-precision map.
在一种可能的实现方式中,所述预设的局部范围内,所述观测车道线上的特征点的权重大于所述目标高精地图车道线上的特征点的权重;和/或,在所述预设的局部范围外的范围内,所述观测车道线上的特征点的权重小于所述目标高精地图车道线上的特征点的权重。In a possible implementation manner, within the preset local area, the weight of the feature point on the observation lane line is greater than the weight of the feature point on the target high-precision map lane line; and/or, In a range outside the preset local range, the weight of the feature point on the observation lane line is less than the weight of the feature point on the target high-precision map lane line.
可选的,所述观测车道线和所述高精地图车道线上的特征点,均是沿着车道线的方向,按照预设的采集间距采集的。Optionally, the observation lane line and the feature points on the high-precision map lane line are all collected along the direction of the lane line according to a preset collection interval.
本申请实施例的电子设备,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
图5为本申请实施例提供的车辆的结构示意图,如图5所示,本实施例的车辆50包括:车身51和安装在车身51上的电子设备52。FIG. 5 is a schematic structural diagram of a vehicle provided by an embodiment of the application. As shown in FIG. 5, a vehicle 50 of this embodiment includes a body 51 and an electronic device 52 installed on the body 51.
其中,电子设备52可以为图4所示的电子设备,该电子设备52用于车道线的检测。The electronic device 52 may be the electronic device shown in FIG. 4, and the electronic device 52 is used for lane line detection.
可选的,电子设备52安装在车身51的车顶,传感器安装在车身上,用于采集车辆周围的环境数据,例如道路图像。Optionally, the electronic device 52 is installed on the roof of the vehicle body 51, and the sensor is installed on the vehicle body to collect environmental data around the vehicle, such as road images.
可选的,电子设备52安装在车身51的前挡风玻璃上,或者,电子设备52安装在车身51的后挡风玻璃上。Optionally, the electronic device 52 is installed on the front windshield of the vehicle body 51, or the electronic device 52 is installed on the rear windshield of the vehicle body 51.
可选的,电子设备52安装在车身51的车头上,或者,所述电子设备52安装在车身51的车尾上。Optionally, the electronic device 52 is installed on the front of the vehicle body 51, or the electronic device 52 is installed on the rear of the vehicle body 51.
本申请实施例对电子设备52在车身51上的安装位置不限制,具体根据实际需要确定。The embodiment of the present application does not limit the installation position of the electronic device 52 on the body 51, which is specifically determined according to actual needs.
本申请实施例的车辆,可以用于执行上述所示车道线的检测方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The vehicle of the embodiment of the present application may be used to implement the technical solution of the above-mentioned embodiment of the lane line detection method, and its implementation principles and technical effects are similar, and will not be repeated here.
图6为本申请实施例提供的交通工具的结构示意图,如图6所示,本实施例的交通工具60包括:交通工具本体61和安装在交通工具本体61上的电子设备62。FIG. 6 is a schematic structural diagram of a vehicle provided by an embodiment of the application. As shown in FIG. 6, the vehicle 60 of this embodiment includes a vehicle body 61 and an electronic device 62 installed on the vehicle body 61.
其中,电子设备62可以为图4所示的电子设备,该电子设备62用于车道线的检测。The electronic device 62 may be the electronic device shown in FIG. 4, and the electronic device 62 is used for lane line detection.
可选的,本实施例的交通工具60可以是船舶、汽车、巴士、铁路车辆、飞行器、铁路机车、踏板车、脚踏车等。Optionally, the vehicle 60 in this embodiment may be a ship, automobile, bus, railway vehicle, aircraft, railway locomotive, scooter, bicycle, etc.
可选的,该电子设备62可以安装在交通工具本体61的前部、尾部或中部等,本申请实施例对电子设备62在交通工具本体61上的安装位置不限制,具体根据实际需要确定。Optionally, the electronic device 62 can be installed on the front, rear, or middle of the vehicle body 61, etc. The embodiment of the present application does not limit the installation position of the electronic device 62 on the vehicle body 61, and is specifically determined according to actual needs.
本申请实施例的交通工具,可以用于执行上述所示车道线的检测方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The vehicles in the embodiments of the present application can be used to implement the technical solutions of the above-mentioned embodiment of the lane line detection method, and the implementation principles and technical effects are similar, and will not be repeated here.
进一步的,当本申请实施例中车道线的检测方法的至少一部分功能通过软件实现时,本申请实施例还提供一种计算机存储介质,计算机存储介质用于储存为上述车道线检测的计算机软件指令,当其在计算机上运行时,使得计算机可以执行上述方法实施例中各种可能的车道线的检测方法。在计算机上加载和执行所述计算机执行指令时,可 全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机指令可以存储在计算机存储介质中,或者从一个计算机存储介质向另一个计算机存储介质传输,所述传输可以通过无线(例如蜂窝通信、红外、短距离无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如SSD)等。Further, when at least a part of the functions of the lane line detection method in the embodiment of the present application is implemented by software, the embodiment of the present application also provides a computer storage medium for storing the computer software instructions for the lane line detection above When it runs on a computer, the computer can execute various possible lane line detection methods in the foregoing method embodiments. When the computer-executable instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application can be generated in whole or in part. The computer instructions may be stored in a computer storage medium, or transmitted from one computer storage medium to another computer storage medium, and the transmission may be transmitted to another by wireless (such as cellular communication, infrared, short-range wireless, microwave, etc.) Website site, computer, server or data center for transmission. The computer storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, an SSD).
本发明实施例中还提供了一种计算机存储介质,该计算机存储介质中存储有程序指令,所述程序执行时可包括上述各实施例中的车道线的检测方法的部分或全部步骤。The embodiment of the present invention also provides a computer storage medium, the computer storage medium stores program instructions, and the program execution may include part or all of the steps of the lane line detection method in the foregoing embodiments.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware. The foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes Medium.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention range.

Claims (33)

  1. 一种车道线的检测方法,其特征在于,包括:A method for detecting lane lines, which is characterized in that it includes:
    获取在线观测的观测车道线,所述观测车道线为通过搭载于车辆上的传感器所观测获取的车道线;Acquiring an observation lane line for online observation, where the observation lane line is a lane line obtained through observation by a sensor mounted on the vehicle;
    在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,获得匹配结果;Matching the observation lane line and the high-precision map lane line within a preset local area to obtain a matching result;
    根据所述匹配结果,确定检测车道线。According to the matching result, the detection lane line is determined.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述匹配结果,确定检测车道线,包括:The method according to claim 1, wherein the determining a detection lane line according to the matching result comprises:
    根据所述匹配结果,通过所述观测车道线和所述高精地图车道线确定检测车道线。According to the matching result, the detected lane line is determined by the observation lane line and the high-precision map lane line.
  3. 根据权利要求1或2所述的方法,其特征在于,所述获取在线观测的观测车道线,包括:The method according to claim 1 or 2, characterized in that said acquiring the observation lane line observed online comprises:
    通过搭载在所述车辆上的所述传感器,获取所述车辆周围环境的道路图像;Acquiring a road image of the surrounding environment of the vehicle through the sensor mounted on the vehicle;
    对所述道路图像进行车道线检测,获得所述观测车道线。Performing lane line detection on the road image to obtain the observation lane line.
  4. 根据权利要求2所述的方法,其特征在于,所述预设的局部范围为靠近所述车辆的局部范围。The method according to claim 2, wherein the preset local range is a local range close to the vehicle.
  5. 根据权利要求4所述的方法,其特征在于,对所述观测车道线和高精地图车道线进行匹配之前,所述方法还包括:The method according to claim 4, characterized in that, before matching the observation lane line and the high-precision map lane line, the method further comprises:
    根据所述车辆的位置信息,从高精地图上获取至少一条高精地图车道线;Acquiring at least one high-precision map lane line from the high-precision map according to the location information of the vehicle;
    所述在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,包括:在预设的局部范围内,对所述观测车道线与所述至少一条高精地图车道线进行匹配。The matching the observation lane line and the high-precision map lane line within a preset local range includes: matching the observation lane line and the at least one high-precision map lane within the preset local area Line to match.
  6. 根据权利要求5所述的方法,其特征在于,在预设的局部范围内,对所述观测车道线与所述至少一条高精地图车道线进行匹配,包括:The method according to claim 5, wherein the matching of the observation lane line with the at least one high-precision map lane line within a preset local range comprises:
    从所述至少一条高精地图车道线中,获取距离所述观测车道线最近的至少一条高精地图车道线;From the at least one high-precision map lane line, acquiring at least one high-precision map lane line closest to the observation lane line;
    在所述预设的局部范围内,对所述观测车道线与距离所述观测车道线最近的至少一条高精地图车道线中的每条高精地图车道线进行匹配。Within the preset local area, matching each of the high-definition map lane lines of the observation lane line and at least one high-definition map lane line closest to the observation lane line.
  7. 根据权利要求5所述的方法,其特征在于,所述在预设的局部范围内,对所述观测车道线与所述至少一条高精地图车道线进行匹配,包括:The method according to claim 5, wherein the matching the observation lane line with the at least one high-precision map lane line within a preset local range comprises:
    针对每条高精地图车道线,在所述预设的局部范围内,获取所述观测车道线上的多个特征点和所述高精地图车道线上的多个特征点;For each high-precision map lane line, within the preset local range, acquire multiple feature points on the observation lane line and multiple feature points on the high-precision map lane line;
    确定所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度;Determining the degree of matching between each feature point on the observation lane line and each feature point on the high-precision map lane line;
    根据所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度,确定所述观测车道线和所述高精地图车道线之间的匹配度。According to the degree of matching between each feature point on the observation lane line and each feature point on the high-precision map lane line, determine the match between the observation lane line and the high-precision map lane line degree.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度,确定所述观测车道线和所述高精地图车道线之间的匹配度,包括:The method according to claim 7, characterized in that said determining the degree of matching between each feature point on the observation lane line and each feature point on the high-precision map lane line The degree of matching between the observed lane line and the lane line of the high-precision map includes:
    将所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度之和,确定为所述观测车道线和所述高精地图车道线之间的匹配度。The sum of the matching degree between each feature point on the observation lane line and each feature point on the high-precision map lane line is determined as the difference between the observation lane line and the high-precision map lane line The degree of match between.
  9. 根据权利要求6-8任一项所述的方法,其特征在于,所述根据所述匹配结果,通过所述观测车道线和所述高精地图车道线确定检测车道线,包括:The method according to any one of claims 6-8, wherein the determining a detection lane line according to the matching result through the observation lane line and the high-precision map lane line comprises:
    根据所述观测车道线与所述至少一条高精地图车道线的匹配度,从所述至少一条高精地图车道线中选择一条作为目标高精地图车道线;According to the degree of matching between the observation lane line and the at least one high-precision map lane line, selecting one of the at least one high-precision map lane line as a target high-precision map lane line;
    将所述观测车道线与所述目标高精地图车道线进行融合,确定所述检测车道线。The observation lane line and the target high-precision map lane line are merged to determine the detection lane line.
  10. 根据权利要求9所述的方法,其特征在于,所述将所述观测车道线与所述目标高精地图车道线进行融合之前,所述方法还包括:The method according to claim 9, characterized in that, before fusing the observation lane line with the target high-precision map lane line, the method further comprises:
    确定所述观测车道线与所述目标高精地图车道线之间的位置偏差度;Determining the degree of position deviation between the observation lane line and the target high-precision map lane line;
    在所述位置偏差度小于或等于位置预设值时,将所述观测车道线与所述目标高精地图车道线进行融合。When the position deviation is less than or equal to the preset position value, the observation lane line and the target high-precision map lane line are merged.
  11. 根据权利要求10所述的方法,其特征在于,所述确定所述观测车道线与所述目标高精地图车道线之间的位置偏差度,包括:The method according to claim 10, wherein the determining the position deviation between the observation lane line and the target high-precision map lane line comprises:
    根据所述观测车道线的特征点与所述目标高精地图车道线上特征点之间的匹配度,确定所述观测车道线与所述目标高精地图车道线之间的位置偏差度。Determine the degree of position deviation between the observed lane line and the target high-precision map lane line according to the degree of matching between the feature points of the observed lane line and the target high-precision map lane line.
  12. 根据权利要求9-11任一项所述的方法,其特征在于,所述将所述观测车道线与所述目标高精地图车道线进行融合,包括:The method according to any one of claims 9-11, wherein the fusing the observation lane line with the target high-precision map lane line comprises:
    将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并。The feature points on the observation lane line and the feature points on the target high-precision map lane line are merged.
  13. 根据权利要求12所述的方法,其特征在于,所述将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并,包括:The method according to claim 12, wherein the merging the feature points on the observation lane line with the feature points on the target high-precision map lane line comprises:
    根据所述观测车道线上的特征点的权重和所述目标高精地图车道线上的特征点的权重,将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并。According to the weights of the feature points on the observation lane line and the weights of the feature points on the target HD map lane line, the feature points on the observation lane line are compared with the features on the target HD map lane line Click to merge.
  14. 根据权利要求13所述的方法,其特征在于,所述预设的局部范围内,所述观测车道线上的特征点的权重大于所述目标高精地图车道线上的特征点的权重;和/或,在所述预设的局部范围外的范围内,所述观测车道线上的特征点的权重小于所述目标高精地图车道线上的特征点的权重。The method according to claim 13, wherein, within the preset local area, the weight of the feature point on the observation lane line is greater than the weight of the feature point on the target high-precision map lane line; and /Or, in a range outside the preset local range, the weight of the feature point on the observation lane line is less than the weight of the feature point on the target high-precision map lane line.
  15. 根据权利要求7-14任一项所述的方法,其特征在于,所述观测车道线和所述高精地图车道线上的特征点,均是沿着车道线的方向,按照预设的采集间距采集的。The method according to any one of claims 7-14, wherein the observation lane line and the feature points on the high-precision map lane line are all along the direction of the lane line according to a preset collection Collected at intervals.
  16. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于执行所述计算机程序,具体用于执行:The processor is used to execute the computer program, specifically to execute:
    获取在线观测的观测车道线,所述观测车道线为通过搭载于车辆上的传感器所观测获取的车道线;Acquiring an observation lane line for online observation, where the observation lane line is a lane line obtained through observation by a sensor mounted on the vehicle;
    在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,获得匹配结果;Matching the observation lane line and the high-precision map lane line within a preset local area to obtain a matching result;
    根据所述匹配结果,通过所述观测车道线和所述高精地图车道线确定检测车道线。According to the matching result, the detected lane line is determined by the observation lane line and the high-precision map lane line.
  17. 根据权利要求16所述的电子设备,其特征在于,The electronic device according to claim 16, wherein:
    所述处理器,具体用于根据所述匹配结果,通过所述观测车道线和所述高精地图车道线确定检测车道线。The processor is specifically configured to determine a detected lane line through the observation lane line and the high-precision map lane line according to the matching result.
  18. 根据权利要求16或17所述的电子设备,其特征在于,The electronic device according to claim 16 or 17, wherein:
    所述处理器,具体用于通过搭载在所述车辆上的所述传感器,获取所述车辆周围环境的道路图像;对所述道路图像进行车道线检测,获得所述观测车道线。The processor is specifically configured to obtain a road image of the surrounding environment of the vehicle through the sensor mounted on the vehicle; perform lane line detection on the road image to obtain the observation lane line.
  19. 根据权利要求17所述的电子设备,其特征在于,所述预设的局部范围为靠近所述车辆的局部范围。The electronic device according to claim 17, wherein the preset local range is a local range close to the vehicle.
  20. 根据权利要求19所述的电子设备,其特征在于,所述处理器在对所述观测车道线和高精地图车道线进行匹配之前,所述处理器还用于:The electronic device according to claim 19, wherein, before the processor matches the observation lane line with the high-precision map lane line, the processor is further configured to:
    根据所述车辆的位置信息,从高精地图上获取至少一条高精地图车道线;Acquiring at least one high-precision map lane line from the high-precision map according to the location information of the vehicle;
    所述在预设的局部范围内,对所述观测车道线和高精地图车道线进行匹配,包括:在预设的局部范围内,对所述观测车道线与所述至少一条高精地图车道线进行匹配。The matching the observation lane line and the high-precision map lane line within a preset local range includes: matching the observation lane line and the at least one high-precision map lane within the preset local area Line to match.
  21. 根据权利要求20所述的电子设备,其特征在于,The electronic device according to claim 20, wherein:
    所述处理器,具体用于从所述至少一条高精地图车道线中,获取距离所述观测车道线最近的至少一条高精地图车道线;在所述预设的局部范围内,对所述观测车道线与距离所述观测车道线最近的至少一条高精地图车道线中的每条高精地图车道线进行匹配。The processor is specifically configured to obtain at least one high-precision map lane line that is closest to the observation lane line from the at least one high-precision map lane line; The observation lane line is matched with each high-precision map lane line in the at least one high-precision map lane line closest to the observation lane line.
  22. 根据权利要求20所述的电子设备,其特征在于,The electronic device according to claim 20, wherein:
    所述处理器,具体用于针对每条高精地图车道线,在所述预设的局部范围内,获取所述观测车道线上的多个特征点和所述高精地图车道线上的多个特征点;确定所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度;根据所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度,确定所述观测车道线和所述高精地图车道线之间的匹配度。The processor is specifically configured to, for each high-precision map lane line, obtain multiple feature points on the observation lane line and multiple lane lines on the high-precision map within the preset local range. Feature points; determine the degree of matching between each feature point on the observation lane line and each feature point on the high-precision map lane line; according to each feature point on the observation lane line and the The degree of matching between each feature point on the lane line of the high-precision map determines the degree of matching between the observation lane line and the lane line of the high-precision map.
  23. 根据权利要求22所述的电子设备,其特征在于,The electronic device according to claim 22, wherein:
    所述处理器,具体用于将所述观测车道线上的每个特征点和所述高精地图车道线上的每个特征点之间的匹配度之和,确定为所述观测车道线和所述高精地图车道线之间的匹配度。The processor is specifically configured to determine the sum of the matching degrees between each feature point on the observation lane line and each feature point on the high-precision map lane line as the observation lane line and The degree of matching between lane lines of the high-precision map.
  24. 根据权利要求21-23任一项所述的电子设备,其特征在于,The electronic device according to any one of claims 21-23, wherein:
    所述处理器,具体用于根据所述观测车道线与所述至少一条高精地图车道线的匹配度,从所述至少一条高精地图车道线中选择一条作为目标高精地图车道线;将所述观测车道线与所述目标高精地图车道线进行融合,确定所述检测车道线。The processor is specifically configured to select one of the at least one HD map lane line as a target HD map lane line according to the degree of matching between the observation lane line and the at least one HD map lane line; The observation lane line is fused with the target high-precision map lane line to determine the detection lane line.
  25. 根据权利要求24所述的电子设备,其特征在于,所述处理器在将所述观测车道线与所述目标高精地图车道线进行融合之前,还用于:The electronic device according to claim 24, wherein the processor is further configured to: before fusing the observation lane line with the target HD map lane line:
    确定所述观测车道线与所述目标高精地图车道线之间的位置偏差度;Determining the degree of position deviation between the observation lane line and the target high-precision map lane line;
    在所述位置偏差度小于或等于位置预设值时,将所述观测车道线与所述目标高精地图车道线进行融合。When the position deviation is less than or equal to the preset position value, the observation lane line and the target high-precision map lane line are merged.
  26. 根据权利要求25所述的电子设备,其特征在于,The electronic device according to claim 25, wherein:
    所述处理器,具体用于根据所述观测车道线的特征点与所述目标高精地图车道线上特征点之间的匹配度,确定所述观测车道线与所述目标高精地图车道线之间的位置偏差度。The processor is specifically configured to determine the observation lane line and the target HD map lane line according to the degree of matching between the feature points of the observation lane line and the target HD map lane line The degree of position deviation between.
  27. 根据权利要求24-26任一项所述的电子设备,其特征在于,The electronic device according to any one of claims 24-26, wherein:
    所述处理器,具体用于将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并。The processor is specifically configured to merge the feature points on the observation lane line with the feature points on the target high-precision map lane line.
  28. 根据权利要求27所述的电子设备,其特征在于,The electronic device according to claim 27, wherein:
    所述处理器,具体用于根据所述观测车道线上的特征点的权重和所述目标高精地图车道线上的特征点的权重,将所述观测车道线上的特征点与所述目标高精地图车道线上的特征点进行合并。The processor is specifically configured to compare the feature points on the observation lane line with the target according to the weight of the feature points on the observation lane line and the weight of the feature points on the target high-precision map lane line. The feature points on the lane line of the high-precision map are merged.
  29. 根据权利要求28所述的电子设备,其特征在于,所述预设的局部范围内,所述观测车道线上的特征点的权重大于所述目标高精地图车道线上的特征点的权重;和/或,在所述预设的局部范围外的范围内,所述观测车道线上的特征点的权重小于所述目标高精地图车道线上的特征点的权重。The electronic device according to claim 28, wherein within the preset local area, the weight of the feature point on the observation lane line is greater than the weight of the feature point on the target high-precision map lane line; And/or, in a range outside the preset local range, the weight of the feature point on the observation lane line is less than the weight of the feature point on the target high-precision map lane line.
  30. 根据权利要求22-29任一项所述的电子设备,其特征在于,所述观测车道线和所述高精地图车道线上的特征点,均是沿着车道线的方向,按照预设的采集间距采集的。The electronic device according to any one of claims 22-29, wherein the observation lane line and the feature points on the high-precision map lane line are all along the direction of the lane line according to a preset The collection interval is collected.
  31. 一种车辆,其特征在于,包括:车身和安装在所述车身上的如权利要求16-30任一项所述的电子设备。A vehicle, characterized by comprising: a vehicle body and the electronic device according to any one of claims 16-30 installed on the vehicle body.
  32. 一种交通工具,其特征在于,包括:交通工具本体和安装在所述交通工具本体上的如权利要求16-30任一项所述的电子设备。A vehicle, characterized by comprising: a vehicle body and the electronic device according to any one of claims 16-30 installed on the vehicle body.
  33. 一种计算机存储介质,其特征在于,所述存储介质中存储计算机程序,所述计算机程序在执行时实现如权利要求1-15中任一项所述的车道线的检测方法。A computer storage medium, characterized in that a computer program is stored in the storage medium, and the computer program, when executed, realizes the lane line detection method according to any one of claims 1-15.
PCT/CN2019/087874 2019-05-22 2019-05-22 Lane line detection method, electronic device and storage medium WO2020232648A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980012354.9A CN111742326A (en) 2019-05-22 2019-05-22 Lane line detection method, electronic device, and storage medium
PCT/CN2019/087874 WO2020232648A1 (en) 2019-05-22 2019-05-22 Lane line detection method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/087874 WO2020232648A1 (en) 2019-05-22 2019-05-22 Lane line detection method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2020232648A1 true WO2020232648A1 (en) 2020-11-26

Family

ID=72646056

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/087874 WO2020232648A1 (en) 2019-05-22 2019-05-22 Lane line detection method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN111742326A (en)
WO (1) WO2020232648A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113009539A (en) * 2021-02-19 2021-06-22 恒大新能源汽车投资控股集团有限公司 Automatic lane changing processing method for vehicle, vehicle and equipment
CN113280822A (en) * 2021-04-30 2021-08-20 北京觉非科技有限公司 Vehicle positioning method and positioning device
CN113688935A (en) * 2021-09-03 2021-11-23 阿波罗智能技术(北京)有限公司 High-precision map detection method, device, equipment and storage medium
CN113942522A (en) * 2021-05-31 2022-01-18 重庆工程职业技术学院 Intelligent driving safety protection system
CN114639079A (en) * 2020-12-15 2022-06-17 北京百度网讯科技有限公司 Method, device, equipment and storage medium for matching lane line data
CN114719872A (en) * 2022-05-13 2022-07-08 高德软件有限公司 Lane line processing method and device and electronic equipment
CN115143996A (en) * 2022-09-05 2022-10-04 北京智行者科技股份有限公司 Positioning information correction method, electronic device, and storage medium
CN115615444A (en) * 2022-12-02 2023-01-17 高德软件有限公司 Map data detection method, device and storage medium
CN116756264A (en) * 2023-08-18 2023-09-15 高德软件有限公司 Reconstruction data evaluation method and device, electronic equipment and storage medium
EP4257927A1 (en) * 2022-04-06 2023-10-11 Zenseact AB Vehicle pose assessment
CN117490728A (en) * 2023-12-28 2024-02-02 合众新能源汽车股份有限公司 Lane line positioning fault diagnosis method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114419590B (en) * 2022-01-17 2024-03-19 北京百度网讯科技有限公司 Verification method, device, equipment and storage medium of high-precision map

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103954275A (en) * 2014-04-01 2014-07-30 西安交通大学 Lane line detection and GIS map information development-based vision navigation method
CN109186615A (en) * 2018-09-03 2019-01-11 武汉中海庭数据技术有限公司 Lane side linear distance detection method, device and storage medium based on high-precision map
CN109186616A (en) * 2018-09-20 2019-01-11 禾多科技(北京)有限公司 Lane line assisted location method based on high-precision map and scene search
CN109297500A (en) * 2018-09-03 2019-02-01 武汉中海庭数据技术有限公司 High-precision positioner and method based on lane line characteristic matching
CN109323701A (en) * 2017-08-01 2019-02-12 郑州宇通客车股份有限公司 The localization method and system combined based on map with FUSION WITH MULTISENSOR DETECTION

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103954275A (en) * 2014-04-01 2014-07-30 西安交通大学 Lane line detection and GIS map information development-based vision navigation method
CN109323701A (en) * 2017-08-01 2019-02-12 郑州宇通客车股份有限公司 The localization method and system combined based on map with FUSION WITH MULTISENSOR DETECTION
CN109186615A (en) * 2018-09-03 2019-01-11 武汉中海庭数据技术有限公司 Lane side linear distance detection method, device and storage medium based on high-precision map
CN109297500A (en) * 2018-09-03 2019-02-01 武汉中海庭数据技术有限公司 High-precision positioner and method based on lane line characteristic matching
CN109186616A (en) * 2018-09-20 2019-01-11 禾多科技(北京)有限公司 Lane line assisted location method based on high-precision map and scene search

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114639079B (en) * 2020-12-15 2023-06-30 北京百度网讯科技有限公司 Method, device, equipment and storage medium for matching lane line data
US12008820B2 (en) 2020-12-15 2024-06-11 Beijing Baidu Netcom Science Technology Co., Ltd. Method and apparatus of matching lane line data, device and storage medium
CN114639079A (en) * 2020-12-15 2022-06-17 北京百度网讯科技有限公司 Method, device, equipment and storage medium for matching lane line data
CN113009539A (en) * 2021-02-19 2021-06-22 恒大新能源汽车投资控股集团有限公司 Automatic lane changing processing method for vehicle, vehicle and equipment
CN113280822A (en) * 2021-04-30 2021-08-20 北京觉非科技有限公司 Vehicle positioning method and positioning device
CN113280822B (en) * 2021-04-30 2023-08-22 北京觉非科技有限公司 Vehicle positioning method and positioning device
CN113942522A (en) * 2021-05-31 2022-01-18 重庆工程职业技术学院 Intelligent driving safety protection system
CN113688935A (en) * 2021-09-03 2021-11-23 阿波罗智能技术(北京)有限公司 High-precision map detection method, device, equipment and storage medium
EP4257927A1 (en) * 2022-04-06 2023-10-11 Zenseact AB Vehicle pose assessment
CN114719872A (en) * 2022-05-13 2022-07-08 高德软件有限公司 Lane line processing method and device and electronic equipment
CN115143996A (en) * 2022-09-05 2022-10-04 北京智行者科技股份有限公司 Positioning information correction method, electronic device, and storage medium
CN115615444A (en) * 2022-12-02 2023-01-17 高德软件有限公司 Map data detection method, device and storage medium
CN116756264A (en) * 2023-08-18 2023-09-15 高德软件有限公司 Reconstruction data evaluation method and device, electronic equipment and storage medium
CN116756264B (en) * 2023-08-18 2023-11-17 高德软件有限公司 Reconstruction data evaluation method and device, electronic equipment and storage medium
CN117490728A (en) * 2023-12-28 2024-02-02 合众新能源汽车股份有限公司 Lane line positioning fault diagnosis method and system
CN117490728B (en) * 2023-12-28 2024-04-02 合众新能源汽车股份有限公司 Lane line positioning fault diagnosis method and system

Also Published As

Publication number Publication date
CN111742326A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
WO2020232648A1 (en) Lane line detection method, electronic device and storage medium
KR102565533B1 (en) Framework of navigation information for autonomous navigation
US10552982B2 (en) Method for automatically establishing extrinsic parameters of a camera of a vehicle
US20150142248A1 (en) Apparatus and method for providing location and heading information of autonomous driving vehicle on road within housing complex
KR20220033477A (en) Appratus and method for estimating the position of an automated valet parking system
JP2017111142A (en) System and method for verifying map data for vehicles
CN113223317B (en) Method, device and equipment for updating map
CN108896994A (en) A kind of automatic driving vehicle localization method and equipment
US11935250B2 (en) Method, device and computer-readable storage medium with instructions for processing sensor data
US20220194412A1 (en) Validating Vehicle Sensor Calibration
US11281228B2 (en) Method and device for determining a position of a transportation vehicle
US11403947B2 (en) Systems and methods for identifying available parking spaces using connected vehicles
US10796571B2 (en) Method and device for detecting emergency vehicles in real time and planning driving routes to cope with situations to be expected to be occurred by the emergency vehicles
JP2020135874A (en) Local sensing-based autonomous navigation, associated system and method
KR101503473B1 (en) System and method for deciding driving situation of vehicle
RU2750243C2 (en) Method and system for generating a trajectory for a self-driving car (sdc)
US20220028262A1 (en) Systems and methods for generating source-agnostic trajectories
US20210049373A1 (en) Automated crowd sourcing of road environment information
US20220348211A1 (en) Method and Assistance Device for Assisting Driving Operation of a Motor Vehicle, and Motor Vehicle
Meis et al. A new method for robust far-distance road course estimation in advanced driver assistance systems
WO2024078265A1 (en) Multi-layer high-precision map generation method and apparatus
CN113312403B (en) Map acquisition method and device, electronic equipment and storage medium
US20220198714A1 (en) Camera to camera calibration
JP6933069B2 (en) Pathfinding device
Kreibich et al. Lane-level matching algorithm based on GNSS, IMU and map data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19929221

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19929221

Country of ref document: EP

Kind code of ref document: A1