Disclosure of Invention
An exemplary embodiment of the present invention provides a method and a terminal for displaying HUD information in a terminal, which can overcome a defect that HUD information pushed by an existing vehicle-mounted HUD intelligent terminal cannot provide a prompt related to a real-time road condition to a user.
According to an aspect of exemplary embodiments of the present invention, there is provided a method of displaying heads-up display HUD information in a terminal, the terminal comprising a first screen and a second screen, wherein the method comprises: (A) capturing an image in front of the vehicle by using a camera arranged in the coverage range of the first screen; (B) collecting driving related data of a vehicle; (C) determining HUD information for prompting a driver based on the image in front of the vehicle and/or the driving related data of the vehicle; (D) displaying the HUD information on a second screen to project the HUD information onto a reflecting device.
Optionally, the terminal includes a flexible screen, and when the flexible screen is bent, the flexible screen is divided into a first screen and a second screen based on the bent position, or both the first screen and the second screen are rigid screens, and the first screen and the second screen are rotatably connected by a reel mechanism.
Optionally, the driving-related data of the vehicle comprises at least one of: the navigation information of the vehicle, the current running speed of the vehicle, the Global Positioning System (GPS) information of the vehicle and the focal length data of the camera.
Optionally, the method further comprises: displaying on the first screen at least one of: images in front of the vehicle, navigation information of the vehicle and indicia of potentially dangerous driving obstacles.
Optionally, step (C) comprises: determining whether a pedestrian is present in front of the vehicle based on the image in front of the vehicle; determining whether a pedestrian is less than a pedestrian safety distance from the vehicle when it is determined that a pedestrian is present in front of the vehicle; and when the distance between the pedestrian and the vehicle is smaller than the safety distance of the pedestrian, determining that the HUD information is potential danger prompt information for reminding the driver of pedestrian obstacle.
Optionally, the driving related data of the vehicle includes focal length data of the camera, wherein step (C) includes: determining a distance of the vehicle from a vehicle in front of the vehicle based on the image in front of the vehicle and the focal length data of the camera; determining whether the vehicle is a distance from a vehicle forward of the vehicle that is less than a vehicle separation safety distance; and when the distance between the vehicle and the vehicle in front of the vehicle is determined to be smaller than the vehicle interval safety distance, determining that the HUD information is deceleration prompt information for reminding a driver of the fact that the safety distance between the vehicles is insufficient.
Optionally, the driving related data of the vehicle includes a current driving speed of the vehicle, wherein the step (C) includes: determining whether a deceleration strip is present ahead of the vehicle based on the image ahead of the vehicle; when it is determined that a deceleration strip is in front of the vehicle, determining whether the current running speed of the vehicle is greater than a running speed threshold value; and when the current running speed of the vehicle is determined to be greater than the running speed threshold value, determining that the HUD information is deceleration prompt information for reminding a driver of the deceleration strip in front.
Optionally, the driving-related data of the vehicle includes navigation information of the vehicle and GPS information of the vehicle, wherein step (C) includes: determining lanes in which the vehicle is located and a vehicle density of each lane based on the vehicle front image; determining whether a lane in which the vehicle is located is a correct lane in a navigation direction based on the navigation information of the vehicle and the GPS information of the vehicle; when the lane where the vehicle is located is determined not to be the correct lane in the navigation direction, determining whether the distance from the position where the vehicle is located to the next intersection is larger than or equal to a preset distance; when the distance from the position of the vehicle to the next intersection is determined to be greater than or equal to the preset distance, determining the HUD information as lane change prompt information for reminding a driver of changing lanes in advance; when the distance from the position of the vehicle to the next intersection is determined to be greater than or equal to a preset distance, determining whether the vehicle density of the correct lane exceeds a density threshold value; and when the vehicle density of the correct lane is determined to exceed the density threshold value, determining that the HUD information is lane change prompting information for prompting a driver to change lanes in advance.
Optionally, the reflecting means comprises at least one of: the windshield of the vehicle and the half mirror arranged on the terminal support.
Optionally, the terminal holder includes: the HUD display device comprises a first base and an I-shaped support frame, wherein the bottom of the I-shaped support frame is rotatably connected to the base through a first connecting piece, the top of the I-shaped support frame is rotatably connected to the semi-reflecting mirror through a second connecting piece, the base is used for bearing the second screen, the I-shaped support frame is used for supporting the first screen, and the relative angle among the base, the I-shaped support frame and the semi-reflecting mirror is adjusted, so that HUD information displayed on the second screen is projected onto the semi-reflecting mirror.
Optionally, the terminal holder includes: the HUD information display device comprises a second base and an L-shaped support frame, wherein a horizontal support of the L-shaped support frame is rotatably connected to the semi-reflecting mirror through a third connecting piece, a vertical support perpendicular to the horizontal support of the L-shaped support frame is rotatably connected to the second base through a fourth connecting piece, the horizontal support of the L-shaped support frame is used for bearing the second screen, a vertical support of the L-shaped support frame is used for supporting the first screen, and the HUD information displayed on the second screen is projected onto the semi-reflecting mirror by adjusting the relative angle between the horizontal support and the semi-reflecting mirror.
According to another aspect of exemplary embodiments of the present invention, there is provided a terminal including a first screen and a second screen, wherein the terminal includes: the camera, the collector, the treater that set up in first screen coverage are configured as: controlling the camera to capture an image in front of the vehicle; controlling the collector to collect driving related data of the vehicle; determining HUD information for prompting a driver based on the image in front of the vehicle and/or the driving related data of the vehicle; controlling the second screen to display the HUD information to project the HUD information onto a reflection device.
Optionally, the terminal includes a flexible screen, and when the flexible screen is bent, the flexible screen is divided into a first screen and a second screen based on the bent position, or both the first screen and the second screen are rigid screens, and the first screen and the second screen are rotatably connected by a reel mechanism.
Optionally, the driving-related data of the vehicle comprises at least one of: the navigation information of the vehicle, the current running speed of the vehicle, the Global Positioning System (GPS) information of the vehicle and the focal length data of the camera.
Optionally, the processor further controls the first screen to display at least one of: images in front of the vehicle, navigation information of the vehicle and indicia of potentially dangerous driving obstacles.
Optionally, the processor determines whether a pedestrian is present in front of the vehicle based on the image in front of the vehicle, determines whether a distance between the pedestrian and the vehicle is smaller than a pedestrian safety distance when the processor determines that the pedestrian is present in front of the vehicle, and determines the HUD information as the potentially dangerous prompt information for reminding the driver of the pedestrian obstacle when the distance between the pedestrian and the vehicle is smaller than a pedestrian safety distance range.
Optionally, the driving related data of the vehicle includes focal length data of the camera, wherein the processor determines a distance between the vehicle and the vehicle in front of the vehicle based on the image in front of the vehicle and the focal length data of the camera, determines whether the distance between the vehicle and the vehicle in front of the vehicle is less than a vehicle interval safety distance, and determines that the HUD information is deceleration prompt information for reminding a driver of an insufficient safety distance between vehicles when the processor determines that the distance between the vehicle and the vehicle in front of the vehicle is less than the vehicle interval safety distance.
Optionally, the driving related data of the vehicle includes a current driving speed of the vehicle, wherein the processor determines whether a deceleration strip exists in front of the vehicle based on the image in front of the vehicle, determines whether the current driving speed of the vehicle is greater than a driving speed threshold when the processor determines that the deceleration strip exists in front of the vehicle, and determines the HUD information as deceleration prompting information for prompting a driver that the deceleration strip exists in front when the processor determines that the current driving speed of the vehicle is greater than the driving speed threshold.
Optionally, the driving related data of the vehicle comprises navigation information of the vehicle and GPS information of the vehicle, wherein the processor determines the lane where the vehicle is located and the vehicle density of each lane based on the vehicle front image; determining whether a lane in which the vehicle is located is a correct lane in a navigation direction based on the navigation information of the vehicle and the GPS information of the vehicle; when the processor determines that the lane where the vehicle is located is not the correct lane in the navigation direction, determining whether the distance from the position where the vehicle is located to the next intersection is greater than or equal to a preset distance; when the processor determines that the distance from the position of the vehicle to the next intersection is greater than or equal to a preset distance, determining that the HUD information is lane change prompt information for reminding a driver of changing lanes in advance; when the processor determines that the distance from the position of the vehicle to the next intersection is greater than or equal to a preset distance, determining whether the vehicle density of the correct lane exceeds a density threshold value; and when the processor determines that the vehicle density of the correct lane exceeds a density threshold value, determining that the HUD information is lane change prompting information for prompting a driver to change lanes in advance.
Optionally, the reflecting means comprises at least one of: the windshield of the vehicle and the half mirror arranged on the terminal support.
Optionally, the terminal holder includes: the HUD display device comprises a first base and an I-shaped support frame, wherein the bottom of the I-shaped support frame is rotatably connected to the base through a first connecting piece, the top of the I-shaped support frame is rotatably connected to the semi-reflecting mirror through a second connecting piece, the base is used for bearing the second screen, the I-shaped support frame is used for supporting the first screen, and the relative angle among the base, the I-shaped support frame and the semi-reflecting mirror is adjusted, so that HUD information displayed on the second screen is projected onto the semi-reflecting mirror.
Optionally, the terminal holder includes: the HUD information display device comprises a second base and an L-shaped support frame, wherein a horizontal support of the L-shaped support frame is rotatably connected to the semi-reflecting mirror through a third connecting piece, a vertical support perpendicular to the horizontal support of the L-shaped support frame is rotatably connected to the second base through a fourth connecting piece, the horizontal support of the L-shaped support frame is used for bearing the second screen, a vertical support of the L-shaped support frame is used for supporting the first screen, and the HUD information displayed on the second screen is projected onto the semi-reflecting mirror by adjusting the relative angle between the horizontal support and the semi-reflecting mirror.
According to another aspect of exemplary embodiments of the present invention, there is provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements a method for displaying HUD information in a terminal according to the present invention.
According to the method and the terminal for displaying the HUD information in the terminal, the actual road condition can be used as one of the consideration factors of the HUD prompt information, so that the HUD information is more accurate, the driving safety is ensured, in addition, when one screen of the terminal is used as a carrier for projecting the HUD information to the reflecting device, the real-time road condition pictures with various visual effects can be displayed in the wide-area picture in the other screen, the driving difficulty is effectively reduced, and the driving experience of a driver is improved.
Detailed Description
Reference will now be made in detail to the exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below in order to explain the present invention by referring to the figures.
Fig. 1 illustrates a flowchart of a method of displaying HUD information in a terminal according to an exemplary embodiment of the present invention. Here, the method may be implemented by a terminal, where the terminal includes a first screen and a second screen.
Fig. 2 to 4 illustrate examples of a terminal according to an exemplary embodiment of the present invention.
In one example, as shown in fig. 2 and 3, the terminal may include a flexible screen, and when the flexible screen is bent, the flexible screen may be divided into a first screen and a second screen based on the bent position. Here, the flexible screen is bent to mean an inward bend (e.g., as shown in fig. 2) or an outward bend (e.g., as shown in fig. 3), and here, it should be noted that since the flexible screen is one screen, the divided first screen and second screen refer to being visually divided, not being physically divided, the first screen and second screen still belong to a portion of the flexible screen.
In another example, as shown in fig. 4, the first screen and the second screen are both rigid screens, and the first screen and the second screen are rotatably connected by a reel mechanism. Here, the first screen and the second screen belong to two screens that are physically independent of each other.
Referring back to fig. 1, in step S100, an image in front of the vehicle is captured using a camera provided within the first screen coverage.
Fig. 5 illustrates examples of a first screen and a second screen of a terminal according to an exemplary embodiment of the present invention. As shown in fig. 5, a first screen of the terminal may be substantially perpendicular to a second screen in a plane after being bent, for taking an image in front of the vehicle.
In step S200, driving related data of the vehicle is collected.
As an example, the driving related data of the vehicle may comprise at least one of: the navigation information of the vehicle, the current running speed of the vehicle, the Global Positioning System (GPS) information of the vehicle and the focal length data of the camera.
Here, the travel-related data of the vehicle may be acquired through various sensors, meters, global positioning systems, navigation systems, and the like provided in the terminal or in the vehicle. For example, the current running speed of the vehicle may be acquired by a speedometer, the current GPS information of the vehicle may be acquired by a global positioning system, and the navigation information of the current vehicle may be acquired by a navigation system. In addition, it should be understood that the driving related data of the vehicle may not be limited to the above, and may also be other driving related data collected according to the actual situation, and the invention is not limited thereto.
If the driving related data of the vehicle is acquired by the vehicle, the driving related data may be interacted through a wired or wireless connection of the terminal and the vehicle.
In step S300, HUD information for prompting the driver is determined based on the vehicle front image and/or the travel-related data of the vehicle.
In step S400, the HUD information is displayed on a second screen to project the HUD information onto a reflection device. Here, the reflection means may include at least one of: the windshield of the vehicle and the half mirror arranged on the terminal support.
Further, in displaying HUD information for projection to the reflection means on the second screen, the method may further include the step of displaying other information on the first screen, for example, at least one of the following may also be displayed on the first screen: the image in front of the vehicle, the navigation information of the vehicle and the marking of potentially dangerous driving obstacles (which may be as follows a box-shaped marking box in the view in fig. 8 for marking a pedestrian in front of the vehicle).
Referring again to fig. 5, a real-time traffic situation picture of various visual effects, for example, a captured image in front of the vehicle, navigation information of the vehicle, and the like, may be displayed in a picture of a wide area in the first screen, and HUD information may be displayed on the second screen.
When displaying the HUD information on the second screen, the terminal may be directly set to an appropriate angle when the windshield of the vehicle is used as a reflection device, and the HUD information displayed on the second screen may be projected onto the windshield of the vehicle.
Further, HUD information may also be projected by the terminal holder onto a half mirror provided on the terminal holder. In particular, the terminals may also be arranged in a terminal holder. Next, the structure of the terminal holder will be described in detail with reference to fig. 6 and 7.
Fig. 6 and 7 are structural views illustrating a terminal holder according to an exemplary embodiment of the present invention.
In one example, as shown in fig. 6, the terminal holder may include a first base and an I-shaped support, wherein a bottom of the I-shaped support is rotatably connected to the base by a first connection member, a top of the I-shaped support is rotatably connected to the half mirror by a second connection member, wherein the base is configured to carry the second screen, the I-shaped support is configured to support the first screen, and the HUD information displayed on the second screen is projected onto the half mirror by adjusting a relative angle between the base, the I-shaped support, and the half mirror. The terminal holder is adapted to a terminal in which a screen is bent (or folded) inward.
In another example, as shown in fig. 7, the terminal holder may include: the HUD information display device comprises a second base and an L-shaped support frame, wherein a horizontal support of the L-shaped support frame is rotatably connected to the semi-reflecting mirror through a third connecting piece, a vertical support perpendicular to the horizontal support of the L-shaped support frame is rotatably connected to the second base through a fourth connecting piece, the horizontal support of the L-shaped support frame is used for bearing the second screen, a vertical support of the L-shaped support frame is used for supporting the first screen, and the HUD information displayed on the second screen is projected onto the semi-reflecting mirror by adjusting the relative angle between the horizontal support and the semi-reflecting mirror. The terminal holder is suitable for a terminal in which a screen is bent (or folded) outward.
Hereinafter, an example of how to determine HUD information for prompting a driver based on the vehicle front image and/or the travel-related data of the vehicle will be described in detail with reference to the drawings.
Regarding the step of determining the HUD, in one example, it may be first determined whether a pedestrian is present in front of the vehicle based on the image in front of the vehicle, and when it is determined that a pedestrian is present in front of the vehicle, it is determined whether a distance between the pedestrian and the vehicle is smaller than a pedestrian safety distance, where the pedestrian safety distance may be a predetermined distance value, and when the distance between the pedestrian and the vehicle is smaller than the pedestrian safety distance, it is determined that the HUD information is a potential danger prompting information for prompting the driver of a pedestrian obstacle. For example, as shown in fig. 8, when it is determined that there is a dangerous pedestrian (e.g., a pedestrian marked by a box in fig. 8) in front of the vehicle, HUD information as shown in fig. 8 may be displayed in a reflecting device (e.g., a front windshield of the vehicle or a half mirror of a terminal bracket).
In another example, the driving related data of the vehicle may include focal length data of the camera, and regarding the step of determining the HUD, the distance between the vehicle and the vehicle in front of the vehicle may be determined based on the image in front of the vehicle and the focal length data of the camera, and in particular, the width data and the length data of the vehicle in front may be acquired through the image in front of the vehicle by an existing computer graphics method, and then the distance between the vehicle and the vehicle in front may be determined by using the width data and the length data of the vehicle in front and the focal length data of the camera, and then it may be determined whether the distance between the vehicle and the vehicle in front of the vehicle is less than a vehicle separation safety distance, where the vehicle separation safety distance may also be a predetermined distance value, and when it is determined that the distance between the vehicle and the vehicle in front of the vehicle is less than the vehicle separation safety distance, and determining that the HUD information is deceleration prompt information for reminding a driver of insufficient safety distance between vehicles. For example, as shown in fig. 9, when it is determined that there is a dangerous vehicle in front of the vehicle, a HUD presentation message of "insufficient safe distance please decelerate" as shown in fig. 9 may be displayed in a reflection device (e.g., a front windshield of the vehicle or a half mirror of a terminal bracket).
In another example, the driving related data of the vehicle includes a current driving speed of the vehicle, and in the HUD determining step, whether a deceleration strip exists ahead of the vehicle may be determined based on the image in front of the vehicle, and when it is determined that a deceleration strip exists ahead of the vehicle, it is determined whether the current driving speed of the vehicle is greater than a driving speed threshold, where the driving speed threshold may also be a predetermined speed value, and when it is determined that the current driving speed of the vehicle is greater than the driving speed threshold, the HUD information is determined as deceleration prompt information for reminding a driver of the existence of the deceleration strip ahead. A HUD prompt message such as "deceleration strip ahead, please decelerate" shown in fig. 10 may be displayed in a reflecting device (e.g., a front windshield of a vehicle or a half mirror of a terminal stand).
In another example, the driving-related data of the vehicle may include navigation information of the vehicle and GPS information of the vehicle, and regarding the step of determining the HUD, whether the vehicle needs to make a prompt to change lane may be determined based on the navigation information of the vehicle and the GPS information of the vehicle. Next, an example of performing lane change prompting will be described in detail with reference to fig. 11.
Specifically, in step S510, the lane in which the vehicle is located and the vehicle density of each lane are determined based on the vehicle front image. In step S520, it is determined whether the lane where the vehicle is located is a correct lane in the navigation direction based on the navigation information of the vehicle and the GPS information of the vehicle, when it is determined that the lane where the vehicle is located is the correct lane in the navigation direction, the process returns to step S510, and when it is determined that the lane where the vehicle is located is not the correct lane in the navigation direction, in step S530, it is determined whether the distance from the location where the vehicle is located to the next intersection is greater than or equal to a predetermined distance.
When the distance from the position of the vehicle to the next intersection is determined to be greater than or equal to the preset distance, in step S540, it is determined whether the vehicle density of the correct lane exceeds a density threshold, when it is determined that the vehicle density of the correct lane does not exceed the density threshold, the step S520 is returned to be executed, and when it is determined that the vehicle density of the correct lane exceeds the density threshold, in step S550, the HUD information is determined to be lane change prompting information for prompting the driver to change lanes in advance.
When it is determined that the distance from the position of the vehicle to the next intersection is less than the predetermined distance, in step S550, it is determined that the HUD information is lane change prompting information for prompting the driver to change lanes in advance.
For example, as shown in fig. 12, when the above-described right-hand lane change condition is satisfied, HUD guidance information "please advance to the right-turn lane" as shown in fig. 12 may be displayed in a reflection device (e.g., a front windshield of a vehicle or a half mirror of a terminal bracket).
According to the method for displaying the HUD information in the terminal, the actual road condition can be used as one of the consideration factors of the HUD prompt information, so that the HUD information is more accurate, the driving safety is ensured, in addition, when one screen of the terminal is used as a carrier for projecting the HUD information to the reflecting device, the real-time road condition pictures with various visual effects can be displayed in the wide-area picture in the other screen, the driving difficulty is effectively reduced, and the driving experience of a driver is improved.
Fig. 13 illustrates a block diagram of a terminal according to an exemplary embodiment of the present invention. As shown in fig. 13, a terminal according to an exemplary embodiment of the present invention includes a first screen (not shown in fig. 13) and a second screen 100, the terminal further including: the camera 200, the collector 300 and the processor 400 are arranged in the first screen coverage range.
Specifically, the processor 400 controls the camera 200 to capture an image in front of the vehicle.
The processor 400 controls the collector 300 to collect the driving related data of the vehicle.
As an example, the driving related data of the vehicle may comprise at least one of: the navigation information of the vehicle, the current running speed of the vehicle, the Global Positioning System (GPS) information of the vehicle and the focal length data of the camera.
Here, the travel-related data of the vehicle may be acquired through various sensors, meters, global positioning systems, navigation systems, and the like provided in the terminal or in the vehicle. For example, the current running speed of the vehicle may be acquired by a speedometer, the current GPS information of the vehicle may be acquired by a global positioning system, and the navigation information of the current vehicle may be acquired by a navigation system. In addition, it should be understood that the driving related data of the vehicle may not be limited to the above, and may also be other driving related data collected according to the actual situation, and the invention is not limited thereto.
If the driving related data of the vehicle is acquired by the vehicle, the driving related data may be interacted through a wired or wireless connection of the terminal and the vehicle.
The processor 400 determines HUD information for prompting the driver based on the image in front of the vehicle and/or the travel-related data of the vehicle.
After determining the HUD information for prompting the driver, the processor 400 controls the second screen to display the HUD information to project the HUD information onto the reflecting device. Here, the reflection means may include at least one of: the windshield of the vehicle and the half mirror arranged on the terminal support.
Further, in displaying HUD information for projection to the reflection means on the second screen, at least one of the following items may also be displayed on the first screen, as an example: images in front of the vehicle, navigation information of the vehicle and indicia of potentially dangerous driving obstacles.
When displaying the HUD information on the second screen, the terminal may be directly set to an appropriate angle when the windshield of the vehicle is used as a reflection device, and the HUD information displayed on the second screen may be projected onto the windshield of the vehicle.
Further, HUD information may also be projected onto the half mirror through the terminal stand. In particular, the terminals may also be arranged in a terminal holder.
In one example, the terminal holder may include a first base and an I-shaped support, wherein a bottom of the I-shaped support is rotatably connected to the base by a first connector, a top of the I-shaped support is rotatably connected to the half mirror by a second connector, wherein the base is configured to carry the second screen, the I-shaped support is configured to support the first screen, and the HUD information displayed on the second screen is projected onto the half mirror by adjusting a relative angle between the base, the I-shaped support, and the half mirror. The terminal holder is adapted to a terminal in which a screen is bent (or folded) inward.
In another example, the terminal bracket may include: the HUD information display device comprises a second base and an L-shaped support frame, wherein a horizontal support of the L-shaped support frame is rotatably connected to the semi-reflecting mirror through a third connecting piece, a vertical support perpendicular to the horizontal support of the L-shaped support frame is rotatably connected to the second base through a fourth connecting piece, the horizontal support of the L-shaped support frame is used for bearing the second screen, a vertical support of the L-shaped support frame is used for supporting the first screen, and the HUD information displayed on the second screen is projected onto the semi-reflecting mirror by adjusting the relative angle between the horizontal support and the semi-reflecting mirror. The terminal holder is suitable for a terminal in which a screen is bent (or folded) outward.
Next, how to determine the HUD information for prompting the driver based on the vehicle front image and/or the travel-related data of the vehicle will be described in detail.
In one example, processor 400 determines whether a pedestrian is present in front of the vehicle based on the image in front of the vehicle, determines whether the distance between the pedestrian and the vehicle is less than within a pedestrian safety distance when processor 400 determines that a pedestrian is present in front of the vehicle, and processor 400 determines the HUD information as a potential danger prompting information for prompting the driver of a pedestrian obstacle when the distance between the pedestrian and the vehicle is less than a pedestrian safety distance range.
In another example, the driving related data of the vehicle includes focus data of the camera, wherein the processor 400 may determine the distance between the vehicle and the vehicle in front of the vehicle based on the image in front of the vehicle and the focus data of the camera, and in particular, the processor 400 may acquire width data and length data of the vehicle in front through the image in front of the vehicle by an existing computer graphics method, and then determine the distance between the vehicle and the vehicle in front of the vehicle using the width data and length data of the vehicle in front and the focus data of the camera, and then the processor 400 determines whether the distance between the vehicle and the vehicle in front of the vehicle is less than a vehicle separation safety distance, when the processor 400 determines that the distance between the vehicle and the vehicle in front of the vehicle is less than the vehicle separation safety distance, and determining that the HUD information is deceleration prompt information for reminding a driver of insufficient safety distance between vehicles.
In another example, the driving related data of the vehicle includes a current driving speed of the vehicle, the processor 400 determines whether a deceleration strip is present ahead of the vehicle based on the image in front of the vehicle, determines whether the current driving speed of the vehicle is greater than a driving speed threshold when the processor 400 determines that the deceleration strip is present ahead of the vehicle, and determines the HUD information as deceleration prompt information for reminding a driver of the presence of the deceleration strip ahead when the processor 400 determines that the current driving speed of the vehicle is greater than the driving speed threshold.
In another example, the driving related data of the vehicle may include navigation information of the vehicle and GPS information of the vehicle, and the processor 400 determines lanes in which the vehicle is located and a vehicle density of each lane based on the vehicle front image; determining whether a lane in which the vehicle is located is a correct lane in a navigation direction based on the navigation information of the vehicle and the GPS information of the vehicle; when the processor 400 determines that the lane where the vehicle is located is not the correct lane in the navigation direction, determining whether the distance from the location where the vehicle is located to the next intersection is greater than or equal to a predetermined distance; when the processor 400 determines that the distance from the position of the vehicle to the next intersection is greater than or equal to a preset distance, determining that the HUD information is lane change prompting information for prompting a driver to change lanes in advance; when the processor 400 determines that the distance from the position of the vehicle to the next intersection is greater than or equal to a predetermined distance, determining whether the vehicle density of the correct lane exceeds a density threshold; when the processor 400 determines that the vehicle density of the correct lane exceeds the density threshold, it determines that the HUD information is lane change prompting information for prompting the driver to make a lane change in advance.
The computer-readable storage medium according to an exemplary embodiment of the present invention stores a computer program that, when executed by a processor, causes the processor to execute the method of displaying heads-up display HUD information in a terminal of the above-described exemplary embodiment. The computer readable storage medium is any data storage device that can store data which can be read by a computer system. Examples of computer-readable storage media include: read-only memory, random access memory, read-only optical disks, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as data transmission through the internet via wired or wireless transmission paths).
In summary, according to the method and the terminal for displaying the HUD information in the terminal according to the exemplary embodiment of the present invention, the actual road condition can be used as one of the consideration factors of the HUD prompt information, so that the HUD information is more accurate, and the driving safety is ensured.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.