Head-up display adjusting method and device, equipment, storage medium and vehicle
By obtaining and adjusting the position, attitude angle and size of the head-up display, combined with the luminous flux density and brightness, the problem in the existing technology that the head-up display cannot accurately conform to the driver's visual habits is solved, and the driver's viewing comfort and safety are improved.
Patent Information
- Application Number
- CN202310341156.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
AI Technical Summary
The existing head-up display adjustment method cannot accurately meet the driver's visual habits, resulting in the driver's comfort and safety of viewing the head-up display in different postures being affected.
By obtaining the position, attitude angle and distance between the human eye and the head-up display, the computer model is used to automatically adjust to ensure that the position, rolling angle and size of the head-up display match the driver's visual habits, including adjusting the position to the relative position of the target and the rolling angle. Adjust to the relative attitude angle of the target, adjust the size to the target distance, and make appropriate adjustments according to the luminous flux density and brightness.
It realizes that the head-up display always accurately matches the driver's visual habits under different driver postures, improves driving safety and comfort, and ensures that information is projected in the best position and clarity of the driver's field of vision.
Smart Images

Figure CN118769894A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of vehicle equipment, and in particular, relates to a head-up display adjustment method, device, equipment, storage medium and vehicle. Background Art
[0002] Head-up Display (HUD) is a technology that projects important information to the center of the driver's field of vision, and is usually used in vehicles. The vehicle-mounted head-up display is generally installed on the dashboard directly in front of the driver, and can reflect information to the driver's field of vision through a transparent display panel without affecting his or her observation of road conditions and the safety of the road ahead. With head-up display technology, the driver can focus more on driving on the road, reduce the frequency of looking down at the dashboard, and improve driving safety and comfort.
[0003] Due to the different heights and driving habits of different drivers, the eye positions of the drivers are different when the same car is driven by different drivers, or when the same driver drives the vehicle in different postures. In order to make the driver be able to watch the head-up display more comfortably when the eyes are in different positions, the head-up display is usually adjusted according to the driver's eye position.
[0004] However, currently, the adjustment of the head-up display is only to adjust the height of the head-up display to be roughly at the same level as the driver's eyes. The head-up display adjusted in this way cannot accurately meet the driver's visual habits. Summary of the invention
[0005] The embodiments of the present application provide a head-up display adjustment method, device, equipment, storage medium and vehicle, which can solve the problem that the existing head-up display adjustment method cannot accurately meet the driver's visual habits.
[0006] In a first aspect, an embodiment of the present application provides a method for adjusting a head-up display, the method comprising:
[0007] Acquire a first position of a human eye and a second position of the head-up display;
[0008] adjusting the position of the head-up display to a third position matching a target relative position, wherein the target relative position is a relative position of the second position relative to the first position;
[0009] adjusting a roll angle of the head-up display to a target roll angle that matches a target relative attitude angle, wherein the target relative attitude angle is an attitude angle of the third position relative to the first position;
[0010] The size of the head-up display is adjusted to a target size that matches a target distance, wherein the target distance is a distance from the first position to the third position.
[0011] In some embodiments, the first position is represented by a first coordinate in a cockpit coordinate system, the second position is represented by a second coordinate in the cockpit coordinate system, the relative position is represented by a relative coordinate of the second coordinate relative to the first coordinate, and the cockpit coordinate system is a spatial coordinate system constructed with the center position of the vehicle cockpit as the origin.
[0012] Before adjusting the position of the head-up display to a third position matching the relative position of the target, the method further includes:
[0013] Inputting the first coordinate and the relative coordinate into the trained target model to obtain an output third coordinate;
[0014] The third coordinate is determined as a third position that matches the relative position of the target.
[0015] In some embodiments, the first position is represented by a first coordinate in a cockpit coordinate system, the third position is represented by a third coordinate in the cockpit coordinate system, the cockpit coordinate system is a spatial coordinate system constructed with the center position of the vehicle cockpit as the origin, and the attitude angle includes a yaw angle and a pitch angle;
[0016] Before adjusting the roll angle of the head-up display to a target roll angle that matches the target relative posture angle, the method further includes:
[0017] Determine a pitch angle and a yaw angle of the third coordinate relative to the first coordinate in the cockpit coordinate system;
[0018] Acquire a first rolling angle having a first mapping relationship with the pitch angle and the yaw angle;
[0019] The first roll angle is determined as a target roll angle that matches the target relative attitude angle.
[0020] In some embodiments, the first position is represented by a first coordinate in a cockpit coordinate system, and the third position is represented by a third coordinate in the cockpit coordinate system, where the cockpit coordinate system is a spatial coordinate system constructed with the center position of the vehicle cockpit as the origin;
[0021] Before adjusting the size of the head-up display to a target size matching the target distance, the method further includes:
[0022] Calculating the target distance using the first coordinate and the third coordinate;
[0023] A target size of the head-up display that has a second mapping relationship with the target distance is obtained.
[0024] In some embodiments, the method further comprises:
[0025] Using a camera in the vehicle cabin to capture a first image, the first image including an image of the driver;
[0026] Acquire a first brightness and contrast of the first image;
[0027] The brightness of the head-up display is adjusted to a target brightness that matches the first brightness and the contrast.
[0028] In some embodiments, before adjusting the brightness of the head-up display to a target brightness that matches the first brightness and the contrast, the method further includes:
[0029] Obtaining the luminous flux density in the vehicle cabin;
[0030] A target brightness of the head-up display having a third mapping relationship with the luminous flux density, the first brightness, and the contrast is queried.
[0031] In a second aspect, an embodiment of the present application provides a head-up display adjustment device, the device comprising:
[0032] An acquisition module, used for acquiring a first position of a human eye and a second position of the head-up display;
[0033] a first adjustment module, configured to adjust the position of the head-up display to a third position matching a target relative position, wherein the target relative position is a relative position of the second position relative to the first position;
[0034] a second adjustment module, configured to adjust a roll angle of the head-up display to a target roll angle that matches a target relative attitude angle, wherein the target relative attitude angle is an attitude angle of the third position relative to the first position;
[0035] The third adjustment module is used to adjust the size of the head-up display to a target size that matches a target distance, wherein the target distance is a distance from the first position to the third position.
[0036] In a third aspect, an embodiment of the present application provides a head-up display adjustment device, the device comprising: a processor and a memory storing computer program instructions;
[0037] When the processor executes the computer program instructions, the above head-up display adjustment method is implemented.
[0038] In a fourth aspect, an embodiment of the present application provides a computer storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the above-mentioned head-up display adjustment method is implemented.
[0039] In a fifth aspect, an embodiment of the present application provides a vehicle, comprising computer program instructions, which, when executed by a processor, implement the above head-up display adjustment method.
[0040] In the present application, by obtaining the first position of the human eye and the initial second position of the head-up display, and further determining the target relative position of the second position relative to the first position, and automatically adjusting the head-up display to the third position based on the target relative position, after the head-up display is adjusted, the rolling angle of the head-up display can be adjusted based on the target relative posture angle of the head-up display relative to the human eye after the adjustment, and the size of the head-up display can be adjusted based on the distance from the head-up display to the human eye after the adjustment. Compared with the adjustment method in the related art that only adjusts the height of the head-up display to be roughly on the same horizontal line as the driver's eyes, the present application automatically adjusts the position of the head-up display, and after the position of the head-up display is adjusted, adjusts the rolling angle and size of the head-up display based on the position, thereby ensuring that the head-up display always accurately meets the driver's visual habits in different postures. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 It is a flowchart of a method for adjusting a head-up display provided in an embodiment of the present application;
[0043] Figure 2 It is a schematic diagram of the hardware structure of a head-up display adjustment device provided in an embodiment of the present application;
[0044] Figure 3 It is a structural schematic diagram of a head-up display adjustment device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0045] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0046] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0047] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The embodiments will be described in detail below in conjunction with the accompanying drawings.
[0048] Specifically, in order to solve the problems of the prior art, the embodiments of the present application provide a head-up display adjustment method, device, equipment, storage medium and vehicle. The head-up display adjustment method provided by the embodiments of the present application is first introduced below.
[0049] Figure 1 A flow chart of a method for adjusting a head-up display provided by an embodiment of the present application is shown. The method comprises the following steps:
[0050] S110, obtaining a first position of a human eye and a second position of the head-up display.
[0051] In this embodiment, the head-up display refers to the projected image of the head-up display on the driver. When the driver is in the cockpit and the head-up display is turned on, the first position of the driver's eyes and the second position of the head-up display can be obtained in real time, and the head-up display is adjusted in real time according to the positional relationship between the first position and the second position to ensure that the head-up display can always be projected in front of the driver's eyes, thereby improving the comfort of the driver viewing the head-up display.
[0052] For example, a camera in the cockpit can be used to capture a first image of the driver, and the driver's eye area in the first image can be identified. Then, the position of the eye relative to the camera can be determined using a single target ranging method. When the camera position is known, the first position of the eye in the vehicle's cabin can be obtained.
[0053] S120: Adjust the position of the head-up display to a third position that matches a target relative position, wherein the target relative position is a relative position of the second position relative to the first position.
[0054] In this embodiment, after determining the first position of the driver's eyes in space and determining the second position of the head-up display, the first position and the second position can be used to determine the target relative position of the head-up display relative to the human eyes, and the position of the head-up display can be adjusted based on the target relative position to adjust the head-up display to a third position, which is the optimal position for the driver to view the head-up display.
[0055] For example, in some scenarios, the head-up display should be projected directly in front of the driver, perpendicular to the driver's line of sight, and close enough to the driver's eyes to ensure that the information is projected within the driver's field of view, so the third position can be the position closest to the second position in the driver's line of sight.
[0056] For example, during the adjustment process, a position adjustment model for the head-up display can be trained in advance, and the target relative position is used as the input of the position adjustment model, and the output of the model is the third position that matches the target relative position. A mapping table in which a one-to-one mapping relationship exists between the relative position and the third position can also be calibrated in advance. After the target relative position is determined, the third position that matches the target relative position can be queried in the mapping table.
[0057] S130: Adjust the scroll angle of the head-up display to a target scroll angle that matches a target relative posture angle, wherein the target relative posture angle is a posture angle of the third position relative to the first position.
[0058] In this embodiment, after the head-up display is adjusted to the third position, the relative posture angle of the head-up display relative to the human eye can be further determined based on the first position of the human eye and the third position of the head-up display after adjustment.
[0059] The roll angle refers to the angle at which an object rotates around its own lateral axis, which is usually related to the angle difference between the ground plane and can be used to determine the lateral posture of the object. The roll angle of the head-up display affects the driver's viewing comfort of the head-up display, so the roll angle of the head-up display needs to be adjusted with the relative position of the human eye and the head-up display. For example, the head-up display can be consistent with the driver's line of sight and remain at the horizontal direction of the driver's human eye to avoid visual discomfort and fatigue caused by the inconsistency between the roll angle of the image and the angle of the driver's line of sight.
[0060] The target relative attitude angle refers to the relative direction angle between the human eye and the head-up display, which is usually expressed by the roll angle, pitch angle and yaw angle. Among them, the roll angle refers to the angle of rotation of the object around its own lateral axis, the pitch angle refers to the angle of rotation of the object around its own longitudinal axis, and the yaw angle refers to the angle of rotation of the object around its own axis perpendicular to the horizontal plane.
[0061] For example, during the adjustment process, the roll angle adjustment model for the head-up display can be trained in advance, and the target relative posture angle is used as the input of the roll angle adjustment model, and the output of the model is the target roll angle that matches the target relative posture angle. A mapping table with a one-to-one mapping relationship between the relative posture angle and the target roll angle can also be calibrated in advance. After determining the target relative posture angle, the target roll angle that matches the target relative posture angle can be queried in the mapping table.
[0062] S140: Adjust the size of the head-up display to a target size that matches a target distance, wherein the target distance is a distance from the first position to the third position.
[0063] In this embodiment, after the head-up display is adjusted to the third position, the distance between the head-up display and the human eye can be further determined based on the first position of the human eye and the third position of the head-up display after adjustment.
[0064] Afterwards, usually, in order to ensure that the head-up display seen by the driver is always clear enough and does not affect the driver's observation of the road conditions, the driver's viewing angle, that is, the viewing angle of the projected image at the driver's eye position, needs to be controlled within a predetermined range.
[0065] Generally speaking, the larger the viewing angle of the projected image, the larger the image the driver sees, allowing the driver to more clearly identify and judge road conditions, improving driving safety. However, if the viewing angle is too large, it may cause visual fatigue to the driver and even affect the driver's driving safety. Therefore, in order to control the viewing angle within a given range, the head-up display needs to be adjusted to different sizes when the head-up display and the human eye are at different distances.
[0066] For example, during the adjustment process, the product of the target distance and the target size can be determined as a fixed constant value. When the target distance changes, the constant value is divided by the new target distance to obtain the target size that matches the target distance.
[0067] The present application obtains the first position of the human eye and the initial second position of the head-up display, further determines the target relative position of the second position relative to the first position, and automatically adjusts the head-up display to a third position based on the target relative position. After the head-up display is adjusted, the rolling angle of the head-up display can be adjusted based on the target relative posture angle of the head-up display relative to the human eye after the adjustment, and the size of the head-up display can be adjusted based on the distance from the head-up display to the human eye after the adjustment. Compared with the adjustment method in the related art that only adjusts the height of the head-up display to be roughly on the same horizontal line as the driver's eyes, the present application automatically adjusts the position of the head-up display, and after the position of the head-up display is adjusted, adjusts the rolling angle and size of the head-up display based on the position, thereby ensuring that the head-up display always accurately meets the driver's visual habits in different postures.
[0068] As an optional embodiment, the first position is represented by a first coordinate of the human eye in a cockpit coordinate system, the second position is represented by a second coordinate of the head-up display in the cockpit coordinate system, the relative position is represented by a relative coordinate of the second coordinate relative to the first coordinate, and the cockpit coordinate system is a spatial coordinate system constructed with the center position of the vehicle cockpit as the origin.
[0069] Before adjusting the position of the head-up display to a third position matching the relative position of the target, the method further includes:
[0070] Inputting the first coordinate and the relative coordinate into the trained target model to obtain an output third coordinate;
[0071] The third coordinate is determined as a third position that matches the relative position of the target.
[0072] In this embodiment, the cockpit coordinate system in the vehicle is a three-dimensional coordinate system established with the cockpit of the vehicle as a reference. For example, the cockpit coordinate system can take the center position of the vehicle cockpit as the origin, the vehicle driving direction as the x-axis direction, the y-axis is perpendicular to the x-axis, and the xOy plane is parallel to the horizontal plane, the direction pointing to the right side of the vehicle as the y-axis direction, and the direction pointing to the sky as the z-axis direction.
[0073] After the cockpit coordinate system is constructed, the first position of the human eye and the second position of the head-up display can be projected into the cockpit coordinate system to obtain the corresponding first coordinate representing the first position and the second coordinate representing the second position. By subtracting the second coordinate from the first coordinate, the relative coordinate of the second coordinate relative to the first coordinate can be obtained. The first coordinate and the relative coordinate of the human eye position are input into the pre-trained target model, and the target model will output a third coordinate, which is the ideal position of the head-up display. For example, the target model can be a radial basis function (RBF) model.
[0074] As an optional embodiment, the first position is represented by a first coordinate in a cockpit coordinate system, the third position is represented by a third coordinate in the cockpit coordinate system, the cockpit coordinate system is a spatial coordinate system constructed with the center position of the vehicle cockpit as the origin, and the attitude angle includes a yaw angle and a pitch angle;
[0075] Before adjusting the roll angle of the head-up display to a target roll angle that matches the target relative posture angle, the method further includes:
[0076] Determine a pitch angle and a yaw angle of the third coordinate relative to the first coordinate in the cockpit coordinate system;
[0077] Acquire a first rolling angle having a first mapping relationship with the pitch angle and the yaw angle;
[0078] The first roll angle is determined as a target roll angle that matches the target relative attitude angle.
[0079] In this embodiment, after the cockpit coordinate system is constructed and the first coordinate of the human eye position in the cockpit coordinate system and the third coordinate of the adjusted head-up display in the cockpit coordinate system are determined, a first vector can be constructed with the first coordinate as the starting point and the third coordinate as the end point.
[0080] The angle between the first vector and the horizontal plane, that is, the angle between the first vector and the xOy plane, is calculated as the pitch angle of the third position relative to the first position; the angle between the projection of the first vector on the horizontal plane and the positive direction of the X-axis is calculated as the yaw angle. The yaw angle and the pitch angle together characterize the relative posture relationship between the human eye and the head-up display.
[0081] In order to ensure that the driver can always clearly see the head-up display, the head-up display needs to be controlled to be always perpendicular to the driver's line of sight. Therefore, the first mapping relationship between the pitch angle, yaw angle and roll angle can be calibrated in advance, so that at any pitch angle and yaw angle, the roll angle that meets the first mapping relationship always ensures that the head-up display is perpendicular to the driver's line of sight.
[0082] As an optional embodiment, the first position is represented by a first coordinate in a cockpit coordinate system, and the third position is represented by a third coordinate in the cockpit coordinate system, where the cockpit coordinate system is a spatial coordinate system constructed with the center position of the vehicle cockpit as the origin;
[0083] Before adjusting the size of the head-up display to a target size matching the target distance, the method further includes:
[0084] Calculating the target distance using the first coordinate and the third coordinate;
[0085] A target size of the head-up display that has a second mapping relationship with the target distance is obtained.
[0086] In this embodiment, after constructing the cockpit coordinate system and determining the first coordinate of the human eye position in the cockpit coordinate system and the third coordinate of the adjusted head-up display in the cockpit coordinate system, the target distance between the human eye and the head-up display can be calculated using the Pythagorean theorem or the vector method.
[0087] In order to ensure that the driver's viewing angle, that is, the viewing angle of the projected image at the driver's eye position is controlled within a given range, the second mapping relationship between the target distance and the head-up display size can be calibrated in advance so that at any distance, the target size that conforms to the second mapping relationship always ensures that the driver's viewing angle is within a given range.
[0088] As an optional embodiment, the method further includes:
[0089] Using a camera in the vehicle cabin to capture a first image, the first image including an image of the driver;
[0090] Acquire a first brightness and contrast of the first image;
[0091] The brightness of the head-up display is adjusted to a target brightness that matches the first brightness and the contrast.
[0092] In this embodiment, in addition to adjusting the position, scroll angle and size of the head-up display, the brightness of the head-up display can also be adjusted to ensure that the user can clearly see the content of the head-up display in any environment.
[0093] Specifically, a camera may be used to capture a first image including the driver's image, and then the contrast and first brightness of the first image may be identified. The first brightness may represent the overall brightness of the first image, and the contrast may represent the brightness difference between different regions in the first image. When the internal and external parameters of the camera are determined, the first brightness and contrast may represent the overall brightness and brightness difference in the cabin. Therefore, the brightness of the head-up display may be adjusted based on the first brightness and contrast.
[0094] For example, a brightness adjustment model for a head-up display may be trained in advance, and the first brightness and contrast may be used as inputs of a position adjustment model, and the output of the model may be a target brightness that matches the relative position of the target.
[0095] As an optional embodiment, before adjusting the brightness of the head-up display to a target brightness matching the first brightness and the contrast, the method further includes:
[0096] Obtaining the luminous flux density in the vehicle cabin;
[0097] A target brightness of the head-up display having a third mapping relationship with the luminous flux density, the first brightness, and the contrast is queried.
[0098] In this embodiment, the light flux density in the cabin can be detected by a light sensor installed in the cabin. The light flux density refers to the light flux passing through a unit area, and can also represent the brightness level in the cabin.
[0099] In order to ensure that the driver can clearly see the content of the head-up display, the third mapping relationship between the luminous flux density, the first brightness and the contrast and the target brightness can be calibrated in advance, so that at any distance, the target brightness that meets the third mapping relationship always ensures that the head-up display is clear. Therefore, after knowing the luminous flux density, the first brightness and the contrast, the corresponding target brightness can be directly queried.
[0100] Based on the head-up display adjustment method provided in the above embodiment, the present application also provides a specific implementation of the head-up display adjustment device. Please refer to the following embodiment.
[0101] See first Figure 2 The head-up display adjustment device 200 provided in the embodiment of the present application includes the following modules:
[0102] An acquisition module 201 is used to acquire a first position of a human eye and a second position of the head-up display;
[0103] A first adjustment module 202, configured to adjust the position of the head-up display to a third position matching a target relative position, wherein the target relative position is a relative position of the second position relative to the first position;
[0104] A second adjustment module 203, configured to adjust the scroll angle of the head-up display to a target scroll angle that matches a target relative attitude angle, wherein the target relative attitude angle is an attitude angle of the third position relative to the first position;
[0105] The third adjustment module 204 is configured to adjust the size of the head-up display to a target size that matches a target distance, wherein the target distance is a distance from the first position to the third position.
[0106] The device can obtain the first position of the human eye and the initial second position of the head-up display, and further determine the target relative position of the second position relative to the first position, and automatically adjust the head-up display to a third position based on the target relative position. After adjusting the head-up display, the rolling angle of the head-up display can be adjusted based on the target relative posture angle of the head-up display relative to the human eye after the adjustment, and the size of the head-up display can be adjusted based on the distance from the head-up display to the human eye after the adjustment. Compared with the adjustment method in the related art that only adjusts the height of the head-up display to be roughly on the same horizontal line as the driver's eyes, the present application automatically adjusts the position of the head-up display, and after the position of the head-up display is adjusted, adjusts the rolling angle and size of the head-up display based on the position, thereby ensuring that the head-up display always accurately meets the driver's visual habits in different postures.
[0107] As an implementation of the present application, the first adjustment module 202 may also be used to:
[0108] Inputting the first coordinate and the relative coordinate into the trained target model to obtain an output third coordinate;
[0109] The third coordinate is determined as a third position that matches the relative position of the target.
[0110] As an implementation of the present application, the second adjustment module 203 may also be used to:
[0111] Determine a pitch angle and a yaw angle of the third coordinate relative to the first coordinate in the cockpit coordinate system;
[0112] Acquire a first rolling angle having a first mapping relationship with the pitch angle and the yaw angle;
[0113] The first roll angle is determined as a target roll angle that matches the target relative attitude angle.
[0114] As an implementation of the present application, the third adjustment module 204 may also be used to:
[0115] Calculating the target distance using the first coordinate and the third coordinate;
[0116] A target size of the head-up display that has a second mapping relationship with the target distance is obtained.
[0117] As an implementation of the present application, the head-up display adjustment device 200 may further include:
[0118] A collection unit, configured to collect a first image using a camera in the vehicle cabin, wherein the first image includes an image of the driver;
[0119] an identification unit, configured to obtain a first brightness and a first contrast of the first image;
[0120] An adjustment unit is used to adjust the brightness of the head-up display to a target brightness that matches the first brightness and the contrast.
[0121] As an implementation of the present application, the above-mentioned adjustment unit can also be used for:
[0122] Obtaining the luminous flux density in the vehicle cabin;
[0123] A target brightness of the head-up display having a third mapping relationship with the luminous flux density, the first brightness, and the contrast is queried.
[0124] The head-up display adjustment device provided in the embodiment of the present invention can implement each step in the above method embodiment, and will not be described again here to avoid repetition.
[0125] Figure 3 A schematic diagram of the hardware structure of a head-up display adjustment device provided in an embodiment of the present application is shown.
[0126] The head-up display adjustment device may include a processor 301 and a memory 302 storing computer program instructions.
[0127] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0128] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory.
[0129] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0130] The processor 301 reads and executes computer program instructions stored in the memory 302 to implement any one of the head-up display adjustment methods in the above embodiments.
[0131] In one example, the head-up display adjustment device may further include a communication interface 303 and a bus 310. Figure 3 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.
[0132] The communication interface 303 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0133] Bus 310 includes hardware, software or both, and the components of the adjustment device of the head-up display are coupled to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0134] The head-up display adjustment device may be based on the above embodiment, thereby realizing the head-up display adjustment method and device in combination with the above embodiment.
[0135] In addition, in combination with the head-up display adjustment method in the above-mentioned embodiment, the embodiment of the present application may provide a computer storage medium to implement. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any head-up display adjustment method in the above-mentioned embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. Among them, the above-mentioned computer-readable storage medium may include a non-transitory computer-readable storage medium, such as a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), a disk or an optical disk, etc., which are not limited here.
[0136] In addition, an embodiment of the present application also provides a vehicle, including computer program instructions, which, when executed by a processor, can implement the steps and corresponding contents of the aforementioned method embodiment.
[0137] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0138] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0139] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0140] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices and vehicles according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0141] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for adjusting a head-up display, characterized in that: The method comprises: Acquire a first position of a human eye and a second position of the head-up display; adjusting the position of the head-up display to a third position matching a target relative position, wherein the target relative position is a relative position of the second position relative to the first position; adjusting a roll angle of the head-up display to a target roll angle that matches a target relative attitude angle, wherein the target relative attitude angle is an attitude angle of the third position relative to the first position; The size of the head-up display is adjusted to a target size that matches a target distance, wherein the target distance is a distance from the first position to the third position.
2. The method for adjusting the head-up display according to claim 1, characterized in that: The first position is represented by a first coordinate in a cockpit coordinate system, the second position is represented by a second coordinate in the cockpit coordinate system, the relative position is represented by a relative coordinate of the second coordinate relative to the first coordinate, and the cockpit coordinate system is a spatial coordinate system constructed with the center position of the vehicle cockpit as the origin, Before adjusting the position of the head-up display to a third position matching the relative position of the target, the method further includes: Inputting the first coordinate and the relative coordinate into the trained target model to obtain an output third coordinate; The third coordinate is determined as a third position that matches the relative position of the target.
3. The method for adjusting the head-up display according to claim 1, characterized in that: The first position is represented as a first coordinate in a cockpit coordinate system, the third position is represented as a third coordinate in the cockpit coordinate system, the cockpit coordinate system is a spatial coordinate system constructed with the center position of the vehicle cockpit as the origin, and the attitude angle includes a yaw angle and a pitch angle; Before adjusting the roll angle of the head-up display to a target roll angle that matches the target relative posture angle, the method further includes: Determine a pitch angle and a yaw angle of the third coordinate relative to the first coordinate in the cockpit coordinate system; Acquire a first rolling angle having a first mapping relationship with the pitch angle and the yaw angle; The first roll angle is determined as a target roll angle that matches the target relative attitude angle.
4. The method for adjusting the head-up display according to claim 1, characterized in that: The first position is represented as a first coordinate in a cockpit coordinate system, and the third position is represented as a third coordinate in the cockpit coordinate system, where the cockpit coordinate system is a spatial coordinate system constructed with the center position of the vehicle cockpit as the origin; Before adjusting the size of the head-up display to a target size matching the target distance, the method further includes: Calculating the target distance using the first coordinate and the third coordinate; A target size of the head-up display that has a second mapping relationship with the target distance is obtained.
5. The method for adjusting the head-up display according to claim 1, characterized in that: The method further comprises: Using a camera in the vehicle cabin to capture a first image, the first image including an image of the driver; Acquire a first brightness and contrast of the first image; The brightness of the head-up display is adjusted to a target brightness that matches the first brightness and the contrast.
6. The method for adjusting the head-up display according to claim 1, characterized in that: Before adjusting the brightness of the head-up display to a target brightness matching the first brightness and the contrast, the method further includes: Obtaining the luminous flux density in the vehicle cabin; A target brightness of the head-up display having a third mapping relationship with the luminous flux density, the first brightness, and the contrast is queried.
7. A head-up display adjustment device, characterized in that: The device comprises: An acquisition module, used for acquiring a first position of a human eye and a second position of the head-up display; a first adjustment module, configured to adjust the position of the head-up display to a third position matching a target relative position, wherein the target relative position is a relative position of the second position relative to the first position; a second adjustment module, configured to adjust a roll angle of the head-up display to a target roll angle that matches a target relative attitude angle, wherein the target relative attitude angle is an attitude angle of the third position relative to the first position; The third adjustment module is used to adjust the size of the head-up display to a target size that matches a target distance, wherein the target distance is a distance from the first position to the third position.
8. A head-up display adjustment device, characterized in that: The head-up display adjustment device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for adjusting the head-up display according to any one of claims 1 to 6 is implemented.
9. A computer storage medium, characterized in that The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the head-up display adjustment method according to any one of claims 1 to 6 is implemented.
10. A vehicle, characterized in that: The vehicle comprises computer program instructions, and when the computer program instructions are executed by a processor, the method for adjusting the head-up display according to any one of claims 1 to 6 is implemented.
