Vehicle, head-up display, road sign display method of head-up display and storage medium
By displaying road signs when the vehicle is about to reach the target intersection, the problem of not displaying road names in the prior art is solved, the user experience and navigation accuracy are improved, and the use of computing resources is optimized.
Patent Information
- Application Number
- CN202310493755.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2024-11-05
AI Technical Summary
The existing AR_HUD technology fails to display the names of the roads passing or roads to be transferred during navigation, making it difficult for passengers to determine whether to enter the right road, increasing the chance of taking the wrong road.
By using a head-up display to display the road signs of the target intersection when the vehicle is about to reach the target intersection, it is displayed only at the appropriate distance, reducing unnecessary intersection signing prompts, avoiding computing resource occupation, and correcting the display coordinates to avoid obstruction.
Improve user experience, ensure that passengers can clearly see road signs, reduce the risk of going on the wrong road, and optimize the use of computing resources.
Smart Images

Figure CN118896628A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of augmented reality head-up display, and in particular to a vehicle, a head-up display, a road sign display method thereof, and a storage medium. Background Art
[0002] The existing AR_HUD technology (augmented reality head-up display technology) will display guidance arrows according to the route of the passengers during navigation, telling the passengers which way to go. However, the existing technology does not display the names of the passing roads or the roads to be turned, resulting in passengers not knowing whether they have entered the correct road, thereby increasing the probability of taking the wrong road. Summary of the invention
[0003] One purpose of an implementation of the present application is to provide a vehicle, a head-up display, a road sign display method, and a storage medium. The advantage is that when the vehicle is about to reach a target intersection, the road signs of the target intersection are displayed at the target intersection through the head-up display, thereby intuitively reminding the user and improving the user experience.
[0004] Another object of the implementation mode of the present application is to provide a vehicle, a head-up display, a road sign display method and a storage medium thereof, the advantage of which is that according to the display parameters of the vehicle's head-up display, the road signs of the target intersection are displayed at the target intersection through the head-up display only when the vehicle approaches the target intersection and reaches a corresponding appropriate distance, thereby reducing unnecessary intersection sign prompts and reducing the occupation of computing resources.
[0005] Another object of the embodiment of the present application for displaying coordinates of intersections is to provide a vehicle, a head-up display, and a method and storage medium for displaying road signs thereof, which has the advantage that if the object in front of the target vehicle is determined to be a target obstacle, the display coordinates of the road signs are converted and corrected so that the user can see the road signs clearly and without obstruction.
[0006] To achieve the above-mentioned purpose, in a first aspect, a method for displaying road signs is provided, the method comprising the following steps:
[0007] Obtain the vehicle initial coordinates of the target vehicle and the intersection initial coordinates of the target intersection;
[0008] Based on the vehicle initial coordinates and the intersection initial coordinates, determining the distance between the target vehicle and the target intersection, and converting the intersection initial coordinates into intersection display coordinates, where the intersection display coordinates are coordinates in a pixel coordinate system established based on a head-up display of the target vehicle; and,
[0009] In response to the distance satisfying a visibility condition, a road sign of the target intersection is displayed at the intersection display coordinates via a head-up display of the target vehicle.
[0010] In a second aspect, a head-up display is provided, wherein the head-up display is associated with a target vehicle, and the head-up display device comprises:
[0011] Display components;
[0012] at least one processor in communication with the display assembly; and
[0013] A memory configured to store instructions, which, when executed by the at least one processor, cause the at least one processor to perform steps, the steps comprising:
[0014] Obtaining the vehicle initial coordinates of the target vehicle and the intersection initial coordinates of the target intersection;
[0015] Based on the vehicle initial coordinates and the intersection initial coordinates, determining the distance between the target vehicle and the target intersection, and converting the intersection initial coordinates into intersection display coordinates, where the intersection display coordinates are coordinates in a pixel coordinate system established based on the head-up display; and
[0016] In response to the distance satisfying a visual condition, a road sign of the target intersection is displayed at the intersection display coordinates via the display component.
[0017] In a third aspect, a vehicle is provided, the vehicle comprising a positioning component, a head-up display, and at least one processor communicatively connected to the positioning component and the head-up display, wherein:
[0018] The positioning component is configured to obtain the vehicle initial coordinates of the vehicle and the intersection initial coordinates of the target intersection, and send the vehicle initial coordinates and the intersection initial coordinates to the at least one processor;
[0019] The at least one processor is configured to:
[0020] Based on the vehicle initial coordinates and the intersection initial coordinates, determining the distance between the vehicle and the target intersection, and converting the intersection initial coordinates into intersection display coordinates, where the intersection display coordinates are coordinates in a pixel coordinate system established based on the head-up display; and
[0021] In response to the distance satisfying the visibility condition, the intersection display coordinates are sent to the head-up display so that the head-up display displays the road sign of the target intersection at the intersection display coordinates.
[0022] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the road sign display method as described in the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of a process flow applicable to a road sign display method according to an exemplary embodiment of the present application is schematically shown;
[0024] Figure 2 The flowchart schematically shows the applicable step S1 of the road sign display method according to the exemplary embodiment of the present application;
[0025] Figure 3 The flowchart schematically shows the process flow applicable to step S2 of the road sign display method according to an exemplary embodiment of the present application;
[0026] Figure 4 Another flowchart diagram applicable to step S2 of the road sign display method according to an exemplary embodiment of the present application is schematically shown;
[0027] Figure 5 The flowchart schematically shows the applicable step S25 of the road sign display method according to the exemplary embodiment of the present application;
[0028] Figure 6 The flowchart schematically shows the process flow applicable to step S253 of the road sign display method according to an exemplary embodiment of the present application;
[0029] Figure 7 Another flowchart diagram applicable to step S253 of the road sign display method according to an exemplary embodiment of the present application is schematically shown;
[0030] Figure 8 The flowchart schematically shows the process flow applicable to step S26 of the road sign display method according to an exemplary embodiment of the present application;
[0031] Fig. 9 A schematic diagram schematically shows a flow chart applicable to the visual conditions of the road sign display method according to an exemplary embodiment of the present application;
[0032] Fig.10 Schematically shows a road sign reference diagram applicable to an example of a road sign display method according to an exemplary embodiment of the present application;
[0033] Fig.11 Another road sign reference diagram applicable to an example of a road sign display method according to an exemplary embodiment of the present application is schematically shown;
[0034] Fig.12 Another road sign reference diagram applicable to an example of a road sign display method according to an exemplary embodiment of the present application is schematically shown;
[0035] Fig.13 A schematic structural diagram applicable to a vehicle according to an exemplary embodiment of the present application is shown schematically. DETAILED DESCRIPTION
[0036] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0037] Example 1
[0038] This embodiment provides a road sign display method. Figure 1 , the method comprises the following steps:
[0039] S1. Obtain the initial vehicle coordinates of the target vehicle and the initial intersection coordinates of the target intersection.
[0040] It should be noted that the vehicle initial coordinates represent the position coordinates of the vehicle on the map or in the world coordinate system, and the intersection initial coordinates represent the position coordinates of the intersection on the map or in the world coordinate system. For example, the vehicle initial coordinates of the target vehicle are P(x1, y1), and the intersection initial coordinates are S(x2, y2).
[0041] In an alternative embodiment, see Figure 2 , step S1 comprises:
[0042] S11. Acquire the initial coordinates of the target vehicle based on the positioning module.
[0043] In one example, the positioning module may include a GPS (Global Positioning System) positioning module.
[0044] In another example, the positioning module may also include one or more communication modules such as V2X (vehicle wireless communication), UWB (wireless carrier communication technology), and Starflash (wireless short-range communication technology). Thus, the position of the target vehicle can be determined more accurately, avoiding the problem of inaccurate positioning due to GPS drift in the presence of adjacent roads.
[0045] In another example, the positioning module may also be a positioning module of a mobile device (such as a mobile phone). Specifically, the mobile device may send the positioning information to the target vehicle after acquiring the positioning information through its positioning module.
[0046] S12, determining a first road where the target vehicle is located and a second road that the target vehicle is about to approach based on the initial coordinates of the vehicle.
[0047] The first road includes the road where the target vehicle is currently located and / or the specific lane of the road where the target vehicle is currently located. In some examples, the first road where the target vehicle is located can be directly determined by matching the initial coordinates of the vehicle with the map data. In other examples, the first road where the target vehicle is located can be directly determined by communicating with roadside equipment through communication modules such as V2X (vehicle wireless communication), UWB (wireless carrier communication technology), and Star Flash (wireless short-range communication technology), and the specific lane of the first road where the target vehicle is located can also be determined.
[0048] The second road is a road that intersects with the first road. The second road that the target vehicle is about to approach may be a road that the target vehicle is about to turn into (e.g. Figure 10-12 The target vehicle may not enter the road, but may pass through the road (such as Fig.12 In some embodiments, whether the target vehicle enters the second road can be determined based on the type of the specific lane where the target vehicle is located. For example, if the type of the lane where the target vehicle is located is a turnable lane, it can be determined that the target vehicle is about to turn and enter the second road.
[0049] S13: Determine a target intersection formed by the intersection of the first road and the second road, and obtain initial intersection coordinates of the target intersection.
[0050] After determining the first road and the second road, the initial intersection coordinates of the intersection of the first road and the second road can be obtained according to the map data. It should be noted that only the initial intersection coordinates of the target intersection formed by the second road that the target vehicle is about to turn into and the first road can be obtained (e.g. Figure 10-11 As shown in FIG. 1 ), the initial intersection coordinates of the target intersection formed by the second road that the target vehicle is about to turn into and the first road can also be obtained, and the initial intersection coordinates of the target intersection formed by the second road that the target vehicle is not about to enter but is about to pass and the first road can also be obtained (as shown in FIG. 1 ). Fig.12 shown).
[0051] S2. Based on the vehicle initial coordinates and the intersection initial coordinates, determine the distance between the target vehicle and the target intersection, and convert the intersection initial coordinates into intersection display coordinates.
[0052] After obtaining the initial coordinates of the vehicle and the initial coordinates of the intersection, the straight-line distance L between the two is calculated. For example, the initial coordinates of the vehicle are P(x1, y1) and the initial coordinates of the intersection are S(x2, y2), then the distance L between the target vehicle and the target intersection is R*arcos[cos(y1)*cos(y2)*cos(x1-x2)+sin(y1)*sin(y2)], where R is the radius of the earth.
[0053] The intersection display coordinates are coordinates or coordinate sets in a pixel coordinate system established based on the head-up display of the target vehicle. The pixel coordinate system is a coordinate system established with the upper left corner of the image as the origin and in pixels. For example, the intersection display coordinates are P(u, v), where the horizontal coordinate u and the vertical coordinate v of the pixel are the column number and the row number in the image array, respectively.
[0054] After obtaining the initial intersection coordinates, it is necessary to first convert the initial intersection coordinates into the first reference coordinates in the first reference coordinate system or the second reference coordinates in the second reference coordinate system, and then convert the first reference coordinates or the second reference coordinates into the intersection display coordinates in the pixel coordinate system. Thus, the coordinate information in the pixel coordinate system can be converted based on the coordinate information on the navigation map, so as to display the road signs on the head-up display of the target vehicle.
[0055] In an alternative embodiment, see Figure 3 , step S2 comprises:
[0056] S21. Establish a first reference coordinate system of the target vehicle based on the initial coordinates of the vehicle.
[0057] Among them, the first reference coordinate system is a vehicle body coordinate system, a camera coordinate system or a human eye coordinate system. The vehicle body coordinate system is a coordinate system established based on the origin of the vehicle body. In one embodiment, the vehicle body coordinate system is established with the middle point of the front face of the vehicle as the origin, the right as the X axis, the upward as the Y axis, and the forward as the Z axis. The camera coordinate system is a coordinate system established with the optical center (projection center) of the camera as the origin, wherein the Z axis of the coordinate system is parallel to the optical axis of the camera (i.e., the shooting direction of the camera lens). The human eye coordinate system is a coordinate system established with the position of the human eye as the origin.
[0058] In some embodiments, the vehicle body coordinate system can be established with the vehicle initial coordinates as the origin. In other embodiments, the camera coordinate system or the human eye coordinate system can be established by obtaining the camera coordinate system or the human eye coordinate system from the vehicle initial coordinates according to the relative position relationship between the vehicle and the camera or the human eye.
[0059] S22. Convert the initial intersection coordinates into first reference coordinates in a first reference coordinate system.
[0060] Specifically, based on the straight-line distance between the vehicle initial coordinates and the initial intersection coordinates and the driving direction of the target vehicle, the first reference coordinates of the initial intersection coordinates in the first reference coordinate system are determined.
[0061] In one embodiment, taking the first reference coordinate system as the vehicle body coordinate system as an example, according to the vehicle initial coordinates P (x1, y1) and the initial intersection coordinates S (x2, y2), the straight-line distance L between the two is calculated, and then according to the driving direction of the target vehicle when the above two coordinates are determined, the straight-line distance L is calculated relative to the lateral distance Lx, longitudinal distance Ly, and vertical distance Lz in the vehicle body coordinate system to obtain the first reference coordinate C (Lx, Ly, Lz) of the initial intersection coordinate in the vehicle body coordinate system.
[0062] In another embodiment, the initial coordinates of the intersection can be converted into coordinates in a camera coordinate system or a human eye coordinate system as the first reference coordinate C. For details, reference can be made to the coordinate conversion method in the vehicle body coordinate system, which will not be repeated here.
[0063] In another embodiment, the initial coordinates of the intersection may be first converted into coordinates C1 (Lx, Ly, Lz) in the vehicle body coordinate system, and then a view matrix (View Matrix) may be established based on the relative positional relationship between the camera position and the origin of the vehicle body to convert the coordinates C1 (Lx, Ly, Lz) into coordinates C2 (Lx', Ly', Lz') in the camera coordinate system, and the coordinates C2 are used as the first reference coordinates C. Similarly, the initial coordinates of the intersection may be first converted into coordinates C1 (Lx, Ly, Lz) in the vehicle body coordinate system, and then a view matrix (View Matrix) may be established based on the relative positional relationship between the human eye position and the origin of the vehicle body to convert the coordinates C1 (Lx, Ly, Lz) into coordinates C3 (Lx", Ly", Lz") in the human eye coordinate system, and the coordinates C3 are used as the first reference coordinates C.
[0064] S23. Convert the first reference coordinates into intersection display coordinates.
[0065] Specifically, according to the display parameters of the head-up display on the target vehicle, a projection matrix (ProjectionMatrix) is established, and according to the formula Y=Projection Matrix*View Matrix*X, the X-axis and Y-axis coordinate values in the first reference coordinate C are substituted into the calculation to convert the intersection display coordinate P(u, v). Thus, the road signs can be drawn at the head-up display to the correct position observed by the human eye according to the intersection display coordinate P(u, v).
[0066] During the driving process of the target vehicle, by automatically updating the vehicle's initial coordinates P(x, y), the real-time intersection display coordinates P(u, v) can be calculated in real time according to the above-mentioned conversion method and formula Y=ProjectionMatrix*ViewMatrix*X, so that the road signs can be drawn and displayed according to the visual effects of the human eye, thereby achieving the effect of larger objects near and smaller objects far away.
[0067] In this embodiment, by unifying the coordinate systems of the vehicle initial coordinates and the intersection initial coordinates, it is more convenient to calculate the distance between the target vehicle and the target intersection.
[0068] In an alternative embodiment, see Figure 4 , step S2 comprises:
[0069] S24: Obtain object information of the object in front of the target vehicle.
[0070] The objects in front include static objects such as electric poles, as well as dynamic objects such as vehicles driving in front; they include living objects such as running rabbits or passers-by, as well as non-living objects such as flying plastic bags.
[0071] In addition, the object information may be image information obtained by a vehicle-mounted camera or shape information obtained by a millimeter-wave radar.
[0072] S25. Based on the initial coordinates of the vehicle, the initial coordinates of the intersection, and the object information of the front object, determine whether there is a target obstacle between the target vehicle and the target intersection.
[0073] The target obstacle refers to an object in front that affects the display of road signs, that is, the passenger cannot see the road signs clearly on the head-up display because of the target obstacle. The color of the target obstacle may be similar to the color of the road sign on the head-up display, or the position of the target obstacle may be too close to the position of the road sign on the head-up display, affecting the visual effect of the road sign. Fig.10 As shown, the road sign "Road A" and the traffic light at the intersection are overlapped in the positions displayed on the head-up display, affecting the display effect of the road sign "Road A".
[0074] In an alternative embodiment, see Figure 5 , step S25 further includes:
[0075] S251. Based on the initial coordinates of the vehicle, convert the initial coordinates of the intersection into second reference coordinates in a second reference coordinate system.
[0076] The second reference coordinate system is any one of a vehicle body coordinate system, a camera coordinate system, a human eye coordinate system and a pixel coordinate system.
[0077] The specific method of converting the initial coordinates of the intersection into the coordinates of the vehicle body coordinate system, camera coordinate system, human eye coordinate system or pixel coordinate system can refer to the above Figure 3 The implementation methods of the relevant steps will not be repeated here.
[0078] S252: Based on the object information of the front object, obtain the front object coordinates of the front object of the target vehicle in the second reference coordinate system.
[0079] It should be noted that the front object coordinates represent a coordinate set of all position coordinates of the objects in front of the target vehicle.
[0080] In some embodiments, image information of the object in front is obtained by a vehicle-mounted camera, and the coordinates of the object in front in the camera coordinate system are obtained based on the image information, which are then converted into coordinates in the vehicle body coordinate system, and finally converted into pixel coordinates in the pixel coordinate system. The pixel coordinate system is determined by establishing a projection matrix with the position of the human eye as the origin.
[0081] In other embodiments, detection information of the object in front (such as radar information) is obtained through a vehicle-mounted sensing device, and the coordinates of the object in front in the vehicle body coordinate system are obtained based on the detection information, and then converted into pixel coordinates in a pixel coordinate system. The pixel coordinate system is determined by establishing a projection matrix with the position of the human eye as the origin.
[0082] S253: Based on the second reference coordinates and the coordinates of the front object, determine whether there is a target obstacle between the target vehicle and the target intersection.
[0083] It should be noted that the second reference coordinates and the front object coordinates are coordinates in the same reference coordinate system or coordinates of the same type.
[0084] Specifically, whether there is a target obstacle between the target vehicle and the target intersection is determined based on the comparison result of the coordinate values on any coordinate axis between the second reference coordinate and the front object coordinate or the intersection-over-union ratio of the corresponding detection frames of the second reference coordinate and the front object coordinate.
[0085] In this embodiment, the coordinate systems of the initial intersection coordinates and the front object coordinates are unified to facilitate the measurement of whether the road sign will be blocked by the object in front of the target vehicle, thereby determining whether the object in front of the target vehicle is the target obstacle of the road sign, and then determining whether the intersection display coordinates need to be corrected.
[0086] In an alternative embodiment, see Figure 6 , step S253 includes:
[0087] S2531. Determine a first detection frame obtained based on the second reference coordinates and a second detection frame obtained based on the coordinates of the front object.
[0088] When the second reference coordinates are a coordinate set of the position coordinates of the target vehicle in the second reference coordinate system, a first detection frame formed by the coordinate set can be determined based on the coordinate set. Similarly, a second detection frame can also be determined based on a coordinate set of the coordinates of the front object.
[0089] S2532: In response to determining that the intersection-over-joint ratio of the first detection frame and the second detection frame is greater than or equal to a preset value, determine that a target obstacle exists between the target vehicle and the target intersection.
[0090] The intersection-and-union ratio measures the relative size of the overlap between the first detection frame and the second detection frame. If the intersection-and-union ratio is greater than or equal to the preset value, it means that the overlapping area between the first detection frame and the second detection frame is greater than the preset overlapping area, and the target obstacle will affect the display of the road sign; conversely, if the intersection-and-union ratio is less than the preset value, it means that the target obstacle will not affect the display of the road sign.
[0091] S2533: In response to determining that the intersection-over-annexation ratio of the first detection frame and the second detection frame is less than a preset value, determine that there is no target obstacle between the target vehicle and the target intersection.
[0092] The range of the intersection-and-union ratio may be [0, 1], and the preset value is greater than 0 and less than 1. The specific preset value is set according to actual needs.
[0093] In this embodiment, by comparing the intersection-and-joint ratio of the first detection frame and the second detection frame with a preset value, it is accurately determined whether the object in front of the target vehicle is a target obstacle.
[0094] In an alternative embodiment, see Figure 7 , step S253 includes:
[0095] S2534: In response to determining that the second reference coordinate and the front object coordinate have the same coordinate value on any coordinate axis, determine that a target obstacle exists between the target vehicle and the target intersection.
[0096] For example, the second reference coordinates include A1 (x1, y1, z1), and the coordinates of the front object include A2 (x2, y2, z2), that is, the coordinate value of the second reference coordinate A1 on the horizontal axis is x1, the coordinate value on the vertical axis is y1, and the coordinate value on the vertical axis is z1, and the coordinate value of the front object coordinate A2 on the horizontal axis is x2, the coordinate value on the vertical axis is y2, and the coordinate value on the vertical axis is z2. If x1=x2, or y1=y2, or z1=z2, it is determined that there is a target obstacle between the target vehicle and the target intersection.
[0097] When x1=x2, no matter whether y1 and y2 are equal, whether z1 and z2 are equal, there is a target obstacle between the target vehicle and the target intersection; similarly, when y1=y2, no matter whether x1 and x2 are equal, whether z1 and z2 are equal, there is a target obstacle between the target vehicle and the target intersection; when z1=z2, no matter whether x1 and x2 are equal, whether y1 and y2 are equal, there is a target obstacle between the target vehicle and the target intersection.
[0098] S2535: In response to determining that the second reference coordinates and the front object coordinates do not have the same coordinate value on any coordinate axis, determine that there is no target obstacle between the target vehicle and the target intersection.
[0099] In this embodiment, by directly comparing the coordinate values, it is quickly determined whether the object in front of the target vehicle is a target obstacle, thereby improving the efficiency of correcting the displayed coordinates of the intersection.
[0100] S26. In response to determining that there is a target obstacle, converting and correcting the initial intersection coordinates to obtain corrected intersection display coordinates.
[0101] The conversion process refers to converting the initial intersection coordinates into the second reference coordinates in the second reference coordinate system. The correction process refers to converting the initial intersection coordinates into the second reference coordinates in the second reference coordinate system, and then correcting and adjusting the converted second reference coordinates so that the coordinate values on any coordinate axis between the second reference coordinates and the coordinates of the object in front are not the same or the intersection-over-union ratio of the corresponding detection frames of the second reference coordinates and the coordinates of the object in front is less than a preset value.
[0102] It can be understood that the initial coordinates of the intersection have been converted when determining whether there is a target obstacle, and there is no need to convert them again before the correction process.
[0103] In an alternative embodiment, see Figure 8 , step S26 comprises:
[0104] S261: In response to determining that there is a target obstacle, determine a correction parameter based on the second reference coordinates and the coordinates of the front object.
[0105] The correction parameter is a modified value of the coordinate value of the second reference coordinate on one or more coordinate axes. For example, if the second reference coordinate system is a camera coordinate system, the modification parameter may be to reduce the X-axis coordinate value by 2m.
[0106] S262: Adjust the second reference coordinate based on the correction parameter to obtain a corrected intersection display coordinate.
[0107] It can be understood that in order to reduce the impact of the target obstacle on the display of the road sign, the road sign finally displayed can be moved to the left, right, upward, or a combination thereof.
[0108] For the case of moving to the left or right, just adjust the horizontal axis coordinate (X axis coordinate). For example, if the second reference coordinate system is the camera coordinate system, the X axis coordinate increases or decreases by 2m (where 2m is a preset value, which is approximately the width of the vehicle body. The specific value can be determined according to the actual situation and is not limited here). Fig.11As shown, the road sign "Road A" is displayed by increasing the X-axis coordinate value and moving to the left to avoid the traffic lights or street lights at the intersection.
[0109] For upward movement, the ordinate (Y-axis coordinate) can be adjusted. For example, if the second reference coordinate system is the camera coordinate system, the Y-axis coordinate increases by 2m (2m is a preset value, which is approximately the height of the vehicle body. The specific value can be determined according to the actual situation and is not limited here). In addition, if there are multiple movable target obstacles (such as vehicles), the upward movement adjustment method is preferred.
[0110] In this embodiment, the second reference coordinates are adjusted by the correction parameters, and then the corrected intersection display coordinates are obtained according to the adjusted second reference coordinates, so as to avoid the road signs from being blocked or invalidly displayed, thereby improving the user experience of passengers.
[0111] S27. In response to determining that there is no target obstacle, converting the initial intersection coordinates into intersection display coordinates.
[0112] In this embodiment, when a target obstacle appears in front of the target vehicle and affects the display of the road sign, it is necessary to correct the intersection display coordinates according to the position of the target obstacle so that the passenger can clearly see the road sign on the head-up display.
[0113] S3. In response to the distance satisfying the visibility condition, displaying the road sign of the target intersection at the intersection display coordinates via the head-up display of the target vehicle.
[0114] Among them, road signs include road names and road signs. Fig.10 , Fig.11 and Fig.12 It is a road sign reference map displayed in this embodiment.
[0115] Thus, the user can clearly see the road sign indicating the second road before approaching and arriving at the second road, thereby helping the user to determine the current location of the target vehicle and whether the second road is a road to be entered. Fig. 9 , the visual condition is determined based on the following steps:
[0116] S4. Obtain display parameters of the head-up display and determine the projection matrix of the head-up display.
[0117] The display parameters include the eye box height, projection distance, projection height, and projection resolution of the head-up display, etc. Based on the above display parameters, the projection matrix of the head-up display can be determined.
[0118] S5. Determine the display distance corresponding to the preset pixel value according to the projection matrix.
[0119] The preset pixel value refers to the pixel value of the image displayed by the head-up display of the vehicle at a preset display distance. When the pixel value of the displayed image is less than or equal to the preset pixel value, it is difficult for the human eye to see the displayed image clearly.
[0120] Specifically, a preset pixel value clearly visible to the human eye is determined under the projection matrix, and the display distance corresponding to the preset pixel value, that is, the actual distance between the target intersection and the target vehicle, is calculated by reverse calculation using the inverse matrix formula of the projection matrix.
[0121] In some implementations, the user may determine the appropriate preset pixel value through human eye observation adjustment, that is, manually determine the preset pixel value.
[0122] S6. Determine that the visible condition is less than or equal to the display distance.
[0123] In this embodiment, the head-up displays installed in different vehicles may be different, and the corresponding display parameters are also different, so adaptive adjustment is required to adapt to different vehicles. When displaying, it is not necessary to calculate the pixel value of the displayed road sign every time to compare it with the preset pixel value, which is a large amount of calculation. After the display distance is obtained, it is only necessary to check whether the distance is less than or equal to the display distance, which is more efficient.
[0124] In this embodiment, when the distance between the target vehicle and the target intersection meets the visual condition, the road signs of the target intersection are displayed at the intersection display coordinates via the head-up display of the target vehicle, thereby reminding the passengers of the target vehicle of the road information they are about to pass or enter. On the one hand, this guides the target vehicle to drive on the correct road, and on the other hand, it improves the driving experience of the passengers.
[0125] Example 2
[0126] This embodiment provides a head-up display device, the head-up display is associated with a target vehicle, and the head-up display device includes:
[0127] Display components;
[0128] at least one processor, the at least one processor in communication with the display assembly; and
[0129] A memory, wherein the memory is configured to store instructions, and when the instructions are executed by at least one processor, the at least one processor executes steps, the steps comprising:
[0130] Obtain the vehicle initial coordinates of the target vehicle and the intersection initial coordinates of the target intersection.
[0131] Based on the vehicle initial coordinates and the intersection initial coordinates, the distance between the target vehicle and the target intersection is determined, and the intersection initial coordinates are converted into intersection display coordinates. The intersection display coordinates are coordinates in a pixel coordinate system established based on the head-up display.
[0132] And in response to the distance satisfying the visual condition, a road sign of the target intersection is displayed at the intersection display coordinates via the display component.
[0133] In an optional embodiment, at least one processor further comprises the following steps:
[0134] Get the display parameters of the head-up display and determine the projection matrix of the head-up display;
[0135] Determining a display distance corresponding to a preset pixel value according to the projection matrix; and
[0136] The visible condition is determined to be less than or equal to the display distance.
[0137] In an optional embodiment, at least one processor further comprises the following steps:
[0138] Obtaining object information of an object in front of a target vehicle;
[0139] Based on the initial coordinates of the vehicle, the initial coordinates of the intersection, and the object information of the front object, determining whether there is a target obstacle between the target vehicle and the target intersection; and,
[0140] In response to determining that there is a target obstacle, converting and correcting the initial intersection coordinates to obtain corrected intersection display coordinates;
[0141] In response to determining that the target obstacle does not exist, the intersection initial coordinates are converted into intersection display coordinates.
[0142] It should be noted that the specific implementation and technical effects of the head-up display of this embodiment can refer to the corresponding parts of Example 1, and will not be repeated here.
[0143] Example 3
[0144] This embodiment provides a vehicle, see Fig.13 The vehicle includes a positioning component 1, a head-up display 2, and at least one processor 3 communicatively connected to the positioning component 1 and the head-up display 2, wherein:
[0145] The positioning component 1 is configured to obtain the vehicle initial coordinates of the vehicle and the intersection initial coordinates of the target intersection, and send the vehicle initial coordinates and the intersection initial coordinates to at least one processor 3;
[0146] At least one processor 3 is configured to:
[0147] Based on the vehicle initial coordinates and the intersection initial coordinates, the distance between the vehicle and the target intersection is determined, and the intersection initial coordinates are converted into intersection display coordinates, which are coordinates in a pixel coordinate system established based on the head-up display 2.
[0148] And in response to the distance satisfying the visual condition, the intersection display coordinates are sent to the head-up display 2 so that the head-up display 2 displays the road sign of the target intersection at the intersection display coordinates.
[0149] In an optional implementation, at least one processor 3 is further configured to:
[0150] The display parameters of the head-up display 2 are obtained, and the projection matrix of the head-up display 2 is determined.
[0151] According to the projection matrix, the display distance corresponding to the preset pixel value is determined.
[0152] The visible condition is determined to be less than or equal to the display distance.
[0153] In an alternative embodiment, see Fig.13 , the vehicle further includes a camera 4, the camera 4 is configured to capture images of objects in front of the vehicle and send them to at least one processor 3;
[0154] The at least one processor 3 is further configured to:
[0155] Based on the initial coordinates of the vehicle, the initial coordinates of the intersection and the image of the object in front, it is determined whether there is a target obstacle between the vehicle and the target intersection.
[0156] And in response to determining that there is a target obstacle, the initial intersection coordinates are converted and corrected to obtain corrected intersection display coordinates.
[0157] In response to determining that the target obstacle does not exist, the intersection initial coordinates are converted into intersection display coordinates.
[0158] It should be noted that the specific implementation methods and technical effects of the vehicle of this embodiment can refer to the corresponding parts of Example 1 and will not be repeated here.
[0159] Example 4
[0160] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the road sign display method of embodiment 1 is implemented.
[0161] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0162] In a possible implementation manner, the present invention may also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the road sign display method of embodiment 1.
[0163] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0164] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A road sign display method, It is characterized in that The method comprises the following steps: Obtain the vehicle initial coordinates of the target vehicle and the intersection initial coordinates of the target intersection; Based on the vehicle initial coordinates and the intersection initial coordinates, determining the distance between the target vehicle and the target intersection, and converting the intersection initial coordinates into intersection display coordinates, where the intersection display coordinates are coordinates in a pixel coordinate system established based on a head-up display of the target vehicle; and, In response to the distance satisfying a visibility condition, a road sign of the target intersection is displayed at the intersection display coordinates via a head-up display of the target vehicle.
2. The road sign display method according to claim 1, in, The visual condition is determined based on the following steps: Acquire display parameters of the head-up display and determine a projection matrix of the head-up display; Determining a display distance corresponding to a preset pixel value according to the projection matrix; and The visual condition is determined to be less than or equal to the display distance.
3. The road sign display method according to claim 1, in, Based on the vehicle initial coordinates and the intersection initial coordinates, the step of converting the intersection initial coordinates into intersection display coordinates includes: Based on the initial coordinates of the vehicle, a first reference coordinate system of the target vehicle is established, where the first reference coordinate system is a vehicle body coordinate system, a camera coordinate system or a human eye coordinate system; Converting the initial intersection coordinates into first reference coordinates in the first reference coordinate system; and The first reference coordinates are converted into intersection display coordinates.
4. The road sign display method according to claim 1, in, Based on the vehicle initial coordinates and the intersection initial coordinates, the step of converting the intersection initial coordinates into intersection display coordinates includes: Acquiring object information of an object in front of the target vehicle; Based on the vehicle initial coordinates, the intersection initial coordinates and the object information of the front object, determining whether there is a target obstacle between the target vehicle and the target intersection; and, In response to determining that the target obstacle exists, converting and correcting the initial coordinates of the intersection to obtain corrected display coordinates of the intersection; In response to determining that the target obstacle does not exist, the initial intersection coordinates are converted into the intersection display coordinates.
5. The road sign display method according to claim 4, in, The step of judging whether there is a target obstacle between the target vehicle and the target intersection based on the vehicle initial coordinates and the intersection initial coordinates also includes: Based on the initial coordinates of the vehicle, converting the initial coordinates of the intersection into second reference coordinates in the second reference coordinate system, wherein the second reference coordinate system is any one of a vehicle body coordinate system, a camera coordinate system, a human eye coordinate system and the pixel coordinate system; Based on the object information of the front object, acquiring the front object coordinates of the front object of the target vehicle in the second reference coordinate system; and Based on the second reference coordinates and the front object coordinates, it is determined whether there is a target obstacle between the target vehicle and the target intersection.
6. The road sign display method according to claim 5, in, The step of judging whether there is a target obstacle between the target vehicle and the target intersection based on the second reference coordinates and the front object coordinates includes: determining a first detection frame acquired based on the second reference coordinates and a second detection frame acquired based on the front object coordinates; and, In response to determining that the intersection-and-joint ratio of the first detection frame to the second detection frame is greater than or equal to a preset value, it is determined that there is a target obstacle between the target vehicle and the target intersection; in response to determining that the intersection-and-joint ratio of the first detection frame to the second detection frame is less than a preset value, it is determined that there is no target obstacle between the target vehicle and the target intersection; or, In response to determining that the second reference coordinate and the front object coordinate have the same coordinate value on any coordinate axis, it is determined that there is a target obstacle between the target vehicle and the target intersection; in response to determining that the second reference coordinate and the front object coordinate do not have the same coordinate value on any coordinate axis, it is determined that there is no target obstacle between the target vehicle and the target intersection.
7. The road sign display method according to claim 5, in, In response to determining that the target obstacle exists, the step of converting and correcting the initial coordinates of the intersection to obtain the corrected display coordinates of the intersection includes: In response to determining that the target obstacle exists, determining a correction parameter based on the second reference coordinates and the forward object coordinates; and, The second reference coordinates are adjusted based on the correction parameters to obtain the corrected intersection display coordinates.
8. The road sign display method according to claim 1, in, The step of obtaining the vehicle initial coordinates of the target vehicle and the intersection initial coordinates of the target intersection comprises: Acquire the initial vehicle coordinates of the target vehicle based on the positioning module; Determine, based on the initial vehicle coordinates, a first road where the target vehicle is located and a second road that the target vehicle is about to approach; and A target intersection formed by the intersection of the first road and the second road is determined, and initial intersection coordinates of the target intersection are acquired.
9. A head-up display device, the head-up display being associated with a target vehicle, It is characterized in that The head-up display device comprises: Display components; at least one processor in communication with the display assembly; and A memory configured to store instructions, which, when executed by the at least one processor, cause the at least one processor to perform steps, the steps comprising: Obtaining the vehicle initial coordinates of the target vehicle and the intersection initial coordinates of the target intersection; Based on the vehicle initial coordinates and the intersection initial coordinates, determining the distance between the target vehicle and the target intersection, and converting the intersection initial coordinates into intersection display coordinates, where the intersection display coordinates are coordinates in a pixel coordinate system established based on the head-up display; and In response to the distance satisfying a visual condition, a road sign of the target intersection is displayed at the intersection display coordinates via the display component.
10. A vehicle, It is characterized in that The vehicle includes a positioning component, a head-up display, and at least one processor communicatively connected to the positioning component and the head-up display, wherein: The positioning component is configured to obtain the vehicle initial coordinates of the vehicle and the intersection initial coordinates of the target intersection, and send the vehicle initial coordinates and the intersection initial coordinates to the at least one processor; The at least one processor is configured to: Based on the vehicle initial coordinates and the intersection initial coordinates, determining the distance between the vehicle and the target intersection, and converting the intersection initial coordinates into intersection display coordinates, where the intersection display coordinates are coordinates in a pixel coordinate system established based on the head-up display; and In response to the distance satisfying the visibility condition, the intersection display coordinates are sent to the head-up display so that the head-up display displays the road sign of the target intersection at the intersection display coordinates.
11. The vehicle according to claim 10, in, The at least one processor is further configured to: Acquire display parameters of the head-up display and determine a projection matrix of the head-up display; Determining a display distance corresponding to a preset pixel value according to the projection matrix; The visual condition is determined to be less than or equal to the display distance.
12. The vehicle according to claim 10, in, The vehicle further includes a camera configured to capture an image of an object in front of the vehicle and send the image to the at least one processor; The at least one processor is further configured to: Based on the vehicle initial coordinates, the intersection initial coordinates and the image of the front object, determining whether there is a target obstacle between the vehicle and the target intersection; as well as, In response to determining that the target obstacle exists, converting and correcting the initial coordinates of the intersection to obtain corrected display coordinates of the intersection; In response to determining that the target obstacle does not exist, the initial intersection coordinates are converted into the intersection display coordinates.
13. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the road sign display method according to any one of claims 1 to 8 is implemented.
