An assisted driving method, device, vehicle and storage medium

By deploying sensing radar and cameras on vehicles and using image recognition and point cloud fusion technology to generate road images, the driving risks when vehicles pass through tunnels are resolved, and efficient tunnel entrance recognition and low-power operation are achieved.

CN117207889BActive Publication Date: 2026-11-24CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311389083.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2026-11-24
Estimated Expiration
2043-10-24

AI Technical Summary

Technical Problem

When vehicles pass through tunnels, the "black hole effect" and "white hole effect" make it difficult for drivers to see the road clearly. Current technology requires vehicles to communicate with roadside equipment, making it difficult to achieve a unified interface standard.

Method used

By deploying sensing radar and cameras on vehicles, tunnel entrances can be identified through image recognition and point cloud fusion technology, and road images can be generated inside the vehicles. The sensing radar and cameras can be used together to collect road information on the other side of the tunnel, avoiding reliance on roadside equipment.

Benefits of technology

It improves the accuracy of tunnel entrance recognition, reduces vehicle power consumption, enhances the vehicle's adaptability in different environments, and ensures driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117207889B_ABST
    Figure CN117207889B_ABST
Patent Text Reader

Abstract

This invention relates to the field of automotive driving technology, and discloses an assisted driving method, device, vehicle, and storage medium. The method is applied to a vehicle equipped with a sensing radar and a camera. The method includes: acquiring an image of the road ahead of the vehicle, and identifying whether a tunnel entrance (entrance or exit) exists ahead of the vehicle based on the image; when a tunnel entrance exists ahead of the vehicle, jointly acquiring road information on the side of the tunnel entrance away from the vehicle using the sensing radar and the camera, the road information including road point clouds acquired by the sensing radar and road images acquired by the camera; generating and displaying a road image based on the road information. This invention solves the problem of drivers not being able to see the road clearly when passing through tunnels due to the "black hole effect" and "white hole effect".
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive driving technology, and more specifically to a driving assistance method, device, vehicle, and storage medium. Background Technology

[0002] Cars, as an indispensable means of transportation in daily life, provide people with a convenient and comfortable living experience. However, at the same time, people lose precious lives every day due to traffic accidents. In particular, the difference in brightness between the inside and outside of tunnels can cause drivers to experience temporary visual discomfort, making it difficult to see the road, a phenomenon commonly known as the "black hole effect" and "white hole effect." This is a major factor contributing to the frequent accidents when driving through tunnels. Related technologies typically involve installing roadside equipment at the tunnel entrance, which continuously captures images of the tunnel interior and exterior. When a vehicle approaches the roadside equipment, it establishes a communication connection with the vehicle's side communication unit, transmitting the continuously captured images of the tunnel interior to the vehicle's display. This alerts the user to observe the tunnel image displayed on the in-vehicle screen, avoiding the visibility problems caused by the "black hole effect" and "white hole effect." However, this technology requires vehicles to have the ability to communicate with the roadside equipment, necessitating a unified interface standard for communication configurations between different vehicle brands and the roadside equipment—a very difficult requirement to achieve. Therefore, a new method is needed to address the driving risks caused by the "black hole effect" and "white hole effect" when vehicles pass through tunnels. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide an assisted driving method, device, vehicle, and storage medium to solve the problem that drivers cannot see the road clearly when vehicles pass through tunnels due to the "black hole effect" and "white hole effect".

[0004] In a first aspect, embodiments of the present invention provide an assisted driving method applied to a vehicle equipped with a sensing radar and a camera. The method includes: acquiring an image of the vehicle's path ahead and identifying whether a tunnel entrance exists ahead of the vehicle based on the image; when a tunnel entrance exists ahead of the vehicle, collecting road information on the side of the tunnel entrance away from the vehicle using the sensing radar and the camera; the road information includes road point clouds collected by the sensing radar and road images collected by the camera; generating a road image based on the road information and displaying the road image.

[0005] Based on the aforementioned technical means, sensor radar and cameras are deployed on vehicles. During vehicle operation, the cameras capture real-time images of the road ahead and accurately identify upcoming tunnel entrances and exits. Upon detection, the sensor radar and cameras jointly collect road information on the other side of the tunnel entrance. Using image and point cloud data fusion technology, the image on the other side of the tunnel entrance is accurately obtained and displayed inside the vehicle. When driving through a tunnel, the user can clearly see the road conditions by observing the in-vehicle view, avoiding driving risks caused by the "black hole effect" and "white hole effect." Furthermore, the vehicle's sensor radar and cameras can acquire road information on the other side of the tunnel entrance that is difficult to see through using point cloud and image fusion technology, eliminating the need for video data from roadside equipment. This solves the problem of configuring a unified communication interface for different brands of vehicles and roadside equipment.

[0006] In one optional implementation, identifying whether a tunnel entrance exists ahead of a vehicle using an image of the vehicle's path includes: extracting contour information from the image; comparing the contour information with graphics in a tunnel graphic set, the tunnel graphic set including multiple graphics of preset tunnel entrance shapes; when a target contour in the contour information matches any graphic in the tunnel graphic set, detecting the brightness difference between the regions on both sides of the target contour in the image of the vehicle's path; and determining that a tunnel entrance exists ahead of the vehicle when the brightness difference is greater than a preset brightness threshold.

[0007] Based on the aforementioned technical means, the contour information of various objects in the image of the vehicle's front is first extracted by the camera. Among these contour information, there may be tunnel entrance contours. Then, the contour information is compared with a preset set of tunnel graphics that includes multiple preset tunnel entrance shapes to determine the most likely tunnel entrance contour. Then, the brightness difference between the two sides of the contour is analyzed. Usually, the brightness difference between the two sides of the tunnel entrance contour is more obvious. Therefore, when the brightness difference is greater than a preset brightness threshold, it is determined that there is a tunnel entrance in front of the vehicle, which can significantly improve the accuracy of tunnel entrance recognition.

[0008] In an optional implementation, before jointly acquiring road information on the side of the tunnel entrance away from the vehicle using a sensor radar and a camera, the method further includes: identifying the relative distance between the vehicle and the tunnel entrance using an image of the vehicle ahead; when the vehicle meets a first condition, performing the step of jointly acquiring road information on the side of the tunnel entrance away from the vehicle using a sensor radar and a camera, the first condition including the vehicle speed being less than or equal to a preset speed threshold and the relative distance being less than a first preset distance threshold; when the vehicle meets a second condition, performing the step of jointly acquiring road information on the side of the tunnel entrance away from the vehicle using a sensor radar and a camera, the second condition including the vehicle speed being greater than a preset speed threshold and the relative distance being less than a second preset distance threshold, the second preset distance threshold being greater than the first preset distance threshold; when the vehicle does not meet the first or second condition, controlling the sensor radar to be in a low-power state to wait for the step of jointly acquiring road information on the side of the tunnel entrance away from the vehicle using a sensor radar and a camera.

[0009] Based on the aforementioned technical means, this embodiment of the invention divides the vehicle's road condition recognition function into two states: active and standby. The sensing radar and camera are only activated when the vehicle approaches the tunnel entrance, thereby executing the step of collecting road information on the side of the tunnel entrance away from the vehicle using the sensing radar and camera. When the vehicle is not approaching the tunnel entrance, only the camera is activated temporarily, without activating the sensing radar, keeping the vehicle in a low-power state and saving vehicle energy. Furthermore, depending on the vehicle speed, at higher speeds, the vehicle approaches the tunnel entrance more quickly, requiring the active road condition recognition function to be activated earlier. This allows for the use of a larger second preset distance threshold to determine whether the vehicle is approaching the tunnel entrance. Conversely, at lower speeds, a smaller first preset distance threshold is used to determine whether the vehicle is approaching the tunnel entrance, improving the vehicle's adaptive capability and further reducing vehicle power consumption.

[0010] In one optional implementation, generating a road image based on road information includes: acquiring imaging conditions, which characterize whether the external environment affects the quality of the road image; when the imaging conditions indicate that the external environment has no impact on the quality of the road image, using the road image as a base map and marking obstacles in the road image according to the road point cloud; stitching the marked image and an image of the vehicle's path taken before the vehicle passes through the tunnel entrance to obtain a road image; when the imaging conditions indicate that the external environment affects the quality of the road image, generating a virtual road image according to the road point cloud and using the virtual road image as the road image.

[0011] Based on the aforementioned technical means, embodiments of the present invention employ different imaging strategies under varying environmental conditions. When external weather conditions are favorable, resulting in good imaging, images captured by a camera are used as the primary data source. The road image captured by the camera serves as the base map, and combined with the enhanced obstacle recognition capabilities of road point clouds, obstacles are marked in the road image, resulting in a more realistic road view displayed inside the vehicle. Conversely, if external weather conditions are poor, leading to poor imaging, data from radar scanning becomes the primary data source. Various road condition information is acquired through scanning, and then a colorful virtual road image is generated through 3D rendering. This also helps users safely pass through tunnel entrances, addressing the problems caused by the "black hole effect" and "white hole effect." This further enhances the vehicle's adaptability to various environmental conditions.

[0012] In one optional implementation, a road image is used as a base map, and obstacles are labeled in the road image based on the road point cloud, including: identifying lane lines, signs, trajectory lines, and obstacles in the road image; labeling lane lines, signs, trajectory lines, and obstacles in the road image based on the identification results; extracting obstacle location information from the road point cloud; mapping the obstacle location information to the road image; and performing secondary labeling of obstacles in the road image based on the mapping results.

[0013] Based on the aforementioned technical means, under good imaging conditions, image recognition technology is first used to identify information such as lane lines, signs, trajectory lines, and obstacles in the image. Then, the lane point cloud obtained by the inductive radar is used to more accurately identify small obstacles and map them onto the road image. This ensures that the displayed road image is realistic while clearly highlighting obstacles and lane lines. When users pass through tunnel entrances by observing the road image, driving safety can be further improved.

[0014] In one optional implementation, generating a virtual road image based on a road point cloud includes: extracting lane line point clouds, landmark point clouds, and obstacle point clouds from the road point cloud; and performing 3D rendering using the lane line point clouds, landmark point clouds, and obstacle point clouds to synthesize a virtual road image.

[0015] Based on the aforementioned technical means, when imaging conditions are poor and the images captured by the camera cannot clearly show the road conditions, the data from the sensing radar is used as the main source to scan the lanes, lane lines, signs, and obstacles on the side of the tunnel entrance away from the vehicle. Then, a virtual road image is generated by rendering using 3D rendering technology. It can also be color-rendered according to the user's definition of the virtual road image. Thus, even when the real image cannot be clearly displayed, the 3D virtual road image can still prompt the driver about the road conditions on the other side of the tunnel entrance, so that the user can safely pass through the tunnel entrance, avoid the effects of the "black hole effect" and "white hole effect", and further enhance the vehicle's adaptive ability to cope with various environmental conditions.

[0016] In one optional implementation, the camera includes a daytime mode and a nighttime mode. The process involves stitching together a labeled image and a road view image taken before the vehicle passes through the tunnel entrance to obtain a road image. This includes: acquiring the ambient brightness before the vehicle passes through the tunnel entrance; when the ambient brightness is greater than a preset ambient brightness threshold, adjusting the road view image to daytime mode and enhancing the image tone of the labeled image; when the ambient brightness is less than the preset ambient brightness threshold, adjusting the road view image to nighttime mode and adjusting the image tone of the labeled image to match the image tone of the road view image; and stitching the toned labeled image and the road view image together.

[0017] Based on the above-mentioned technical means, before generating the road image, the embodiments of the present invention first adjust the image tone of the annotation image and the image of the vehicle in front of the vehicle according to the current ambient brightness of the vehicle. Then, the annotation image with adjusted image tone and the image of the vehicle in front of the vehicle are stitched together. This can further eliminate the influence of the "black hole effect" and "white hole effect" on the video image, further improve the clarity of the video image, and thus ensure the safety of the driver when passing through the tunnel entrance.

[0018] In one optional implementation, extracting contour information from an image of the vehicle's front view includes: processing the image of the vehicle's front view into grayscale to obtain a grayscale image; binarizing the grayscale image to obtain a binarized image; and performing edge detection on the binarized image to obtain contour information.

[0019] Secondly, embodiments of the present invention provide an assisted driving device applied to a vehicle, the vehicle being equipped with a sensing radar and a camera. The device includes: a tunnel entrance recognition module, used to acquire an image of the vehicle's path ahead and identify whether a tunnel entrance exists ahead of the vehicle based on the image; the tunnel entrance being either a tunnel entrance or a tunnel exit; a road information acquisition module, used to acquire road information on the side of the tunnel entrance away from the vehicle by combining the sensing radar and the camera when a tunnel entrance exists ahead of the vehicle; the road information including road point clouds acquired by the sensing radar and road images acquired by the camera; and an auxiliary display module, used to generate and display a road display based on the road information.

[0020] Thirdly, embodiments of the present invention provide a vehicle, including: a memory, a processor, a sensing radar, and a camera. The memory, the sensing radar, and the camera are all communicatively connected to the processor. The memory stores computer instructions, and the processor executes the computer instructions to perform the assisted driving method described in the first aspect or any corresponding embodiment.

[0021] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions that cause a computer to perform the method described in the first aspect or any of its corresponding embodiments.

[0022] The beneficial effects of this invention are:

[0023] (1) By deploying sensing radar and cameras on the vehicle, the vehicle can capture real-time images of the road ahead while driving, and accurately identify the entrance or exit of the tunnel it is about to pass through. When the entrance or exit of the tunnel is identified, the sensing radar and cameras are activated to jointly collect road information on the other side of the tunnel entrance. Based on the fusion technology of image data and point cloud data, the image on the other side of the tunnel entrance is accurately obtained, and the road image is displayed inside the vehicle. When the user drives the vehicle through the tunnel entrance, he can see the road conditions clearly by observing the road image inside the vehicle, avoiding the driving risks caused by the "black hole effect" and "white hole effect". At the same time, based on the sensing radar and cameras on the vehicle, the vehicle can obtain road information on the other side of the tunnel entrance that is not easy to see through point cloud and image fusion technology, without having to observe the road through the video data of the other side of the tunnel entrance transmitted back by the roadside equipment. This solves the problem of the difficulty in configuring a unified communication interface for different brands of vehicles and different brands of roadside equipment.

[0024] (2) Extract the contour information of various objects in the image of the vehicle in front of the camera. Among these contour information, there may be the contour of the tunnel entrance. Then compare the contour information with the preset set of tunnel graphics, which includes multiple preset shapes of tunnel entrances, to determine the contour that is most likely to be the tunnel entrance. Then analyze the brightness difference between the two sides of the contour. Usually, the brightness difference between the two sides of the tunnel entrance contour is more obvious. Therefore, when the brightness difference is greater than the preset brightness threshold, it is determined that there is a tunnel entrance in front of the vehicle, which can significantly improve the accuracy of tunnel entrance recognition.

[0025] (3) In this embodiment of the invention, the vehicle's road condition recognition function is divided into two states: active and standby. The sensing radar and camera are only activated when the vehicle approaches the tunnel entrance, thereby performing the step of collecting road information on the side of the tunnel entrance away from the vehicle through the sensing radar and camera. When the vehicle is not approaching the tunnel entrance, only the camera is activated temporarily, and the sensing radar is not activated, so that the vehicle is in a low-power state, which saves vehicle energy consumption. In addition, depending on the vehicle speed, when the vehicle speed is high, the vehicle will approach the tunnel entrance faster and needs to activate the active road condition recognition function earlier, thereby using a larger second preset distance threshold to determine whether the vehicle is approaching the tunnel entrance. When the vehicle speed is low, a smaller first preset distance threshold is used to determine whether the vehicle is approaching the tunnel entrance, which improves the vehicle's adaptive ability and further reduces vehicle power consumption.

[0026] (4) In this embodiment of the invention, different imaging strategies are adopted under different environmental conditions. When the external ambient light, weather, and imaging conditions are good, the images captured by the camera are used as the main data source. The road images captured by the camera are used as the base map, and obstacles are marked in the road images by combining the stronger obstacle recognition capability of road point clouds. Then, a more realistic road scene is displayed in the vehicle. If the external ambient light, weather, and imaging conditions are poor, the data scanned by the sensing radar are used as the main data source. Various road condition information is obtained by scanning, and then a colorful virtual road image is generated by 3D rendering. This can also help users safely pass through tunnel entrances and solve the problems caused by the "black hole effect" and "white hole effect". This further enhances the vehicle's adaptive ability to cope with various environmental conditions.

[0027] (5) Under good imaging conditions, information such as lane lines, signs, trajectory lines and obstacles are first identified in the image through image recognition technology. Then, the lane point cloud obtained by the inductive radar is used to more accurately identify small obstacles and map them into the road image. This ensures that the displayed road image can clearly highlight obstacles and lane lines while maintaining authenticity. When users pass through the tunnel entrance by observing the road image, driving safety can be further improved.

[0028] (6) When imaging conditions are poor, the images captured by the camera cannot clearly show the road conditions. Therefore, the data from the sensing radar is used as the main source to scan the lanes, lane lines, signs and obstacles on the side of the tunnel entrance away from the vehicle. Then, a virtual road image is generated by rendering through 3D rendering technology. It can also be color-rendered according to the user's definition of the virtual road image. Thus, even when the real image cannot be clearly displayed, the 3D virtual road image can still prompt the driver about the road conditions on the other side of the tunnel entrance, so that the user can safely pass through the tunnel entrance and avoid the effects of the "black hole effect" and "white hole effect", further enhancing the vehicle's ability to adapt to various environmental conditions.

[0029] (7) Before generating the road image, the embodiments of the present invention first adjust the image tone of the annotation image and the image of the vehicle in front of the vehicle according to the current ambient brightness of the vehicle. Then, the annotation image and the image of the vehicle in front of the vehicle after the image tone adjustment are spliced ​​together. This can further eliminate the influence of the "black hole effect" and "white hole effect" on the video image and further improve the clarity of the video image, thereby ensuring the safety of the driver when passing through the tunnel entrance. Attached Figure Description

[0030] Figure 1 This is a schematic flowchart of an assisted driving method according to some embodiments of the present invention;

[0031] Figure 2 This is a schematic diagram illustrating the effect of contour information recognition according to some embodiments of the present invention;

[0032] Figure 3 This is another schematic flowchart of an assisted driving method according to some embodiments of the present invention;

[0033] Figure 4 This is another schematic flowchart of an assisted driving method according to some embodiments of the present invention;

[0034] Figure 5 This is a structural block diagram of a driver assistance device according to an embodiment of the present invention;

[0035] Figure 6 This is a schematic diagram of the hardware structure of a vehicle according to an embodiment of the present invention;

[0036] Figure 7 This is a schematic diagram of the installation positions of the camera and sensing radar according to an embodiment of the present invention;

[0037] Figure 8 This is a schematic diagram of the installation location of the HMI unit according to an embodiment of the present invention. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0039] According to an embodiment of the present invention, an embodiment of an assisted driving method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0040] This embodiment provides an assisted driving method applied to a vehicle. Figure 1 This is a flowchart of an assisted driving method according to an embodiment of the present invention, the process including the following steps:

[0041] Step S101: Acquire an image of the road ahead of the vehicle, and identify whether there is a tunnel entrance or tunnel exit in front of the vehicle based on the image of the road ahead of the vehicle.

[0042] Specifically, the method provided in this embodiment of the invention is applied to a vehicle equipped with a "three-in-one" sensing device, which integrates a daytime imaging camera, an infrared nighttime imaging camera, and a sensing radar. This sensing device can automatically switch between day and night modes based on the environment to acquire high-definition images, and can also utilize the sensing radar to assist in detecting road conditions ahead of the vehicle under poor imaging conditions. Before the vehicle performs road condition detection, this embodiment first acquires an image of the road ahead using a camera and performs target recognition on the image to determine whether a "tunnel entrance" is present. The tunnel entrance described in this embodiment refers to either a "tunnel entrance" or a "tunnel exit." The step of identifying the tunnel entrance from the image ahead of the vehicle using target detection technology can be implemented using some commonly used target detection models, such as the YOLO target detection model. For the specific construction principles of target detection models, please refer to relevant technologies; this embodiment of the invention will not elaborate further.

[0043] Step S102: When there is a tunnel entrance ahead of the vehicle, road information on the side away from the vehicle is collected by the sensor radar and camera. The road information includes road point cloud collected by the sensor radar and road image collected by the camera.

[0044] Specifically, once a tunnel entrance is detected ahead of the vehicle via an image of the vehicle's path, the sensing radar and camera are immediately activated to work together. In this embodiment, the camera is primarily used to collect real, color image data, while the sensing radar, including but not limited to lidar and millimeter-wave radar, is mainly used to collect point cloud data. Thus, when the sensing radar and camera work together, the camera captures images of the side of the tunnel entrance furthest from the vehicle. For example, if the vehicle accurately enters the tunnel, the camera focuses on capturing images inside the tunnel through the entrance; if the vehicle is about to exit the tunnel, the camera focuses on capturing images outside the tunnel through the entrance. However, using only the camera to capture images may result in unclear images due to lighting conditions. Therefore, this embodiment combines the sensing radar with the scanned point cloud data, fusing it with the images captured by the camera. Because the point cloud data is obtained through laser or millimeter-wave scanning, it is not affected by ambient light, allowing the road point cloud collected by the sensing radar to highlight the contours of obstacles, road edges, and other features.

[0045] Step S103: Generate and display road images based on road information.

[0046] Specifically, in this embodiment of the invention, the road point cloud collected by the sensing radar and the road image collected by the camera are fused to generate a road image, which is then displayed inside the vehicle via an HMI (Human Machine Interface) unit. When a user drives through a tunnel entrance, they can clearly see the road conditions by observing the road image inside the vehicle, avoiding driving risks caused by the "black hole effect" and "white hole effect." Simultaneously, based on the sensing radar and camera on the vehicle, point cloud and image fusion technology can acquire road information that is difficult to see on the other side of the tunnel entrance using the vehicle itself, eliminating the need to observe the road through video data from the other side of the tunnel entrance transmitted by roadside equipment. This solves the problem of configuring a unified communication interface for different brands of vehicles and different brands of roadside equipment.

[0047] In some alternative implementations, step S101 includes:

[0048] Step a1: Extract the contour information from the image of the vehicle in front of it.

[0049] Step a2: Compare the contour information with the graphics in the tunnel graphic set, which includes graphics of multiple preset shapes for tunnel entrances.

[0050] Step a3: When a target contour in the contour information matches any graphic in the tunnel graphic set, detect the brightness difference between the two sides of the target contour in the image ahead of the vehicle.

[0051] Step a4: When the brightness difference is greater than the preset brightness threshold, it is determined that there is a tunnel entrance ahead of the vehicle.

[0052] Specifically, identifying tunnel entrances in images ahead of the vehicle falls under the responsibility of the image processing unit. This unit processes images and radar data collected by the data unit using algorithms to identify key features such as tunnels and obstacles, providing the logical basis for system decision-making. Tunnel recognition refers to the image processing unit's algorithmic identification of real-time images of the vehicle ahead captured by a camera. Through computer image algorithms, feature points are extracted from the image to determine the vehicle's exact location within the tunnel. Specifically, it can identify whether the vehicle is in front of a tunnel entrance, inside a tunnel, or at a tunnel exit, thus providing the basis for different logical processing in these three scenarios.

[0053] In order to accurately identify the tunnel entrance, this embodiment first extracts contour information from the image in front of the vehicle using an edge line extraction algorithm (the edge line extraction algorithm is existing technology and will not be described in detail in this invention). The extracted contour information can be the edge contour of any object in front of the vehicle. In addition to the contour of the tunnel entrance, the extracted contour information may also be the contour of a car, the contour of a street lamp, the contour of a person, etc.

[0054] Furthermore, it is necessary to analyze the various contour information extracted from the image of the vehicle's path to determine which contour is most likely the tunnel entrance. This embodiment of the invention includes a pre-defined tunnel shape set, which contains multiple shapes of tunnel entrances with pre-defined shapes. For example, a tunnel entrance could be square, circular, rectangular, pentagonal, or elliptical; the tunnel shape set is a collection of these shapes. Therefore, this embodiment of the invention compares the extracted contour information sequentially with the shapes in the tunnel shape set to find the contour that best matches the shape of the tunnel entrance.

[0055] However, the contour that best matches the shape of a tunnel entrance is not necessarily the tunnel entrance itself; it could be the contour of other similarly shaped objects. Therefore, this embodiment of the invention further detects the brightness difference between the regions on both sides of the contour information. In other words, by comparing the brightness difference between the area inside the contour edge curve and the area outside the edge, when the brightness difference reaches the brightness threshold set by the algorithm, it can be determined that there is a tunnel entrance ahead. This is because the two sides of the tunnel entrance contour are the tunnel wall and the air, making the brightness difference more obvious. When the brightness difference is greater than the preset brightness threshold, it is determined that there is a tunnel entrance ahead of the vehicle, which can significantly improve the accuracy of tunnel entrance recognition.

[0056] In some alternative implementations, step a1 above includes:

[0057] Step a11: Perform grayscale processing on the image of the vehicle's forward movement to obtain a grayscale image;

[0058] Step a12: Binarize the grayscale image to obtain a binarized image;

[0059] Step a13: Perform edge detection on the binarized image to obtain contour information.

[0060] Specifically, such as Figure 2 As shown, this embodiment of the invention performs grayscale processing and then binarization on the image of the vehicle in front, thereby further highlighting the features with lower brightness inside the tunnel and the features with higher brightness outside the tunnel. The high contrast on both sides of the tunnel entrance outline can highlight the tunnel entrance outline separately among multiple outlines, thereby increasing the probability that the outline information includes only the tunnel entrance outline, and further improving the accuracy of tunnel entrance outline recognition.

[0061] In particular, if a vehicle passes through a tunnel without lights, such as a tunnel on a rural road, and the environment outside the tunnel is dark, this embodiment of the invention will also activate the sensing radar to detect the edge of the tunnel entrance, thereby assisting image recognition in determining the outline of the tunnel exit.

[0062] In some alternative embodiments, before step S102, the method further includes:

[0063] Step b1: Identify the relative distance between the vehicle and the tunnel entrance using images of the vehicle ahead.

[0064] Step b2: When the vehicle meets the first condition, step S102 is executed. The first condition includes that the vehicle speed is less than or equal to a preset speed threshold and the relative distance is less than a first preset distance threshold.

[0065] Step b3: When the vehicle meets the second condition, execute step S102. The second condition includes that the vehicle speed is greater than a preset speed threshold and the relative distance is less than a second preset distance threshold, and the second preset distance threshold is greater than a first preset distance threshold.

[0066] Step b4: When the vehicle cannot meet the first or second condition, the control sensor radar is in a low-power state to wait for step S102 to be executed.

[0067] Specifically, in this embodiment, when the vehicle identifies whether it is approaching a tunnel entrance via image recognition, it makes a decision based on the current vehicle speed and the distance between the vehicle and the tunnel entrance, thereby triggering the system to enter an Active state or remain in a Sleep state. The vehicle speed determines the distance threshold, which is used to determine whether the relative distance between the vehicle and the tunnel entrance is "far" or "near". In this embodiment, the system only enters the Active state when the vehicle is "close" to the tunnel entrance, thereby using radar and cameras to jointly collect road conditions on the other side of the tunnel entrance. When the vehicle is not close to the tunnel entrance, the system does not enter the Active state and remains in the Sleep state. In this Sleep state, the radar does not operate, and only the camera collects video images of the front, keeping the vehicle in a low-power driving state, which can significantly reduce the vehicle's energy consumption.

[0068] Specifically, in this embodiment of the invention, there are two conditions for triggering the system to enter the Active state. The first condition is that the vehicle speed is less than or equal to a preset speed threshold, and the relative distance is less than a first preset distance threshold. The second condition is that the vehicle speed is greater than a preset speed threshold, and the relative distance is less than a second preset distance threshold, where the second preset distance threshold is greater than the first preset distance threshold. For example... Figure 3 As shown, in a specific embodiment, the first condition is that the vehicle speed is less than or equal to 60 km / h and the distance is less than 30 meters; the second condition is that the vehicle speed is greater than 60 km / h and the distance is less than 50 meters. When either the first or second condition is met, the system is triggered to enter Active state, and road information is collected jointly by the sensing radar and camera. The central control unit then notifies the HMI unit to activate the central control video display and voice warnings in case of danger. When the vehicle cannot meet either the first or second condition, the sensing radar is controlled to enter a low-power state.

[0069] Based on the above technical means, depending on the vehicle speed, when the vehicle speed is high, the vehicle will approach the tunnel entrance faster and needs to activate the active road condition recognition function earlier, thus using a larger second preset distance threshold to determine whether the vehicle is approaching the tunnel entrance. When the vehicle speed is low, a smaller first preset distance threshold is used to determine whether the vehicle is approaching the tunnel entrance, which also improves the vehicle's adaptive recognition capability and further reduces the vehicle's power consumption.

[0070] In some alternative implementations, step S103 above includes:

[0071] Step c1: Obtain imaging conditions. Imaging conditions are used to characterize whether the external environment has an impact on the quality of road images.

[0072] Step c2: When the imaging conditions indicate that the external environment has no impact on the quality of the road image, the road image is used as the base map, and obstacles are marked in the road image based on the road point cloud.

[0073] Step c3 involves stitching together the labeled image and the image of the vehicle's path taken before it passes through the tunnel entrance to obtain a road image.

[0074] Step c4: When the imaging conditions indicate that the external environment has an impact on the quality of the road image, a virtual road image is generated based on the road point cloud, and the virtual road image is used as the road image.

[0075] Specifically, the problem of dim images captured by cameras due to weak ambient light can often be solved by switching to night mode using infrared imaging technology. However, some weather conditions, such as rain, snow, sandstorms, and smog, affect camera performance because the air is filled with other substances, and infrared imaging technology cannot effectively solve these problems. Therefore, this embodiment of the invention analyzes the imaging conditions before generating the road image. In this embodiment, imaging conditions are used to characterize whether the external environment affects the quality of the road image. Imaging conditions can be defined as special weather conditions such as rain, snow, or sandstorms, or normal weather conditions; alternatively, imaging conditions can be defined as poor air quality (high air impurities) or good air quality (low air impurities). The determination of imaging conditions can be based on a weather forecast system or a vehicle motion detection sensor similar to that used for detecting raindrops in automatic windshield wipers.

[0076] When the imaging conditions indicate that the external environment has no impact on the quality of the road image, this embodiment of the invention uses the image captured by the camera as the main data source, thereby using the road image captured by the camera as the base map, and combining the stronger scanning capability of the sensing radar to extract the location information of some small obstacles from the road point cloud, thereby marking obstacles in the road image, and finally displaying a more realistic road scene in the vehicle, enhancing the effect of reminding users to pay attention to road safety.

[0077] If poor external weather conditions lead to poor imaging, the system primarily uses data from radar scans. It acquires various road condition information through radar scanning and then generates a colorful virtual road image using 3D rendering to simulate external road conditions. This helps users safely pass through tunnel entrances and addresses the problems caused by the "black hole effect" and "white hole effect." This further enhances the vehicle's adaptive capabilities in various environmental conditions.

[0078] In some alternative implementations, step c2 above includes:

[0079] Step c21: Identify lane lines, signs, trajectory lines, and obstacles in the road image;

[0080] Step c22: Based on the recognition results, lane lines, signs, trajectory lines, and obstacles are marked in the road image;

[0081] Step c23: Extract obstacle location information from the road point cloud;

[0082] Step c24: Map the obstacle location information onto the road image, and perform secondary annotation on the obstacles in the road image based on the mapping result.

[0083] Specifically, when imaging conditions are good, this embodiment of the invention uses images captured by a camera as the primary data to generate road images. Through image recognition algorithms, the current vehicle lane and other lanes can be extracted in real time based on each frame captured by the camera, and the current lane lines are marked with color. If the current lane is a two-way lane, it can be marked with a different color (e.g., red) to serve as a warning. Based on this, drivers can have a clearer view of their vehicle's lane by observing the road image, especially in low-light conditions such as tunnels or when lane lines are blurred. This allows for effective control of the vehicle to stay within the lane and maintain a safe distance from other vehicles, road shoulders, and other dangerous objects.

[0084] In addition, the vehicle controller can provide vehicle-specific data, including vehicle speed, steering wheel position, and gyroscope readings. Based on this data, algorithms can calculate the vehicle's forward trajectory and update it in real time according to the vehicle's driving status (trajectory planning algorithms are existing technology and will not be described in detail in this embodiment). Then, in this embodiment, the trajectory lines are drawn onto each frame of the image. For example, the trajectory lines can be marked in green, corresponding to the driving paths of the left and right front wheels of the vehicle, respectively. The driver can predict the vehicle's trajectory using the trajectory lines, promptly correct vehicle deviations, and avoid obstacles, further improving driving safety.

[0085] Furthermore, considering the significant safety hazards posed by obstacles ahead of a vehicle, it is essential to anticipate these obstacles to increase driver reaction time. This invention employs an image target recognition algorithm to extract obstacles along the vehicle's trajectory from an image, including other vehicles, pedestrians, and even small stones that may affect driving safety. In addition to image recognition, this invention also utilizes radar-assisted obstacle identification. The location information of obstacles identified from point cloud data is mapped onto a road image, and the obstacles in the road image are then further annotated based on the mapping results. The radar exhibits particularly high accuracy in identifying small obstacles such as stones that may affect driving safety, resulting in higher overall obstacle identification efficiency and accuracy. In this invention, the identified obstacles can be marked with red triangles in the image.

[0086] In addition, for some signs, such as exclamation mark warning signs and place name signs, this embodiment of the invention also uses a flashing layer to cover the corresponding position of the image and synthesizes it into the image through an algorithm, so that the signs that serve as warnings flash continuously, thereby further improving the safety and reliability of the user's driving.

[0087] In summary, the solution of this invention uses the image captured by the camera as the base image, and through the base... Figure 1 The system displays road conditions ahead of the vehicle using image algorithms. Lane lines, trajectory lines, and obstacle layers synthesized by the algorithm are then drawn onto a base map. Finally, a video stream is synthesized and output to the HMI unit's screen via a controller. This ensures the displayed road image is realistic while clearly highlighting obstacles and lane markings. When users observe the road image while passing through tunnel entrances, this further enhances driving safety.

[0088] In some alternative implementations, step c4 above includes:

[0089] Step c41: Extract lane line point cloud, landmark point cloud, and obstacle point cloud from the road point cloud;

[0090] Step c42: Use lane line point cloud, marker point cloud and obstacle point cloud to perform 3D rendering and synthesize a virtual road image.

[0091] Specifically, in situations with poor imaging conditions, the images captured by the camera cannot clearly show the road conditions. For example, during heavy rain, the camera may be affected by raindrops or fog, making it difficult to capture images. In this case, the sensor radar works as the main data source, collecting road information including lane lines, tunnel outlines, obstacles, the lane on the side away from the vehicle at the tunnel entrance, lane lines, signs, and obstacles. Then, it uses 3D rendering technology to generate a virtual road image. It can also perform color rendering based on the user's definition of the virtual road image. Thus, even when the real image cannot be clearly displayed, the 3D virtual road image can still prompt the driver about the road conditions on the other side of the tunnel entrance, allowing the user to safely pass through the tunnel entrance and avoiding the effects of the "black hole effect" and "white hole effect," further enhancing the vehicle's adaptive ability to cope with various environmental conditions.

[0092] In some alternative implementations, the camera includes a daytime mode and a nighttime mode, and step c3 above includes:

[0093] Step c31: Obtain the ambient brightness before the vehicle passes through the tunnel entrance;

[0094] Step c32: When the ambient brightness is greater than the preset ambient brightness threshold, adjust the image in front of the vehicle to daytime mode and enhance the image tone of the marked image.

[0095] Step c33: When the ambient brightness is less than the preset ambient brightness threshold, adjust the image in front of the vehicle to night mode and adjust the image tone of the labeled image to be consistent with the image tone of the image in front of the vehicle.

[0096] Step c34: Stitch together the annotated image with adjusted image tone and the image of the vehicle in front of it.

[0097] Specifically, this embodiment of the invention addresses the need to stitch together the image of the vehicle ahead of the tunnel entrance and the marked image obtained by processing road condition information collected jointly by sensing radar and cameras behind the tunnel entrance before the vehicle enters or exits the tunnel, thus forming a complete road image displayed on the in-vehicle screen. This process is more or less affected by changes in lighting, which may cause a temporary "black hole effect" or "white hole effect" in the video image. Therefore, this embodiment of the invention collects the ambient brightness in real time before the vehicle passes the tunnel entrance and adopts corresponding daytime or nighttime modes based on the ambient brightness. Then, under daytime mode, the marked image representing the road conditions behind the tunnel entrance is enhanced in color tone to make it as close as possible to the color tone of the image of the vehicle ahead in daytime mode, mitigating the "black hole effect" phenomenon when the vehicle enters the tunnel. When the ambient brightness is less than a preset ambient brightness threshold, the image of the vehicle ahead is adjusted to nighttime mode, and the color tone of the marked image is adjusted to be consistent with the color tone of the image of the vehicle ahead, mitigating the "white hole effect" phenomenon when the vehicle exits the tunnel.

[0098] For example, when a vehicle is about to enter a tunnel, the imaging mode is determined by the lighting conditions outside the tunnel. If the overall environment is dark, such as at night without streetlights, the camera switches to night imaging mode. With the assistance of infrared and radar, it can clearly image the road conditions inside and outside the tunnel, even in very low light conditions. If the environment is relatively bright, the camera switches to day imaging mode, performs image enhancement algorithms on the captured images inside the tunnel, and stitches them with the images outside the tunnel to form a color image. Furthermore, after the vehicle enters the tunnel, the imaging is primarily affected by the brightness inside the tunnel. The camera automatically switches between day and night imaging modes based on the tunnel's lighting intensity. For images exiting the tunnel, the camera determines the imaging mode based on the tunnel's brightness. If the lighting conditions are good, day mode is used, and the image outside the tunnel, regardless of whether the light is strong or dark, has its color tone adjusted to match the image inside the tunnel. If the lighting conditions are dim, night mode is used, and the image outside the tunnel is similarly adjusted to match the image inside the tunnel using image algorithms.

[0099] This solution addresses the "black hole effect" by using the ambient brightness before a vehicle enters a tunnel to unify the image tone; it also addresses the "white hole effect" by using the tunnel brightness before the vehicle exits a tunnel to unify the image tone; and it automatically switches the imaging mode based on the tunnel lighting conditions while passing through a tunnel to help drivers clearly see the road conditions inside the tunnel.

[0100] In addition, for example Figure 4As shown, regarding the vehicle's driving control strategy in a tunnel, if the vehicle activates the function of jointly collecting road information using cameras and radar sensors when entering the tunnel, and the central control video and voice functions remain active, the system will determine the current tunnel length and brightness based on image recognition or radar sensing. If the tunnel length does not exceed a preset length (e.g., 100 meters) or the brightness does not exceed a preset level (indicating insufficient brightness), the vehicle will not turn off the video and voice functions to ensure safe passage through the tunnel; otherwise, the video and voice functions will be turned off to save power consumption of the vehicle's infotainment system. Even if the video and voice functions are turned off (i.e., the function of jointly collecting road information is turned off), the camera will still work independently while the vehicle is driving in the tunnel to detect obstacles ahead. If an obstacle is detected, the vehicle will restart the function of jointly collecting road information, reactivate the central control video through the HMI unit, and provide voice prompts to the driver. Once the obstacle disappears or the vehicle safely passes through the obstacle, the central control video and voice functions will be turned off again. Then, the system will enter the next obstacle monitoring loop until a tunnel exit is detected ahead, at which point the logic for the vehicle to exit the tunnel will begin.

[0101] This embodiment also provides a driver assistance device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0102] This embodiment provides a driver assistance device applied to a vehicle, which is equipped with sensor radar and cameras, such as... Figure 5 As shown, it includes:

[0103] The tunnel entrance recognition module 501 is used to acquire an image of the front of the vehicle and to identify whether there is a tunnel entrance or tunnel exit in front of the vehicle based on the image.

[0104] The road information acquisition module 502 is used to collect road information on the side away from the vehicle from the tunnel entrance by means of a sensor radar and a camera when there is a tunnel entrance in front of the vehicle. The road information includes road point cloud collected by the sensor radar and road image collected by the camera.

[0105] The auxiliary screen module 503 is used to generate and display road images based on road information.

[0106] In some alternative implementations, the tunnel entrance identification module 501 includes:

[0107] The contour extraction unit is used to extract contour information from the image of the vehicle in front of it.

[0108] The contour comparison unit is used to compare the contour information with the graphics in the tunnel graphic set, which includes graphics of multiple preset shapes for tunnel entrances.

[0109] The brightness analysis unit is used to detect the brightness difference between the two sides of the target contour in the image ahead of the vehicle when a target contour in the contour information matches any graphic in the tunnel graphic set.

[0110] The recognition result unit determines that there is a tunnel entrance ahead of the vehicle when the brightness difference is greater than the preset brightness threshold.

[0111] In some alternative implementations, prior to the road information collection module 502, the following is also included:

[0112] The relative distance recognition module is used to identify the relative distance between the vehicle and the tunnel entrance based on the image of the vehicle in front of it.

[0113] The first start determination module is used to execute the road information collection module 502 when the vehicle meets the first condition. The first condition includes that the vehicle speed is less than or equal to a preset speed threshold and the relative distance is less than a first preset distance threshold.

[0114] The second start determination module is used to execute the road information collection module 502 when the vehicle meets the second condition. The second condition includes that the vehicle speed is greater than a preset speed threshold and the relative distance is less than a second preset distance threshold, and the second preset distance threshold is greater than a first preset distance threshold.

[0115] The standby module is used to control the sensing radar to be in a low-power state when the vehicle cannot meet the first or second condition, so as to wait for the execution of the road information acquisition module 502.

[0116] In some alternative implementations, the auxiliary screen module 503 includes:

[0117] The imaging condition acquisition unit is used to acquire imaging conditions, which are used to characterize whether the external environment has an impact on the quality of road images.

[0118] The image processing unit is used to use the road image as a base map and to annotate obstacles in the road image based on the road point cloud when the imaging conditions indicate that the external environment has no impact on the quality of the road image.

[0119] The actual image generation unit is used to stitch together the labeled image and the image of the vehicle's path taken before the vehicle passes through the tunnel entrance to obtain the road image;

[0120] The virtual image generation unit is used to generate a virtual road image based on the road point cloud when the imaging conditions indicate that the external environment has an impact on the quality of the road image, and to use the virtual road image as the road image.

[0121] In some alternative implementations, the image processing unit includes:

[0122] The sign recognition unit is used to identify lane lines, signs, trajectory lines, and obstacles in road images;

[0123] The annotation unit is used to annotate lane lines, signs, trajectory lines, and obstacles in the road image based on the recognition results;

[0124] The radar obstacle sensing unit is used to extract obstacle location information from the road point cloud;

[0125] The obstacle update unit is used to map obstacle location information onto the road image and perform secondary annotation on the obstacles in the road image based on the mapping results.

[0126] In some optional implementations, the virtual image generation unit includes:

[0127] The radar-sensing sign unit is used to extract lane line point clouds, sign point clouds, and obstacle point clouds from the road point cloud;

[0128] The virtual image compositing unit is used to perform 3D rendering and compositing of virtual road images using lane line point clouds, landmark point clouds, and obstacle point clouds.

[0129] In some optional implementations, the actual image generation unit includes:

[0130] An ambient brightness detection unit is used to obtain the ambient brightness before the vehicle passes through the tunnel entrance;

[0131] The first tone adjustment unit is used to adjust the image in front of the vehicle to daytime mode and enhance the tone of the labeled image when the ambient brightness is greater than the preset ambient brightness threshold.

[0132] The second color tone adjustment unit is used to adjust the image in front of the vehicle to night mode when the ambient brightness is less than the preset ambient brightness threshold, and to adjust the image tone of the marked image to be consistent with the image tone of the image in front of the vehicle.

[0133] The stitching unit is used to stitch together the annotated image with adjusted image tones and the image of the vehicle in front of it.

[0134] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0135] In this embodiment, the driver assistance device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0136] This invention also provides a vehicle having the above-described features. Figure 5 The driver assistance device shown.

[0137] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of a vehicle provided in an optional embodiment of the present invention, such as... Figure 6 As shown, the vehicle includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 6 Take a processor 10 as an example.

[0138] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0139] The memory 20 stores instructions executable by at least one processor 10 to cause at least one processor 10 to perform the method shown in the above embodiments.

[0140] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0141] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0142] The vehicle also includes a sensing radar 30 and a camera 40. The sensing radar 30 includes, but is not limited to, lidar and millimeter-wave radar. In this embodiment, the sensing radar and camera are integrated and installed in a single unit. Figure 7 The position of the vehicle's front is shown to facilitate the collection of road information in front of the vehicle.

[0143] The vehicle also includes an HMI unit 50, which serves as a human-machine interface device, comprising a central control screen and audio equipment, used to display road images and broadcast prompts. Figure 8 The image shows the installation location of the HMI unit 50 in the vehicle.

[0144] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0145] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. An assisted driving method, characterized by, Applied to a vehicle equipped with sensing radar and cameras, the method includes: Acquire an image of the road ahead of the vehicle, and identify whether there is a tunnel entrance or tunnel exit in front of the vehicle based on the image of the road ahead of the vehicle. When the vehicle is traveling ahead of the tunnel entrance, the sensing radar and the camera jointly collect road information on the side of the tunnel entrance away from the vehicle. The road information includes road point cloud collected by the sensing radar and road image collected by the camera. Generate and display a road image based on the road information; the process of generating the road image based on the road information includes: acquiring imaging conditions, which characterize whether the external environment affects the quality of the road image; when the imaging conditions indicate that the external environment has no effect on the quality of the road image, using the road image as a base map, and marking obstacles in the road image according to the road point cloud; stitching the marked image and an image of the vehicle's path taken before the vehicle passes the tunnel entrance to obtain the road image; The camera includes a daytime mode and a nighttime mode. The process of stitching together the marked image and an image of the vehicle's path taken before it passes the tunnel entrance to obtain the road image includes: acquiring the ambient brightness before the vehicle passes the tunnel entrance; when the ambient brightness is greater than a preset ambient brightness threshold, adjusting the image of the vehicle's path to daytime mode and enhancing the image tone of the marked image; when the ambient brightness is less than the preset ambient brightness threshold, adjusting the image of the vehicle's path to nighttime mode and adjusting the image tone of the marked image to match the image tone of the image of the vehicle's path; and stitching the marked image with the adjusted image tone and the image of the vehicle's path together.

2. The method of claim 1, wherein, The step of identifying whether a tunnel entrance exists ahead of the vehicle using the image of the vehicle's path includes: Extract the contour information from the image of the vehicle's forward movement; The outline information is compared with the graphics in the tunnel graphic set, which includes graphics of multiple tunnel entrance preset shapes. When a target contour in the contour information matches any one of the graphics in the tunnel graphic set, the brightness difference between the two sides of the target contour is detected in the image in front of the vehicle. When the brightness difference is greater than a preset brightness threshold, it is determined that there is a tunnel entrance ahead of the vehicle.

3. The method of claim 1, wherein, Before jointly acquiring road information on the side of the tunnel entrance away from the vehicle using the sensing radar and the camera, the method further includes: The relative distance between the vehicle and the tunnel entrance is identified using the image of the vehicle's path ahead. When the vehicle meets the first condition, the step of collecting road information on the side of the tunnel entrance away from the vehicle by means of the sensing radar and the camera is executed. The first condition includes that the vehicle speed is less than or equal to a preset speed threshold and the relative distance is less than a first preset distance threshold. When the vehicle meets the second condition, the step of collecting road information on the side of the tunnel entrance away from the vehicle by means of the sensing radar and the camera is executed. The second condition includes that the vehicle speed is greater than the preset speed threshold and the relative distance is less than the second preset distance threshold, and the second preset distance threshold is greater than the first preset distance threshold. When the vehicle fails to meet the first or second condition, the sensing radar is controlled to be in a low-power state to wait for the execution of the step of jointly collecting road information on the side of the tunnel entrance away from the vehicle through the sensing radar and the camera.

4. The method according to claim 1 or 3, characterized in that, The process of generating a road image based on the road information includes: When the imaging conditions indicate that the external environment has an impact on the quality of the road image, a virtual road image is generated based on the road point cloud, and the virtual road image is used as the road scene.

5. The method according to claim 4, characterized in that, The step of using the road image as a base map and annotating obstacles in the road image based on the road point cloud includes: The road images are used to identify lane lines, signs, trajectory lines, and obstacles. Based on the recognition results, the lane lines, the signs, the trajectory lines, and the obstacles are marked in the road image; Extract obstacle location information from the road point cloud; The obstacle location information is mapped onto the road image, and the obstacles in the road image are then labeled again based on the mapping result.

6. The method according to claim 4, characterized in that, When the imaging conditions indicate that the external environment affects the quality of the road image, generating a virtual road image based on the road point cloud includes: Extract lane line point cloud, landmark point cloud, and obstacle point cloud from the road point cloud; The virtual road image is synthesized by performing 3D rendering using the lane line point cloud, landmark point cloud, and obstacle point cloud.

7. The method according to claim 2, characterized in that, The step of extracting contour information from the image of the vehicle's forward movement includes: The image of the vehicle's forward movement is processed into a grayscale image. The grayscale image is binarized to obtain a binarized image; Edge detection is performed on the binarized image to obtain the contour information.

8. A driver assistance device, characterized in that, Applied to vehicles equipped with sensing radar and cameras, the device includes: The tunnel entrance recognition module is used to acquire an image of the road ahead of the vehicle and to identify whether there is a tunnel entrance or tunnel exit in front of the vehicle based on the image. The road information acquisition module is used to acquire road information on the side of the tunnel entrance away from the vehicle by means of the sensing radar and the camera when the vehicle is traveling in front of the tunnel entrance. The road information includes road point cloud acquired by the sensing radar and road image acquired by the camera. An auxiliary image module is used to generate and display a road image based on the road information. Generating the road image based on the road information includes: acquiring imaging conditions, which characterize whether the external environment affects the quality of the road image; when the imaging conditions indicate that the external environment has no impact on the quality of the road image, using the road image as a base map and marking obstacles in the road image according to the road point cloud; and stitching the marked image with an image of the vehicle's path taken before it passes the tunnel entrance to obtain the road image. The camera includes a daytime mode and a nighttime mode. The process of stitching together the marked image and an image of the vehicle's path taken before it passes the tunnel entrance to obtain the road image includes: acquiring the ambient brightness before the vehicle passes the tunnel entrance; when the ambient brightness is greater than a preset ambient brightness threshold, adjusting the image of the vehicle's path to daytime mode and enhancing the image tone of the marked image; when the ambient brightness is less than the preset ambient brightness threshold, adjusting the image of the vehicle's path to nighttime mode and adjusting the image tone of the marked image to match the image tone of the image of the vehicle's path; and stitching the marked image with the adjusted image tone and the image of the vehicle's path together.

9. A vehicle, characterized in that, include: The system includes a memory, a processor, a radar sensor, a camera, and an HMI unit, all of which are communicatively connected to the processor. The memory stores computer instructions, and the processor executes these computer instructions to perform the assisted driving method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform any one of the assisted driving methods according to claims 1 to 7.

Citation Information

Patent Citations

  • Driving assistance method, storage medium and vehicle

    CN114368342A

  • Tunnel target object sensing method based on 4D millimeter wave radar and camera fusion

    CN116466343A

  • Vehicle and method of controlling a vehicle

    US20230311896A1