Intelligent driving method and device based on image processing

Through image processing technology and neural network models, the problem of inaccurate vehicle lane recognition under low-light conditions is solved, the accuracy of vehicle path control during night driving is achieved, and traffic accidents are avoided.

CN118470680BActive Publication Date: 2024-09-03CHENGDU AERONAUTIC POLYTECHNIC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410918613.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-09-03
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

When the ambient light is dark, the vehicle cannot accurately identify the lane line position, resulting in the inability to accurately control the driving path, which may cause a traffic accident.

Method used

An intelligent driving method based on image processing is adopted to collect road images through vehicle-mounted ambient light intensity sensors and cameras, identify lane lines, and use gradient values ​​and neural network prediction models to calibrate the driving area to ensure that the vehicle accurately recognizes lane lines and controls driving when driving at night. .

Benefits of technology

Under low-light conditions, the lane line position can be accurately identified to avoid traffic accidents and ensure that the vehicle drives stably within the preset area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470680B
    Figure CN118470680B
Patent Text Reader

Abstract

The present application provides an intelligent driving method and device based on image processing, which relates to the field of intelligent driving technology. Identify a first driving area formed by the left lane line and the right lane line of the lane where the vehicle is located on the road section in the road surface image of the road on which the vehicle is traveling; determine the left edge area including the first target line segment, and the right edge area including the second target line segment; determine the brightness of each pixel on each first reference line parallel to the first target line segment in the left edge area, the sum of the absolute values ​​of the gradient values ​​in the direction perpendicular to the first reference line, and determine the brightness of each pixel on each second reference line parallel to the second target line segment in the right edge area, the sum of the absolute values ​​of the gradient values ​​in the direction perpendicular to the second reference line; calibrate the determined first driving area, and under the condition that it is determined that the vehicle does not have a need to change lanes, accurately control the vehicle to travel in the first driving area on the road section.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent driving technology, and in particular to an intelligent driving method and device based on image processing. Background Art

[0002] With the development of science and technology, people's requirements for driving experience are getting higher and higher, and intelligent driving has emerged. Intelligent driving can free the driver's hands and realize intelligent driving of the vehicle.

[0003] It should be noted that when a vehicle is driving on a road, it needs to drive along the driving area defined by the lane lines on both sides. Therefore, the vehicle needs to accurately identify the positions of the lane lines on the left and right sides of the vehicle, so as to control the driving of the vehicle based on the identified positions of the lane lines on the left and right sides of the vehicle.

[0004] However, in the case of dim ambient light (such as at night), the vehicle is usually unable to accurately identify the positions of the lane lines on the left and right sides of the vehicle, which may cause the vehicle to be unable to accurately control the driving path, thereby causing a traffic accident. Summary of the invention

[0005] The present application provides an intelligent driving method and device based on image processing, which is used to solve the problem in the prior art that if the ambient light is dim (such as at night), the vehicle is usually unable to accurately identify the position of the lane lines on the left and right sides of the vehicle, which may cause the vehicle to be unable to accurately control the driving path, thereby causing traffic accidents.

[0006] In a first aspect, the present application provides an intelligent driving method based on image processing, which is applied to an on-board controller of a vehicle, comprising:

[0007] Receiving the ambient light intensity transmitted from the vehicle-mounted ambient light intensity sensor, and determining that the vehicle is in a night driving mode when the ambient light intensity is lower than a set light intensity threshold;

[0008] In the night driving mode, a road surface image of the road on which the vehicle is traveling is received at a current sampling moment, which is collected by the vehicle-mounted camera;

[0009] Identify a first driving area formed by a left lane line and a right lane line of a lane where the vehicle is located on a road section on which the vehicle is traveling in a road surface image of the road on which the vehicle is traveling;

[0010] Determine a first target line segment located on the left side of the left lane line and a second target line segment located on the right side of the right lane line, and calibrate the position of the first driving area according to the first target line segment and the second target line segment, wherein calibrating the position of the first driving area according to the first target line segment and the second target line segment includes:

[0011] Determine a left edge region including a first target line segment, and a right edge region including a second target line segment, wherein the distances between the first target line segment and the left side and the right side of the left edge region are both within a preset distance range, and the distances between the second target line segment and the left side and the right side of the right edge region are both within a preset distance range;

[0012] Determine the sum of the absolute values ​​of the gradient values ​​of the brightness of each pixel on each first reference line parallel to the first target line segment in the left edge region in a direction perpendicular to the first reference line, and determine the sum of the absolute values ​​of the gradient values ​​of the brightness of each pixel on each second reference line parallel to the second target line segment in the right edge region in a direction perpendicular to the second reference line;

[0013] A first driving area determined by calibration, wherein the leftmost edge of the first driving area after calibration is a first reference line having a maximum sum of absolute values ​​of gradient values, and the rightmost edge of the first driving area after calibration is a second reference line having a maximum sum of absolute values ​​of gradient values;

[0014] Under the condition that it is determined that the vehicle does not have a lane change demand, the vehicle is controlled to travel within a first driving area on the road section being traveled.

[0015] In a possible implementation, before controlling the vehicle to travel within a first driving area on the traveled road section under the condition that it is determined that the vehicle does not have a lane change requirement, the method further includes:

[0016] Extracting the first position change feature of the leftmost edge of the first driving area determined within the previous preset time length at each sampling time within the previous preset time length, and extracting the second position change feature of the rightmost edge of the first driving area determined within the previous preset time length at each sampling time within the previous preset time length;

[0017] Obtain vehicle positioning information and navigation route information;

[0018] Inputting the vehicle's positioning information, navigation route information, first position change feature, and second position change feature into a pre-trained neural network prediction model to obtain the leftmost predicted edge of the left lane line of the lane on the road section being traveled and the rightmost predicted edge of the right lane line of the lane on the road section being traveled, wherein the neural network prediction model is trained based on a plurality of historical positioning information, historical navigation route information, historical first position change feature, historical second position change feature, and corresponding historical actual leftmost edge and historical actual rightmost edge of the vehicle as a training sample set;

[0019] Determine a second driving area according to the leftmost predicted edge and the rightmost predicted edge;

[0020] The first driving range is calibrated again based on the second driving range.

[0021] In a possible implementation manner, recalibrating the first driving area according to the second driving area includes:

[0022] According to the formula P3=k1P1+k2P2, the first driving area is calibrated again, wherein k1 is the first weighting coefficient, k2 is the second weighting coefficient, and k1+k2=1, P1 is the position of the first driving area before this calibration, P2 is the position of the second driving area before this calibration, and P3 is the position of the first driving area after this calibration.

[0023] In a possible implementation, the leftmost edge of the first driving area determined within the previous preset time period is taken, and the first position change characteristics at each sampling time within the previous preset time period include:

[0024] Extracting the leftmost edge of the first driving area determined within the previous preset time period and the first position features at each sampling time within the previous preset time period according to the convolutional neural network CNN;

[0025] The temporal dependency of the first position features at each sampling moment is extracted according to the deep confidence DBN network;

[0026] The time-series dependency of the first position features at each sampling moment is integrated to obtain the leftmost edge of the first driving area determined within the previous preset time length and the first position change features at each sampling moment within the previous preset time length.

[0027] In a possible implementation, extracting the rightmost edge of the first driving area determined within the previous preset time period, and the second position change feature at each sampling time within the previous preset time period, includes:

[0028] Extracting the rightmost edge of the first driving area determined within the previous preset time period according to the convolutional neural network CNN, and the second position features at each sampling time within the previous preset time period;

[0029] Extract the temporal dependency of the second position features at each sampling moment according to the deep confidence DBN network;

[0030] The time-series dependency of the second position features at each sampling moment is integrated to obtain the rightmost edge of the first driving area determined within the previous preset time length and the second position change features at each sampling moment within the previous preset time length.

[0031] In a second aspect, the present application provides an intelligent driving device based on image processing, which is configured in a vehicle-mounted controller of a vehicle, and the device includes:

[0032] An information receiving unit is used to receive the ambient light intensity transmitted from the vehicle-mounted ambient light intensity sensor, and when the ambient light intensity is lower than a set light intensity threshold, determine that the vehicle is in a night driving mode;

[0033] The information receiving unit is further used to receive the road surface image of the road on which the vehicle is traveling collected by the on-board camera at the current sampling moment in the night driving mode;

[0034] An area recognition unit, used to recognize a first driving area formed by a left lane line and a right lane line of a lane where the vehicle is located on a road section on which the vehicle is traveling in a road surface image of the road on which the vehicle is traveling;

[0035] a position calibration unit, used to determine a first target line segment located on the left side of the left lane line and a second target line segment located on the right side of the right lane line, and calibrate the position of the first driving area according to the first target line segment and the second target line segment;

[0036] A position calibration unit, specifically used to determine a left edge area including a first target line segment, and a right edge area including a second target line segment, wherein the distances between the first target line segment and the left side and the right side of the left edge area are respectively within a preset distance range, and the distances between the second target line segment and the left side and the right side of the right edge area are respectively within a preset distance range; determine the brightness of each pixel on each first reference line parallel to the first target line segment in the left edge area, the sum of the absolute values ​​of the gradient values ​​in a direction perpendicular to the first reference line, and determine the brightness of each pixel on each second reference line parallel to the second target line segment in the right edge area, the sum of the absolute values ​​of the gradient values ​​in a direction perpendicular to the second reference line; calibrate the determined first driving area, wherein the leftmost edge of the calibrated first driving area is the first reference line with the largest sum of the absolute values ​​of the gradient values, and the rightmost edge of the calibrated first driving area is the second reference line with the largest sum of the absolute values ​​of the gradient values;

[0037] The driving control unit is used to control the vehicle to drive within a first driving area on the road section on which the vehicle is driving, under the condition that it is determined that the vehicle does not have a lane change demand.

[0038] In a possible implementation, the device provided by the present application further includes:

[0039] a feature extraction unit, configured to extract a first position change feature of the leftmost edge of the first driving area determined within a previous preset time period at each sampling moment within the previous preset time period, and to extract a second position change feature of the rightmost edge of the first driving area determined within the previous preset time period at each sampling moment within the previous preset time period;

[0040] An information acquisition unit, used to acquire vehicle positioning information and navigation route information;

[0041] An edge prediction unit is used to input the vehicle's positioning information, navigation route information, first position change feature, and second position change feature into a pre-trained neural network prediction model to obtain a leftmost predicted edge of a left lane line of a lane on the road section being traveled and a rightmost predicted edge of a right lane line of a lane on the road section being traveled, wherein the neural network prediction model is trained based on a plurality of historical positioning information, historical navigation route information, historical first position change feature, historical second position change feature, and corresponding historical actual leftmost edge and historical actual rightmost edge of the vehicle as a training sample set;

[0042] The area determination unit is further used to determine a second driving area according to the leftmost predicted edge and the rightmost predicted edge;

[0043] The area calibration unit is further used to recalibrate the first driving area according to the second driving area.

[0044] In one possible implementation, the area calibration unit is specifically used to recalibrate the first driving area according to the formula P3=k1P1+k2P2, wherein k1 is the first weighting coefficient, k2 is the second weighting coefficient, and k1+k2=1, P1 is the position of the first driving area before this calibration, P2 is the position of the second driving area before this calibration, and P3 is the position of the first driving area after this calibration.

[0045] In a possible implementation, the area calibration unit is specifically used to extract the leftmost edge of the first driving area determined within the previous preset time length and the first position features at each sampling moment within the previous preset time length according to the convolutional neural network CNN; extract the time-series dependency of the first position features at each sampling moment according to the deep confidence DBN network; and fuse the time-series dependency of the first position features at each sampling moment to obtain the leftmost edge of the first driving area determined within the previous preset time length and the first position change features at each sampling moment within the previous preset time length.

[0046] In a possible implementation, the area calibration unit is specifically used to extract the rightmost edge of the first driving area determined within the previous preset time length and the second position features at each sampling moment within the previous preset time length according to the convolutional neural network CNN; extract the time-series dependency of the second position features at each sampling moment according to the deep confidence DBN network; and fuse the time-series dependency of the second position features at each sampling moment to obtain the rightmost edge of the first driving area determined within the previous preset time length and the second position change features at each sampling moment within the previous preset time length.

[0047] The present application provides an intelligent driving method and device based on image processing, which, in a night driving mode, receives a road surface image of a road on which a vehicle is traveling collected by a vehicle-mounted camera at a current sampling time; identifies a first driving area formed by a left lane line and a right lane line of a lane in which a vehicle is located on a road section on which the vehicle is traveling in the road surface image of the road on which the vehicle is traveling; determines a first target line segment located on the left side of the left lane line and a second target line segment located on the right side of the right lane line, determines a left edge area including the first target line segment, and determines a right edge area including the second target line segment, wherein the distances between the first target line segment and the left side and the right side of the left edge area are both within a preset distance range, and the distances between the second target line segment and the left side and the right side of the right edge area are both within a preset distance range;

[0048] Determine the brightness of each pixel on each first reference line parallel to the first target line segment in the left edge area, and the sum of the absolute values ​​of the gradient values ​​in the direction perpendicular to the first reference line, and determine the brightness of each pixel on each second reference line parallel to the second target line segment in the right edge area, and the sum of the absolute values ​​of the gradient values ​​in the direction perpendicular to the second reference line; calibrate the determined first driving area, wherein the leftmost edge of the calibrated first driving area is the first reference line with the largest sum of the absolute values ​​of the gradient values, and the rightmost side of the calibrated first driving area is the second reference line with the largest sum of the absolute values ​​of the gradient values. In this way, the position of the leftmost edge and the rightmost edge of the first driving area can be more accurately identified, and then, the position of the first driving area can be more accurately determined. In this way, under the condition that it is determined that the vehicle does not need to change lanes, the vehicle can be accurately controlled to travel in the first driving area on the road section, so as to avoid traffic accidents. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0050] Figure 1 A flowchart of an intelligent driving method based on image processing provided in an embodiment of the present application;

[0051] Figure 2 A schematic diagram of a vehicle traveling on a road provided in an embodiment of the present application.

[0052] Figure 3 A functional unit diagram of an image processing-based intelligent driving device provided in one embodiment of the present application.

[0053] Figure 4 A functional unit diagram of an intelligent driving device based on image processing provided in another embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments made by ordinary technicians in this field under the enlightenment of the embodiments belong to the scope of protection of the present application.

[0055] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0056] See also Figure 1 The embodiment of the present application provides an intelligent driving method based on image processing, which is applied to an on-board controller of a vehicle. The method provided by the embodiment of the present application includes:

[0057] Step 101: Receive ambient light intensity transmitted from an on-vehicle ambient light intensity sensor, and when the ambient light intensity is lower than a set light intensity threshold, determine that the vehicle is in a night driving mode.

[0058] Step 102: In the night driving mode, a road surface image of the road on which the vehicle is traveling is received at a current sampling time, which is captured by a vehicle-mounted camera.

[0059] Among them, the on-board camera can collect road surface images of the road on which the vehicle is traveling at preset sampling time intervals and transmit them to the on-board controller.

[0060] Step 103: Identify a first driving area formed by a left lane line 201 and a right lane line 202 of a lane where the vehicle is traveling on the road section in the road surface image of the road on which the vehicle is traveling.

[0061] Step 104 : Determine a first target line segment 205 located on the left side of the left lane line 201 and a second target line segment 206 located on the right side of the right lane line 202 , and calibrate the position of the first driving area according to the first target line segment 205 and the second target line segment 206 .

[0062] Specifically, Figure 1 and Figure 2 As shown, S104 can be specifically implemented as follows:

[0063] S201 : Determine a left edge region including the first target line segment 205 , and a right edge region including the second target line segment 206 .

[0064] The distances between the first target line segment 205 and the left side and the right side of the left edge area are both within the preset distance range, and the distances between the second target line segment 206 and the left side and the right side of the right edge area are both within the preset distance range.

[0065] S202: Determine the brightness of each pixel on each first reference line parallel to the first target line segment 205 in the left edge area, and the sum of the absolute values ​​of the gradient values ​​in the direction perpendicular to the first reference line; determine the brightness of each pixel on each second reference line parallel to the second target line segment 206 in the right edge area, and the sum of the absolute values ​​of the gradient values ​​in the direction perpendicular to the second reference line.

[0066] S203: Calibrate and determine the first driving area.

[0067] The leftmost edge 203 of the calibrated first driving area is the first reference line with the largest sum of absolute values ​​of gradient values, and the rightmost edge 204 of the calibrated first driving area is the second reference line with the largest sum of absolute values ​​of gradient values.

[0068] It can be understood that based on the above S201 - S203 , the determined first driving area can be calibrated more accurately.

[0069] S105: Under the condition that it is determined that the vehicle does not have a lane change demand, control the vehicle to travel within a first driving area on the road section.

[0070] In some embodiments, in the above Figure 1 On the basis of the corresponding embodiment, before S105, the method provided in the embodiment of the present application further includes:

[0071] Step 1: Extract the first position change feature of the leftmost edge 203 of the first driving area determined within the previous preset time length at each sampling moment within the previous preset time length, and extract the second position change feature of the rightmost edge 204 of the first driving area determined within the previous preset time length at each sampling moment within the previous preset time length.

[0072] In some embodiments, in a possible embodiment, the leftmost edge 203 of the first driving area determined within the previous preset time length and the first position change feature at each sampling moment within the previous preset time length are taken, including: extracting the leftmost edge 203 of the first driving area determined within the previous preset time length and the first position feature at each sampling moment within the previous preset time length according to the convolutional neural network CNN; extracting the temporal dependency of the first position features at each sampling moment according to the deep confidence DBN network; fusing the temporal dependency of the first position features at each sampling moment to obtain the leftmost edge 203 of the first driving area determined within the previous preset time length and the first position change feature at each sampling moment within the previous preset time length. In this way, the first position change feature can be accurately extracted.

[0073] In some embodiments, extracting the second position change feature of the rightmost edge 204 of the first driving area determined within the previous preset time length at each sampling moment within the previous preset time length includes: extracting the second position feature of the rightmost edge 204 of the first driving area determined within the previous preset time length at each sampling moment within the previous preset time length according to the convolutional neural network CNN; extracting the temporal dependency of the second position feature at each sampling moment according to the deep confidence DBN network; fusing the temporal dependency of the second position feature at each sampling moment to obtain the second position change feature of the rightmost edge 204 of the first driving area determined within the previous preset time length at each sampling moment within the previous preset time length. In this way, the second position change feature can be accurately extracted.

[0074] Step 2: Get the vehicle's location information and navigation route information.

[0075] Step 3: Input the vehicle's positioning information, navigation route information, first position change feature, and second position change feature into a pre-trained neural network prediction model to obtain the leftmost predicted edge of the left lane line 201 of the lane on the road section being traveled and the rightmost predicted edge of the right lane line 202 of the lane on the road section being traveled.

[0076] Among them, the neural network prediction model is trained based on multiple historical positioning information of the vehicle, historical navigation route information, historical first position change characteristics, historical second position change characteristics and the corresponding historical actual leftmost edge and historical actual rightmost edge as a training sample set.

[0077] Step 3: Determine the second driving area according to the leftmost predicted edge and the rightmost predicted edge.

[0078] Step 4: Recalibrate the first driving area according to the second driving area.

[0079] Step 4 can be specifically implemented as follows: according to the formula P3=k1P1+k2P2, calibrate the first driving area again, where k1 is the first weighting coefficient, k2 is the second weighting coefficient, and k1+k2=1, P1 is the position of the first driving area before this calibration, P2 is the position of the second driving area before this calibration, and P3 is the position of the first driving area after this calibration. For example, k1=k2=0.5.

[0080] It can be understood that the first driving area can be calibrated more accurately through steps 1 to 4.

[0081] See also Figure 3-4 , the embodiment of the present application provides an intelligent driving device based on image processing, which is configured in the vehicle-mounted controller of the vehicle. It should be noted that the basic principle and technical effect of the intelligent driving device based on image processing provided by the embodiment of the present application are the same as those of the above-mentioned embodiment. For the sake of brief description, the parts not mentioned in the embodiment of the present application can refer to the corresponding contents in the above-mentioned embodiment. The device includes an information receiving unit, an area recognition unit, a position calibration unit, an area determination unit, a data summing unit, an area calibration unit, and a driving control unit, wherein,

[0082] An information receiving unit is used to receive the ambient light intensity transmitted from the vehicle-mounted ambient light intensity sensor, and when the ambient light intensity is lower than a set light intensity threshold, determine that the vehicle is in a night driving mode;

[0083] The information receiving unit is further used to receive the road surface image of the road on which the vehicle is traveling collected by the on-board camera at the current sampling moment in the night driving mode;

[0084] An area recognition unit, used to recognize a first driving area formed by a left lane line 201 and a right lane line 202 of a lane where the vehicle is located on a road section on which the vehicle is traveling in a road surface image of the road on which the vehicle is traveling;

[0085] The position calibration unit is specifically used to determine a left edge area including a first target line segment 205, and a right edge area including a second target line segment 206, wherein the distances between the first target line segment 205 and the left side and the right side of the left edge area are respectively within a preset distance range, and the distances between the second target line segment 206 and the left side and the right side of the right edge area are respectively within a preset distance range; determine the sum of the absolute values ​​of the gradient values ​​of the brightness of each pixel on each first reference line parallel to the first target line segment 205 in the left edge area in a direction perpendicular to the first reference line, and determine the sum of the absolute values ​​of the gradient values ​​of the brightness of each pixel on each second reference line parallel to the second target line segment 206 in the right edge area in a direction perpendicular to the second reference line; calibrate the determined first driving area, wherein the leftmost edge 203 of the first driving area after calibration is the first reference line with the largest sum of the absolute values ​​of the gradient values, and the rightmost edge 204 of the first driving area after calibration is the second reference line with the largest sum of the absolute values ​​of the gradient values;

[0086] The driving control unit is used to control the vehicle to drive within a first driving area on the road section on which the vehicle is driving, under the condition that it is determined that the vehicle does not have a lane change demand.

[0087] In a possible implementation, the device provided by the present application further includes:

[0088] a feature extraction unit, configured to extract a first position change feature of a leftmost edge 203 of a first driving area determined within a previous preset time period at each sampling moment within the previous preset time period, and to extract a second position change feature of a rightmost edge 204 of a first driving area determined within a previous preset time period at each sampling moment within the previous preset time period;

[0089] An information acquisition unit, used to acquire vehicle positioning information and navigation route information;

[0090] An edge prediction unit is used to input the vehicle's positioning information, navigation route information, first position change feature, and second position change feature into a pre-trained neural network prediction model to obtain a leftmost predicted edge of a left lane line 201 of the lane on the road section being traveled and a rightmost predicted edge of a right lane line 202 of the lane on the road section being traveled, wherein the neural network prediction model is trained based on a plurality of historical positioning information, historical navigation route information, historical first position change feature, historical second position change feature, and corresponding historical actual leftmost edge and historical actual rightmost edge of the vehicle as a training sample set;

[0091] The area determination unit is further used to determine a second driving area according to the leftmost predicted edge and the rightmost predicted edge;

[0092] The area calibration unit is further used to recalibrate the first driving area according to the second driving area.

[0093] In one possible implementation, the area calibration unit is specifically used to recalibrate the first driving area according to the formula P3=k1P1+k2P2, wherein k1 is the first weighting coefficient, k2 is the second weighting coefficient, and k1+k2=1, P1 is the position of the first driving area before this calibration, P2 is the position of the second driving area before this calibration, and P3 is the position of the first driving area after this calibration.

[0094] In a possible implementation, the area calibration unit is specifically used to extract the leftmost edge 203 of the first driving area determined within the previous preset time length and the first position features at each sampling moment within the previous preset time length according to the convolutional neural network CNN; extract the time-series dependency of the first position features at each sampling moment according to the deep confidence DBN network; and fuse the time-series dependency of the first position features at each sampling moment to obtain the leftmost edge 203 of the first driving area determined within the previous preset time length and the first position change features at each sampling moment within the previous preset time length.

[0095] In a possible implementation, the area calibration unit is specifically used to extract the second position features of the rightmost edge 204 of the first driving area determined within the previous preset time length at each sampling moment within the previous preset time length according to the convolutional neural network CNN; extract the time-series dependency of the second position features at each sampling moment according to the deep confidence DBN network; and fuse the time-series dependency of the second position features at each sampling moment to obtain the second position change features of the rightmost edge 204 of the first driving area determined within the previous preset time length at each sampling moment within the previous preset time length.

[0096] In summary, the embodiment of the present application provides an intelligent driving method and device based on image processing, which, in a night driving mode, receives a road surface image of a road on which a vehicle is traveling collected by a vehicle-mounted camera at a current sampling time; identifies a first driving area formed by a left lane line 201 and a right lane line 202 of a lane in which a vehicle is located on a road section on which the vehicle is traveling in the road surface image of the road on which the vehicle is traveling;

[0097] Determine a left edge region including the first target line segment 205, and a right edge region including the second target line segment 206, wherein the distances between the first target line segment 205 and the left side and the right side of the left edge region are both within a preset distance range, and the distances between the second target line segment 206 and the left side and the right side of the right edge region are both within a preset distance range;

[0098] Determine the brightness of each pixel on each first reference line parallel to the first target line segment 205 in the left edge area, and the sum of the absolute values ​​of the gradient values ​​in the direction perpendicular to the first reference line, and determine the brightness of each pixel on each second reference line parallel to the second target line segment 206 in the right edge area, and the sum of the absolute values ​​of the gradient values ​​in the direction perpendicular to the second reference line; calibrate the determined first driving area, wherein the leftmost edge 203 of the calibrated first driving area is the first reference line with the largest sum of the absolute values ​​of the gradient values, and the rightmost side 204 of the calibrated first driving area is the second reference line with the largest sum of the absolute values ​​of the gradient values. In this way, the position of the leftmost edge 203 and the rightmost edge 204 of the first driving area can be more accurately identified, and then, the position of the first driving area can be more accurately determined. In this way, under the condition that it is determined that the vehicle does not have a need to change lanes, the vehicle is accurately controlled to travel in the first driving area on the road section, so as to avoid the occurrence of traffic accidents.

[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An intelligent driving method based on image processing, characterized in that: The method is applied to an on-board controller of a vehicle, and comprises: Receiving ambient light intensity transmitted from an on-vehicle ambient light intensity sensor, and determining that the vehicle is in a night driving mode when the ambient light intensity is lower than a set light intensity threshold; In the nighttime driving mode, receiving a road surface image of the road on which the vehicle is traveling collected by a vehicle-mounted camera at a current sampling moment; Identifying a first driving area formed by a left lane line and a right lane line of a lane where the vehicle is located on a road section on which the vehicle is traveling in a road surface image of the road on which the vehicle is traveling; Determine a first target line segment located on the left side of the left lane line and a second target line segment located on the right side of the right lane line, and calibrate the position of the first driving area according to the first target line segment and the second target line segment, wherein calibrating the position of the first driving area according to the first target line segment and the second target line segment includes: Determine a left edge region including the first target line segment, and a right edge region including the second target line segment, wherein the distances between the first target line segment and the left side and the right side of the left edge region are both within a preset distance range, and the distances between the second target line segment and the left side and the right side of the right edge region are both within a preset distance range; Determine the sum of the absolute values ​​of the gradient values ​​of the brightness of each pixel on each first reference line parallel to the first target line segment in the left edge region in a direction perpendicular to the first reference line, and determine the sum of the absolute values ​​of the gradient values ​​of the brightness of each pixel on each second reference line parallel to the second target line segment in the right edge region in a direction perpendicular to the second reference line; The first driving area determined by calibration, wherein the leftmost edge of the first driving area after calibration is a first reference line having a maximum sum of absolute values ​​of the gradient values, and the rightmost edge of the first driving area after calibration is a second reference line having a maximum sum of absolute values ​​of the gradient values; Under the condition that it is determined that the vehicle does not have a lane change demand, controlling the vehicle to travel within the first driving area on the driving section; Before controlling the vehicle to travel within the first driving area on the traveled road section under the condition that it is determined that the vehicle does not have a lane change requirement, the method further includes: Extracting a first position change feature of the leftmost edge of the first driving area determined within a previous preset time period at each sampling time within the previous preset time period, and extracting a second position change feature of the rightmost edge of the first driving area determined within a previous preset time period at each sampling time within the previous preset time period; Obtaining positioning information and navigation route information of the vehicle; Inputting the positioning information of the vehicle, the navigation route information, the first position change feature, and the second position change feature into a pre-trained neural network prediction model to obtain the leftmost predicted edge of the left lane line of the lane on the traveled section and the rightmost predicted edge of the right lane line of the lane on the traveled section, wherein the neural network prediction model is trained based on a plurality of historical positioning information of the vehicle, historical navigation route information, historical first position change feature, historical second position change feature, and corresponding historical actual leftmost edge and historical actual rightmost edge as a training sample set; determining a second driving area according to the leftmost predicted edge and the rightmost predicted edge; recalibrating the first driving area according to the second driving area; The recalibrating the first driving area according to the second driving area includes: According to the formula P3=k1P1+k2P2, the first driving area is calibrated again, wherein k1 is the first weighting coefficient, k2 is the second weighting coefficient, and k1+k2=1, P1 is the position of the first driving area before the current calibration, P2 is the position of the second driving area before the current calibration, and P3 is the position of the first driving area after the current calibration; The extracting of the first position change feature of the leftmost edge of the first driving area determined within the previous preset time period at each sampling time within the previous preset time period includes: Extracting, according to a convolutional neural network (CNN), a first position feature of the leftmost edge of the first driving area determined within a previous preset time period at each sampling time within the previous preset time period; Extracting the temporal dependency of the first position features at each sampling moment according to the deep confidence DBN network; The time-series dependency of the first position features at each sampling moment is integrated to obtain the first position change features of the leftmost edge of the first driving area determined within a previous preset time length at each sampling moment within the previous preset time length; The extracting of the second position change feature of the rightmost edge of the first driving area determined within the previous preset time period at each sampling time within the previous preset time period includes: Extracting, according to a convolutional neural network (CNN), a second position feature of the rightmost edge of the first driving area determined within a previous preset time period at each sampling time within the previous preset time period; Extracting the temporal dependency of the second position features at each sampling moment according to the deep confidence DBN network; The time-series dependency of the second position features at each sampling moment is integrated to obtain the second position change features of the rightmost edge of the first driving area determined within the previous preset time length at each sampling moment within the previous preset time length.

2. An intelligent driving device based on image processing, characterized in that: An on-board controller configured in a vehicle, the device comprising: An information receiving unit is used to receive the ambient light intensity transmitted from the vehicle-mounted ambient light intensity sensor, and when the ambient light intensity is lower than a set light intensity threshold, determine that the vehicle is in a night driving mode; The information receiving unit is further used to receive, in the night driving mode, a road surface image of the road on which the vehicle is traveling, collected by the on-board camera at a current sampling moment; An area recognition unit, used to recognize a first driving area formed by a left lane line and a right lane line of a lane where the vehicle is located on a road section on which the vehicle is traveling in a road surface image of the road on which the vehicle is traveling; a position calibration unit, configured to determine a first target line segment located on the left side of the left lane line and a second target line segment located on the right side of the right lane line, and calibrate the position of the first driving area according to the first target line segment and the second target line segment; A position calibration unit, specifically used to determine a left edge area including the first target line segment, and a right edge area including the second target line segment, wherein the distances between the first target line segment and the left side and the right side of the left edge area are respectively within a preset distance range, and the distances between the second target line segment and the left side and the right side of the right edge area are respectively within a preset distance range; determine the sum of the absolute values ​​of the gradient values ​​of the brightness of each pixel on each first reference line parallel to the first target line segment in the left edge area in a direction perpendicular to the first reference line, and determine the sum of the absolute values ​​of the gradient values ​​of the brightness of each pixel on each second reference line parallel to the second target line segment in the right edge area in a direction perpendicular to the second reference line; calibrate the determined first driving area, wherein the leftmost edge of the calibrated first driving area is the first reference line with the largest sum of the absolute values ​​of the gradient values, and the rightmost edge of the calibrated first driving area is the second reference line with the largest sum of the absolute values ​​of the gradient values; A driving control unit, configured to control the vehicle to drive within the first driving area on the road section being driven, under the condition that it is determined that the vehicle does not have a lane change requirement; The device also includes: a feature extraction unit, configured to extract a first position change feature of the leftmost edge of the first driving area determined within a previous preset time period at each sampling moment within the previous preset time period, and to extract a second position change feature of the rightmost edge of the first driving area determined within a previous preset time period at each sampling moment within the previous preset time period; An information acquisition unit, used to acquire the positioning information and navigation route information of the vehicle; an edge prediction unit, for inputting the positioning information of the vehicle, the navigation route information, the first position change feature, and the second position change feature into a pre-trained neural network prediction model, and obtaining a leftmost predicted edge of a left lane line of the lane on the traveled section and a rightmost predicted edge of a right lane line of the lane on the traveled section, wherein the neural network prediction model is trained based on a plurality of historical positioning information of the vehicle, historical navigation route information, historical first position change feature, historical second position change feature, and corresponding historical actual leftmost edge and historical actual rightmost edge as a training sample set; The area determination unit is further used to determine a second driving area according to the leftmost predicted edge and the rightmost predicted edge; The area calibration unit is further used to recalibrate the first driving area according to the second driving area; The area calibration unit is specifically used to calibrate the first driving area again according to the formula P3=k1P1+k2P2, wherein k1 is a first weighting coefficient, k2 is a second weighting coefficient, and k1+k2=1, P1 is a position of the first driving area before the current calibration, P2 is a position of the second driving area before the current calibration, and P3 is a position of the first driving area after the current calibration; The area calibration unit is specifically used to extract the leftmost edge of the first driving area determined within a previous preset time length according to the convolutional neural network CNN, and the first position features at each sampling time within the previous preset time length; extract the time-series dependency of the first position features at each sampling time according to the deep confidence DBN network; fuse the time-series dependency of the first position features at each sampling time, and obtain the leftmost edge of the first driving area determined within the previous preset time length, and the first position change features at each sampling time within the previous preset time length; The area calibration unit is specifically used to extract the second position features of the rightmost edge of the first driving area determined within a previous preset time length according to the convolutional neural network CNN at each sampling moment within the previous preset time length; extract the time series dependency of the second position features at each sampling moment according to the deep confidence DBN network; and fuse the time series dependency of the second position features at each sampling moment to obtain the second position change features of the rightmost edge of the first driving area determined within the previous preset time length at each sampling moment within the previous preset time length.

Citation Information

Patent Citations

  • Lane navigation path generation method and device and driving control method and device

    CN114537434A

  • Vehicle position recognizing device and vehicle position recognizing method

    EP1686538A2

  • Navigation apparatus, method and program for vehicle

    US20070050134A1