Width trajectory display method and device, computer equipment and storage medium

By detecting the steering angle and obstacle distance of the vehicle, adjusting the color of the width-displayed track line and displaying it on the window, the risk of scratches when the two vehicles meet is solved, and the effect of safe passing of the preset scenes of the vehicle is achieved.

CN119261942APending Publication Date: 2025-01-07CHINA FAW CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411471097.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In narrow road conditions or when two vehicles meet, the prior art is difficult to effectively avoid the risk of scratches when vehicles pass through preset scenarios, especially when there is no detour route.

Method used

By detecting the steering wheel angle of the vehicle and the distance from obstacles, adjusting the color of the width track line, and using an augmented reality head-up display to display the adjusted width track line on the front window of the vehicle, reminding the car owner that there is a risk of collision.

Benefits of technology

Effectively assist car owners to reduce the probability of scratches, help car owners pass preset scenarios safely, and improve the safety of passing narrow roads and car meeting scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119261942A_ABST
    Figure CN119261942A_ABST
Patent Text Reader

Abstract

The invention relates to a width trajectory display method and device, computer equipment and a storage medium. The method comprises the steps that under the condition that it is detected that a vehicle enters a preset scene, the steering wheel turning angle of the vehicle, a width indication track line and the first distance between the vehicle and an obstacle are obtained; the width trajectory is constructed based on the vehicle width of the vehicle; the preset scene comprises a narrow road scene and a meeting scene; adjusting the target color of the width trajectory according to the steering wheel angle and the first distance; and displaying the adjusted width trajectory on a front window of the vehicle through the augmented reality head-up display. By adopting the method, the vehicle owner can be assisted in reducing the probability of vehicle rubbing through the width-indicating trajectory, and the vehicle owner is helped to smoothly pass through the preset scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for displaying a width trajectory line. Background Art

[0002] With the development of intelligent driving, car owners often encounter scratches when driving their vehicles, which often occur in narrow roads or when two cars meet. Therefore, how to deal with preset scenarios such as passing through narrow roads or when two cars meet has become a practical demand of car owners.

[0003] In the prior art, other routes are usually planned for the car owner in advance before it is detected that the car owner is about to enter the preset scene to avoid entering a narrow road and a scene where two cars meet. Although this method can avoid passing through the preset scene, if there is no other detour route, there is still the problem that it is unsafe for the car owner to pass through the preset scene. Summary of the invention

[0004] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for displaying a width trajectory line that can smoothly pass through preset scenes in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for displaying a width track line, comprising:

[0006] When a vehicle is detected to enter a preset scene, a steering wheel angle of the vehicle, a width trajectory line, and a first distance between the vehicle and an obstacle are obtained; the width trajectory line is constructed based on the vehicle width of the vehicle; the preset scenes include narrow road scenes and meeting scenes;

[0007] Adjust the target color of the width track line according to the steering wheel angle and the first distance;

[0008] The adjusted width track line is displayed on the front window of the vehicle through an augmented reality head-up display.

[0009] In one embodiment, adjusting the color of the width track line according to the steering wheel angle and the first distance includes:

[0010] determining a second distance between the vehicle and the obstacle according to the steering wheel angle and the first distance;

[0011] If the second distance is greater than the preset collision threshold, adjusting the width of the trajectory line to the first preset color;

[0012] If the second distance is not greater than the preset collision threshold, the width of the trajectory line is adjusted to a second preset color.

[0013] In one embodiment, determining a second distance between the vehicle and the obstacle based on the steering wheel angle and the first distance includes:

[0014] Predict the vehicle's travel distance based on the steering wheel angle and vehicle speed;

[0015] The difference between the first distance and the travel distance is used as the second distance between the vehicle and the obstacle.

[0016] In one embodiment, displaying the adjusted width track line on the front window of the vehicle includes:

[0017] If the width track line is a first preset color, the width track line of the first preset color is displayed on the front window of the vehicle, and a voice reminder for safe passage is output;

[0018] If the width trajectory line is a second preset color, the width trajectory line of the second preset color is displayed on the front window of the vehicle, and a voice reminder of the risk of collision is output.

[0019] In one embodiment, a method for detecting whether a vehicle enters a preset scene includes:

[0020] Acquire a third distance between the vehicle and the obstacle collected by a radar device in the vehicle;

[0021] When the third distance is less than the preset distance threshold, it is determined that the vehicle enters the preset scene.

[0022] In one embodiment, determining that a vehicle enters a preset scene includes:

[0023] Acquire an environmental image of the vehicle's surroundings captured by a camera device;

[0024] If it is detected that the environment image contains street features, it is determined that the vehicle has entered a narrow road scene;

[0025] If it is detected that the environment image contains street features and other vehicle features, it is determined that the vehicle enters a meeting scene.

[0026] In a second aspect, the present application also provides a width-indicating track line display device, comprising:

[0027] A data acquisition module is used to acquire a steering wheel angle, a width trajectory line, and a first distance between the vehicle and an obstacle when detecting that the vehicle enters a preset scene; the width trajectory line is constructed based on the vehicle width of the vehicle; the preset scene includes a narrow road scene and a meeting scene;

[0028] A color adjustment module, used for adjusting a target color of the width trajectory line according to a steering wheel angle and a first distance;

[0029] The track display module is used to display the adjusted width track line on the front window of the vehicle through an augmented reality head-up display.

[0030] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0031] When a vehicle is detected to enter a preset scene, a steering wheel angle of the vehicle, a width trajectory line, and a first distance between the vehicle and an obstacle are obtained; the width trajectory line is constructed based on the vehicle width of the vehicle; the preset scenes include narrow road scenes and meeting scenes;

[0032] Adjust the target color of the width track line according to the steering wheel angle and the first distance;

[0033] The adjusted width track line is displayed on the front window of the vehicle through an augmented reality head-up display.

[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0035] When a vehicle is detected to enter a preset scene, a steering wheel angle of the vehicle, a width trajectory line, and a first distance between the vehicle and an obstacle are obtained; the width trajectory line is constructed based on the vehicle width of the vehicle; the preset scenes include narrow road scenes and meeting scenes;

[0036] Adjust the target color of the width track line according to the steering wheel angle and the first distance;

[0037] The adjusted width track line is displayed on the front window of the vehicle through an augmented reality head-up display.

[0038] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0039] When a vehicle is detected to enter a preset scene, a steering wheel angle of the vehicle, a width trajectory line, and a first distance between the vehicle and an obstacle are obtained; the width trajectory line is constructed based on the vehicle width of the vehicle; the preset scenes include narrow road scenes and meeting scenes;

[0040] Adjust the target color of the width track line according to the steering wheel angle and the first distance;

[0041] The adjusted width track line is displayed on the front window of the vehicle through an augmented reality head-up display.

[0042] The above-mentioned width trajectory display method, device, computer equipment and storage medium obtain the vehicle's steering wheel angle, width trajectory, and the first distance between the vehicle and the obstacle when the vehicle is detected to enter a preset scene; the width trajectory is constructed based on the vehicle width of the vehicle; the preset scenes include narrow road scenes and meeting scenes; according to the steering wheel angle and the first distance, the target color of the width trajectory is adjusted; through the augmented reality head-up display, the adjusted width trajectory is displayed on the front window of the vehicle. In the preset scene, the present application assists the owner to reduce the probability of vehicle scratches and helps the owner to pass the preset scene smoothly through the width trajectory in the preset scene. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] FIG1 is an application environment diagram of a width-indicating track line display method provided by this embodiment;

[0045] FIG2 is a schematic diagram of a flow chart of a first width-indicating trajectory line display method provided in this embodiment;

[0046] FIG3 is a schematic diagram showing a width track line provided by this embodiment;

[0047] FIG4 is a structural block diagram of a width-indicating track line display device provided in this embodiment;

[0048] FIG5 is an internal structure diagram of a first computer device provided in this embodiment;

[0049] FIG6 is a diagram showing the internal structure of a second type of computer device provided in this embodiment. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0051] The width trajectory display method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. When the computer device detects that the vehicle enters the preset scene, the steering wheel angle of the vehicle, the width trajectory, and the first distance between the vehicle and the obstacle are obtained; the width trajectory is constructed based on the vehicle width of the vehicle; the preset scene includes a narrow road scene and a meeting scene; according to the steering wheel angle and the first distance, the target color of the width trajectory is adjusted; through the augmented reality head-up display, the adjusted width trajectory is displayed on the front window of the vehicle. Among them, the computer device can be either a terminal or a server. The terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0052] In an exemplary embodiment, as shown in FIG2 , a method for displaying a width trajectory line is provided, and the method is applied to the computer device in FIG1 as an example for description, and includes the following steps 201 to 203. Among them:

[0053] Step 201, when it is detected that a vehicle enters a preset scene, the steering wheel angle of the vehicle, the width trajectory line, and the first distance between the vehicle and the obstacle are obtained.

[0054] The width track line is constructed based on the vehicle width, which can represent the width from the left side mirror to the right side mirror of the vehicle. The preset scenes include narrow road scenes and oncoming scenes. Obstacles can be oncoming vehicles or landmarks on both sides of the narrow road (such as road edge lines or walls, etc.).

[0055] Specifically, when the computer device detects that the vehicle enters a preset scenario, the steering wheel angle and width trajectory of the vehicle are obtained. At the same time, the first distance between the two sides of the vehicle and the obstacle is detected through the radar installed in the vehicle (such as a lidar and a millimeter-wave radar, etc.).

[0056] It should be noted that the width trajectory line can be a trajectory line predicted for the vehicle's forward movement based on the vehicle width and the steering wheel angle. The pair of width trajectory lines is the area swept by the vehicle, and the width trajectory lines will change with the change of the steering wheel angle.

[0057] Step 202, adjusting the target color of the width trajectory line according to the steering wheel angle and the first distance.

[0058] The target color may include a first preset color and a second preset color. The first preset color is used to indicate that the vehicle owner can safely pass through the preset scene according to the current driving state, that is, no scratches or collisions will occur. The second preset color is used to indicate that the vehicle owner may experience scratches or collisions according to the current driving state.

[0059] Specifically, the vehicle's forward direction and forward distance at the next moment are predicted based on the steering wheel angle, and the direction of the width trajectory line is adjusted based on the forward direction and forward distance. At the same time, based on the adjusted width trajectory line and the first distance, it is determined whether the vehicle will collide with an obstacle at the next moment. If a collision will occur, the target color of the width trajectory line is adjusted to the second preset color; if no collision will occur, the target color of the width trajectory line is adjusted to the first preset color.

[0060] It should be noted that, in this embodiment, a width-indicating track line may be generated according to the vehicle width and the steering wheel angle through a central speed controller (CSC), and a target color of the width-indicating track line may be adjusted according to the steering wheel angle and the first distance.

[0061] Step 203: Display the adjusted width trajectory line on the front window of the vehicle through an augmented reality head-up display.

[0062] Among them, the Augmented Reality-Head Up Display (AR-HUD) can be a device that projects driving information onto the windshield in front of the car owner, allowing the car owner to see the driving information at eye level.

[0063] In some embodiments, displaying the adjusted width track line on the front window of the vehicle includes: if the width track line is a first preset color, displaying the width track line of the first preset color on the front window of the vehicle, and outputting a voice reminder of safe passage; if the width track line is a second preset color, displaying the width track line of the second preset color on the front window of the vehicle, and outputting a voice reminder of the risk of collision. The first preset color may be green, and the second preset color may be red.

[0064] For example, as shown in the schematic diagram of the width trajectory line in FIG3 , the enhanced display head-up display is located in front of the steering wheel, and the width trajectory line can be projected on the front window to assist the owner in determining the distance between the vehicle and the wall, so that the owner can smoothly pass the preset scene (i.e., a narrow road scene with walls on both sides).

[0065] It should be noted that this embodiment can also adjust the target color of the width trajectory line to red and flash, and output an alarm sound reminder when encountering emergencies during actual driving, such as other vehicles or pedestrians suddenly appearing in front of the vehicle and conflicting with the current width trajectory line.

[0066] The above width trajectory display method obtains the vehicle's steering wheel angle, width trajectory, and the first distance between the vehicle and the obstacle when the vehicle is detected to have entered a preset scene; the width trajectory is constructed based on the vehicle width of the vehicle; the preset scenes include narrow road scenes and meeting scenes; the target color of the width trajectory is adjusted according to the steering wheel angle and the first distance; the adjusted width trajectory is displayed on the front window of the vehicle through an augmented reality head-up display. In the preset scene, the present application assists the owner in reducing the probability of vehicle scratches and helps the owner pass the preset scene smoothly through the width trajectory in the preset scene.

[0067] In some embodiments, the color of the width trajectory line is adjusted according to the steering wheel angle and the first distance, including: determining the second distance between the vehicle and the obstacle according to the steering wheel angle and the first distance; if the second distance is greater than a preset collision threshold, adjusting the width trajectory line to the first preset color; if the second distance is not greater than the preset collision threshold, adjusting the width trajectory line to the second preset color.

[0068] In some embodiments, determining a second distance between the vehicle and an obstacle based on the steering wheel angle and the first distance includes: predicting the vehicle's driving distance based on the steering wheel angle and the vehicle speed; and using the difference between the first distance and the driving distance as the second distance between the vehicle and the obstacle.

[0069] Specifically, the steering wheel angle and the vehicle speed at the current moment are obtained, and the driving direction and driving distance of the vehicle at the next moment are predicted based on the steering wheel angle and the vehicle speed, and the difference between the first distance and the driving distance is used as the second distance between the vehicle and the obstacle.

[0070] Exemplarily, when the second distance is greater than the preset collision threshold, the vehicle will not collide with the obstacle at the next moment and can continue to drive safely, so the width trajectory line is adjusted to the first preset color; when the second distance is not greater than the preset collision threshold, the vehicle will collide with the obstacle at the next moment, and there is a risk of scratching or collision, so the width trajectory line is adjusted to the second preset color.

[0071] This embodiment can more accurately determine the adjustment color of the wide track line to more accurately assist the vehicle owner in driving through the preset scene.

[0072] In some embodiments, a method for detecting whether a vehicle enters a preset scene includes: obtaining a third distance between the vehicle and an obstacle collected by a radar device in the vehicle; and determining that the vehicle has entered the preset scene when the third distance is less than a preset distance threshold.

[0073] Specifically, a third distance between both sides of the vehicle and the obstacle collected by a radar device in the vehicle is obtained. When the distance between both sides of the vehicle and the obstacle is less than a preset distance threshold, it is determined that the vehicle has entered a preset scene.

[0074] For example, if the third left distance between the left side of the vehicle and the left obstacle is less than the preset distance threshold, and at the same time, the third right distance between the right side of the vehicle and the right obstacle is less than the preset distance threshold, then it proves that there are obstacles on both sides of the vehicle and the distances to the obstacles are close, and it is determined that the vehicle has entered the preset scene.

[0075] In some embodiments, determining that a vehicle has entered a preset scene includes: acquiring an environmental image of the vehicle's surroundings captured by a camera device; if it is detected that the environmental image contains street features, determining that the vehicle has entered a narrow road scene; if it is detected that the environmental image contains street features and other vehicle features, determining that the vehicle has entered a meeting scene.

[0076] Specifically, the environmental image around the vehicle is captured by a camera device, and image analysis is performed on the environmental image to determine the type of image features contained in the environmental image. If it is detected that the environmental image contains street features, it is determined that the vehicle has entered a narrow road scene; if it is detected that the environmental image contains street features and other vehicle features, it is determined that the vehicle has entered a meeting scene.

[0077] It should be noted that after the vehicle is determined to enter the preset scene, the AR-HUD auxiliary width display function will be automatically activated, and the width trajectory line will be displayed through the augmented reality head-up display. That is to say, when the vehicle is detected entering a narrow road scene (such as a narrow street) or a meeting scene (such as a narrow road meeting), the AR-HUD auxiliary width display function will be automatically activated. At the same time, the owner can also manually activate the AR-HUD auxiliary width display function.

[0078] This embodiment can accurately detect whether the vehicle enters a preset scene, and turn on the augmented reality head-up display only when the owner needs it, thereby reducing the vehicle's power consumption.

[0079] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0080] Based on the same inventive concept, the embodiment of the present application also provides a width track line display device for implementing the width track line display method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more width track line display device embodiments provided below can refer to the limitations of the width track line display method above, and will not be repeated here.

[0081] In an exemplary embodiment, as shown in FIG4 , a width-indicating track line display device is provided, comprising: a data acquisition module 10, a color adjustment module 11 and a track display module 12, wherein:

[0082] The data acquisition module 10 is used to acquire the steering wheel angle, width trajectory line, and the first distance between the vehicle and the obstacle when detecting that the vehicle enters a preset scene; the width trajectory line is constructed based on the vehicle width of the vehicle; the preset scene includes a narrow road scene and a meeting scene;

[0083] A color adjustment module 11, used for adjusting the target color of the width trajectory line according to the steering wheel angle and the first distance;

[0084] The track display module 12 is used to display the adjusted width track line on the front window of the vehicle through an augmented reality head-up display.

[0085] In one embodiment, the color adjustment module 11 in Figure 4 is also used to determine the second distance between the vehicle and the obstacle based on the steering wheel angle and the first distance; if the second distance is greater than the preset collision threshold, the width trajectory line is adjusted to the first preset color; if the second distance is not greater than the preset collision threshold, the width trajectory line is adjusted to the second preset color.

[0086] In one embodiment, the color adjustment module 11 in FIG. 4 is further used to predict the driving distance of the vehicle according to the steering wheel angle and the vehicle speed; and to use the difference between the first distance and the driving distance as the second distance between the vehicle and the obstacle.

[0087] In one embodiment, the trajectory display module 12 in Figure 4 is also used to display the width trajectory line of the first preset color on the front window of the vehicle if the width trajectory line is a first preset color, and output a voice reminder for safe passage; if the width trajectory line is a second preset color, display the width trajectory line of the second preset color on the front window of the vehicle, and output a voice reminder that there is a risk of collision.

[0088] In one embodiment, the data acquisition module 10 in FIG. 4 is further used to acquire a third distance between the vehicle and the obstacle collected by a radar device in the vehicle; when the third distance is less than a preset distance threshold, it is determined that the vehicle has entered a preset scene.

[0089] In one embodiment, the data acquisition module 10 in Figure 4 is also used to obtain the environmental image around the vehicle captured by the camera device; if it is detected that the environmental image contains street features, it is determined that the vehicle enters a narrow road scene; if it is detected that the environmental image contains street features and other vehicle features, it is determined that the vehicle enters a meeting scene.

[0090] Each module in the above width track line display device can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0091] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface (I / O for short) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store width trajectory data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for displaying a width trajectory is implemented.

[0092] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG6. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for displaying a width trajectory line is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0093] Those skilled in the art will understand that the structures shown in FIGS. 5 and 6 are merely block diagrams of partial structures related to the scheme of the present application, and do not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than those shown in the figures, or combine certain components, or have a different arrangement of components.

[0094] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0095] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0096] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0097] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0098] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0099] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0100] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for displaying a width track line, characterized in that: The method comprises: When a vehicle is detected to enter a preset scene, a steering wheel angle of the vehicle, a width trajectory line, and a first distance between the vehicle and an obstacle are obtained; the width trajectory line is constructed based on the vehicle width of the vehicle; the preset scene includes a narrow road scene and a meeting scene; Adjusting a target color of the width-indicating trajectory line according to the steering wheel angle and the first distance; The adjusted width trajectory line is displayed on the front window of the vehicle through an augmented reality head-up display.

2. The method according to claim 1, characterized in that The step of adjusting the color of the width-indicating track line according to the steering wheel angle and the first distance includes: determining a second distance between the vehicle and the obstacle according to the steering wheel angle and the first distance; If the second distance is greater than a preset collision threshold, adjusting the width trajectory line to a first preset color; If the second distance is not greater than the preset collision threshold, the width trajectory line is adjusted to a second preset color.

3. The method according to claim 2, characterized in that The step of determining a second distance between the vehicle and the obstacle according to the steering wheel angle and the first distance includes: predicting a travel distance of the vehicle based on the steering wheel angle and the vehicle speed; The difference between the first distance and the driving distance is used as the second distance between the vehicle and the obstacle.

4. The method according to claim 1, characterized in that: The step of displaying the adjusted width trajectory line on the front window of the vehicle comprises: If the width track line is a first preset color, displaying the width track line of the first preset color on the front window of the vehicle and outputting a voice reminder for safe passage; If the width-indicating track line is a second preset color, the width-indicating track line of the second preset color is displayed on the front window of the vehicle, and a voice reminder of the risk of collision is output.

5. The method according to claim 1, characterized in that Methods for detecting whether a vehicle enters a preset scene include: Acquire a third distance between the vehicle and the obstacle collected by a radar device in the vehicle; When the third distance is less than a preset distance threshold, it is determined that the vehicle enters the preset scene.

6. The method according to claim 5, characterized in that The determining that the vehicle enters the preset scene includes: Acquire an environmental image of the vehicle's surroundings captured by a camera device; If it is detected that the environment image contains street features, determining that the vehicle has entered a narrow road scene; If it is detected that the environment image contains street features and other vehicle features, it is determined that the vehicle enters a meeting scene.

7. A width track line display device, characterized in that: The device comprises: A data acquisition module, configured to acquire a steering wheel angle, a width trajectory line, and a first distance between the vehicle and an obstacle when detecting that the vehicle enters a preset scene; the width trajectory line is constructed based on the vehicle width of the vehicle; the preset scene includes a narrow road scene and a meeting scene; A color adjustment module, used for adjusting the target color of the width-indicating trajectory line according to the steering wheel angle and the first distance; The track display module is used to display the adjusted width track line on the front window of the vehicle through an augmented reality head-up display.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Vehicle passing prompting method and system and vehicle

    CN115303293A

  • Control method and device for narrow road passage

    CN115641748A

  • Driving assistance method and device, vehicle and storage medium

    CN116176612A

  • Narrow road passing auxiliary method, device, equipment, storage medium and system

    CN116443042A

  • Driving support device for vehicle

    JP2012192843A