WO2020103892A1 - Lane line detection method and apparatus, electronic device, and readable storage medium - Google Patents

Lane line detection method and apparatus, electronic device, and readable storage medium

Info

Publication number
WO2020103892A1
WO2020103892A1 PCT/CN2019/119886 CN2019119886W WO2020103892A1 WO 2020103892 A1 WO2020103892 A1 WO 2020103892A1 CN 2019119886 W CN2019119886 W CN 2019119886W WO 2020103892 A1 WO2020103892 A1 WO 2020103892A1
Authority
WO
WIPO (PCT)
Prior art keywords
lane line
probability
road surface
surface image
neural network
Prior art date
Application number
PCT/CN2019/119886
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 KR1020217015000A priority Critical patent/KR20210080459A/en
Priority to JP2021525040A priority patent/JP2022506920A/en
Publication of WO2020103892A1 publication Critical patent/WO2020103892A1/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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2413Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration

Definitions

  • Embodiments of the present disclosure relate to computer technology, and in particular, to a lane line detection method, device, electronic device, and readable storage medium.
  • Assisted driving and automatic driving are two important technologies in the field of intelligent driving.
  • the interval between workshops can be reduced, the occurrence of traffic accidents can be reduced, and the physical and mental burden of the driver can be reduced. Therefore, it plays an important role in the field of intelligent driving. effect.
  • An embodiment of the present disclosure provides a technical solution for lane line detection.
  • An aspect of an embodiment of the present disclosure provides a lane line detection method, including:
  • the road surface image is input to a neural network, and M probability maps corresponding to the road surface image are output through the neural network.
  • the M probability maps include N lane line probability maps and MN non-lane line probability maps.
  • the N lane line probability maps respectively correspond to N lane lines on the road surface, and are used to represent the probability that pixels in the road surface image belong to the corresponding lane line;
  • the MN non-lane line probability maps correspond to the road surface
  • the non-lane line of is used to represent the probability that the pixels in the road surface image belong to the non-lane line, where N is a positive integer and M is an integer greater than N;
  • a lane line detection device including:
  • the first obtaining module is used to obtain the road surface image collected by the vehicle-mounted equipment installed on the vehicle;
  • the second acquisition module is used to input the road surface image into a neural network, and output M probability maps corresponding to the road surface image via the neural network
  • the M probability maps include N lane line probability maps and MN Non-lane line probability map
  • the N lane-line probability maps respectively correspond to N lane lines on the road surface, and are used to represent the probability that pixels in the road surface image belong to the corresponding lane line
  • the MN non-lane lines The probability map corresponds to the non-lane line on the road surface and is used to represent the probability that the pixel points in the road surface image belong to the non-lane line, where N is a positive integer and M is an integer greater than N;
  • the first determining module is configured to determine the lane line in the road surface image according to the lane line probability map.
  • a driving control method including:
  • the driving control device acquires the lane line detection result of the road surface image, and the lane line detection result of the road surface image is obtained by using the lane line detection method as described in any one of the above embodiments;
  • the driving control device outputs prompt information according to the lane line detection result and / or performs intelligent driving control on the vehicle.
  • a driving control device including:
  • An acquisition module for acquiring a lane line detection result of a road surface image, the lane line detection result of the road surface image is obtained by using the lane line detection method as described in any of the above embodiments;
  • the driving control module is configured to output prompt information according to the detection result of the lane line and / or perform intelligent driving control on the vehicle.
  • an electronic device including:
  • Memory used to store program instructions
  • the processor is configured to call and execute program instructions in the memory to execute the method steps described in any one of the foregoing embodiments.
  • an intelligent driving system including: a camera connected in communication, an electronic device according to any of the above embodiments, and a driving control device according to any of the above embodiments, the The camera is used to obtain road images.
  • a readable storage medium stores a computer program, and the computer program is used to execute the method steps described in any one of the foregoing embodiments.
  • the lane line detection method, device, electronic device, and readable storage medium use a neural network trained by a road surface training image that includes lane line and / or non-lane line annotation information to obtain pixels in the road surface image
  • the points belong to the probability map of the corresponding lane line
  • the lane line in the road surface image is determined according to the probability map of the lane line, so that the accurate lane line detection result can be obtained even in the scene with higher complexity.
  • the M probability maps in this embodiment include non-lane line probability maps, that is, non-lane line categories are added in addition to the lane line categories, so the accuracy of road image segmentation can be improved, thereby improving the lane line detection results Accuracy.
  • FIG. 2 is a schematic flowchart of an embodiment of a lane line detection method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a convolutional neural network corresponding to this example.
  • FIG. 6 is a schematic flowchart of still another embodiment of a lane line detection method according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure.
  • FIG. 8 is a module structure diagram of an embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • FIG. 9 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • FIG. 10 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • FIG. 11 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • FIG. 12 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • FIG. 13 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • FIG. 14 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • FIG. 15 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • 16 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • 17 is a physical block diagram of an electronic device provided by an embodiment of the present disclosure.
  • FIG. 19 is a schematic structural diagram of a driving control device provided by an embodiment of the present disclosure.
  • 20 is a schematic diagram of an intelligent driving system provided by an embodiment of the present disclosure.
  • 21 is a schematic structural diagram of an application embodiment of an electronic device of the present disclosure.
  • a plurality may refer to two or more, and “at least one” may refer to one, two, or more than two.
  • first and second in the embodiments of the present disclosure are only used to distinguish different steps, devices, or modules, etc., and neither represent any specific technical meaning nor represent between them. The inevitable logical order.
  • association relationship describing the association object, indicating that there may be three kinds of relationships, for example, A and / or B, which may mean: there is A alone, A and B exist at the same time There are three cases of B alone.
  • character “/” in the present disclosure generally indicates that the related objects before and after are in an “or” relationship.
  • the embodiments of the present disclosure can be applied to electronic devices such as terminal devices, computer systems, servers, vehicle-mounted devices, etc., which can operate together with many other general-purpose or special-purpose computing system environments or configurations.
  • Examples of well-known terminal devices, computing systems, environments, and / or configurations suitable for use with terminal devices, computer systems, servers, vehicle-mounted devices, and other electronic devices include, but are not limited to: vehicle-mounted devices, personal computer systems, server computer systems, Thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, mainframe computer systems, in-vehicle equipment, and distribution including any of the above Cloud computing technology environment, etc.
  • Electronic devices such as terminal devices, computer systems, servers, in-vehicle devices, etc. may be described in the general context of computer system executable instructions (such as program modules) executed by the computer system.
  • program modules may include routines, programs, target programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types.
  • the computer system / server can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network.
  • program modules may be located on local or remote computing system storage media including storage devices.
  • An embodiment of the present disclosure proposes a lane line detection method.
  • a neural network trained through a large amount of labeled data is used to obtain a probability map of each pixel in the road image belonging to the lane line, and the lane line in the road image is determined according to the probability map of the lane line ,
  • the end-to-end method can not only get accurate lane line detection results in some simple scenes, such as scenes with good weather conditions and lighting conditions, but also in scenes with high complexity, such as rainy days, In scenes such as nights and tunnels, accurate lane line detection results can also be obtained.
  • the neural networks in the embodiments of the present disclosure may be a multi-layer neural network (ie, deep neural network), wherein the neural network may be a multi-layer convolutional neural network, for example, LeNet, AlexNet, GoogLeNet, VGG , ResNet and other arbitrary neural network models.
  • Each neural network may use a neural network of the same type and structure, or a neural network of a different type and / or structure. The embodiments of the present disclosure do not limit this.
  • FIG. 1 is a schematic diagram of a scene of a lane line detection method provided by an embodiment of the present disclosure.
  • this method can be applied to vehicles equipped with in-vehicle devices.
  • the vehicle-mounted device may be a device with a shooting function such as a camera or a driving recorder installed on the vehicle.
  • the road surface image is collected by the vehicle-mounted device on the vehicle, and the lane line on the road surface where the vehicle is located is detected based on the method of the embodiment of the present disclosure, so that the detection result can be applied to assisted driving or automatic driving of the vehicle.
  • FIG. 2 is a schematic flowchart of an embodiment of a lane line detection method according to an embodiment of the present disclosure. As shown in FIG. 2, the method includes:
  • the vehicle-mounted device installed on the vehicle can collect the road surface image on the road surface of the vehicle in real time, and further, the road surface image collected by the vehicle-mounted device can be continuously input into the neural network to obtain continuously updated lane line detection results.
  • S201 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the first obtaining module 801 executed by the processor.
  • N is a positive integer
  • M is an integer greater than N.
  • the above neural network may include but is not limited to a convolutional neural network.
  • the neural network is pre-trained using road surface training image sets including information marked by lane lines and / or non-lane lines.
  • the road training image set includes a large number of training images.
  • Each training image is obtained through the process of collecting actual road images and marking.
  • the neural network is obtained by supervising the training images collected by the rich scenes, the trained neural network can not only get accurate results under some simple scenes, such as daytime scenes with good weather conditions and lighting conditions.
  • the detection result of the lane line can also obtain accurate detection results of the lane line in scenes with high complexity, such as rainy days, nights, tunnels and other scenes.
  • the above non-lane line may refer to a portion of the road surface of the vehicle other than the lane line, and may also be referred to as a road surface background.
  • roads other than lane lines, cars on the road, plants on the side of the road, etc. all belong to the category of road background.
  • the aforementioned M may be equal to 5, and the aforementioned N may be equal to 4. That is, it can be considered that there are 4 lane lines on the road surface of the vehicle, and the neural network can output 5 probability maps. Among them, there are 4 lane line probability maps in the 5 probability maps, which respectively correspond to 4 lane lines on the road surface. That is, the four lane line probability maps correspond one-to-one to the four lane lines on the road surface. In addition, there is one non-lane line probability map in the five probability maps, which corresponds to the non-lane line on the road surface.
  • the aforementioned M may be equal to 3, and the aforementioned N may be equal to 2. That is, there are 2 lane lines on the road surface of the vehicle.
  • the above neural network can output 3 probability maps, and there are 2 lane line probability maps in the 3 probability maps, which respectively correspond to 2 lane lines on the road surface, that is, the 2 lane line probability maps and the 2 on the road surface
  • the lane lines correspond to each other.
  • the four lane lines on the road surface are lane line 1, lane line 2, lane line 3, and lane line 4 in the order from the left side to the right side of the vehicle, and the four lane line probability maps in the above five probability maps Probability graph 1, probability graph 2, probability graph 3 and probability graph 4 respectively.
  • the corresponding relationship between the lane line probability map and the lane line may be as shown in Table 1 below.
  • the probability map 1 output by the above neural network corresponds to lane line 1
  • the probability map 2 corresponds to lane line 2, and so on.
  • Table 1 is only an example of the correspondence between the lane line probability map and the lane line.
  • the correspondence relationship between the lane line probability map and the lane line can be flexibly set according to needs. Examples do not make specific restrictions on this.
  • the probability map 1 can identify the probability that each pixel in the road surface image belongs to the lane line 1.
  • a 200 * 200 size matrix can be output, where the value of each element in the matrix is that the corresponding pixel belongs to the lane line 1 The probability.
  • the value of the first row and first column is 0.4, which means that the probability that the pixel of the first row and first column in the road image belongs to the lane line 1 is 0.4.
  • the matrix output by the neural network can be expressed in the form of a lane line probability map.
  • S202 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the second obtaining module 802 executed by the processor.
  • the probability that each pixel in the road image belongs to each lane line can be determined, and based on these probabilities, the lane line in the road image can be determined.
  • S203 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the first determining module 803 executed by the processor.
  • the N lane line probability maps output by the neural network respectively correspond to the N lane line lines on the road surface.
  • some of the pixel points can be selected according to pre-conditions. Point fitting the lane line corresponding to the lane line probability map to obtain N lane lines.
  • a neural network trained using a road training image including lane line and / or non-lane line annotation information is used to obtain a probability map of each pixel in the road image belonging to the corresponding lane line, and is determined according to the probability map of the lane line
  • the lane line in the road surface image so that the accurate lane line detection result can be obtained even in the scene with higher complexity.
  • the M probability maps in this embodiment include non-lane line probability maps, that is, non-lane line categories are added in addition to the lane line categories, so the accuracy of road image segmentation can be improved, thereby improving the lane line detection results Accuracy.
  • the N probability maps in the M probability maps correspond to N lane lines on the road surface
  • the Lth lane line probability in the N lane line probability maps The graph corresponds to the Lth lane line, L is any integer greater than or equal to 1 and less than or equal to M, that is, the Lth lane line probability map is any lane line probability map of the N lane line probability maps.
  • the Lth lane line may be fitted based on a plurality of pixels with a probability value greater than or equal to a preset threshold in the probability map.
  • a plurality of pixels with a probability value greater than or equal to the preset threshold are fitted to the Lth lane line.
  • each pixel has a probability value. If the probability value is greater than or equal to the preset threshold, it means that the pixel belongs to the The probability of L lane lines is larger.
  • the selected pixels can be calculated for the maximum connected domain, and then based on the maximum connected domain Lane line fitting, so that the lane line in the road image can be obtained.
  • the preset threshold may be 0.5, for example.
  • the Lth lane line probability map includes the probability values of three pixels, where the probability value of pixel A is 0.5, the probability value of pixel B is 0.6, and the probability value of pixel C is 0.2 That is, the probability value of pixel point A and pixel point B is greater than the preset threshold, then the Lth lane line can be fitted through pixel point A and pixel point B.
  • the Lth lane line probability map does not satisfy the condition that includes multiple pixels with a probability value greater than or equal to the preset threshold, it means that the Lth lane line probability map does not exist in the current road surface image. Corresponding Lth lane line.
  • the first pixel point is used as the pixel point when fitting the first lane line, wherein ,
  • the first lane line is the lane line corresponding to the lane line probability map corresponding to the maximum probability value among the multiple probability values.
  • the neural network outputs a total of 4 lane line probability maps.
  • the probability value of the first pixel in the first lane line probability map is 0.5
  • the probability of the second lane line probability is 0.5.
  • the probability value in the figure is 0.6
  • the probability in the third lane line probability map is 0.7
  • the probability in the fourth lane line probability map is 0.2, that is, the first pixel is in the first, second, and third lanes
  • the probabilities in the line probability map are greater than or equal to the preset threshold.
  • the MN probability maps in the M probability maps correspond to non-lane lines on the road surface, and optionally, the S-th lane line in the MN lane line probability maps is optional.
  • the probability map corresponds to the non-lane line, and S is any integer greater than or equal to 1 and less than or equal to MN, that is, the S-th non-lane line probability map is any one of the MN non-lane line probability maps.
  • the non-lane line may be determined based on a plurality of pixels with a probability value greater than or equal to a preset threshold in the probability map.
  • the non-lane line is determined according to a plurality of pixels with a probability value greater than or equal to the preset threshold.
  • each pixel has a probability value. If the probability value is greater than or equal to the preset threshold, it means that the pixel belongs to The probability of non-lane lines is greater.
  • the selected pixels can be calculated, for example, to find the maximum connected domain to obtain the road surface image. Non-lane line area.
  • the preset threshold may be 0.5, for example.
  • the Sth non-lane line probability map includes the probability values of three pixels, where the probability value of pixel A is 0.5, the probability value of pixel B is 0.6, and the probability value of pixel C is 0.2, that is, the probability value of the pixel point A and the pixel point B is greater than the preset threshold, then the non-lane line in the road surface image can be determined by the pixel point A and the pixel point B.
  • the color of the pixel point in the road surface image may be adjusted to the above according to the lane line to which the pixel point in the road surface image belongs.
  • the corresponding color of the lane line to improve the visual effect.
  • FIG. 3 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure. As shown in FIG. 3, the above method further includes:
  • the M probability maps respectively correspond to a lane line or a non-lane line. After using the M probability maps to fit each lane line and determine the lane line, the M probability maps can be fused into a target probability map.
  • the target probability map contains information for each lane line and information for non-lane lines.
  • S301 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the fusion module 804 executed by the processor.
  • the first lane line probability map is any lane line probability map in the N lane line probability maps, and the pixel points corresponding to the first lane line probability map are composed in the first lane line probability map. Pixels of the combined lane line.
  • S302 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the adjustment module 805 executed by the processor.
  • the pixels constituting the lane line corresponding to the first lane line probability map are determined.
  • the fused The resulting probability map sets the pixel value of each pixel of the lane line corresponding to the first lane line probability map to the color corresponding to the lane line.
  • the color corresponding to each lane line may be set in advance. For example, if there are 4 lane lines on the road surface, the colors of the 4 lane lines may be set to red, yellow, blue, and purple, respectively. After obtaining the target probability map, set the pixel value of each pixel that constitutes each lane line to the corresponding color. After setting, you can get 4 lanes displayed in four colors of red, yellow, blue, and purple line.
  • the user in the vehicle can view the road surface more intuitively and clearly Lane lanes to enhance user experience.
  • this embodiment relates to the process of passing the lane line probability map.
  • FIG. 4 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure. As shown in FIG. 4, the above step S202 includes:
  • S401 Extract low-level feature information of the M channels of the road surface image through at least one convolutional layer of the neural network.
  • the convolutional layer can reduce the resolution of the road surface image and retain the low-level features of the road surface image.
  • the low-level feature information of the road surface image may include edge information, straight line information, and curve information in the image.
  • the M channels of the above road surface image respectively correspond to one lane line category, where, assuming there are 4 lane lines on the road surface, there are 5 lane line categories, namely lane line 1, lane line 2, lane line 3. Lane line 4 and non-lane line.
  • S401 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the first obtaining unit 8021 executed by the processor.
  • the high-level feature information of the M channels of the road surface image extracted through the residual extraction layer includes semantic features, contours, and overall structure.
  • S402 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the second obtaining unit 8022 executed by the processor.
  • the image can be restored to the original size of the image input to the neural network.
  • S403 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the third obtaining unit 8023 executed by the processor.
  • the neural network may further include a normalization layer after the above-mentioned upsampling layer.
  • the normalization layer normalizes the result after the upsampling process, and outputs the above-mentioned lane line probability map.
  • the feature map of the road surface image is obtained after the upsampling process, and the value of each pixel in the feature map is normalized, so that the value of each pixel in the feature map is in the range of 0 to 1 To obtain the probability map of the drivable area.
  • a normalization method is: first determine the maximum value of the pixels in the feature map, and then divide the value of each pixel by the maximum value, so that the value of each pixel in the feature map In the range of 0 to 1.
  • this embodiment relates to this embodiment relates to the training process of establishing the above neural network.
  • the neural network involved in the embodiments of the present disclosure may be a convolutional neural network
  • the convolutional neural network may include a convolutional layer, a residual extraction layer, an upsampling layer, and a normalization layer .
  • the order of the convolutional layer and the residual extraction layer can be flexibly set as needed, and the number of each layer can also be flexibly set as needed.
  • the above-mentioned convolutional neural network may include any number of convolutional layers in 6-10 connected, any number of residual extraction layers in 7-12 connected, and any number of 1-4 in convolutional neural networks Upsampling layer.
  • the convolutional neural network with this specific structure When used for lane line detection, it can meet the requirements of lane scene detection in multiple scenes or complex scenes, thereby making the detection results more robust.
  • the convolutional neural network may include 8 convolutional layers connected, 9 residual extraction layers connected, and 2 upsampling layers connected.
  • Figure 5 is a schematic diagram of the structure of the convolutional neural network corresponding to this example. As shown in Figure 5, after the road surface image is input, it first passes through 8 consecutive convolutional layers of the convolutional neural network. After that, it includes 9 consecutive residual extraction layers. After the 9 consecutive residual extraction layers, it includes 2 consecutive upsampling layers. After the 2 consecutive upsampling layers, it is a normalized layer, namely Finally, the normalized layer outputs the lane line probability map.
  • each of the foregoing residual extraction layers may include 256 filters, and each layer includes 128 filters of 3 * 3 and 128 1 * 1 sizes.
  • the above road network training image set may be used to train the above neural network.
  • FIG. 6 is a schematic flowchart of still another embodiment of a lane line detection method provided by an embodiment of the present disclosure. As shown in FIG. 6, the training process of the above neural network may be:
  • the above predicted lane line probability map is the current lane line probability map output by the neural network.
  • S602 Fit the predicted lane line of the training image according to a plurality of pixel points with a probability value greater than or equal to a preset threshold value included in the predicted lane line probability map.
  • S603 Acquire the loss between the predicted lane line of the training image and the lane line in the truth map of the lane line of the training image.
  • the above lane line truth map is obtained based on the label information of the lane line of the training image.
  • the loss between the predicted lane line and the lane line in the lane line truth map can be calculated by using a loss function.
  • the network parameters of the neural network may include convolution kernel size and weight information.
  • the above-mentioned loss can be back-transmitted in the neural network by means of gradient back propagation, and the network parameters of the neural network can be adjusted.
  • the neural network may be trained with one training image at a time, or the neural network may be trained with multiple training images at a time.
  • FIG. 7 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure. As shown in FIG. 7, before training the neural network, the method further includes:
  • the above multiple scenes may include, but are not limited to, at least two scenes of daytime scenes, rainy scenes, foggy scenes, straight road scenes, curved road scenes, tunnel scenes, strong light scenes, and night scenes.
  • the S801-S802 may be executed by the processor invoking the corresponding instruction stored in the memory, or may also be executed by the collection module 806 executed by the processor.
  • the on-vehicle equipment such as the camera on the vehicle can be used to collect the road surface image in each of the above scenarios.
  • the lane line on the collected road surface image can be marked by manual labeling, etc., to obtain each Training images in the scene.
  • the training images obtained through the above process cover various scenes in practice. Therefore, the neural networks trained using these training images are very robust to the detection of lane lines in various scenarios, and the detection Short time and high accuracy of test results.
  • the above road surface image may be de-distorted to further improve the accuracy of the output result of the neural network.
  • each pixel point belonging to the lane line in the road surface image can be coordinate-mapped to obtain lane line information in the world coordinate system, and assist driving based on the obtained lane line information in the world coordinate system Or autonomous driving.
  • FIG. 8 is a module structure diagram of an embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • the lane line detection device of the embodiment of the present disclosure may be used to implement the above embodiments of the lane line detection method of the present disclosure. As shown in Figure 8, the device includes:
  • the first obtaining module 801 is used to obtain the road surface image collected by the vehicle-mounted device installed on the vehicle.
  • the second acquisition module 802 is configured to input the road surface image into a neural network, and output M probability maps corresponding to the road surface image via the neural network.
  • the M probability maps include N lane line probability maps and MN Non-lane line probability maps, the N lane-line probability maps respectively correspond to N lane lines on the road surface, and are used to represent the probability that pixels in the road surface image belong to the corresponding lane line; the MN non-lane lines
  • the line probability map corresponds to the non-lane line on the road surface, and is used to represent the probability that the pixel point in the road surface image belongs to the non-lane line, where N is a positive integer and M is an integer greater than N.
  • the first determining module 803 is configured to determine the lane line in the road surface image according to the lane line probability map.
  • FIG. 10 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 10, the first determination module 803 further includes:
  • the first determining unit 8032 is configured to use the first pixel point as the first lane line when multiple probability values corresponding to the first pixel point in the multiple lane line probability maps are greater than or equal to a preset threshold The pixel point of, where the first lane line is the lane line corresponding to the lane line probability map corresponding to the largest probability value among the multiple probability values.
  • FIG. 11 is a module structure diagram of Embodiment 4 of a lane line detection device according to an embodiment of the present disclosure.
  • the first determination module 803 further includes: a third determination unit 8033, which is used to determine the probability of the Sth non-lane line
  • a non-lane line is determined according to a plurality of pixels with a probability value greater than or equal to a preset threshold, wherein the S-th non-lane line probability map is Describe any of the MN non-lane line probability maps.
  • FIG. 12 is a module structure diagram of Embodiment 5 of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 12, it further includes: a fusion module 804, configured to perform fusion processing on the M probability maps to obtain a target Probability diagram.
  • the adjustment module 805 is configured to adjust the pixel value of the pixel corresponding to the first lane line probability map in the target probability map to a preset pixel value corresponding to the first lane line probability map.
  • the first lane line probability map is any lane line probability map of the N lane line probability maps
  • the pixel corresponding to the first lane line probability map is the probability of the first lane line probability map
  • the graph constitutes the pixel points of the fitted lane line.
  • FIG. 13 is a module structure diagram of yet another embodiment of a lane line detection device provided by an embodiment of the present disclosure.
  • the second acquisition module 802 includes: a first acquisition unit 8021, which is used to pass at least A convolution layer extracts the low-level feature information of the M channels of the road surface image.
  • the second obtaining unit 8022 is configured to extract the high-level feature information of the M channels of the road surface image based on the M-channel low-level feature information through at least one residual extraction layer of the neural network.
  • the third obtaining unit 8023 is configured to up-sample the high-level feature information of the M channels through at least one up-sampling layer of the neural network to obtain M probability maps equal to the road surface image.
  • the at least one convolutional layer includes any number of contiguous 6-10 convolutional layers
  • the at least one residual extraction layer includes any number of contiguous 7-12 residual extraction layers
  • the at least one upsampling layer includes any number of connected upsampling layers in 1-4.
  • the lane line detection device further includes: a training module (not shown in the figure), which is used to supervise and train a road training image set including lane line and / or non-lane line annotation information The neural network.
  • a training module (not shown in the figure), which is used to supervise and train a road training image set including lane line and / or non-lane line annotation information The neural network.
  • the training module is configured to: input training images included in the road surface training image set to the neural network to obtain a predicted lane line probability map of the training images; according to the predicted lanes A plurality of pixels with a probability value greater than or equal to a preset threshold value included in the line probability map, fitting the predicted lane line of the training image; acquiring the predicted lane line of the training image and the lane of the training image Loss between lane lines in a line truth map, where the lane line truth map is obtained based on the labeling information of the lane lines of the training image; the network parameters of the neural network are adjusted according to the losses.
  • FIG. 14 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 14, it further includes: an acquisition module 806, which is used to acquire road surface images in multiple scenes, and The road surface images in the plurality of scenes are obtained by labeling lane lines as training images.
  • the plurality of scenes may include, but not limited to, at least two scenes in rainy scenes, foggy scenes, straight road scenes, curved road scenes, tunnel scenes, strong light scenes, and night scenes.
  • FIG. 15 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 15, it further includes: a preprocessing module 807, configured to perform distortion-removing processing on the road surface image.
  • a preprocessing module 807 configured to perform distortion-removing processing on the road surface image.
  • FIG. 16 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 16, it further includes: a mapping module 808 for mapping the lane line in the road surface image to world coordinates In the system, the position of the lane line in the road surface image in the world coordinate system is obtained.
  • a mapping module 808 for mapping the lane line in the road surface image to world coordinates In the system, the position of the lane line in the road surface image in the world coordinate system is obtained.
  • FIG. 17 is a physical block diagram of an electronic device according to an embodiment of the present disclosure. As shown in FIG. 17, the electronic device 1700 includes:
  • the memory 1701 is used to store program instructions.
  • the processor 1702 is configured to call and execute program instructions in the memory 1701 to execute the method steps described in any embodiment of the present disclosure.
  • FIG. 18 is a schematic flowchart of a driving control method provided by an embodiment of the present disclosure. Based on the foregoing embodiment, an embodiment of the present disclosure also provides a driving control method, including:
  • the driving control device acquires the lane line detection result of the road surface image.
  • the S1801 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the obtaining module 1901 executed by the processor.
  • the driving control device outputs prompt information according to the lane line detection result and / or performs intelligent driving control on the vehicle.
  • the S201 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the driving control module 1902 executed by the processor.
  • the detection result of the lane line of the road surface image is obtained by the detection method of the lane line of the above embodiment, and the specific process refers to the description of the above embodiment, which will not be repeated here.
  • the electronic device executes the above lane line detection method, obtains the lane line detection result of the road surface image, and outputs the lane line detection result of the road surface image.
  • the driving control device acquires the lane line detection result of the road surface image, and outputs prompt information and / or performs intelligent driving control on the vehicle according to the lane line detection result of the road surface image.
  • the prompt information may include a warning warning of lane line departure, or a reminder of keeping lane line.
  • the intelligent driving in this embodiment includes assisted driving and / or automatic driving.
  • the above-mentioned intelligent driving control may include: braking, changing the driving speed, changing the driving direction, keeping lane lines, changing the state of the lights, driving mode switching, etc., wherein the driving mode switching may be switching between assisted driving and automatic driving, for example To switch from assisted driving to automatic driving.
  • the driving control device obtains the lane line detection result of the road surface image, and outputs prompt information and / or performs intelligent driving control on the vehicle according to the lane line detection result of the road surface image, thereby improving the intelligent driving Safety and reliability.
  • FIG. 19 is a schematic structural diagram of a driving control device provided by an embodiment of the present disclosure. Based on the foregoing embodiment, the driving control device 1900 of the embodiment of the present disclosure includes:
  • the obtaining module 1901 is used to obtain a lane line detection result of a road surface image.
  • the lane line detection result of the road surface image is obtained by using the lane line detection method as in any of the above embodiments;
  • the driving control module 1902 is configured to output prompt information according to the lane line detection result and / or perform intelligent driving control on the vehicle.
  • the driving control device of the embodiment of the present disclosure may be used to execute the technical solutions of the above-described method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 20 is a schematic diagram of an intelligent driving system provided by an embodiment of the present disclosure.
  • the intelligent driving system 2000 of this embodiment includes: a communication-connected camera 2001, an electronic device 1700, and a driving control device 1900, wherein the electronic device 1700 As shown in FIG. 17, the driving control device 1900 is shown in FIG. 19, and the camera 2001 is used to capture a road surface image.
  • the camera 2001 captures the road surface image and sends the road surface image to the electronic device 1700.
  • the electronic device 1700 After receiving the road surface image, the electronic device 1700 performs the road surface image detection according to the above lane line detection method. Processing to obtain the lane detection result of the road surface image.
  • the electronic device 1700 sends the obtained lane line detection result of the road surface image to the driving control device 1900, and the driving control device 1900 outputs prompt information and / or performs intelligent driving control on the vehicle according to the lane line detection result of the road surface image.
  • the electronic device includes one or more processors, a communication section, etc.
  • the one or more processors are, for example, one or more central processing units (CPUs) 2101, and / or one or more An image processor (GPU) 2113, etc.
  • the processor can execute various instructions according to the executable instructions stored in the read only memory (ROM) 2102 or the executable instructions loaded from the storage section 2108 into the random access memory (RAM) 2103 Appropriate actions and handling.
  • the communication part 2112 may include but is not limited to a network card, and the network card may include but not limited to an IB (Infiniband) network card.
  • the processor may communicate with the read-only memory 2102 and / or the random access memory 2103 to execute executable instructions through the bus 2104 It is connected to the communication unit 2112 and communicates with other target devices via the communication unit 2112 to complete the operation corresponding to any lane line detection method or any driving control method provided by the embodiments of the present disclosure.
  • RAM 2103 various programs and data necessary for device operation can also be stored.
  • the CPU 2101, ROM 2102, and RAM 2103 are connected to each other via a bus 2104.
  • ROM 2102 is an optional module.
  • the RAM 2103 stores executable instructions or writes executable instructions to the ROM 2102 at runtime.
  • the executable instructions cause the processor 2101 to perform operations corresponding to the lane detection method or the driving control method provided in any of the foregoing embodiments.
  • An input / output (I / O) interface 2105 is also connected to the bus 2104.
  • the communication part 2112 may be integratedly provided, or may be provided with multiple sub-modules (for example, multiple IB network cards), and are on the bus link.
  • the following components are connected to the I / O interface 2105: an input section 2106 including a keyboard, a mouse, etc .; an output section 2107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 2108 including a hard disk, etc. ; And a communication section 2109 including a network interface card such as a LAN card, a modem, etc. The communication section 2109 performs communication processing via a network such as the Internet.
  • the driver 2110 is also connected to the I / O interface 2105 as needed.
  • a removable medium 2111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 2110 as necessary, so that the computer program read out therefrom is installed into the storage portion 2108 as needed.
  • FIG. 21 is only an optional implementation method.
  • the number and type of components in FIG. 21 can be selected, deleted, added, or replaced according to actual needs;
  • the setting of functional components separate or integrated settings can also be adopted.
  • the GPU and the CPU can be set separately or the GPU can be integrated on the CPU.
  • the communication department can be set separately or on the CPU or GPU Wait.
  • any method provided by the embodiments of the present disclosure may be executed by any appropriate device with data processing capabilities, including but not limited to: a terminal device and a server.
  • any method provided by the embodiments of the present disclosure may be executed by the processor, for example, the processor executes any method mentioned by the embodiments of the present disclosure by calling corresponding instructions stored in the memory. The embodiments of the present disclosure will not be repeated here.
  • the method and apparatus of the embodiments of the present disclosure may be implemented in many ways.
  • the method and apparatus of the embodiments of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware.
  • the above sequence of steps for the method is for illustration only, and the steps of the method of the embodiments of the present disclosure are not limited to the above-described sequence unless otherwise specifically stated.
  • the present disclosure may also be implemented as programs recorded in a recording medium, and these programs include machine-readable instructions for implementing the method according to an embodiment of the present disclosure.
  • the present disclosure also covers the recording medium storing the program for executing the method according to the embodiment of the present disclosure.

Abstract

Embodiments of the present invention provide a lane line detection method and apparatus, an electronic device, and a readable storage medium. The method comprises: obtaining a road surface image acquired by a vehicle-mounted device on a vehicle; inputting the road surface image to a neural network, and outputting M probability graphs corresponding to the road surface image by means of the neural network, the M probability graphs comprising N lane line probability graphs and M-N non-lane line probability graphs, the N lane line probability graphs respectively corresponding to N lane lines on the road surface and being used for representing the probabilities that the pixel points in the road surface image belong to the corresponding lane lines, and the M-N non-lane line probability graphs corresponding to non-lane lines on the road and being used for representing the probabilities that the pixel points in the road surface image belong to the non-lane lines; and determining the lane lines in the road surface image according to the lane line probability graphs.

Description

车道线检测方法、装置、电子设备及可读存储介质Lane line detection method, device, electronic equipment and readable storage medium
本公开要求在2018年11月21日提交中国专利局、申请号为CN201811392943.8、发明名称为“车道线检测方法、装置、电子设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure requires the priority of the Chinese patent application filed on November 21, 2018 with the Chinese Patent Office, application number CN201811392943.8, and the invention titled "lane line detection method, device, electronic equipment, and readable storage medium". The entire contents are incorporated by reference in this disclosure.
技术领域Technical field
本公开实施例涉及计算机技术,尤其涉及一种车道线检测方法、装置、电子设备及可读存储介质。Embodiments of the present disclosure relate to computer technology, and in particular, to a lane line detection method, device, electronic device, and readable storage medium.
背景技术Background technique
辅助驾驶和自动驾驶是智能驾驶领域的两项重要技术,通过辅助驾驶或自动驾驶,可以将车间间隔减小,减少交通事故的发生,减少驾驶员的身心负担,因此在智能驾驶领域发挥着重要作用。Assisted driving and automatic driving are two important technologies in the field of intelligent driving. Through assisted driving or automatic driving, the interval between workshops can be reduced, the occurrence of traffic accidents can be reduced, and the physical and mental burden of the driver can be reduced. Therefore, it plays an important role in the field of intelligent driving. effect.
在辅助驾驶技术和自动驾驶技术中,需要进行车道线检测,即检测车辆行驶路面上的车道线。在辅助驾驶中,车道线检测可以为车辆行驶偏离进行预警,也可以在车辆与前方车辆即将发生碰撞时发出警告。在自动驾驶中,车道线检测可以为自动巡航驾驶、车道保持、车辆超车等操作提供最基本的信息,从而保障车辆的正常行驶。因此,如何进行准确高效的车道线检测,是值得研究的重要课题。In assisted driving technology and automatic driving technology, lane line detection is required, that is, detection of the lane line on the road surface of the vehicle. In assisted driving, lane line detection can provide early warning for the vehicle's deviation, and can also issue a warning when the vehicle is about to collide with the vehicle in front. In automatic driving, lane line detection can provide the most basic information for operations such as automatic cruise driving, lane keeping, and vehicle overtaking, thus ensuring the normal driving of the vehicle. Therefore, how to carry out accurate and efficient lane line detection is an important subject worth studying.
发明内容Summary of the invention
本公开实施例提供一种车道线检测技术方案。An embodiment of the present disclosure provides a technical solution for lane line detection.
本公开实施例的一个方面,提供一种车道线检测方法,包括:An aspect of an embodiment of the present disclosure provides a lane line detection method, including:
获取车辆上安装的车载设备所采集的路面图像;Obtain the road surface image collected by the on-board equipment installed on the vehicle;
将所述路面图像输入神经网络,并经所述神经网络输出所述路面图像对应的M个概率图,所述M个概率图包括N个车道线概率图和M-N个非车道线概率图,所述N个车道线概率图分别对应路面上的N条车道线,用于表示所述路面图像中的像素点属于对应的车道线的概率;所述M-N个非车道线概率图对应所述路面上的非车道线,用于表示所述路面图像中的像素点属于非车道线的概率,其中,N为正整数,M为大于N的整数;The road surface image is input to a neural network, and M probability maps corresponding to the road surface image are output through the neural network. The M probability maps include N lane line probability maps and MN non-lane line probability maps. The N lane line probability maps respectively correspond to N lane lines on the road surface, and are used to represent the probability that pixels in the road surface image belong to the corresponding lane line; the MN non-lane line probability maps correspond to the road surface The non-lane line of is used to represent the probability that the pixels in the road surface image belong to the non-lane line, where N is a positive integer and M is an integer greater than N;
根据所述车道线概率图,确定所述路面图像中的车道线。The lane line in the road surface image is determined according to the lane line probability map.
本公开实施例的另一个方面,提供一种车道线检测装置,包括:Another aspect of an embodiment of the present disclosure provides a lane line detection device, including:
第一获取模块,用于获取车辆上安装的车载设备所采集的路面图像;The first obtaining module is used to obtain the road surface image collected by the vehicle-mounted equipment installed on the vehicle;
第二获取模块,用于将所述路面图像输入神经网络,并经所述神经网络输出所述路面图像对应的M个概率图,所述M个概率图包括N个车道线概率图和M-N个非车道线概率图,所述N个车道线概率图分别对应路面上的N条车道线,用于表示所述路面图像中的像素点属于对应的车道线的概率;所述M-N个非车道线概率图对应所述路面上的非车道线,用于表示所述路面图像中的像素点属于非车道线的概率,其中,N为正整数,M为大于N的整数;The second acquisition module is used to input the road surface image into a neural network, and output M probability maps corresponding to the road surface image via the neural network, the M probability maps include N lane line probability maps and MN Non-lane line probability map, the N lane-line probability maps respectively correspond to N lane lines on the road surface, and are used to represent the probability that pixels in the road surface image belong to the corresponding lane line; the MN non-lane lines The probability map corresponds to the non-lane line on the road surface and is used to represent the probability that the pixel points in the road surface image belong to the non-lane line, where N is a positive integer and M is an integer greater than N;
第一确定模块,用于根据所述车道线概率图,确定所述路面图像中的车道线。The first determining module is configured to determine the lane line in the road surface image according to the lane line probability map.
本公开实施例的又一个方面,提供一种驾驶控制方法,包括:In another aspect of the embodiments of the present disclosure, a driving control method is provided, including:
驾驶控制装置获取路面图像的车道线检测结果,所述路面图像的车道线检测结果采用如上述任一实施例所述的车道线检测方法得到;The driving control device acquires the lane line detection result of the road surface image, and the lane line detection result of the road surface image is obtained by using the lane line detection method as described in any one of the above embodiments;
所述驾驶控制装置根据所述车道线检测结果输出提示信息和/或对车辆进行智能驾驶控制。The driving control device outputs prompt information according to the lane line detection result and / or performs intelligent driving control on the vehicle.
本公开实施例的再一个方面,提供一种驾驶控制装置,包括:In still another aspect of the embodiments of the present disclosure, a driving control device is provided, including:
获取模块,用于获取路面图像的车道线检测结果,所述路面图像的车道线检测结果采用如上述任一实施例所述的车道线检测方法得到;An acquisition module, for acquiring a lane line detection result of a road surface image, the lane line detection result of the road surface image is obtained by using the lane line detection method as described in any of the above embodiments;
驾驶控制模块,用于根据所述车道线检测结果输出提示信息和/或对车辆进行智能驾驶控制。The driving control module is configured to output prompt information according to the detection result of the lane line and / or perform intelligent driving control on the vehicle.
本公开实施例的再一个方面,提供一种电子设备,包括:In still another aspect of the embodiments of the present disclosure, an electronic device is provided, including:
存储器,用于存储程序指令;Memory, used to store program instructions;
处理器,用于调用并执行所述存储器中的程序指令,执行上述任一实施例所述的方法步骤。The processor is configured to call and execute program instructions in the memory to execute the method steps described in any one of the foregoing embodiments.
本公开实施例的再一个方面,提供一种智能驾驶系统,包括:通信连接的相机、如上述任一实施例所述的电子设备和如上述任一实施例所述的驾驶控制装置,所述相机用于获取路面图像。According to still another aspect of the embodiments of the present disclosure, an intelligent driving system is provided, including: a camera connected in communication, an electronic device according to any of the above embodiments, and a driving control device according to any of the above embodiments, the The camera is used to obtain road images.
本公开实施例的再一个方面,提供一种可读存储介质,所述可读存储介质中存储有计算机程序,所述计算机程序用于执行上述任一实施例所述的方法步骤。In still another aspect of the embodiments of the present disclosure, a readable storage medium is provided, and the readable storage medium stores a computer program, and the computer program is used to execute the method steps described in any one of the foregoing embodiments.
本公开实施例所提供的车道线检测方法、装置、电子设备及可读存储介质,使用包括有车道线和/或非车道线标注信息的路面训练图像训练得到的神经网络得到路面图像中各像素点属于对应车道线的概率图,并根据车道线的概率图确定路面图像中的车道线,从而实现在复杂度较高的场景下也能够得到准确的车道线检测结果。另外,本实施例中的M个概率图中包括了非车道线概率图,即在车道线类别之外增加了非车道线类别,因此可以提高路面图像分割的准确性,进而提高车道线检测结果的准确性。The lane line detection method, device, electronic device, and readable storage medium provided by the embodiments of the present disclosure use a neural network trained by a road surface training image that includes lane line and / or non-lane line annotation information to obtain pixels in the road surface image The points belong to the probability map of the corresponding lane line, and the lane line in the road surface image is determined according to the probability map of the lane line, so that the accurate lane line detection result can be obtained even in the scene with higher complexity. In addition, the M probability maps in this embodiment include non-lane line probability maps, that is, non-lane line categories are added in addition to the lane line categories, so the accuracy of road image segmentation can be improved, thereby improving the lane line detection results Accuracy.
下面通过附图和实施例,对本公开的技术方案做进一步的详细描述。The technical solutions of the present disclosure will be further described in detail below through the accompanying drawings and embodiments.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本公开或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the present disclosure or the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are For some of the disclosed embodiments, those of ordinary skill in the art can obtain other drawings based on these drawings without paying any creative labor.
图1为本公开实施例提供的车道线检测方法的场景示意图;1 is a schematic diagram of a scene of a lane line detection method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的车道线检测方法一实施例的流程示意图;2 is a schematic flowchart of an embodiment of a lane line detection method according to an embodiment of the present disclosure;
图3为本公开实施例提供的车道线检测方法另一实施例的流程示意图;3 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure;
图4为本公开实施例提供的车道线检测方法又一实施例的流程示意图;4 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure;
图5为该示例对应的卷积神经网络的结构示意图;FIG. 5 is a schematic structural diagram of a convolutional neural network corresponding to this example;
图6为本公开实施例提供的车道线检测方法再一实施例的流程示意图;6 is a schematic flowchart of still another embodiment of a lane line detection method according to an embodiment of the present disclosure;
图7为本公开实施例提供的车道线检测方法再一实施例的流程示意图;7 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure;
图8为本公开实施例提供的车道线检测装置一实施例的模块结构图;8 is a module structure diagram of an embodiment of a lane line detection device provided by an embodiment of the present disclosure;
图9为本公开实施例提供的车道线检测装置另一实施例的模块结构图;9 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure;
图10为本公开实施例提供的车道线检测装置又一实施例的模块结构图;10 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure;
图11为本公开实施例提供的车道线检测装置再一实施例的模块结构图;11 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure;
图12为本公开实施例提供的车道线检测装置再一实施例的模块结构图;12 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure;
图13为本公开实施例提供的车道线检测装置再一实施例的模块结构图;13 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure;
图14为本公开实施例提供的车道线检测装置再一实施例的模块结构图;14 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure;
图15为本公开实施例提供的车道线检测装置再一实施例的模块结构图;15 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure;
图16为本公开实施例提供的车道线检测装置再一实施例的模块结构图;16 is a block diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure;
图17为本公开实施例提供的一种电子设备的实体框图;17 is a physical block diagram of an electronic device provided by an embodiment of the present disclosure;
图18为本公开实施例提供的驾驶控制方法的流程示意图;18 is a schematic flowchart of a driving control method provided by an embodiment of the present disclosure;
图19为本公开实施例提供的驾驶控制装置的结构示意图;19 is a schematic structural diagram of a driving control device provided by an embodiment of the present disclosure;
图20为本公开实施例提供的智能驾驶系统的示意图;20 is a schematic diagram of an intelligent driving system provided by an embodiment of the present disclosure;
图21为本公开电子设备一个应用实施例的结构示意图。21 is a schematic structural diagram of an application embodiment of an electronic device of the present disclosure.
具体实施方式detailed description
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments It is a part of the embodiments of the present disclosure, but not all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.
应注意到:除非另外说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。It should be noted that the relative arrangement of components and steps, numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise stated.
还应理解,在本公开实施例中,“多个”可以指两个或两个以上,“至少一个”可以指一个、两个或两个以上。It should also be understood that in the embodiments of the present disclosure, "a plurality" may refer to two or more, and "at least one" may refer to one, two, or more than two.
本领域技术人员可以理解,本公开实施例中的“第一”、“第二”等术语仅用于区别不同步骤、设备或模块等,既不代表任何特定技术含义,也不表示它们之间的必然逻辑顺序。Those skilled in the art may understand that the terms “first” and “second” in the embodiments of the present disclosure are only used to distinguish different steps, devices, or modules, etc., and neither represent any specific technical meaning nor represent between them. The inevitable logical order.
还应理解,对于本公开实施例中提及的任一部件、数据或结构,在没有明确限定或者在前后文给出相反启示的情况下,一般可以理解为一个或多个。It should also be understood that any component, data, or structure mentioned in the embodiments of the present disclosure may be generally understood as one or more if it is not clearly defined or given the opposite enlightenment in the foregoing.
还应理解,本公开对各个实施例的描述着重强调各个实施例之间的不同之处,其相同或相似之处可以相互参考,为了简洁,不再一一赘述。It should also be understood that the description of the embodiments of the present disclosure emphasizes the differences between the embodiments, and the same or similarities can be referred to each other, and for the sake of brevity, they will not be described one by one.
同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。The following description of at least one exemplary embodiment is actually merely illustrative, and in no way serves as any limitation to the present disclosure and its application or use.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and equipment known to those of ordinary skill in the related art may not be discussed in detail, but where appropriate, the techniques, methods and equipment should be considered as part of the specification.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that similar reference numerals and letters indicate similar items in the following drawings, so once an item is defined in one drawing, there is no need to discuss it further in subsequent drawings.
另外,公开中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本公开中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and / or" in the disclosure is just an association relationship describing the association object, indicating that there may be three kinds of relationships, for example, A and / or B, which may mean: there is A alone, A and B exist at the same time There are three cases of B alone. In addition, the character “/” in the present disclosure generally indicates that the related objects before and after are in an “or” relationship.
本公开实施例可以应用于终端设备、计算机系统、服务器、车载设备等电子设备,其可与众多其它通用或专用计算系统环境或配置一起操作。适于与终端设备、计算机系统、服务器、车载设备等电子设备一起使用的众所周知的终端设备、计算系统、环境和/或配置的例子包括但不限于:车载设备、个人计算机系统、服务器计算机系统、瘦客户机、厚客户机、手持或膝上设备、基于微处理器的系统、机顶盒、可编程消费电子产品、网络个人电脑、小型计算机系统﹑大型计算机系统、车载设备和包括上述任何系统的分布式云计算技术环境,等等。The embodiments of the present disclosure can be applied to electronic devices such as terminal devices, computer systems, servers, vehicle-mounted devices, etc., which can operate together with many other general-purpose or special-purpose computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments, and / or configurations suitable for use with terminal devices, computer systems, servers, vehicle-mounted devices, and other electronic devices include, but are not limited to: vehicle-mounted devices, personal computer systems, server computer systems, Thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, mainframe computer systems, in-vehicle equipment, and distribution including any of the above Cloud computing technology environment, etc.
终端设备、计算机系统、服务器、车载设备等电子设备可以在由计算机系统执行的计算机系统可执行指令(诸如程序模块)的一般语境下描述。通常,程序模块可以包括例程、程序、目标程序、组件、逻辑、数据结构等等,它们执行特定的任务或者实现特定的抽象数据类型。计算机系统/服务器可以在分布式云计算环境中实施,分布式云计算环境中,任务是由通过通信网络链接的远程处理设备执行的。在分布式云计算环境中,程序模块可以位于包括存储设备的本地或远程计算系统存储介质上。Electronic devices such as terminal devices, computer systems, servers, in-vehicle devices, etc. may be described in the general context of computer system executable instructions (such as program modules) executed by the computer system. Generally, program modules may include routines, programs, target programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. The computer system / server can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.
本公开实施例提出一种车道线检测方法,使用经过大量标注数据训练得到的神经网络得到路面图像中各像素点属于车道线的概率图,并根据车道线的概率图确定路面图像中的车道线,通过该端到端的方法不仅可以在一些简单的场景下,例如天气条件和光照条件都较好的场景下,得到准确的车道线检测结果,在复杂度较高的场景下,例如在雨天、夜晚、隧道等场景下,也能够得到准确的车道线检测结果。An embodiment of the present disclosure proposes a lane line detection method. A neural network trained through a large amount of labeled data is used to obtain a probability map of each pixel in the road image belonging to the lane line, and the lane line in the road image is determined according to the probability map of the lane line , The end-to-end method can not only get accurate lane line detection results in some simple scenes, such as scenes with good weather conditions and lighting conditions, but also in scenes with high complexity, such as rainy days, In scenes such as nights and tunnels, accurate lane line detection results can also be obtained.
本公开各实施例中的神经网络,分别可以是一个多层神经网络(即:深度神经网络),其中的神经网络可以是多层的卷积神经网络,例如可以是LeNet、AlexNet、GoogLeNet、VGG、ResNet等任意神经网络模型。各神经网络可以采用相同类型和结构的神经网络,也可以采用不同类型和/或结构的神经网络。本公开实施例不对此进行限制。The neural networks in the embodiments of the present disclosure may be a multi-layer neural network (ie, deep neural network), wherein the neural network may be a multi-layer convolutional neural network, for example, LeNet, AlexNet, GoogLeNet, VGG , ResNet and other arbitrary neural network models. Each neural network may use a neural network of the same type and structure, or a neural network of a different type and / or structure. The embodiments of the present disclosure do not limit this.
图1为本公开实施例提供的车道线检测方法的场景示意图。如图1所示,该方法可以适用于安装有车载设备的车辆。其中,该车载设备可以是安装在车辆上的摄像头或者行车记录仪等具有拍摄功能的设备。当车辆位于路面上时,通过车辆上的车载设备采集路面图像,并基于本公开实施例的方法检测车辆所在路面上的车道线,进而使得检测结果可以应用于车辆的辅助驾驶或者自动驾驶中。FIG. 1 is a schematic diagram of a scene of a lane line detection method provided by an embodiment of the present disclosure. As shown in FIG. 1, this method can be applied to vehicles equipped with in-vehicle devices. Wherein, the vehicle-mounted device may be a device with a shooting function such as a camera or a driving recorder installed on the vehicle. When the vehicle is on the road surface, the road surface image is collected by the vehicle-mounted device on the vehicle, and the lane line on the road surface where the vehicle is located is detected based on the method of the embodiment of the present disclosure, so that the detection result can be applied to assisted driving or automatic driving of the vehicle.
图2为本公开实施例提供的车道线检测方法一实施例的流程示意图,如图2所示,该方法包括:FIG. 2 is a schematic flowchart of an embodiment of a lane line detection method according to an embodiment of the present disclosure. As shown in FIG. 2, the method includes:
S201、获取车辆上安装的车载设备所采集的路面图像。S201. Acquire a road surface image collected by an on-board device installed on the vehicle.
可选的,安装在车辆上的车载设备可以实时采集车辆行驶路面上的路面图像,进而,可以持续将车载设备所采集到的路面图像输入到神经网络中,得到不断更新的车道线检测结果。Optionally, the vehicle-mounted device installed on the vehicle can collect the road surface image on the road surface of the vehicle in real time, and further, the road surface image collected by the vehicle-mounted device can be continuously input into the neural network to obtain continuously updated lane line detection results.
在一个可选示例中,该S201可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的第一获取模块801执行。In an optional example, S201 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the first obtaining module 801 executed by the processor.
S202、将上述路面图像输入神经网络,并经上述神经网络输出上述路面图像对应的M个概率图,该M个概率图包括N个车道线概率图和M-N个非车道线概率图,该N个车道线概率图分别对应路面上的N条车道线,用于表示上述路面图像中的像素点属于对应的车道线的概率,上述M-N个非车道线概率图对应路面上的非车道线,用于表示上述路面图像中的像素点属于非车道线的概率。S202. Input the road surface image into the neural network, and output M probability maps corresponding to the road surface image through the neural network. The M probability maps include N lane line probability maps and MN non-lane line probability maps. The N The lane line probability maps respectively correspond to N lane lines on the road surface, and are used to represent the probabilities that the pixels in the road surface image belong to the corresponding lane lines. The MN non-lane line probability maps correspond to the non-lane lines on the road surface. It indicates the probability that the pixels in the road surface image belong to non-lane lines.
其中,N为正整数,M为大于N的整数。Among them, N is a positive integer, M is an integer greater than N.
可选的,上述神经网络可以包括但不限于卷积神经网络。Optionally, the above neural network may include but is not limited to a convolutional neural network.
可选的,上述神经网络预先采用包括由车道线和/或非车道线标注信息的路面训练图像集监督训练而得。该路面训练图像集中包括大量的训练用图像。每个训练用图像经由采集实际路面图像以及进行标注的过程获得。可选的,首先采集白天、夜晚、雨天、隧道等多种场景下的实际路面图像,进而,对于每幅实际路面图像,进行像素级的标注,即标注实际路面图像中每个像素点的类别为车道线或非车道线,从而得到训练用图像。由于神经网络是经丰富场景采集的训练图像监督训练而得,因此,训练完成后的神经网络不仅可以在一些简单的场景下,例如天气条件和光照条件都较好的白天场景下,得到准确的车道线检测结果,在复杂度较高的场景下,例如在雨天、夜晚、隧道等场景下,也能够得到准确的车道线检测结果。Optionally, the neural network is pre-trained using road surface training image sets including information marked by lane lines and / or non-lane lines. The road training image set includes a large number of training images. Each training image is obtained through the process of collecting actual road images and marking. Optionally, first collect the actual road surface images in various scenarios such as day, night, rain, tunnel, etc., and then, for each actual road surface image, perform pixel-level annotation, that is, mark the category of each pixel in the actual road surface image It is a lane line or a non-lane line to obtain an image for training. Since the neural network is obtained by supervising the training images collected by the rich scenes, the trained neural network can not only get accurate results under some simple scenes, such as daytime scenes with good weather conditions and lighting conditions. The detection result of the lane line can also obtain accurate detection results of the lane line in scenes with high complexity, such as rainy days, nights, tunnels and other scenes.
上述神经网络的训练过程将在下述实施例中进行详细说明。The training process of the above neural network will be described in detail in the following embodiments.
可选的,上述非车道线可以是指车辆行驶路面上除车道线之外的部分,也可以称为路面背景。示例性的,除车道线之外的路面、路面上的汽车、路面一侧的植物等,都属于路面背景的范畴。Optionally, the above non-lane line may refer to a portion of the road surface of the vehicle other than the lane line, and may also be referred to as a road surface background. Exemplarily, roads other than lane lines, cars on the road, plants on the side of the road, etc., all belong to the category of road background.
作为一种示例,上述M可以等于5,上述N可以等于4。即可以认为车辆行驶路面上有4个车道线,则上述神经网络可以输出5个概率图,其中,该5个概率图中有4个车道线概率图,分别对应路面上的4个车道线,即该4个车道线概率图与路面上的4个车道线 一一对应。除此之外,该5个概率图中有1个非车道线概率图,对应路面上的非车道线。As an example, the aforementioned M may be equal to 5, and the aforementioned N may be equal to 4. That is, it can be considered that there are 4 lane lines on the road surface of the vehicle, and the neural network can output 5 probability maps. Among them, there are 4 lane line probability maps in the 5 probability maps, which respectively correspond to 4 lane lines on the road surface. That is, the four lane line probability maps correspond one-to-one to the four lane lines on the road surface. In addition, there is one non-lane line probability map in the five probability maps, which corresponds to the non-lane line on the road surface.
作为另一种示例,上述M可以等于3,上述N可以等于2。即车辆行驶路面上有2个车道线。相应的,上述神经网络可以输出3个概率图,该3个概率图中有2个车道线概率图,分别对应路面上的2个车道线,即该2个车道线概率图与路面上的2个车道线一一对应。另外,该3个概率图中有1个非车道线概率图,对应路面上的非车道线。As another example, the aforementioned M may be equal to 3, and the aforementioned N may be equal to 2. That is, there are 2 lane lines on the road surface of the vehicle. Correspondingly, the above neural network can output 3 probability maps, and there are 2 lane line probability maps in the 3 probability maps, which respectively correspond to 2 lane lines on the road surface, that is, the 2 lane line probability maps and the 2 on the road surface The lane lines correspond to each other. In addition, there is one non-lane line probability map in the three probability maps, which corresponds to the non-lane line on the road surface.
假设路面上的4个车道线按照从车辆的左侧到右侧的顺序分别为车道线1、车道线2、车道线3和车道线4,上述5个概率图中的4个车道线概率图分别为概率图1、概率图2、概率图3和概率图4。车道线概率图与车道线的对应关系可以为下述表1所示。Assume that the four lane lines on the road surface are lane line 1, lane line 2, lane line 3, and lane line 4 in the order from the left side to the right side of the vehicle, and the four lane line probability maps in the above five probability maps Probability graph 1, probability graph 2, probability graph 3 and probability graph 4 respectively. The corresponding relationship between the lane line probability map and the lane line may be as shown in Table 1 below.
表1Table 1
车道线概率图Lane line probability map 概率图1Probability diagram 1 概率图2 Probability graph 2 概率图3Probability graph 3 概率图4Probability graph 4
车道线Lane line 车道线1Lane Line 1 车道线2 Lane Line 2 车道线3Lane Line 3 车道线4Lane Line 4
即上述神经网络输出的概率图1对应于车道线1、概率图2对应于车道线2,以此类推。That is, the probability map 1 output by the above neural network corresponds to lane line 1, and the probability map 2 corresponds to lane line 2, and so on.
需要说明的是,上述表1仅为车道线概率图与车道线的对应关系的一种示例,在具体实施过程中,车道线概率图与车道线的对应关系可以根据需要灵活设置,本公开实施例对此不做具体限制。It should be noted that the above Table 1 is only an example of the correspondence between the lane line probability map and the lane line. In the specific implementation process, the correspondence relationship between the lane line probability map and the lane line can be flexibly set according to needs. Examples do not make specific restrictions on this.
进而,示例性的,基于上述表1所示的对应关系,概率图1可以标识路面图像中的每个像素点属于车道线1的概率。假设路面图像使用200*200大小的矩阵表示,将该矩阵输入上述神经网络之后,可以输出一个200*200大小的矩阵,其中,矩阵中的每个元素的值即为对应像素点属于车道线1的概率。例如,神经网络输出的200*200大小的矩阵中,第1行第1列的值为0.4,则说明路面图像中第1行第1列的像素点属于车道线1的概率为0.4。进而,神经网络所输出的矩阵可以以车道线概率图的形式表示。Furthermore, exemplarily, based on the correspondence shown in Table 1 above, the probability map 1 can identify the probability that each pixel in the road surface image belongs to the lane line 1. Assuming that the road surface image is represented by a 200 * 200 size matrix, after inputting the matrix into the above neural network, a 200 * 200 size matrix can be output, where the value of each element in the matrix is that the corresponding pixel belongs to the lane line 1 The probability. For example, in the 200 * 200 size matrix output by the neural network, the value of the first row and first column is 0.4, which means that the probability that the pixel of the first row and first column in the road image belongs to the lane line 1 is 0.4. Furthermore, the matrix output by the neural network can be expressed in the form of a lane line probability map.
在一个可选示例中,该S202可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的第二获取模块802执行。In an optional example, S202 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the second obtaining module 802 executed by the processor.
S203、根据上述车道线概率图,确定上述路面图像中的车道线。S203. Determine the lane line in the road surface image according to the lane line probability map.
经过上述步骤之后,可以确定出路面图像中每个像素点属于每个车道线的概率,基于这些概率,即可确定出路面图像中的车道线。After the above steps, the probability that each pixel in the road image belongs to each lane line can be determined, and based on these probabilities, the lane line in the road image can be determined.
在一个可选示例中,该S203可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的第一确定模块803执行。In an optional example, S203 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the first determining module 803 executed by the processor.
可选的,神经网络所输出的N个车道线概率图分别对应于路面上的N条车道线,针对每个车道线概率图,可以按照预的条件选择其中的一部分像素点,通过对这些像素点拟合出车道线概率图所对应的车道线,从而得到N条车道线。Optionally, the N lane line probability maps output by the neural network respectively correspond to the N lane line lines on the road surface. For each lane line probability map, some of the pixel points can be selected according to pre-conditions. Point fitting the lane line corresponding to the lane line probability map to obtain N lane lines.
本实施例中,使用包括有车道线和/或非车道线标注信息的路面训练图像训练得到的神经网络得到路面图像中各像素点属于对应车道线的概率图,并根据车道线的概率图确定路面图像中的车道线,从而实现在复杂度较高的场景下也能够得到准确的车道线检测结果。另外,本实施例中的M个概率图中包括了非车道线概率图,即在车道线类别之外增加了非车道线类别,因此可以提高路面图像分割的准确性,进而提高车道线检测结果的准确性。In this embodiment, a neural network trained using a road training image including lane line and / or non-lane line annotation information is used to obtain a probability map of each pixel in the road image belonging to the corresponding lane line, and is determined according to the probability map of the lane line The lane line in the road surface image, so that the accurate lane line detection result can be obtained even in the scene with higher complexity. In addition, the M probability maps in this embodiment include non-lane line probability maps, that is, non-lane line categories are added in addition to the lane line categories, so the accuracy of road image segmentation can be improved, thereby improving the lane line detection results Accuracy.
可选的,如前所述,上述M个概率图中的N个概率图对应于路面上的N条车道线,则可选的,上述N个车道线概率图中的第L个车道线概率图对应第L条车道线,L为大于等于1小于等于M的任意一个整数,即第L个车道线概率图为N个车道线概率图中的任意一个车道线概率图。Optionally, as mentioned above, the N probability maps in the M probability maps correspond to N lane lines on the road surface, then optionally, the Lth lane line probability in the N lane line probability maps The graph corresponds to the Lth lane line, L is any integer greater than or equal to 1 and less than or equal to M, that is, the Lth lane line probability map is any lane line probability map of the N lane line probability maps.
对于上述第L个车道线概率图,可以基于该概率图中概率值大于等于预设阈值的多个像素点来拟合第L条车道线。For the above Lth lane line probability map, the Lth lane line may be fitted based on a plurality of pixels with a probability value greater than or equal to a preset threshold in the probability map.
可选的,响应于第L个车道线概率图中包括有概率值大于等于预设阈值的多个像素点,概率值大于等于预设阈值的多个像素点拟合第L条车道线。Optionally, in response to the Lth lane line probability map including a plurality of pixels with a probability value greater than or equal to a preset threshold, a plurality of pixels with a probability value greater than or equal to the preset threshold are fitted to the Lth lane line.
首先,将路面图像输入神经网络之后,在神经网络输出的第L个车道线概率图中,每个像素点均具有一个概率值,如果概率值大于等于预设阈值,则说明该像素点属于第L个车道线的概率较大。First, after the road surface image is input to the neural network, in the Lth lane line probability map output by the neural network, each pixel has a probability value. If the probability value is greater than or equal to the preset threshold, it means that the pixel belongs to the The probability of L lane lines is larger.
进而,从第L个车道线概率图中选择出概率值大于等于预设阈值的多个像素点之后,可以对这些选择出的像素点进行求最大连通域的计算,进而,基于最大连通域进行车道线拟合,从而可以得到路面图像中的车道线。Furthermore, after selecting multiple pixels with a probability value greater than or equal to a preset threshold from the Lth lane line probability map, the selected pixels can be calculated for the maximum connected domain, and then based on the maximum connected domain Lane line fitting, so that the lane line in the road image can be obtained.
示例性的,上述预设阈值例如可以是0.5。Exemplarily, the preset threshold may be 0.5, for example.
在一个示例中,假设第L个车道线概率图包括三个像素点的概率值,其中,像素点A的概率值为0.5,像素点B的概率值为0.6,像素点C的概率值为0.2,即像素点A和像素点B的概率值大于预设阈值,则可以通过像素点A和像素点B拟合出第L条车道线。In an example, assume that the Lth lane line probability map includes the probability values of three pixels, where the probability value of pixel A is 0.5, the probability value of pixel B is 0.6, and the probability value of pixel C is 0.2 That is, the probability value of pixel point A and pixel point B is greater than the preset threshold, then the Lth lane line can be fitted through pixel point A and pixel point B.
在另一种情况下,如果第L个车道线概率图不满足包括有概率值大于等于预设阈值的多个像素点的条件,则说明当前路面图像中不存在第L个车道线概率图所对应的第L个车道线。In another case, if the Lth lane line probability map does not satisfy the condition that includes multiple pixels with a probability value greater than or equal to the preset threshold, it means that the Lth lane line probability map does not exist in the current road surface image. Corresponding Lth lane line.
在具体实施过程中,可能存在同一个像素点在多个概率图中的概率值均大于等于预设阈值的情况,在这种情况下,可以按照如下方式处理。In a specific implementation process, there may be a case where the probability values of the same pixel point in multiple probability maps are all greater than or equal to a preset threshold value. In this case, it can be handled as follows.
可选的,响应于第一像素点在多个车道线概率图中对应的多个概率值均大于等于预设阈值,将上述第一像素点作为拟合第一车道线时的像素点,其中,上述第一车道线为上述多个概率值中最大概率值所对应的车道线概率图所对应的车道线。Optionally, in response to the multiple probability values corresponding to the first pixel point in the multiple lane line probability maps are all greater than or equal to the preset threshold, the first pixel point is used as the pixel point when fitting the first lane line, wherein , The first lane line is the lane line corresponding to the lane line probability map corresponding to the maximum probability value among the multiple probability values.
示例性的,假设上述预设阈值为0.5,神经网络共输出4个车道线概率图,上述第一像素点在第1个车道线概率图中的概率值为0.5,在第2个车道线概率图中的概率值为0.6,在第3个车道线概率图中的概率为0.7,在第4个车道线概率图中的概率为0.2,即第一像素点在第1、2、3个车道线概率图中的概率均大于等于预设阈值,此时,可以认为第一像素点属于第3个车道线概率图对应的车道线,即使用第一像素点拟合第3个车道线概率图所对应的车道线。Exemplarily, assuming that the preset threshold is 0.5, the neural network outputs a total of 4 lane line probability maps. The probability value of the first pixel in the first lane line probability map is 0.5, and the probability of the second lane line probability is 0.5. The probability value in the figure is 0.6, the probability in the third lane line probability map is 0.7, and the probability in the fourth lane line probability map is 0.2, that is, the first pixel is in the first, second, and third lanes The probabilities in the line probability map are greater than or equal to the preset threshold. At this time, it can be considered that the first pixel belongs to the lane line corresponding to the third lane line probability map, that is, the first pixel point is used to fit the third lane line probability map The corresponding lane line.
通过上述处理,可以达到有效去除噪声的目的,避免出现一个像素点属于多个车道线的情况。Through the above processing, the purpose of effectively removing noise can be achieved, and a situation where one pixel point belongs to multiple lane lines can be avoided.
另一实施例中,如前所述,上述M个概率图中的M-N个概率图对应于路面上的非车道线,则可选的,上述M-N个车道线概率图中的第S个车道线概率图对应非车道线,S为大于等于1小于等于M-N的任意一个整数,即第S个非车道线概率图为上述M-N个非车道线概率图中的任一个非车道线概率图。In another embodiment, as described above, the MN probability maps in the M probability maps correspond to non-lane lines on the road surface, and optionally, the S-th lane line in the MN lane line probability maps is optional. The probability map corresponds to the non-lane line, and S is any integer greater than or equal to 1 and less than or equal to MN, that is, the S-th non-lane line probability map is any one of the MN non-lane line probability maps.
对于上述第S个车道线概率图,可以基于该概率图中概率值大于等于预设阈值的多个像素点来确定非车道线。For the above S-th lane line probability map, the non-lane line may be determined based on a plurality of pixels with a probability value greater than or equal to a preset threshold in the probability map.
可选的,响应于第S个非车道线概率图中包括有概率值大于等于预设阈值的多个像素点,根据概率值大于等于预设阈值的多个像素点确定非车道线。Optionally, in response to the S-th non-lane line probability map including a plurality of pixels with a probability value greater than or equal to a preset threshold, the non-lane line is determined according to a plurality of pixels with a probability value greater than or equal to the preset threshold.
首先,将路面图像输入神经网络之后,在神经网络输出的第S个非车道线概率图中,每个像素点均具有一个概率值,如果概率值大于等于预设阈值,则说明该像素点属于非车道线的概率较大。First, after the road surface image is input to the neural network, in the Sth non-lane line probability map output by the neural network, each pixel has a probability value. If the probability value is greater than or equal to the preset threshold, it means that the pixel belongs to The probability of non-lane lines is greater.
进而,从第S个车道线概率图中选择出概率值大于等于预设阈值的多个像素点之后,可以对这些选择出的像素点进行例如求最大连通域的计算,从而得到路面图像中的非车道线区域。Furthermore, after selecting a plurality of pixels with a probability value greater than or equal to a preset threshold from the Sth lane line probability map, the selected pixels can be calculated, for example, to find the maximum connected domain to obtain the road surface image. Non-lane line area.
示例性的,上述预设阈值例如可以是0.5。Exemplarily, the preset threshold may be 0.5, for example.
在一个示例中,假设第S个非车道线概率图包括三个像素点的概率值,其中,像素点A的概率值为0.5,像素点B的概率值为0.6,像素点C的概率值为0.2,即像素点A和像素点B的概率值大于预设阈值,则可以通过像素点A和像素点B确定路面图像中的非车道线。In an example, assume that the Sth non-lane line probability map includes the probability values of three pixels, where the probability value of pixel A is 0.5, the probability value of pixel B is 0.6, and the probability value of pixel C is 0.2, that is, the probability value of the pixel point A and the pixel point B is greater than the preset threshold, then the non-lane line in the road surface image can be determined by the pixel point A and the pixel point B.
进一步的,当经过上述实施例确定出路面图像中的车道线之后,可选的,还可以根据上述路面图像中的像素点所属的车道线,将上述路面图像中的像素点的颜色调整为上述所属的车道线对应的颜色,提高可视效果。Further, after the lane line in the road surface image is determined through the foregoing embodiment, optionally, the color of the pixel point in the road surface image may be adjusted to the above according to the lane line to which the pixel point in the road surface image belongs. The corresponding color of the lane line to improve the visual effect.
图3为本公开实施例提供的车道线检测方法另一实施例的流程示意图,如图3所示,上述方法还包括:FIG. 3 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure. As shown in FIG. 3, the above method further includes:
S301、对上述M个概率图进行融合处理,得到一个目标概率图。S301. Perform fusion processing on the above M probability maps to obtain a target probability map.
上述M个概率图分别对应一个车道线或者非车道线,使用该M个概率图分别拟合出每个车道线以及确定出车道线之后,可以将该M个概率图融合成一个目标概率图。该目标概率图中包含了每条车道线的信息以及非车道线的信息。The M probability maps respectively correspond to a lane line or a non-lane line. After using the M probability maps to fit each lane line and determine the lane line, the M probability maps can be fused into a target probability map. The target probability map contains information for each lane line and information for non-lane lines.
在一个可选示例中,该S301可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的融合模块804执行。In an optional example, S301 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the fusion module 804 executed by the processor.
S302、将上述目标概率图中与第一车道线概率图对应的像素点的像素值调整为与上述第一车道线概率图对应的预设像素值。S302. Adjust pixel values of pixels corresponding to the first lane line probability map in the target probability map to preset pixel values corresponding to the first lane line probability map.
其中,上述第一车道线概率图为上述N个车道线概率图中的任一个车道线概率图,上述与第一车道线概率图对应的像素点为在上述第一车道线概率图中组成拟合的车道线的像素点。Wherein, the first lane line probability map is any lane line probability map in the N lane line probability maps, and the pixel points corresponding to the first lane line probability map are composed in the first lane line probability map. Pixels of the combined lane line.
在一个可选示例中,该S302可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的调整模块805执行。In an optional example, S302 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the adjustment module 805 executed by the processor.
可选的,在由上述实施例拟合出第一车道线概率图对应的车道线后,即确定出组成第一车道线概率图对应的车道线的像素点,在本步骤中,在所融合出的概率图中将组成第一车道线概率图对应的车道线的每个像素点的像素值均设置为与该车道线对应的颜色。Optionally, after fitting the lane line corresponding to the first lane line probability map by the above embodiment, the pixels constituting the lane line corresponding to the first lane line probability map are determined. In this step, the fused The resulting probability map sets the pixel value of each pixel of the lane line corresponding to the first lane line probability map to the color corresponding to the lane line.
示例性的,可以预先设置每个车道线对应的颜色,例如,路面上有4个车道线,则可以分别设置该4个车道线的颜色分别为红、黄、蓝、紫,当经过上述过程得到目标概率图之后,将组成每条车道线的每个像素点的像素值分别设置为对应的颜色,设置之后,即可得到通过红、黄、蓝、紫四种颜色所显示的4个车道线。Exemplarily, the color corresponding to each lane line may be set in advance. For example, if there are 4 lane lines on the road surface, the colors of the 4 lane lines may be set to red, yellow, blue, and purple, respectively. After obtaining the target probability map, set the pixel value of each pixel that constitutes each lane line to the corresponding color. After setting, you can get 4 lanes displayed in four colors of red, yellow, blue, and purple line.
本实施例中,通过第一车道线概率图对应的像素点的像素值调整为与第一车道线概率图对应的预设像素值,可以使得位于车辆内的用户可以更加直观清楚的查看路面上的车道线,提升用户体验。In this embodiment, by adjusting the pixel value of the pixel corresponding to the first lane line probability map to the preset pixel value corresponding to the first lane line probability map, the user in the vehicle can view the road surface more intuitively and clearly Lane lanes to enhance user experience.
在上述实施例的基础上,本实施例涉及通过车道线概率图的过程。Based on the above-mentioned embodiment, this embodiment relates to the process of passing the lane line probability map.
图4为本公开实施例提供的车道线检测方法又一实施例的流程示意图,如图4所示,上述步骤S202包括:FIG. 4 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure. As shown in FIG. 4, the above step S202 includes:
S401、通过上述神经网络的至少一个卷积层提取上述路面图像的M个通道的低层特征信息。S401. Extract low-level feature information of the M channels of the road surface image through at least one convolutional layer of the neural network.
可选的,通过卷积层可以缩小路面图像的分辨率,并保留路面图像的低层特征。Optionally, the convolutional layer can reduce the resolution of the road surface image and retain the low-level features of the road surface image.
示例性的,路面图像的低层特征信息可以包括图像中的边缘信息、直线信息以及曲线信息等。Exemplarily, the low-level feature information of the road surface image may include edge information, straight line information, and curve information in the image.
可选的,上述路面图像的M个通道分别对应一种车道线类别,其中,假设路面上有4个车道线,则车道线类别有5种,分别为车道线1、车道线2、车道线3、车道线4和非车道线。Optionally, the M channels of the above road surface image respectively correspond to one lane line category, where, assuming there are 4 lane lines on the road surface, there are 5 lane line categories, namely lane line 1, lane line 2, lane line 3. Lane line 4 and non-lane line.
在一个可选示例中,该S401可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的第一获取单元8021执行。In an optional example, S401 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the first obtaining unit 8021 executed by the processor.
S402、通过上述神经网络的至少一个残差提取层基于上述M个通道低层特征信息提取上述路面图像的M个通道的高层特征信息。S402. Extract, through at least one residual extraction layer of the neural network, high-level feature information of the M channels of the road surface image based on the low-level feature information of the M channels.
可选的,通过残差提取层所提取的路面图像的M个通道的高层特征信息包括语义特征、轮廓、整体结构等。Optionally, the high-level feature information of the M channels of the road surface image extracted through the residual extraction layer includes semantic features, contours, and overall structure.
在一个可选示例中,该S402可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的第二获取单元8022执行。In an optional example, S402 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the second obtaining unit 8022 executed by the processor.
S403、通过上述神经网络的至少一个上采样层对上述M个通道的高层特征信息进行上采样处理,得到与上述路面图像等大的M个概率图。S403. Upsampling the high-level feature information of the M channels through at least one upsampling layer of the neural network to obtain M probability maps that are as large as the road surface image.
可选的,通过上采样层的上采样处理,可以将图像恢复成输入神经网络的图像的原始大小。Optionally, through the upsampling process of the upsampling layer, the image can be restored to the original size of the image input to the neural network.
本步骤中,对M个通道的高层特征信息进行上采样处理后,可以得到与输入神经网络的路面图像等大的M个概率图。In this step, after upsampling the high-level feature information of the M channels, M probability maps that are as large as the road surface image input to the neural network can be obtained.
在一个可选示例中,该S403可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的第三获取单元8023执行。In an optional example, S403 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the third obtaining unit 8023 executed by the processor.
进一步的,可选的,神经网络中在上述上采样层之后还可以包括归一化层,通过归一化层对上采样处理后的结果进行归一化,并输出上述车道线概率图。Further, optionally, the neural network may further include a normalization layer after the above-mentioned upsampling layer. The normalization layer normalizes the result after the upsampling process, and outputs the above-mentioned lane line probability map.
示例性的,经过上采样处理之后得到路面图像的特征图,对该特征图中的各像素点的取值进行归一化处理,使得特征图中的各像素点的取值在0至1范围内,从而得到可行驶区域概率图。Exemplarily, the feature map of the road surface image is obtained after the upsampling process, and the value of each pixel in the feature map is normalized, so that the value of each pixel in the feature map is in the range of 0 to 1 To obtain the probability map of the drivable area.
示例性的,一种归一化方法为:首先确定特征图中像素点取值的最大值,然后将各像素点的取值除以该最大值,从而使得特征图中各像素点的取值在0至1范围内。Exemplarily, a normalization method is: first determine the maximum value of the pixels in the feature map, and then divide the value of each pixel by the maximum value, so that the value of each pixel in the feature map In the range of 0 to 1.
需要说明的是,本公开实施例对上述步骤S401和S402的执行顺序不做限制,即可以先执行S401再执行S402,或者先执行S402再执行S401。It should be noted that the embodiment of the present disclosure does not limit the execution order of the above steps S401 and S402, that is, S401 can be executed before S402, or S402 can be executed before S401.
在上述实施例的基础上,本实施例涉及本实施例涉及上述神经网络的建立训练过程。On the basis of the above-mentioned embodiment, this embodiment relates to this embodiment relates to the training process of establishing the above neural network.
可选的,基于前述的实施例可知,本公开实施例所涉及的神经网络可以为卷积神经网络,卷积神经网络可以包括卷积层、残差提取层、上采样层以及归一化层。其中,卷积层和残差提取层的先后顺序可以根据需要进行灵活设置,另外,各层的数量也可以根据需要进行灵活设置。Optionally, based on the foregoing embodiment, it can be known that the neural network involved in the embodiments of the present disclosure may be a convolutional neural network, and the convolutional neural network may include a convolutional layer, a residual extraction layer, an upsampling layer, and a normalization layer . Among them, the order of the convolutional layer and the residual extraction layer can be flexibly set as needed, and the number of each layer can also be flexibly set as needed.
一种可选的方式中,上述卷积神经网络中可以包括连接的6-10中任意数量个卷积层、连接的7-12中任意数量个残差提取层以及1-4中任意数量个上采样层。In an alternative manner, the above-mentioned convolutional neural network may include any number of convolutional layers in 6-10 connected, any number of residual extraction layers in 7-12 connected, and any number of 1-4 in convolutional neural networks Upsampling layer.
将具有该特定结构的卷积神经网络用于车道线检测时,能够满足多场景或复杂场景车道线检测的要求,从而使得检测结果鲁棒性更好。When the convolutional neural network with this specific structure is used for lane line detection, it can meet the requirements of lane scene detection in multiple scenes or complex scenes, thereby making the detection results more robust.
一种示例中,上述卷积神经网络中可以包括连接的8个卷积层、连接的9个残差提取层以及连接的2个上采样层。In one example, the convolutional neural network may include 8 convolutional layers connected, 9 residual extraction layers connected, and 2 upsampling layers connected.
图5为该示例对应的卷积神经网络的结构示意图,如图5所示,路面图像输入之后,首先经过该卷积神经网络的连续8个卷积层,在该连续的8个卷积层之后,包括连续9个残差提取层,在该连续的9个残差提取层之后,包括连续的2个上采样层,在该连续的2个上采样层之后,为归一化层,即最终由归一化层输出车道线概率图。Figure 5 is a schematic diagram of the structure of the convolutional neural network corresponding to this example. As shown in Figure 5, after the road surface image is input, it first passes through 8 consecutive convolutional layers of the convolutional neural network. After that, it includes 9 consecutive residual extraction layers. After the 9 consecutive residual extraction layers, it includes 2 consecutive upsampling layers. After the 2 consecutive upsampling layers, it is a normalized layer, namely Finally, the normalized layer outputs the lane line probability map.
示例性的,每个上述残差提取层中可以包括256个滤波器,每一层包括128个3*3和128个1*1大小的滤波器。Exemplarily, each of the foregoing residual extraction layers may include 256 filters, and each layer includes 128 filters of 3 * 3 and 128 1 * 1 sizes.
可选的,在使用神经网络确定路面图像对应的车道线概率图之前,可以使用上述的路面训练图像集对上述神经网络进行训练。Optionally, before using the neural network to determine the lane line probability map corresponding to the road surface image, the above road network training image set may be used to train the above neural network.
图6为本公开实施例提供的车道线检测方法再一实施例的流程示意图,如图6所示,上述神经网络的训练过程可以为:FIG. 6 is a schematic flowchart of still another embodiment of a lane line detection method provided by an embodiment of the present disclosure. As shown in FIG. 6, the training process of the above neural network may be:
S601、将上述路面训练图像集包括的训练用图像输入至上述神经网络,获取训练用图像的预测车道线概率图。S601. Input the training image included in the road surface training image set to the neural network, and obtain a predicted lane line probability map of the training image.
其中,上述预测车道线概率图即为神经网络当前所输出的车道线概率图。Wherein, the above predicted lane line probability map is the current lane line probability map output by the neural network.
S602、根据上述预测车道线概率图中所包括的概率值大于等于预设阈值的多个像素点,拟合上述训练用图像的预测车道线。S602: Fit the predicted lane line of the training image according to a plurality of pixel points with a probability value greater than or equal to a preset threshold value included in the predicted lane line probability map.
具体过程可以参照上述根据车道线概率图确定路面图像中的车道线的部分,此处不再赘述。For the specific process, reference may be made to the above-mentioned part of determining the lane line in the road surface image according to the lane line probability map, which will not be repeated here.
S603、获取上述训练用图像的预测车道线与上述训练用图像的车道线真值图中的车道线之间的损失。S603: Acquire the loss between the predicted lane line of the training image and the lane line in the truth map of the lane line of the training image.
其中,上述车道线真值图基于上述训练用像的车道线的标注信息获得。Wherein, the above lane line truth map is obtained based on the label information of the lane line of the training image.
可选的,可以通过采用损失函数,计算预测车道线与车道线真值图中的车道线之间的损失。Alternatively, the loss between the predicted lane line and the lane line in the lane line truth map can be calculated by using a loss function.
S604、根据上述损失调整上述神经网络的网络参数。S604: Adjust the network parameters of the neural network according to the loss.
可选的,神经网络的网络参数可以包括卷积核大小、权重信息等。Optionally, the network parameters of the neural network may include convolution kernel size and weight information.
本步骤中,可以通过梯度反向传播的方式,将上述损失在神经网络中进行反向回传,并调整神经网络的网络参数。In this step, the above-mentioned loss can be back-transmitted in the neural network by means of gradient back propagation, and the network parameters of the neural network can be adjusted.
在一个可选示例中,该S601-S604可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的训练模块执行。In an optional example, the S601-S604 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the training module run by the processor.
经过本步骤之后,即完成一次训练过程,得到新的神经网络。After this step, a training process is completed and a new neural network is obtained.
进一步的,基于该新的神经网络迭代执行上述步骤S601-S604,直至上述预测车道线和上述车道线真值图中的车道线的损失在预设损失范围内,此时即得到训练完成的神经网络。Further, iteratively execute the above steps S601-S604 based on the new neural network until the loss of the predicted lane line and the lane line in the true value map of the lane line is within the preset loss range, at this time the trained nerve is obtained The internet.
示例性的,可每次采用一幅训练用图像对神经网络进行训练,或者,还可一次采用多幅训练用图像对神经网络进行训练。Exemplarily, the neural network may be trained with one training image at a time, or the neural network may be trained with multiple training images at a time.
图7为本公开实施例提供的车道线检测方法再一实施例的流程示意图,如图7所示,在上述训练神经网络之前,还包括:7 is a schematic flowchart of another embodiment of a lane line detection method according to an embodiment of the present disclosure. As shown in FIG. 7, before training the neural network, the method further includes:
S701、采集多个场景下的路面图像。S701. Collect road surface images in multiple scenes.
S702、将对上述多个场景下的路面图像进行车道线标注后所得到的图像作为上述训练用图像。S702. Use the image obtained by labeling the road surface in the multiple scenes as the training image.
其中,上述多个场景可以包括但不限于白天场景、雨天场景、雾天场景、直道场景、弯道场景、隧道场景、强光照场景以及夜晚场景等场景中的至少两个场景。The above multiple scenes may include, but are not limited to, at least two scenes of daytime scenes, rainy scenes, foggy scenes, straight road scenes, curved road scenes, tunnel scenes, strong light scenes, and night scenes.
在一个可选示例中,该S801-S802可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的采集模块806执行。In an optional example, the S801-S802 may be executed by the processor invoking the corresponding instruction stored in the memory, or may also be executed by the collection module 806 executed by the processor.
可选的,可以预先使用车辆上的摄像头等车载设备分别在上述的各个场景下进行路面图像采集,进而,可以通过人工标注等方式对所采集的路面图像上的车道线进行标注,从而得到各个场景下的训练用图像。Optionally, the on-vehicle equipment such as the camera on the vehicle can be used to collect the road surface image in each of the above scenarios. Furthermore, the lane line on the collected road surface image can be marked by manual labeling, etc., to obtain each Training images in the scene.
通过上述过程所得到的训练用图像覆盖了实际中的各种场景,因此,使用这些训练用图像所训练出的神经网络对于各种场景下的车道线检测都具有良好的鲁棒性,并且检测时间短,检测结果准确性高。The training images obtained through the above process cover various scenes in practice. Therefore, the neural networks trained using these training images are very robust to the detection of lane lines in various scenarios, and the detection Short time and high accuracy of test results.
作为一种可选的实施方式,在上述步骤S202将路面图像输入神经网络之前,可以首先对上述路面图像进行去畸变处理,以进一步提升神经网络输出结果的准确性。As an optional implementation manner, before the road surface image is input to the neural network in step S202, the above road surface image may be de-distorted to further improve the accuracy of the output result of the neural network.
在上述各实施例的基础上,进一步的,在确定出路面图像中的车道线之后,还可以将上述路面图像中的车道线映射到世界坐标系中,得到上述路面图像中的车道线在世界坐标系中的位置。Based on the above embodiments, further, after determining the lane line in the road surface image, the lane line in the road surface image can also be mapped to the world coordinate system to obtain the lane line in the road surface image in the world The position in the coordinate system.
可选的,可以分别对路面图像中的每个属于车道线的像素点进行坐标映射,从而得到世界坐标系下的车道线信息,并基于所得到的世界坐标系下的车道线信息进行辅助驾驶或自动驾驶。Optionally, each pixel point belonging to the lane line in the road surface image can be coordinate-mapped to obtain lane line information in the world coordinate system, and assist driving based on the obtained lane line information in the world coordinate system Or autonomous driving.
图8为本公开实施例提供的车道线检测装置一实施例的模块结构图,本公开实施例的车道线检测装置可用于实现本公开上述各车道线检测方法实施例。如图8所示,该装置包括:FIG. 8 is a module structure diagram of an embodiment of a lane line detection device provided by an embodiment of the present disclosure. The lane line detection device of the embodiment of the present disclosure may be used to implement the above embodiments of the lane line detection method of the present disclosure. As shown in Figure 8, the device includes:
第一获取模块801,用于获取车辆上安装的车载设备所采集的路面图像。The first obtaining module 801 is used to obtain the road surface image collected by the vehicle-mounted device installed on the vehicle.
第二获取模块802,用于将所述路面图像输入神经网络,并经所述神经网络输出所述路面图像对应的M个概率图,所述M个概率图包括N个车道线概率图和M-N个非车道线概率图,所述N个车道线概率图分别对应路面上的N条车道线,用于表示所述路面图像中的像素点属于对应的车道线的概率;所述M-N个非车道线概率图对应所述路面上的非车道线,用于表示所述路面图像中的像素点属于非车道线的概率,其中,N为正整数,M为大于N的整数。The second acquisition module 802 is configured to input the road surface image into a neural network, and output M probability maps corresponding to the road surface image via the neural network. The M probability maps include N lane line probability maps and MN Non-lane line probability maps, the N lane-line probability maps respectively correspond to N lane lines on the road surface, and are used to represent the probability that pixels in the road surface image belong to the corresponding lane line; the MN non-lane lines The line probability map corresponds to the non-lane line on the road surface, and is used to represent the probability that the pixel point in the road surface image belongs to the non-lane line, where N is a positive integer and M is an integer greater than N.
第一确定模块803,用于根据所述车道线概率图,确定所述路面图像中的车道线。The first determining module 803 is configured to determine the lane line in the road surface image according to the lane line probability map.
该装置用于实现前述方法实施例,其实现原理和技术效果类似,此处不再赘述。This device is used to implement the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
图9为本公开实施例提供的车道线检测装置另一实施例的模块结构图,如图9所示,第一确定模块803包括:第一确定单元8031,用于在第L个车道线概率图中包括有概率值大于等于预设阈值的多个像素点时,根据概率值大于等于预设阈值的多个像素点拟合第L条车道线,其中,所述第L个车道线概率图为所述N个车道线概率图中的任一个车道线概率图。9 is a module structure diagram of another embodiment of a lane line detection device according to an embodiment of the present disclosure. As shown in FIG. 9, the first determination module 803 includes: a first determination unit 8031, which is used to determine the probability of the Lth lane line When the figure includes multiple pixels with a probability value greater than or equal to a preset threshold, the Lth lane line is fitted according to the multiple pixels with a probability value greater than or equal to the preset threshold, wherein the Lth lane line probability map It is any lane line probability map of the N lane line probability maps.
图10为本公开实施例提供的车道线检测装置又一实施例的模块结构图,如图10所示,第一确定模块803还包括:FIG. 10 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 10, the first determination module 803 further includes:
第一确定单元8032,用于在第一像素点在多个车道线概率图中对应的多个概率值均大于等于预设阈值时,将所述第一像素点作为拟合第一车道线时的像素点,其中,所述第一车道线为所述多个概率值中最大概率值所对应的车道线概率图所对应的车道线。The first determining unit 8032 is configured to use the first pixel point as the first lane line when multiple probability values corresponding to the first pixel point in the multiple lane line probability maps are greater than or equal to a preset threshold The pixel point of, where the first lane line is the lane line corresponding to the lane line probability map corresponding to the largest probability value among the multiple probability values.
图11为本公开实施例提供的车道线检测装置实施例四的模块结构图,如图11示,第一确定模块803还包括:第三确定单元8033,用于在第S个非车道线概率图中包括有概率值大于等于预设阈值的多个像素点时,根据概率值大于等于预设阈值的多个像素点确定非车道线,其中,所述第S个非车道线概率图为所述M-N个非车道线概率图中的任一个非车道线概率图。FIG. 11 is a module structure diagram of Embodiment 4 of a lane line detection device according to an embodiment of the present disclosure. As shown in FIG. 11, the first determination module 803 further includes: a third determination unit 8033, which is used to determine the probability of the Sth non-lane line When the figure includes a plurality of pixels with a probability value greater than or equal to a preset threshold, a non-lane line is determined according to a plurality of pixels with a probability value greater than or equal to a preset threshold, wherein the S-th non-lane line probability map is Describe any of the MN non-lane line probability maps.
图12为本公开实施例提供的车道线检测装置实施例五的模块结构图,如图12所示,还包括:融合模块804,用于对所述M个概率图进行融合处理,得到一个目标概率图。调整模块805,用于将所述目标概率图中与第一车道线概率图对应的像素点的像素值调整为与所述第一车道线概率图对应的预设像素值。其中,所述第一车道线概率图为所述N个车道线概率图中的任一个车道线概率图,所述与第一车道线概率图对应的像素点为在所述第一车道线概率图组成拟合的车道线的像素点。FIG. 12 is a module structure diagram of Embodiment 5 of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 12, it further includes: a fusion module 804, configured to perform fusion processing on the M probability maps to obtain a target Probability diagram. The adjustment module 805 is configured to adjust the pixel value of the pixel corresponding to the first lane line probability map in the target probability map to a preset pixel value corresponding to the first lane line probability map. Wherein, the first lane line probability map is any lane line probability map of the N lane line probability maps, and the pixel corresponding to the first lane line probability map is the probability of the first lane line probability map The graph constitutes the pixel points of the fitted lane line.
图13为本公开实施例提供的车道线检测装置再一实施例的模块结构图,如图13所示,第二获取模块802包括:第一获取单元8021,用于通过所述神经网络的至少一个卷积层提取所述路面图像的M个通道的低层特征信息。第二获取单元8022,用于通过所述神经网络的至少一个残差提取层基于所述M个通道低层特征信息提取所述路面图像的M个通道的高层特征信息。第三获取单元8023,用于通过所述神经网络的至少一个上采样层对所述M个通道的高层特征信息进行上采样处理,得到与所述路面图像等大的M个概率图。FIG. 13 is a module structure diagram of yet another embodiment of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 13, the second acquisition module 802 includes: a first acquisition unit 8021, which is used to pass at least A convolution layer extracts the low-level feature information of the M channels of the road surface image. The second obtaining unit 8022 is configured to extract the high-level feature information of the M channels of the road surface image based on the M-channel low-level feature information through at least one residual extraction layer of the neural network. The third obtaining unit 8023 is configured to up-sample the high-level feature information of the M channels through at least one up-sampling layer of the neural network to obtain M probability maps equal to the road surface image.
另一实施例中,所述至少一个卷积层包括连接的6-10中任意数量个卷积层,所述至少一个残差提取层包括连接的7-12中任意数量个残差提取层,所述至少一个上采样层包括连接的1-4中任意数量个上采样层。In another embodiment, the at least one convolutional layer includes any number of contiguous 6-10 convolutional layers, and the at least one residual extraction layer includes any number of contiguous 7-12 residual extraction layers, The at least one upsampling layer includes any number of connected upsampling layers in 1-4.
在本公开另一实施例的车道线检测装置中,还包括:训练模块(图中未示出),用于采用包括有车道线和/或非车道线标注信息的路面训练图像集监督训练得到所述神经网络。In another embodiment of the present disclosure, the lane line detection device further includes: a training module (not shown in the figure), which is used to supervise and train a road training image set including lane line and / or non-lane line annotation information The neural network.
另一实施例中,所述训练模块用于:将所述路面训练图像集包括的训练用图像输入至所述神经网络,获取所述训练用图像的预测车道线概率图;根据所述预测车道线概率图中所包括的概率值大于等于预设阈值的多个像素点,拟合所述训练用图像的预测车道线;获取所述训练用图像的预测车道线与所述训练用图像的车道线真值图中的车道线之间的损 失,其中,所述车道线真值图基于所述训练用像的车道线的标注信息获得;根据所述损失调整所述神经网络的网络参数。In another embodiment, the training module is configured to: input training images included in the road surface training image set to the neural network to obtain a predicted lane line probability map of the training images; according to the predicted lanes A plurality of pixels with a probability value greater than or equal to a preset threshold value included in the line probability map, fitting the predicted lane line of the training image; acquiring the predicted lane line of the training image and the lane of the training image Loss between lane lines in a line truth map, where the lane line truth map is obtained based on the labeling information of the lane lines of the training image; the network parameters of the neural network are adjusted according to the losses.
图14为本公开实施例提供的车道线检测装置再一实施例的模块结构图,如图14所示,还包括:采集模块806,用于采集多个场景下的路面图像,以及,将对所述多个场景下的路面图像进行车道线标注后所得到的图像作为训练用图像。其中,所述多个场景可以包括但不限于雨天场景、雾天场景、直道场景、弯道场景、隧道场景、强光照场景以及夜晚场景等场景中的至少两个场景。14 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 14, it further includes: an acquisition module 806, which is used to acquire road surface images in multiple scenes, and The road surface images in the plurality of scenes are obtained by labeling lane lines as training images. Wherein, the plurality of scenes may include, but not limited to, at least two scenes in rainy scenes, foggy scenes, straight road scenes, curved road scenes, tunnel scenes, strong light scenes, and night scenes.
图15为本公开实施例提供的车道线检测装置再一实施例的模块结构图,如图15所示,还包括:预处理模块807,用于对所述路面图像进行去畸变处理。FIG. 15 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 15, it further includes: a preprocessing module 807, configured to perform distortion-removing processing on the road surface image.
图16为本公开实施例提供的车道线检测装置再一实施例的模块结构图,如图16所示,还包括:映射模块808,用于将所述路面图像中的车道线映射到世界坐标系中,得到所述路面图像中的车道线在世界坐标系中的位置。FIG. 16 is a module structure diagram of another embodiment of a lane line detection device provided by an embodiment of the present disclosure. As shown in FIG. 16, it further includes: a mapping module 808 for mapping the lane line in the road surface image to world coordinates In the system, the position of the lane line in the road surface image in the world coordinate system is obtained.
图17为本公开实施例提供的一种电子设备的实体框图,如图17所示,该电子设备1700包括:FIG. 17 is a physical block diagram of an electronic device according to an embodiment of the present disclosure. As shown in FIG. 17, the electronic device 1700 includes:
存储器1701,用于存储程序指令。The memory 1701 is used to store program instructions.
处理器1702,用于调用并执行存储器1701中的程序指令,执行本公开任一实施例所述的方法步骤。The processor 1702 is configured to call and execute program instructions in the memory 1701 to execute the method steps described in any embodiment of the present disclosure.
图18为本公开实施例提供的驾驶控制方法的流程示意图,在上述实施例的基础上,本公开实施例还提供一种驾驶控制方法,包括:FIG. 18 is a schematic flowchart of a driving control method provided by an embodiment of the present disclosure. Based on the foregoing embodiment, an embodiment of the present disclosure also provides a driving control method, including:
S1801、驾驶控制装置获取路面图像的车道线检测结果。S1801: The driving control device acquires the lane line detection result of the road surface image.
在一个可选示例中,该S1801可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的获取模块1901执行。In an optional example, the S1801 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the obtaining module 1901 executed by the processor.
S1802、驾驶控制装置根据所述车道线检测结果输出提示信息和/或对车辆进行智能驾驶控制。S1802. The driving control device outputs prompt information according to the lane line detection result and / or performs intelligent driving control on the vehicle.
在一个可选示例中,该S201可以由处理器调用存储器存储的相应指令执行,也可以由被处理器运行的驾驶控制模块1902执行。In an optional example, the S201 may be executed by the processor invoking the corresponding instruction stored in the memory, or may be executed by the driving control module 1902 executed by the processor.
本实施例的执行主体是驾驶控制装置,本实施例的驾驶控制装置和上述实施例所述的电子设备可以位于同一设备中,也可以单独设备在不同的设备中。其中本实施例的驾驶控制装置与上述的电子设备之间通信连接。The execution subject of this embodiment is a driving control device. The driving control device of this embodiment and the electronic device described in the foregoing embodiment may be located in the same device, or may be separate devices in different devices. Among them, the driving control device of this embodiment is communicatively connected with the above-mentioned electronic device.
其中,路面图像的车道线检测结果为上述实施例的车道线检测方法得到,具体过程参照上述实施例的描述,在此不再赘述。Wherein, the detection result of the lane line of the road surface image is obtained by the detection method of the lane line of the above embodiment, and the specific process refers to the description of the above embodiment, which will not be repeated here.
可选的,电子设备执行上述的车道线检测方法,获得路面图像的车道线检测结果,并将路面图像的车道线检测结果输出。驾驶控制装置获取路面图像的车道线检测结果,并根据路面图像的车道线检测结果输出提示信息和/或对车辆进行智能驾驶控制。Optionally, the electronic device executes the above lane line detection method, obtains the lane line detection result of the road surface image, and outputs the lane line detection result of the road surface image. The driving control device acquires the lane line detection result of the road surface image, and outputs prompt information and / or performs intelligent driving control on the vehicle according to the lane line detection result of the road surface image.
其中,提示信息可以包括车道线偏离预警提示,或者,进行车道线保持提示等。The prompt information may include a warning warning of lane line departure, or a reminder of keeping lane line.
本实施例的智能驾驶包括辅助驾驶和/或自动驾驶。The intelligent driving in this embodiment includes assisted driving and / or automatic driving.
上述智能驾驶控制可以包括:制动、改变行驶速度、改变行驶方向、车道线保持、改变车灯状态、驾驶模式切换等,其中,驾驶模式切换可以是辅助驾驶与自动驾驶之间的切换,例如,将辅助驾驶切换为自动驾驶。The above-mentioned intelligent driving control may include: braking, changing the driving speed, changing the driving direction, keeping lane lines, changing the state of the lights, driving mode switching, etc., wherein the driving mode switching may be switching between assisted driving and automatic driving, for example To switch from assisted driving to automatic driving.
本实施例提供的驾驶控制方法,驾驶控制装置通过获取路面图像的车道线检测结果,并根据路面图像的车道线检测结果输出提示信息和/或对车辆进行智能驾驶控制,进而提高了智能驾驶的安全性和可靠性。In the driving control method provided in this embodiment, the driving control device obtains the lane line detection result of the road surface image, and outputs prompt information and / or performs intelligent driving control on the vehicle according to the lane line detection result of the road surface image, thereby improving the intelligent driving Safety and reliability.
图19为本公开实施例提供的驾驶控制装置的结构示意图,在上述实施例的基础上,本公开实施例的驾驶控制装置1900,包括:FIG. 19 is a schematic structural diagram of a driving control device provided by an embodiment of the present disclosure. Based on the foregoing embodiment, the driving control device 1900 of the embodiment of the present disclosure includes:
获取模块1901,用于获取路面图像的车道线检测结果,所述路面图像的车道线检测结 果采用如上述任一实施例的车道线检测方法得到;The obtaining module 1901 is used to obtain a lane line detection result of a road surface image. The lane line detection result of the road surface image is obtained by using the lane line detection method as in any of the above embodiments;
驾驶控制模块1902,用于根据所述车道线检测结果输出提示信息和/或对车辆进行智能驾驶控制。The driving control module 1902 is configured to output prompt information according to the lane line detection result and / or perform intelligent driving control on the vehicle.
本公开实施例的驾驶控制装置,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The driving control device of the embodiment of the present disclosure may be used to execute the technical solutions of the above-described method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
图20为本公开实施例提供的智能驾驶系统的示意图,如图20所示,本实施例的智能驾驶系统2000包括:通信连接的相机2001、电子设备1700和驾驶控制装置1900,其中电子设备1700如图17所示,驾驶控制装置1900如图19所示,相机2001用于拍摄路面图像。FIG. 20 is a schematic diagram of an intelligent driving system provided by an embodiment of the present disclosure. As shown in FIG. 20, the intelligent driving system 2000 of this embodiment includes: a communication-connected camera 2001, an electronic device 1700, and a driving control device 1900, wherein the electronic device 1700 As shown in FIG. 17, the driving control device 1900 is shown in FIG. 19, and the camera 2001 is used to capture a road surface image.
可选的,如图20所示,在实际使用时,相机2001拍摄路面图像,并将路面图像发送给电子设备1700,电子设备1700接收到路面图像后,根据上述车道线检测方法对路面图像进行处理,获得路面图像的车道线检测结果。接着,电子设备1700将获得的路面图像的车道线检测结果发送给驾驶控制装置1900,驾驶控制装置1900根据路面图像的车道线检测结果输出提示信息和/或对车辆进行智能驾驶控制。Optionally, as shown in FIG. 20, in actual use, the camera 2001 captures the road surface image and sends the road surface image to the electronic device 1700. After receiving the road surface image, the electronic device 1700 performs the road surface image detection according to the above lane line detection method. Processing to obtain the lane detection result of the road surface image. Next, the electronic device 1700 sends the obtained lane line detection result of the road surface image to the driving control device 1900, and the driving control device 1900 outputs prompt information and / or performs intelligent driving control on the vehicle according to the lane line detection result of the road surface image.
图21为本公开电子设备一个应用实施例的结构示意图。下面参考图21,其示出了适于用来实现本公开实施例的终端设备或服务器的电子设备的结构示意图。如图21所示,该电子设备包括一个或多个处理器、通信部等,所述一个或多个处理器例如:一个或多个中央处理单元(CPU)2101,和/或一个或多个图像处理器(GPU)2113等,处理器可以根据存储在只读存储器(ROM)2102中的可执行指令或者从存储部分2108加载到随机访问存储器(RAM)2103中的可执行指令而执行各种适当的动作和处理。通信部2112可包括但不限于网卡,所述网卡可包括但不限于IB(Infiniband)网卡,处理器可与只读存储器2102和/或随机访问存储器2103中通信以执行可执行指令,通过总线2104与通信部2112相连、并经通信部2112与其他目标设备通信,从而完成本公开实施例提供的任一车道线检测方法或任一驾驶控制方法对应的操作。21 is a schematic structural diagram of an application embodiment of an electronic device of the present disclosure. 21, which shows a schematic structural diagram of an electronic device suitable for implementing a terminal device or a server of an embodiment of the present disclosure. As shown in FIG. 21, the electronic device includes one or more processors, a communication section, etc. The one or more processors are, for example, one or more central processing units (CPUs) 2101, and / or one or more An image processor (GPU) 2113, etc. The processor can execute various instructions according to the executable instructions stored in the read only memory (ROM) 2102 or the executable instructions loaded from the storage section 2108 into the random access memory (RAM) 2103 Appropriate actions and handling. The communication part 2112 may include but is not limited to a network card, and the network card may include but not limited to an IB (Infiniband) network card. The processor may communicate with the read-only memory 2102 and / or the random access memory 2103 to execute executable instructions through the bus 2104 It is connected to the communication unit 2112 and communicates with other target devices via the communication unit 2112 to complete the operation corresponding to any lane line detection method or any driving control method provided by the embodiments of the present disclosure.
此外,在RAM 2103中,还可存储有装置操作所需的各种程序和数据。CPU2101、ROM2102以及RAM2103通过总线2104彼此相连。在有RAM2103的情况下,ROM2102为可选模块。RAM2103存储可执行指令,或在运行时向ROM2102中写入可执行指令,可执行指令使处理器2101执行上述任一实施例提供的车道线检测方法或驾驶控制方法对应的操作。输入/输出(I/O)接口2105也连接至总线2104。通信部2112可以集成设置,也可以设置为具有多个子模块(例如多个IB网卡),并在总线链接上。In addition, in RAM 2103, various programs and data necessary for device operation can also be stored. The CPU 2101, ROM 2102, and RAM 2103 are connected to each other via a bus 2104. In the case of RAM 2103, ROM 2102 is an optional module. The RAM 2103 stores executable instructions or writes executable instructions to the ROM 2102 at runtime. The executable instructions cause the processor 2101 to perform operations corresponding to the lane detection method or the driving control method provided in any of the foregoing embodiments. An input / output (I / O) interface 2105 is also connected to the bus 2104. The communication part 2112 may be integratedly provided, or may be provided with multiple sub-modules (for example, multiple IB network cards), and are on the bus link.
以下部件连接至I/O接口2105:包括键盘、鼠标等的输入部分2106;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分2107;包括硬盘等的存储部分2108;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分2109。通信部分2109经由诸如因特网的网络执行通信处理。驱动器2110也根据需要连接至I/O接口2105。可拆卸介质2111,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器2110上,以便于从其上读出的计算机程序根据需要被安装入存储部分2108。The following components are connected to the I / O interface 2105: an input section 2106 including a keyboard, a mouse, etc .; an output section 2107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 2108 including a hard disk, etc. ; And a communication section 2109 including a network interface card such as a LAN card, a modem, etc. The communication section 2109 performs communication processing via a network such as the Internet. The driver 2110 is also connected to the I / O interface 2105 as needed. A removable medium 2111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 2110 as necessary, so that the computer program read out therefrom is installed into the storage portion 2108 as needed.
需要说明的,如图21所示的架构仅为一种可选实现方式,在实践过程中,可根据实际需要对上述图21的部件数量和类型进行选择、删减、增加或替换;在不同功能部件设置上,也可采用分离设置或集成设置等实现方式,例如GPU和CPU可分离设置或者可将GPU集成在CPU上,通信部可分离设置,也可集成设置在CPU或GPU上,等等。这些可替换的实施方式均落入本公开公开的保护范围。It should be noted that the architecture shown in FIG. 21 is only an optional implementation method. In practice, the number and type of components in FIG. 21 can be selected, deleted, added, or replaced according to actual needs; For the setting of functional components, separate or integrated settings can also be adopted. For example, the GPU and the CPU can be set separately or the GPU can be integrated on the CPU. The communication department can be set separately or on the CPU or GPU Wait. These alternative embodiments all fall within the protection scope of the present disclosure.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括有形地包含在机器可读介质上的计算机程序,计算机程序包含用于执行流程图所示的方法的程序代码,程序代码可包括对应执行本公开任一实施例提供的车道线检测方法或驾驶控制方法对应的指令。In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product including a computer program tangibly contained on a machine-readable medium, the computer program containing program code for performing the method shown in the flowchart, the program code may include a corresponding The instruction corresponding to the lane line detection method or the driving control method provided by any embodiment of the present disclosure is executed.
本公开实施例提供的任一种方法可以由任意适当的具有数据处理能力的设备执行,包括但不限于:终端设备和服务器等。或者,本公开实施例提供的任一种方法可以由处理器执行,如处理器通过调用存储器存储的相应指令来执行本公开实施例提及的任一种方法。本公开实施例不再赘述。Any method provided by the embodiments of the present disclosure may be executed by any appropriate device with data processing capabilities, including but not limited to: a terminal device and a server. Alternatively, any method provided by the embodiments of the present disclosure may be executed by the processor, for example, the processor executes any method mentioned by the embodiments of the present disclosure by calling corresponding instructions stored in the memory. The embodiments of the present disclosure will not be repeated here.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Persons of ordinary skill in the art may understand that all or part of the steps of the foregoing method embodiments may be completed by a program instructing relevant hardware. The aforementioned program may be stored in a computer-readable storage medium. When the program is executed, the steps including the foregoing method embodiments are executed; and the foregoing storage medium includes various media that can store program codes, such as ROM, RAM, magnetic disk, or optical disk.
可能以许多方式来实现本公开实施例的方法和装置。例如,可通过软件、硬件、固件或者软件、硬件、固件的任何组合来实现本公开实施例的方法和装置。用于所述方法的步骤的上述顺序仅是为了进行说明,本公开实施例的方法的步骤不限于以上描述的顺序,除非以其它方式特别说明。此外,在一些实施例中,还可将本公开实施为记录在记录介质中的程序,这些程序包括用于实现根据本公开实施例的方法的机器可读指令。因而,本公开还覆盖存储用于执行根据本公开实施例的方法的程序的记录介质。The method and apparatus of the embodiments of the present disclosure may be implemented in many ways. For example, the method and apparatus of the embodiments of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above sequence of steps for the method is for illustration only, and the steps of the method of the embodiments of the present disclosure are not limited to the above-described sequence unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, and these programs include machine-readable instructions for implementing the method according to an embodiment of the present disclosure. Thus, the present disclosure also covers the recording medium storing the program for executing the method according to the embodiment of the present disclosure.
最后应说明的是:以上各实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述各实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, but not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features thereof may be equivalently replaced; and these modifications or replacements do not deviate from the essence of the corresponding technical solutions of the technical solutions of the embodiments of the present disclosure range.

Claims (29)

  1. 一种车道线检测方法,其特征在于,包括:A lane line detection method, characterized in that it includes:
    获取车辆上安装的车载设备所采集的路面图像;Obtain the road surface image collected by the on-board equipment installed on the vehicle;
    将所述路面图像输入神经网络,并经所述神经网络输出所述路面图像对应的M个概率图,所述M个概率图包括N个车道线概率图和M-N个非车道线概率图,所述N个车道线概率图分别对应路面上的N条车道线,用于表示所述路面图像中的像素点属于对应的车道线的概率;所述M-N个非车道线概率图对应所述路面上的非车道线,用于表示所述路面图像中的像素点属于非车道线的概率,其中,N为正整数,M为大于N的整数;The road surface image is input to a neural network, and M probability maps corresponding to the road surface image are output through the neural network. The M probability maps include N lane line probability maps and MN non-lane line probability maps. The N lane line probability maps respectively correspond to N lane lines on the road surface, and are used to represent the probability that pixels in the road surface image belong to the corresponding lane line; the MN non-lane line probability maps correspond to the road surface The non-lane line of is used to represent the probability that the pixels in the road surface image belong to the non-lane line, where N is a positive integer and M is an integer greater than N;
    根据所述车道线概率图,确定所述路面图像中的车道线。The lane line in the road surface image is determined according to the lane line probability map.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述车道线概率图,确定所述路面图像中的车道线,包括:The method according to claim 1, wherein the determining the lane line in the road surface image according to the lane line probability map includes:
    响应于第L个车道线概率图中包括有概率值大于等于预设阈值的多个像素点,根据概率值大于等于预设阈值的多个像素点拟合第L条车道线,其中,所述第L个车道线概率图为所述N个车道线概率图中的任一个车道线概率图。In response to the Lth lane line probability map including a plurality of pixels with a probability value greater than or equal to a preset threshold, the Lth lane line is fitted according to a plurality of pixels with a probability value greater than or equal to the preset threshold, wherein, the The Lth lane line probability map is any lane line probability map of the N lane line probability maps.
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述车道线概率图,确定所述路面图像中的车道线,包括:The method according to claim 1 or 2, wherein the determining the lane line in the road surface image according to the lane line probability map includes:
    响应于第一像素点在多个车道线概率图中对应的多个概率值均大于等于预设阈值,将所述第一像素点作为拟合第一车道线时的像素点,其中,所述第一车道线为所述多个概率值中最大概率值所对应的车道线概率图所对应的车道线。In response to the first pixel point corresponding to multiple probability values in multiple lane line probability maps being greater than or equal to a preset threshold, the first pixel point is used as the pixel point when fitting the first lane line, wherein, the The first lane line is the lane line corresponding to the lane line probability map corresponding to the largest probability value among the multiple probability values.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述根据所述车道线概率图,确定所述路面图像中的车道线,包括:The method according to any one of claims 1 to 3, wherein the determining the lane line in the road surface image according to the lane line probability map includes:
    响应于第S个非车道线概率图中包括有概率值大于等于预设阈值的多个像素点,根据概率值大于等于预设阈值的多个像素点确定非车道线,其中,所述第S个非车道线概率图为所述M-N个非车道线概率图中的任一个非车道线概率图。In response to the S-th non-lane line probability map including a plurality of pixels with a probability value greater than or equal to a preset threshold, a non-lane line is determined according to a plurality of pixels with a probability value greater than or equal to a preset threshold, where the S The non-lane line probability maps are any non-lane line probability maps in the MN non-lane line probability maps.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1-4, further comprising:
    对所述M个概率图进行融合处理,得到目标概率图;Performing fusion processing on the M probability maps to obtain a target probability map;
    将所述目标概率图中与第一车道线概率图对应的像素点的像素值调整为与所述第一车道线概率图对应的预设像素值;Adjusting pixel values of pixels corresponding to the first lane line probability map in the target probability map to preset pixel values corresponding to the first lane line probability map;
    其中,所述第一车道线概率图为所述N个车道线概率图中的任一个车道线概率图,所述与第一车道线概率图对应的像素点为在所述第一车道线概率图组成拟合的车道线的像素点。Wherein, the first lane line probability map is any lane line probability map of the N lane line probability maps, and the pixel corresponding to the first lane line probability map is the probability of the first lane line probability map The graph constitutes the pixel points of the fitted lane line.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述经所述神经网络输出所述路面图像对应的M个概率图,包括:The method according to any one of claims 1-5, wherein the outputting the M probability maps corresponding to the road surface image via the neural network includes:
    通过所述神经网络的至少一个卷积层提取所述路面图像的M个通道的低层特征信息;Extracting low-level feature information of the M channels of the road surface image through at least one convolutional layer of the neural network;
    通过所述神经网络的至少一个残差提取层基于所述M个通道低层特征信息提取所述路面图像的M个通道的高层特征信息;Extracting high-level feature information of the M channels of the road surface image based on the M-channel low-level feature information through at least one residual extraction layer of the neural network;
    通过所述神经网络的至少一个上采样层对所述M个通道的高层特征信息进行上采样处理,得到与所述路面图像等大的M个概率图。Up-sampling the high-level feature information of the M channels through at least one up-sampling layer of the neural network to obtain M probability maps equal to the road surface image.
  7. 根据权利要求6所述的方法,其特征在于,所述至少一个卷积层包括连接的6-10中任意数量个卷积层,所述至少一个残差提取层包括连接的7-12中任意数量个残差提取层,所述至少一个上采样层包括连接的1-4中任意数量个上采样层。The method according to claim 6, wherein the at least one convolutional layer includes any number of contiguous 6-10 convolutional layers, and the at least one residual extraction layer includes any number of contiguous 7-12 A number of residual extraction layers, the at least one up-sampling layer includes any number of connected up-sampling layers in 1-4.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述神经网络采用包括有车道线和/或非车道线标注信息的路面训练图像集监督训练得到。The method according to any one of claims 1-7, wherein the neural network is obtained by supervising training using a road surface training image set including lane line and / or non-lane line annotation information.
  9. 根据权利要求8所述的方法,其特征在于,采用包括有车道线和/或非车道线标注 信息的路面训练图像集监督训练得到所述神经网络,包括:The method according to claim 8, wherein the neural network is supervised and trained using a road surface training image set including lane line and / or non-lane line annotation information, including:
    将所述路面训练图像集包括的训练用图像输入至所述神经网络,获取所述训练用图像的预测车道线概率图;Input training images included in the road training image set to the neural network, and obtain a predicted lane line probability map of the training images;
    根据所述预测车道线概率图中所包括的概率值大于等于预设阈值的多个像素点,拟合所述训练用图像的预测车道线;Fitting the predicted lane line of the training image according to a plurality of pixel points with a probability value greater than or equal to a preset threshold value included in the predicted lane line probability map;
    获取所述训练用图像的预测车道线与所述训练用图像的车道线真值图中的车道线之间的损失,其中,所述车道线真值图基于所述训练用像的车道线的标注信息获得;Obtaining the loss between the predicted lane line of the training image and the lane line in the lane line truth map of the training image, wherein the lane line truth map is based on the lane line of the training image Obtain information for labeling;
    根据所述损失调整所述神经网络的网络参数。Adjust the network parameters of the neural network according to the loss.
  10. 根据权利要求8或9所述的方法,其特征在于,所述采用包括有车道线和/或非车道线标注信息的路面训练图像集监督训练得到所述神经网络之前,还包括:The method according to claim 8 or 9, characterized in that, before obtaining the neural network by supervising training using a road surface training image set including lane line and / or non-lane line annotation information, the method further includes:
    采集多个场景下的路面图像;Collect road images under multiple scenes;
    将对所述多个场景下的路面图像进行车道线标注后所得到的图像作为训练用图像;Use the image obtained by labeling the road surface in the multiple scenes as a training image;
    其中,所述多个场景包括白天场景、雨天场景、雾天场景、直道场景、弯道场景、隧道场景、强光照场景以及夜晚场景中的至少两个场景。Wherein, the plurality of scenes include at least two scenes of daytime scenes, rainy scenes, foggy scenes, straight road scenes, curved road scenes, tunnel scenes, strong light scenes, and night scenes.
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述将所述路面图像输入神经网络之前,还包括:The method according to any one of claims 1-10, wherein before the inputting the road surface image to the neural network, the method further comprises:
    对所述路面图像进行去畸变处理。De-distortion processing is performed on the road surface image.
  12. 根据权利要求1-11任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1-11, further comprising:
    将所述路面图像中的车道线映射到世界坐标系中,得到所述路面图像中的车道线在世界坐标系中的位置。The lane line in the road surface image is mapped into the world coordinate system to obtain the position of the lane line in the road surface image in the world coordinate system.
  13. 一种车道线检测装置,其特征在于,包括:A lane line detection device, characterized in that it includes:
    第一获取模块,用于获取车辆上安装的车载设备所采集的路面图像;The first obtaining module is used to obtain the road surface image collected by the vehicle-mounted equipment installed on the vehicle;
    第二获取模块,用于将所述路面图像输入神经网络,并经所述神经网络输出所述路面图像对应的M个概率图,所述M个概率图包括N个车道线概率图和M-N个非车道线概率图,所述N个车道线概率图分别对应路面上的N条车道线,用于表示所述路面图像中的像素点属于对应的车道线的概率;所述M-N个非车道线概率图对应所述路面上的非车道线,用于表示所述路面图像中的像素点属于非车道线的概率,其中,N为正整数,M为大于N的整数;The second acquisition module is used to input the road surface image into a neural network, and output M probability maps corresponding to the road surface image via the neural network, the M probability maps include N lane line probability maps and MN Non-lane line probability map, the N lane-line probability maps respectively correspond to N lane lines on the road surface, and are used to represent the probability that pixels in the road surface image belong to the corresponding lane line; the MN non-lane lines The probability map corresponds to the non-lane line on the road surface and is used to represent the probability that the pixel points in the road surface image belong to the non-lane line, where N is a positive integer and M is an integer greater than N;
    第一确定模块,用于根据所述车道线概率图,确定所述路面图像中的车道线。The first determining module is configured to determine the lane line in the road surface image according to the lane line probability map.
  14. 根据权利要求13所述的装置,其特征在于,所述第一确定模块包括:The apparatus according to claim 13, wherein the first determining module comprises:
    第一确定单元,用于在第L个车道线概率图中包括有概率值大于等于预设阈值的多个像素点时,根据概率值大于等于预设阈值的多个像素点拟合第L条车道线,其中,所述第L个车道线概率图为所述N个车道线概率图中的任一个车道线概率图。The first determining unit is configured to fit the Lth item according to a plurality of pixels with a probability value greater than or equal to a preset threshold when the Lth lane line probability map includes a plurality of pixels with a probability value greater than or equal to a preset threshold A lane line, wherein the Lth lane line probability map is any lane line probability map of the N lane line probability maps.
  15. 根据权利要求13或14所述的装置,其特征在于,所述第一确定模块还包括:The apparatus according to claim 13 or 14, wherein the first determining module further comprises:
    第二确定单元,用于在第一像素点在多个车道线概率图中对应的多个概率值均大于等于预设阈值时,将所述第一像素点作为拟合第一车道线时的像素点,其中,所述第一车道线为所述多个概率值中最大概率值所对应的车道线概率图所对应的车道线。The second determining unit is configured to use the first pixel point as the first fitting point when the first pixel point corresponds to a plurality of probability values in multiple lane line probability maps that are greater than or equal to a preset threshold. Pixel points, wherein the first lane line is the lane line corresponding to the lane line probability map corresponding to the largest probability value among the multiple probability values.
  16. 根据权利要求13-15任一项所述的装置,其特征在于,所述第一确定模块还包括:The apparatus according to any one of claims 13-15, wherein the first determining module further comprises:
    第三确定单元,用于在第S个非车道线概率图中包括有概率值大于等于预设阈值的多个像素点时,根据概率值大于等于预设阈值的多个像素点确定非车道线,其中,所述第S个非车道线概率图为所述M-N个非车道线概率图中的任一个非车道线概率图。The third determining unit is configured to determine the non-lane line according to the plurality of pixels with a probability value greater than or equal to the preset threshold when the S-th non-lane line probability map includes multiple pixels with a probability value greater than or equal to the preset threshold , Wherein the Sth non-lane line probability map is any non-lane line probability map of the MN non-lane line probability maps.
  17. 根据权利要求13-16任一项所述的装置,其特征在于,还包括:The device according to any one of claims 13-16, further comprising:
    融合模块,用于对所述M个概率图进行融合处理,得到目标概率图;A fusion module, configured to fuse the M probability maps to obtain a target probability map;
    调整模块,用于将所述目标概率图中与第一车道线概率图对应的像素点的像素值调整为与所述第一车道线概率图对应的预设像素值;An adjustment module, configured to adjust the pixel value of the pixel corresponding to the first lane line probability map in the target probability map to a preset pixel value corresponding to the first lane line probability map;
    其中,所述第一车道线概率图为所述N个车道线概率图中的任一个车道线概率图,所述与第一车道线概率图对应的像素点为在所述第一车道线概率图组成拟合的车道线的像素点。Wherein, the first lane line probability map is any lane line probability map of the N lane line probability maps, and the pixel corresponding to the first lane line probability map is the probability of the first lane line probability map The graph constitutes the pixel points of the fitted lane line.
  18. 根据权利要求13-17任一项所述的装置,其特征在于,所述第二获取模块包括:The apparatus according to any one of claims 13-17, wherein the second acquisition module includes:
    第一获取单元,用于通过所述神经网络的至少一个卷积层提取所述路面图像的M个通道的低层特征信息;A first acquiring unit, configured to extract low-level feature information of the M channels of the road surface image through at least one convolutional layer of the neural network;
    第二获取单元,用于通过所述神经网络的至少一个残差提取层基于所述M个通道低层特征信息提取所述路面图像的M个通道的高层特征信息;A second acquiring unit, configured to extract high-level feature information of the M channels of the road surface image based on the M-channel low-level feature information through at least one residual extraction layer of the neural network;
    第三获取单元,用于通过所述神经网络的至少一个上采样层对所述M个通道的高层特征信息进行上采样处理,得到与所述路面图像等大的M个概率图。The third acquiring unit is configured to up-sample the high-level feature information of the M channels through at least one up-sampling layer of the neural network to obtain M probability maps equal to the road surface image.
  19. 根据权利要求18所述的装置,其特征在于,所述至少一个卷积层包括连接的6-10中任意数量个卷积层,所述至少一个残差提取层包括连接的7-12中任意数量个残差提取层,所述至少一个上采样层包括连接的1-4中任意数量个上采样层。The apparatus according to claim 18, wherein the at least one convolutional layer includes any number of contiguous 6-10 convolutional layers, and the at least one residual extraction layer includes any one of 7-12 contiguously connected A number of residual extraction layers, the at least one up-sampling layer includes any number of connected up-sampling layers in 1-4.
  20. 根据权利要求13-19任一项所述的装置,其特征在于,还包括:The device according to any one of claims 13-19, further comprising:
    训练模块,用于采用包括有车道线和/或非车道线标注信息的路面训练图像集监督训练得到所述神经网络。The training module is used to supervise and train the neural network by using a road surface training image set including lane line and / or non-lane line annotation information.
  21. 根据权利要求20所述的装置,其特征在于,所述训练模块用于:The apparatus according to claim 20, wherein the training module is configured to:
    将所述路面训练图像集包括的训练用图像输入至所述神经网络,获取所述训练用图像的预测车道线概率图;Input training images included in the road training image set to the neural network, and obtain a predicted lane line probability map of the training images;
    根据所述预测车道线概率图中所包括的概率值大于等于预设阈值的多个像素点,拟合所述训练用图像的预测车道线;Fitting the predicted lane line of the training image according to a plurality of pixel points with a probability value greater than or equal to a preset threshold value included in the predicted lane line probability map;
    获取所述训练用图像的预测车道线与所述训练用图像的车道线真值图中的车道线之间的损失,其中,所述车道线真值图基于所述训练用像的车道线的标注信息获得;Obtaining the loss between the predicted lane line of the training image and the lane line in the lane line truth map of the training image, wherein the lane line truth map is based on the lane line of the training image Obtain information for labeling;
    根据所述损失调整所述神经网络的网络参数。Adjust the network parameters of the neural network according to the loss.
  22. 根据权利要求20或21所述的装置,其特征在于,还包括:The device according to claim 20 or 21, further comprising:
    采集模块,用于采集多个场景下的路面图像,以及,将对所述多个场景下的路面图像进行车道线标注后所得到的图像作为训练用图像;The collection module is used for collecting road surface images in multiple scenes, and the images obtained by labeling the road surface images in the multiple scenes as training images;
    其中,所述多个场景包括雨天场景、雾天场景、直道场景、弯道场景、隧道场景、强光照场景以及夜晚场景中的至少两个场景。Wherein, the multiple scenes include at least two scenes of rainy scenes, foggy scenes, straight road scenes, curved road scenes, tunnel scenes, strong light scenes, and night scenes.
  23. 根据权利要求13-22任一项所述的装置,其特征在于,还包括:The device according to any one of claims 13-22, further comprising:
    预处理模块,用于对所述路面图像进行去畸变处理。The pre-processing module is used for de-distorting the road surface image.
  24. 根据权利要求13-23任一项所述的装置,其特征在于,还包括:The device according to any one of claims 13-23, further comprising:
    映射模块,用于将所述路面图像中的车道线映射到世界坐标系中,得到所述路面图像中的车道线在世界坐标系中的位置。The mapping module is used to map the lane line in the road surface image to the world coordinate system, and obtain the position of the lane line in the road surface image in the world coordinate system.
  25. 一种驾驶控制方法,其特征在于,包括:A driving control method, characterized in that it includes:
    驾驶控制装置获取路面图像的车道线检测结果,所述路面图像的车道线检测结果采用如权利要求1-12任一项所述的车道线检测方法得到;The driving control device acquires the lane line detection result of the road surface image, and the lane line detection result of the road surface image is obtained by using the lane line detection method according to any one of claims 1-12;
    所述驾驶控制装置根据所述车道线检测结果输出提示信息和/或对车辆进行智能驾驶控制。The driving control device outputs prompt information according to the lane line detection result and / or performs intelligent driving control on the vehicle.
  26. 一种驾驶控制装置,其特征在于,包括:A driving control device is characterized by comprising:
    获取模块,用于获取路面图像的车道线检测结果,所述路面图像的车道线检测结果采用如权利要求1-12任一项所述的车道线检测方法得到;An acquisition module, for acquiring a lane line detection result of a road surface image, the lane line detection result of the road surface image is obtained by using the lane line detection method according to any one of claims 1-12;
    驾驶控制模块,用于根据所述车道线检测结果输出提示信息和/或对车辆进行智能驾驶控制。The driving control module is configured to output prompt information according to the detection result of the lane line and / or perform intelligent driving control on the vehicle.
  27. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it includes:
    存储器,用于存储程序指令;Memory, used to store program instructions;
    处理器,用于调用并执行所述存储器中的程序指令,执行权利要求1-12任一项所述的方法步骤。The processor is configured to call and execute the program instructions in the memory and execute the method steps of any one of claims 1-12.
  28. 一种智能驾驶系统,其特征在于,包括:通信连接的相机、如权利要求27所述的电子设备和如权利要求26所述的驾驶控制装置,所述相机用于获取路面图像。An intelligent driving system is characterized by comprising: a camera connected in communication, the electronic device according to claim 27 and the driving control device according to claim 26, the camera is used to acquire a road surface image.
  29. 一种可读存储介质,其特征在于,所述可读存储介质中存储有计算机程序,所述计算机程序用于执行权利要求1-12任一项所述的方法步骤。A readable storage medium, characterized in that a computer program is stored in the readable storage medium, and the computer program is used to perform the method steps of any one of claims 1-12.
PCT/CN2019/119886 2018-11-21 2019-11-21 Lane line detection method and apparatus, electronic device, and readable storage medium WO2020103892A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020217015000A KR20210080459A (en) 2018-11-21 2019-11-21 Lane detection method, apparatus, electronic device and readable storage medium
JP2021525040A JP2022506920A (en) 2018-11-21 2019-11-21 Compartment line detection methods, devices, electronic devices and readable storage media

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811392943.8A CN111209777A (en) 2018-11-21 2018-11-21 Lane line detection method and device, electronic device and readable storage medium
CN201811392943.8 2018-11-21

Publications (1)

Publication Number Publication Date
WO2020103892A1 true WO2020103892A1 (en) 2020-05-28

Family

ID=70773344

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/119886 WO2020103892A1 (en) 2018-11-21 2019-11-21 Lane line detection method and apparatus, electronic device, and readable storage medium

Country Status (4)

Country Link
JP (1) JP2022506920A (en)
KR (1) KR20210080459A (en)
CN (1) CN111209777A (en)
WO (1) WO2020103892A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111178215A (en) * 2019-12-23 2020-05-19 深圳成谷科技有限公司 Sensor data fusion processing method and device
CN112373474A (en) * 2020-11-23 2021-02-19 重庆长安汽车股份有限公司 Lane line fusion and transverse control method, system, vehicle and storage medium
CN112464742A (en) * 2021-01-29 2021-03-09 福建农林大学 Method and device for automatically identifying red tide image
JP2022028870A (en) * 2020-12-16 2022-02-16 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Lane detection method, apparatus, electronic device, storage medium, and vehicle
CN116863429A (en) * 2023-07-26 2023-10-10 小米汽车科技有限公司 Training method of detection model, and determination method and device of exercisable area
WO2024002014A1 (en) * 2022-07-01 2024-01-04 上海商汤智能科技有限公司 Traffic marking identification method and apparatus, computer device and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111539403B (en) * 2020-07-13 2020-10-16 航天宏图信息技术股份有限公司 Agricultural greenhouse identification method and device and electronic equipment
CN112446344B (en) * 2020-12-08 2022-09-16 北京深睿博联科技有限责任公司 Road condition prompting method and device, electronic equipment and computer readable storage medium
CN112633151B (en) * 2020-12-22 2024-04-12 浙江大华技术股份有限公司 Method, device, equipment and medium for determining zebra stripes in monitoring images
CN113739811A (en) * 2021-09-03 2021-12-03 阿波罗智能技术(北京)有限公司 Method and device for training key point detection model and generating high-precision map lane line
KR102487408B1 (en) * 2021-09-07 2023-01-12 포티투닷 주식회사 Apparatus and method for determining a routing route for mobility and medium recording it

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060239509A1 (en) * 2005-04-26 2006-10-26 Fuji Jukogyo Kabushiki Kaisha Road line recognition apparatus
CN108052904A (en) * 2017-12-13 2018-05-18 辽宁工业大学 The acquisition methods and device of lane line
CN108216229A (en) * 2017-09-08 2018-06-29 北京市商汤科技开发有限公司 The vehicles, road detection and driving control method and device
CN108875603A (en) * 2018-05-31 2018-11-23 上海商汤智能科技有限公司 Intelligent driving control method and device, electronic equipment based on lane line

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654064A (en) * 2016-01-25 2016-06-08 北京中科慧眼科技有限公司 Lane line detection method and device as well as advanced driver assistance system
CN108280450B (en) * 2017-12-29 2020-12-29 安徽农业大学 Expressway pavement detection method based on lane lines
CN108846328B (en) * 2018-05-29 2020-10-16 上海交通大学 Lane detection method based on geometric regularization constraint

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060239509A1 (en) * 2005-04-26 2006-10-26 Fuji Jukogyo Kabushiki Kaisha Road line recognition apparatus
CN108216229A (en) * 2017-09-08 2018-06-29 北京市商汤科技开发有限公司 The vehicles, road detection and driving control method and device
CN108052904A (en) * 2017-12-13 2018-05-18 辽宁工业大学 The acquisition methods and device of lane line
CN108875603A (en) * 2018-05-31 2018-11-23 上海商汤智能科技有限公司 Intelligent driving control method and device, electronic equipment based on lane line

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111178215A (en) * 2019-12-23 2020-05-19 深圳成谷科技有限公司 Sensor data fusion processing method and device
CN111178215B (en) * 2019-12-23 2024-03-08 深圳成谷科技有限公司 Sensor data fusion processing method and device
CN112373474A (en) * 2020-11-23 2021-02-19 重庆长安汽车股份有限公司 Lane line fusion and transverse control method, system, vehicle and storage medium
CN112373474B (en) * 2020-11-23 2022-05-17 重庆长安汽车股份有限公司 Lane line fusion and transverse control method, system, vehicle and storage medium
JP2022028870A (en) * 2020-12-16 2022-02-16 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Lane detection method, apparatus, electronic device, storage medium, and vehicle
JP7273129B2 (en) 2020-12-16 2023-05-12 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Lane detection method, device, electronic device, storage medium and vehicle
US11967132B2 (en) 2020-12-16 2024-04-23 Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Lane marking detecting method, apparatus, electronic device, storage medium, and vehicle
CN112464742A (en) * 2021-01-29 2021-03-09 福建农林大学 Method and device for automatically identifying red tide image
WO2024002014A1 (en) * 2022-07-01 2024-01-04 上海商汤智能科技有限公司 Traffic marking identification method and apparatus, computer device and storage medium
CN116863429A (en) * 2023-07-26 2023-10-10 小米汽车科技有限公司 Training method of detection model, and determination method and device of exercisable area

Also Published As

Publication number Publication date
KR20210080459A (en) 2021-06-30
JP2022506920A (en) 2022-01-17
CN111209777A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
WO2020103892A1 (en) Lane line detection method and apparatus, electronic device, and readable storage medium
WO2020103893A1 (en) Lane line property detection method, device, electronic apparatus, and readable storage medium
US11694430B2 (en) Brake light detection
Vetrivel et al. Disaster damage detection through synergistic use of deep learning and 3D point cloud features derived from very high resolution oblique aerial images, and multiple-kernel-learning
WO2019228211A1 (en) Lane-line-based intelligent driving control method and apparatus, and electronic device
WO2022126377A1 (en) Traffic lane line detection method and apparatus, and terminal device and readable storage medium
CN112528878A (en) Method and device for detecting lane line, terminal device and readable storage medium
CN105844257A (en) Early warning system based on machine vision driving-in-fog road denoter missing and early warning method
CN110226170A (en) A kind of traffic sign recognition method in rain and snow weather
CN113723377B (en) Traffic sign detection method based on LD-SSD network
CN111814637A (en) Dangerous driving behavior recognition method and device, electronic equipment and storage medium
CN103902985A (en) High-robustness real-time lane detection algorithm based on ROI
CN113887418A (en) Method and device for detecting illegal driving of vehicle, electronic equipment and storage medium
WO2021088504A1 (en) Road junction detection method and apparatus, neural network training method and apparatus, intelligent driving method and apparatus, and device
CN111899515A (en) Vehicle detection system based on wisdom road edge calculates gateway
CN112016545A (en) Image generation method and device containing text
CN103886609A (en) Vehicle tracking method based on particle filtering and LBP features
CN117218622A (en) Road condition detection method, electronic equipment and storage medium
Xing et al. Traffic sign recognition from digital images by using deep learning
CN110909674A (en) Traffic sign identification method, device, equipment and storage medium
Varun et al. A road traffic signal recognition system based on template matching employing tree classifier
CN112131914A (en) Lane line attribute detection method and device, electronic equipment and intelligent equipment
CN112396060B (en) Identification card recognition method based on identification card segmentation model and related equipment thereof
CN115131826B (en) Article detection and identification method, and network model training method and device
CN114092880A (en) Airport runway large particle foreign matter detection method based on video analysis

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: 19886323

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021525040

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20217015000

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 31.08.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19886323

Country of ref document: EP

Kind code of ref document: A1