Method and device for detecting lane line
A technology of lane lines and lanes, applied in the computer field, can solve the problems of false detection of double yellow lines, inability to distinguish between single straight lines and double yellow lines, and low detection accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0067] figure 1 It is a flow chart of a method for detecting lane lines provided by an embodiment of the present invention, see figure 1 , the method includes:
[0068] Step 101: Obtain a first grayscale region of interest from the color image of the road ahead of the vehicle, and obtain the grayscale segmentation threshold of each row of pixels included in the first grayscale region of interest.
[0069] Step 102: Perform image edge enhancement and binarization processing on the first gray-scale region of interest to obtain a second gray-scale region of interest.
[0070] Step 103: According to the grayscale segmentation threshold of each row of pixels and the edge feature point extraction algorithm, extract the edge feature points of the lane line included in the second grayscale area of interest.
[0071] This step can be achieved through the following steps (1) to (4), including:
[0072] (1): Determine the first set of pixels from the first grayscale region of intere...
Embodiment 2
[0095] figure 2 It is a flow chart of a method for detecting lane lines provided by an embodiment of the present invention, and the execution body of the method may be a vehicle-mounted terminal of a vehicle. see figure 2 , the method includes:
[0096] Step 201: Obtain a first grayscale region of interest from a color image of the road ahead of the vehicle.
[0097] In this step, the color image of the road ahead of the vehicle can be converted into a grayscale image, and the first grayscale region of interest can be obtained from the grayscale image, that is, the following first implementation; it can also be obtained from the color image of the road ahead of the vehicle The first color region of interest is obtained from the image, and then the first color region of interest is converted into the first grayscale region of interest, which is the second implementation manner below.
[0098] For the first implementation, this step can be:
[0099] Collect a color image o...
Embodiment 3
[0173] An embodiment of the present invention provides a device for detecting lane lines, see image 3 , where the device includes:
[0174] An acquisition module 301, configured to acquire a first grayscale region of interest from the color image of the road ahead of the vehicle, and obtain the grayscale segmentation threshold of each row of pixels included in the first grayscale region of interest;
[0175] A processing module 302, configured to respectively perform image edge enhancement and binarization processing on the first gray-scale region of interest to obtain a second gray-scale region of interest;
[0176] The extraction module 303 is used to extract the edge feature points of the lane lines included in the second gray-scale area of interest according to the gray-scale segmentation threshold of each row of pixels and the edge feature point extraction algorithm;
[0177] The first determination module 304 is used to determine whether the lane line is a double yel...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 